Resampling - which algorithm is best?

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

Post Reply
Lasse
Posts: 25
Joined: Sat Jul 31, 2004 10:04 am
Location: Braunschweig/Hondelage
Contact:

Resampling - which algorithm is best?

Post by Lasse »

Hello!

When I resample a picture .. which method is the best?
Where are the pros/cons?

Is there an overview? (Gaussian, Nearest neighbour,...)

Regards,
Lasse
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Check that one

Post by Olivier_G »

In addition to making an excellent Editing software (Picture Window Pro), Jonathan Sachs has written some excellent White Papers. Check this one about Resampling methods (PDF).

Olivier
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Resampling

Post by helmut »

Lasse wrote:When I resample a picture .. which method is the best?
Where are the pros/cons?

Is there an overview? (Gaussian, Nearest neighbour,...)
"Lanczos" resampling is recommended and gives best results in most cases. More details in the document Olivier pointed to.
Lasse
Posts: 25
Joined: Sat Jul 31, 2004 10:04 am
Location: Braunschweig/Hondelage
Contact:

Re: Resampling

Post by Lasse »

I did some resample-examples by myself!

See it here:
http://www.lassekolb.info/gim30_vergleich.htm (2.4 MB, Description in German)

Some more examples (other images, shrinking) will follow.

Regards,
Lasse
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Resampling

Post by helmut »

Lasse,
Lasse wrote:I did some resample-examples by myself!
thank you for testing this and providing this info to other people!

The important bit of your tests is that you do Upsizing, which means enlarging an existing image. The algorithms will surely do that, but for all I know they work better for downsizing. When downsizing (making the image smaller) the results may differ and I think that Lanczos should be one of the best, then.

Greetings, Helmut
wfa
Posts: 21
Joined: Wed Dec 28, 2016 10:19 am

Re: Resampling

Post by wfa »

Lasse wrote: Sun Jan 16, 2005 10:27 pm I did some resample-examples by myself!

See it here:
http://www.lassekolb.info/gim30_vergleich.htm (2.4 MB, Description in German)

Some more examples (other images, shrinking) will follow.

Regards,
Lasse
Can any one update the link? Thanks
Post Reply