Interpolation operation

xiaoxiao2021-03-06  15

"Interpolation" is initially a computer term, and later references to digital images. When the image is enlarged, the pixels also increase accordingly, but these increase pixels come from? At this time, the interpolation is sent to the field: interpolation is a method of increasing image pixel size without generating pixels, using mathematical formulas to calculate the color of the lost pixels on the basis of the surrounding pixel color (some of which use some cameras using interpolation. Artificially increasing the resolution of the image). So when an image is enlarged, the image looks smoothed and clean. However, it must be noted that interpolation does not increase image information. The following is a picture processed by different interpolation algorithms.

Figure 1

Figure 2 Recently Pixel Interpolation Algorithm (Nearest Neighbour Interpolation)

Recently, the pixel interpolation algorithm is the simplest interpolation algorithm. When the picture is enlarged, the missing pixels are generated by direct use with the closest colors of the original pixels, that is, the pixels next to them, the result of this is A visible sawtooth produced.

Figure 3 Bilinear Interpolation

Each pixel of the image output from this algorithm is all the results of four pixels (2 × 2) operations in the original image, which greatly eliminates the serrated phenomenon.

Figure 4 Double Triple Interpolation Algorithm (Bicubic Interpolation)

This algorithm is an improved algorithm of the previous algorithm. It outputs each pixel of the image to be the result of 16 pixels (16 × 16) operations. This algorithm is a very common algorithm that is commonly used on image editing software, printer drivers, and digital cameras.

Figure 5 Fractal Interpolation

This is an algorithm proposed by Altamira Group. The image obtained by this algorithm is clearer and sharp than other algorithms.

Now there are many digital camera manufacturers to use the interpolation algorithm on digital cameras, and will promote the resolution value obtained by the algorithm. The algorithm is much more advanced than the two-three interpolation algorithms, but the truth is: image details It is not possible to make it. Consumers who are not familiar with the digital camera must pay attention to this problem when purchasing.

转载请注明原文地址:https://www.9cbs.com/read-48951.html

New Post(0)