Demonstration of basic image interpolation algorithms

(1) Nearest neighbor image interpolation (2) Bilinear image interpolation (3) Bicubic image interpolation (4) Lanczos image interpolation