3.2.3 Resize image
After applying median filter on the images, the images are resized with width=480
and height=NAN. The reason to put the height with NAN is to preserve the aspect ratio
of the original images. The purpose of resizing the image is to reduce the consumption
time for image processing. Figure 3.7 shows the concept of resizing image.