To upsize a picture, use the B-spline algorithm

If you take a low-res picture, and you want to blow it up to a higher size, there are different algorithms to do the calculation of all those new pixels. I talked about this earlier in “How to upsize an image“. I went a bit further now and took a 100×100 pixels detail of a Roos Van Acker picture by Filip Naudts and enlarged it five times: to 500×500. The tool I use, Irfanview, has 6 algorithms to do resize:
Upsize picture from 100x100 to 500x500

Contrary to what I expected, it was not the Lanczos filter (slowest and ‘best’) that gave the best results, but the B-spline algorithm that’s supposedly a bit worse. With Lanczos you get an rastering effect (check her hair), with B-spline it’s more even.

If you look at the simulation I made earlier, you see that B-spline blurs out the picture more evenly.
Resize effect: B-spline filter

Lanczos creates these circular artefacts around magnification by 8 or 16.
Resize effect: Lanczos filter

I will do some tests on magnification of high-resolution photos to super-high resolution: e.g. from a 6 megapixel picture to 150 megapixel (width and height x 5 like above). I have a feeling the artefacts of areas that have less entropy/complexity (a 100×100 pixel area might contain only some hairs of the eyebrows instead of a full face) will be different. Why would you want to create a picture bigger than 10 megapixel? An 8-megapixel should not be printed larger than 21.8″ (553mm) x 16.3″ (415mm) at 150dpi. With a 25 megapixel image, you can go to 38.5″ (978mm) x 28.9″ (734mm).

Related posts:

  1. How to upsize an image Printing in larger sizes I have a Canon 350D digital...
  2. A JPEG picture doesn’t care about no DPI Every now and then I get a request to use...
  3. A picture a day: Flickr’s storage growth Just how many pictures does Flickr receive every day? I...
  4. My first picture in the papers An Baccaert wrote an article in De Morgen about Nathalie...
  5. Converting a color picture to a stencil Just strolled onto this post: “Converting a colour photo to...

3 Responses to “To upsize a picture, use the B-spline algorithm”


Comments are currently closed.