# Relationship between Pixels and Image MCQ [Free PDF] – Objective Question Answer for Relationship between Pixels and Image Quiz

1. A pixel p at coordinates (x, y) has neighbors whose coordinates are given by:
(x+1, y), (x-1, y), (x, y+1), (x, y-1)
This set of pixels is called ____________

A. 4-neighbors of p
B. Diagonal neighbors
C. 8-neighbors
D. None of the mentioned

The given set of a neighbor pixel is 1 unit distance to the right, left, up, and below respectively from pixel p(x, y). So, are called 4-neighbors of p.

2. A pixel p at coordinates (x, y) has neighbors whose coordinates are given by:
(x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1)
This set of pixels is called ____________

A. 4-neighbors of p
B. Diagonal neighbors
C. 8-neighbors
D. None of the mentioned

The given set of a neighbor pixel is 1 unit distance to the right-up diagonal, right-down diagonal, left-up diagonal, and left-down diagonal respectively from pixel p(x, y). So, are called Diagonal neighbors of p.

3. What is the set of pixels of 8-neighbors of pixel p at coordinates (x, y)?

A. (x+1, y), (x-1, y), (x, y+1), (x, y-1), (x+2, y), (x-2, y), (x, y+2), (x, y-2)
B. (x+1, y), (x-1, y), (x, y+1), (x, y-1), (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1)
C. (x+1, y+1), (x+1, y-1), (x-1, y+1), (x-1, y-1), (x+2, y+2), (x+2, y-2), (x-2, y+2), (x-2, y-2)
D. (x+2, y), (x-2, y), (x, y+2), (x, y-2), (x+2, y+2), (x+2, y-2), (x-2, y+2), (x-2, y-2)

The set of pixels of 4-neighbors of p and Diagonal neighbors of p together are called 8-neighbors of pixel p(x, y).

4. Two pixels p and q having gray values from V, the set of gray-level values used to define adjacency, are m-adjacent if:

A. q is in N4(p)
B. q is in ND(p) and the set N4(p) ∩ N4(q) has no pixels whose values are from V
C. Any of the mentioned
D. None of the mentioned

The above conditioned Two pixels p and q are m-adjacent if:
q is in N4(p), or q is in ND(p) and the set N4(p) ∩ N4(q) has no pixels whose values are from V.

5. Let S, a subset of pixels in an image, is said to be a connected set if:

A. If for any pixel p in S, the set of pixels that are connected to it in Sis only one
B. If it only has one connected component
C. If S is a region
D. All of the mentioned

For a subset of pixels in an image S.

For any pixel p in S, the set of pixels is called a connected component of S if connected to p in S. The set S is called a connected set if it only has one connected component. S is a region of the image if S is a connected set.

6. 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 has 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

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.

7. For pixels p(x, y), q(s, t), and z(v, w), D is a distance function or metric if:

A. D(p, q) ≥ 0
B. D(p, q) = D(q, p)
C. D(p, z) ≤ D(p, q) + D(q, z)
D. All of the mentioned

For pixels p(x, y), q(s, t), and z(v, w), D is a distance function or metric if:
(i) D(p, q) ≥ 0, (D(p, q) = 0 if p=q),
(ii) D(p, q) = D(q, p), and
(iii) D(p, z) ≤ D(p, q) + D(q, z).

8. For pixels p(x, y), q(s, t), the Euclidean distance between p and q is defined as:

A. D(p, q) = [(x – s)2 + (y – t)2]1/2
B. D(p, q) = |x – s| + |y – t|
C. D(p, q) = max (|x – s| + |y – t|)
D. None of the mentioned

The Euclidean distance for pixels p(x, y), q(s, t) is:
D(p, q) = [(x – s)2 + (y – t)2]1/2.

9. For pixels p(x, y), q(s, t), the city-block distance between p and q is defined as:

A. D(p, q) = [(x – s)2 + (y – t)2]1/2
B. D(p, q) = |x – s| + |y – t|
C. D(p, q) = max (|x – s| + |y – t|)
D. None of the mentioned

The city-block distance for pixels p(x, y), q(s, t) is the D4 distance given by:
D(p, q) = |x – s| + |y – t|.

10. For pixels p(x, y), q(s, t), the chessboard distance between p and q is defined as:

A. D(p, q) = [(x – s)2 + (y – t)2]1/2
B. D(p, q) = |x – s| + |y – t|
C. D(p, q) = max (|x – s| + |y – t|)
D. None of the mentioned