1.

Let R be a subset of pixels in an image. How can we define the contour of R?(a) If R is a region, and the set of pixels in R have one or more neighbors that are not in R(b) If R is an entire image, then the set of pixels in the first and last rows and columns of R(c) All of the mentioned(d) None of the mentionedThe question was posed to me during an interview.This is a very interesting question from Relationship between Pixels and Image Enhancement Basics in section Image Enhancement of Digital Image Processing

Answer» CORRECT answer is (C) All of the mentioned

The best explanation: For a subset of pixels in an image R

The BOUNDARY or contour of a region R is the set of pixels in the region that have one or more NEIGHBORS that are not in R.

In CASE R is an entire image, then its boundary is defined as the set of pixels in the first and last rows and columns of the image.


Discussion

No Comment Found

Related InterviewSolutions