Professional Documents
Culture Documents
Environment (FKAB)
KEH2323
NUMERICAL METHODS FOR ENGINEERING
Interpolation : Nearest
GROUP 2
NO.
NAME
ID
1.
1141892
2.
1151799
3.
1151803
4.
1151811
NORMAN
CONTENTS
CONTENTS
PAGES
INTRODUCTION
3-6
7-8
9 - 13
CONCLUSION
14
REFERENCES
15
INTRODUCTION
Represent your input image. You want to translate this image 1.7pixels in
the positive horizontal direction using nearest neighbour interpolation.
The Translate blocks nearest neighbor interpolation algorithm is
illustrated by the following steps:
1. Zero pad the input matrix and translate it by 1.7pixels to the right.
2. Create the output matrix by replacing each input pixel value with
the translated value nearest to it. The result is following matrix:
0