Thursday 17 January 2019

digital - How can one determine the ideal resampling algorithm for a given type of image?


Was reading this question and got to thinking. How exactly can you determine what the best resampling solution is? I have a concept, albeit somewhat vague, of what the basic methods do.


Are there some good general rules for different types of images? For instance using a particular set of resampling algorithms for photos and a different set for web graphics? Would the overall color of the image, contrast of the subject and the background, etc. come into play?



Answer



There are a series of very informative tutorials on Cambridge in Colour that deal with the subject of image resizing.




  1. Understanding Image Interpolation covers the basic theory behind image interpolation.

  2. Image resizing for Web and Email covers downsizing images and the pitfalls to look out for.

  3. Optimizing Digital Photo Enlargement similarly covers up-scaling images.


The last tutorial is particularly good, as there is a table of common interpolation algorithms together with a diagram that helps you visualize the trade-off each algorithm has with respect to anti-aliasing, blurring and edge halos.


No comments:

Post a Comment

Why is the front element of a telephoto lens larger than a wide angle lens?

A wide angle lens has a wide angle of view, therefore it would make sense that the front of the lens would also be wide. A telephoto lens ha...