Resampling - which algorithm is best?

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

Moderators: XnTriq, xnview

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

Resampling - which algorithm is best?

Post by Lasse » Tue Jan 11, 2005 5:07 pm

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 » Tue Jan 11, 2005 5:59 pm

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: 8176
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Resampling

Post by helmut » Tue Jan 11, 2005 8:42 pm

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.

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

Re: Resampling

Post by Lasse » 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

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

Re: Resampling

Post by helmut » Mon Jan 17, 2005 6:50 am

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: 10
Joined: Wed Dec 28, 2016 10:19 am

Re: Resampling

Post by wfa » Fri Sep 13, 2019 6:48 pm

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