In: Physics
i. How can you reduce the effects of aliasing during image interpolation (in the case of most typical images and interpolation schemes)?
ii. Explain why this works (in most of the typical cases).
Hey there!
In python if you are enlarging the image, you should prefer to use INTER_LINEAR or INTER_CUBIC image interpolation technique. If you are shrinking the image, you should prefer to use INTER_AREA interpolation.
Cubic interpolation works because it is computationally more complex, and hence slower than linear interpolation. However, the quality of the resulting image will be higher.
Here are some of the possible interpolation in openCV :
I hope it helps. Cheers :)