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 mentioned
The 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