Downsizing / Downsampling / Resizing or whatever you call it...

Started 9 months ago | Discussions
Elyharbour
Contributing MemberPosts: 646Gear list
Like?
Downsizing / Downsampling / Resizing or whatever you call it...
9 months ago

OK guys...as some of you know I've been down-(sampling or -sizing) my XF1 HR 12MP JPEGs to be directly comparable with the 6MP EXR hardware images for forum comparison. I usually do this in  FastStone Image Viewer, but sometimes in Lightroom.

In FastStone there are various resizing methods (Lanczos 2, 3, etc) and Kim Lettermann recently mentioned bicubic. What are the pros and cons of these methods? Are there any real differences for the sorts of images we're talking about here in the forums?

Thanks.

 Elyharbour's gear list:Elyharbour's gear list
Fujifilm XF1 Fujifilm X20 Sony SLT-A57 Fujifilm X-E1 Sony DT 18-55mm F3.5-5.6 SAM +5 more
Fujifilm XF1
If you believe there are incorrect tags, please send us this post using our feedback form.
PAUL TILL
Veteran MemberPosts: 9,212
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

I always use Bicubic Sharper.

-- hide signature --

The 10% Rule:
You Must Be 10% Smarter Than The Equipment You're Operating

Reply   Reply with quote   Complain
Elyharbour
Contributing MemberPosts: 646Gear list
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to PAUL TILL, 9 months ago

Nice looking image you're working on there...

 Elyharbour's gear list:Elyharbour's gear list
Fujifilm XF1 Fujifilm X20 Sony SLT-A57 Fujifilm X-E1 Sony DT 18-55mm F3.5-5.6 SAM +5 more
Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

Elyharbour wrote:

In FastStone there are various resizing methods (Lanczos 2, 3, etc) and Kim Lettermann recently mentioned bicubic. What are the pros and cons of these methods? Are there any real differences for the sorts of images we're talking about here in the forums?

Lanczos3 (also called Sinc) is the best algorithm for downsampling if you don't change aspect ratio. If you change aspect ratio, Bicubic (also called Cubic) works better.

I have not investigated upsampling (seldom needed) but believe the answer is is not the same as for downsampling.

There are many other considerations besides the downsampling algorithm, such as JPEG encoding afterwards.

Downsizing is a corporate euphemism for firing employees.

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to PAUL TILL, 9 months ago

PAUL TILL wrote:

I always use Bicubic Sharper.

Some pundits say it's better to use Bicubic, then Smart Sharpen.

I don't use Photoshop and have no opinion one way or the other.

Reply   Reply with quote   Complain
jcmarfilph
Senior MemberPosts: 7,592Gear list
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

Bicubic for me...

Here are some results showing superiority of Lsize versus upsampled MSize

Both downsampled to 1920px and LSize is still superior

-=[ Joms ]=-

 jcmarfilph's gear list:jcmarfilph's gear list
Fujifilm X20 Fujifilm FinePix HS50 EXR +1 more
Reply   Reply with quote   Complain
Lloydy
Forum ProPosts: 18,857Gear list
Like?
Elyharbour ...
In reply to Elyharbour, 9 months ago

... To size an image down, use Bicubic Sharper.

To size an image up, use Bicubic Smoother.

Here is an article about sizing up - Resizing an image - Up

Elyharbour wrote:

OK guys...as some of you know I've been down-(sampling or -sizing) my XF1 HR 12MP JPEGs to be directly comparable with the 6MP EXR hardware images for forum comparison. I usually do this in FastStone Image Viewer, but sometimes in Lightroom.

In FastStone there are various resizing methods (Lanczos 2, 3, etc) and Kim Lettermann recently mentioned bicubic. What are the pros and cons of these methods? Are there any real differences for the sorts of images we're talking about here in the forums?

Thanks.

-- hide signature --

Cheers, Dave

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Elyharbour ...
In reply to Lloydy, 9 months ago

Lloydy wrote:

... To size an image down, use Bicubic Sharper.

To size an image up, use Bicubic Smoother.

Here is an article about sizing up - Resizing an image - Up

I don't really give a darn what everybody decides to do, but Bicubic (whether Sharper or Smoother) is definitely not the best method. Here are some examples:

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample.htm

Reply   Reply with quote   Complain
Elyharbour
Contributing MemberPosts: 646Gear list
Like?
Re: Downsampling / Resizing or whatever you call it...
In reply to CAcreeks, 9 months ago

CAcreeks wrote:

Elyharbour wrote:

In FastStone there are various resizing methods (Lanczos 2, 3, etc) and Kim Lettermann recently mentioned bicubic. What are the pros and cons of these methods? Are there any real differences for the sorts of images we're talking about here in the forums?

Lanczos3 (also called Sinc) is the best algorithm for downsampling if you don't change aspect ratio. If you change aspect ratio, Bicubic (also called Cubic) works better.

I have not investigated upsampling (seldom needed) but believe the answer is is not the same as for downsampling.

There are many other considerations besides the downsampling algorithm, such as JPEG encoding afterwards.

Downsizing is a corporate euphemism for firing employees.

Lanczos3 is the default in FastStone, so I guess I'll just leave it as is. I tried the bicubic today and Lanczos2, and couldn't honestly see any difference, but neither did I really know what I was looking for.

PS - I now know not to call it down-sizing 

 Elyharbour's gear list:Elyharbour's gear list
Fujifilm XF1 Fujifilm X20 Sony SLT-A57 Fujifilm X-E1 Sony DT 18-55mm F3.5-5.6 SAM +5 more
Reply   Reply with quote   Complain
Lloydy
Forum ProPosts: 18,857Gear list
Like?
CA ...
In reply to CAcreeks, 9 months ago

... Interesting article but I wonder how long back it was written and which version of CS ?

I downloaded the Rings Gif and resized, up and down, using Bicubic Sharper and Bicubic Smoother and had none of the issues described in the article. I'm using CS6.

I would encourage others to try the same with their own editing software and see what results they get.

CAcreeks wrote:

Lloydy wrote:

... To size an image down, use Bicubic Sharper.

To size an image up, use Bicubic Smoother.

Here is an article about sizing up - Resizing an image - Up

I don't really give a darn what everybody decides to do, but Bicubic (whether Sharper or Smoother) is definitely not the best method. Here are some examples:

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample.htm

-- hide signature --

Cheers, Dave

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Dave...
In reply to Lloydy, 9 months ago

Excellent test!  Did you start with the large version that was linked into the article?  It is possible that Photoshop resize has improved. I have not used Photoshop since CS2, but my daughter has CS5 on her Mac and I could try it to compare.

Lloydy wrote:

... Interesting article but I wonder how long back it was written and which version of CS ?

I downloaded the Rings Gif and resized, up and down, using Bicubic Sharper and Bicubic Smoother and had none of the issues described in the article. I'm using CS6.

I would encourage others to try the same with their own editing software and see what results they get.

CAcreeks wrote:

Lloydy wrote:

... To size an image down, use Bicubic Sharper.

To size an image up, use Bicubic Smoother.

Here is an article about sizing up - Resizing an image - Up

I don't really give a darn what everybody decides to do, but Bicubic (whether Sharper or Smoother) is definitely not the best method. Here are some examples:

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample.htm

-- hide signature --

Cheers, Dave

Reply   Reply with quote   Complain
Lloydy
Forum ProPosts: 18,857Gear list
Like?
CA ...
In reply to CAcreeks, 9 months ago

... Yes, I downloaded the 1000 x 1000 pixel image and then played around with sizing up/down. Would be interesting to see how CS5 fares, or even the latest LR.

CAcreeks wrote:

Excellent test! Did you start with the large version that was linked into the article? It is possible that Photoshop resize has improved. I have not used Photoshop since CS2, but my daughter has CS5 on her Mac and I could try it to compare.

Lloydy wrote:

... Interesting article but I wonder how long back it was written and which version of CS ?

I downloaded the Rings Gif and resized, up and down, using Bicubic Sharper and Bicubic Smoother and had none of the issues described in the article. I'm using CS6.

I would encourage others to try the same with their own editing software and see what results they get.

CAcreeks wrote:

Lloydy wrote:

... To size an image down, use Bicubic Sharper.

To size an image up, use Bicubic Smoother.

Here is an article about sizing up - Resizing an image - Up

I don't really give a darn what everybody decides to do, but Bicubic (whether Sharper or Smoother) is definitely not the best method. Here are some examples:

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/down_sample.htm

-- hide signature --

Cheers, Dave

-- hide signature --

Cheers, Dave

Reply   Reply with quote   Complain
Futax
Regular MemberPosts: 235Gear list
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

Lanczos certainly beats the other algorithms when it comes to the problem of aliasing when you downsample:

http://therefractedlight.blogspot.co.uk/2010/12/problem-of-resizing-images.html

 Futax's gear list:Futax's gear list
Sigma DP1 Fujifilm FinePix F70EXR Sigma DP2 Merrill Canon PowerShot SX50 HS Panasonic Lumix DMC-XS1 +3 more
Reply   Reply with quote   Complain
Elyharbour
Contributing MemberPosts: 646Gear list
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Futax, 9 months ago

Futax wrote:

Lanczos certainly beats the other algorithms when it comes to the problem of aliasing when you downsample:

http://therefractedlight.blogspot.co.uk/2010/12/problem-of-resizing-images.html

An excellent article. Now I understand what is going on. Thank you.

 Elyharbour's gear list:Elyharbour's gear list
Fujifilm XF1 Fujifilm X20 Sony SLT-A57 Fujifilm X-E1 Sony DT 18-55mm F3.5-5.6 SAM +5 more
Reply   Reply with quote   Complain
dick
Veteran MemberPosts: 3,791Gear list
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

A bit off subject, but I think RE-SIZING is the appropriate term.

My dictionary defines RE as, "again: for a second time." That makes sense, because the program has already set the size and we are sizing it again, thus RE-sizing. And that applies to both ways, up and down.

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Resize vs Resample
In reply to dick, 9 months ago

Here's what the ImageMagick options say:

  • -resample geometry : change the resolution of an image
  • -resize geometry :  resize the image

Can you explain which does what?

dick wrote:

A bit off subject, but I think RE-SIZING is the appropriate term.

My dictionary defines RE as, "again: for a second time." That makes sense, because the program has already set the size and we are sizing it again, thus RE-sizing. And that applies to both ways, up and down.

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
A good comparison of resampling products
In reply to Elyharbour, 9 months ago

This page was difficult to find with Google search, but seems like it might be helpful for all. At the bottom is a clickable image to compare results from 11 different downsampling methods.

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/example1.htm

Reply   Reply with quote   Complain
Nicolas Robidoux
Forum MemberPosts: 76
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Elyharbour, 9 months ago

For reducing the size of an image, I highly recommend EWA (Elliptical Weighted Averaging) with slightly deblurred (meaning that the filter's extent is "shrunk" from the unwindowed version that's theoretically ideal from a frequency response viewpoint) 3-lobe Jinc-windowed Jinc filtering done through linear light (XYZ or linear RGB with sRGB primaries). Details here: http://www.imagemagick.org/Usage/filter/nicolas/

Reply   Reply with quote   Complain
CAcreeks
Senior MemberPosts: 6,392
Like?
Re: Downsizing / Downsampling / Resizing or whatever you call it...
In reply to Nicolas Robidoux, 9 months ago

Do you mean "Jinc-filtered Sinc filter" ?

convert {input} -colorspace RGB +sigmoidal-contrast 7.5 \
-define filter:window=Jinc -define filter:lobes=3 \
-resize 500% -sigmoidal-contrast 7.5 -colorspace sRGB {output}

Nicolas Robidoux wrote:

For reducing the size of an image, I highly recommend EWA (Elliptical Weighted Averaging) with slightly deblurred (meaning that the filter's extent is "shrunk" from the unwindowed version that's theoretically ideal from a frequency response viewpoint) 3-lobe Jinc-windowed Jinc filtering done through linear light (XYZ or linear RGB with sRGB primaries). Details here: http://www.imagemagick.org/Usage/filter/nicolas/

Reply   Reply with quote   Complain
Lloydy
Forum ProPosts: 18,857Gear list
Like?
CA ...
In reply to CAcreeks, 9 months ago

... If you look at the bottom of the page it says copyright 2004.

My concern with these examples is that image editing software has progressed in leaps and bounds in the past ten years and posting tests as old as that one do not reflect today's reality.

As mentioned prior, I downloaded the Gif file for the original tests shown and replicated the tests done by the author.

My results showed none of the issues reported.

Post current data please so as not to mislead the discussion.

CAcreeks wrote:

This page was difficult to find with Google search, but seems like it might be helpful for all. At the bottom is a clickable image to compare results from 11 different downsampling methods.

http://bvdwolf.home.xs4all.nl/main/foto/down_sample/example1.htm

-- hide signature --

Cheers, Dave

Reply   Reply with quote   Complain
Keyboard shortcuts:
FForum MMy threads