Skip to content

Commit ddea33c

Browse files
authored
Update readme.md
1 parent 13815c6 commit ddea33c

File tree

1 file changed

+4
-0
lines changed
  • algorithms/ImageProcessing/Nearest Neighbhor Interpolation

1 file changed

+4
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
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+
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.

0 commit comments

Comments
 (0)