The example displayed in figure 3.3 illustrates the effect of an image transformation that includes downscaling with a scaling factor of 0.1. Here, the results for the interpolation methods 'nearest_neighbor', 'bilinear', 'constant', 'weighted', and 'bicubic' are compared. Figure 3.3a) displays the image to be transformed. It shows two objects, a security ring on the left side and a retainer on the right side. For a better presentation of the results, a detailed view of each object is given for every interpolation method.
Figure 3.3: Comparison of the results for downscaling an image using 'nearest_neighbor', 'bilinear', 'constant', 'weighted', and 'bicubic' interpolation.
Figure 3.3b) displays the result of downscaling the image using nearest neighbor interpolation. The result of this massive downscaling is of poor quality. Especially in both detailed views, it can be seen that the shapes are often nearly straight whereas the shapes at the same part in the original image are completely different and with roundings.
Figure 3.3c) displays the result of downscaling the image using bilinear interpolation. The quality is slightly improved compared to nearest neighbor interpolation, but there are still heavy distortions in the shapes of the objects.
Figure 3.3d) displays the result of downscaling the image using constant interpolation. The downscaled image has a much smoother appearance and the shapes of the objects are similar to the ones in the original image. The quality of the downscaled image is significantly better compared to bilinear interpolation.
Figure 3.3e) displays the result of downscaling the image using weighted interpolation with an integrated Gaussian filter. The image is still smoother compared to 'constant' interpolation and the shapes are nearly true to original. In the detailed view you can see, that the gradation of the edges is also finer. Thus, the result of 'weighted' interpolation provides the best quality for image transformations that include downscaling.
Figure 3.3f) displays the result of downscaling the image using bicubic interpolation. For downscaling, the result is very similar to that of 'bilinear' interpolation.