Question:

The brightness values of four pixels in the input image are shown in the table below. The image is rectified using nearest neighbor intensity interpolation, and the pixel at location (5, 4) in the output image is to be filled with the value from coordinate (5.3, 3.7) in the input image. The brightness value of the pixel at location (5, 4) in the rectified output image is 11. (Answer in integer)

Location of pixels in input image
(Row, Column)
Brightness Value
(5, 3)9
(5, 4)11
(6, 3)14
(6, 4)12

 

Show Hint

In nearest neighbor interpolation, simply round the coordinates to the nearest integers and pick the corresponding pixel value.
Updated On: Apr 17, 2025
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

Using nearest neighbor interpolation, the point \((5.3, 3.7)\) is rounded to the nearest integer pixel coordinate.

\[ \text{Nearest neighbor to } (5.3, 3.7) = (5, 4) \]
From the table, the brightness value at location \((5, 4)\) is:

\[ \boxed{11} \]

Final Answer: \(\fbox{11}\)
Was this answer helpful?
0
0

Questions Asked in GATE GE exam

View More Questions