You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: algorithms/ImageProcessing/Nearest Neighbhor Interpolation/readme.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,6 @@
1
1
Used for resizing images. It assigns to each location the intensity of its nearest neighbor in original image. Refer [Gonzalez DIP Book](https://www.pearson.com/us/higher-education/program/Gonzalez-Digital-Image-Processing-4th-Edition/PGM241219.html) chapter 1.
2
2
3
-
Basic algorithm is as follows...
3
+
Basic algorithm is as follows:
4
+
5
+
*For every pixel in resized image, we find the coordinate mapping in original image and copy over the pixel intensity from there to pixel in output image.*
4
6
5
-
For every pixel in resized image, we find the coordinate mapping in original image and copy over the pixel intensity from there to pixel in output image.
0 commit comments