Difference between resampling & resizing

Answers (2)

Jan
Jan on 21 Aug 2012
There is not necessarily a difference between resizing and resampling of an image: Both can lead to the same results. imresize allows to apply different methods to create the resized image. But a resampling needs a specified method for the filtering also.
In theory you can resize an image by changing the resolution only, e.g. by setting the size of a pixel from 1/72mm to 1/96mm. But this does not reflect the operation of imresize. In opposite to this a resampling requires the creation or removing of pixels with an optional filtering.
Azzi Abdelmalek
Azzi Abdelmalek on 21 Aug 2012
Edited: Azzi Abdelmalek on 21 Aug 2012
  1. resizing means changing a size of an image without changing the number of pixels
  2. resampling means changing the number of pixels. this will affect the quality of your image

Asked:

on 21 Aug 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!