Biomedical Imaging Group
EPFL   Imaging Web Demonstrations
English only BIG > Demos > High-Quality Resize
Home page
Tutorials and Reviews
High-Quality Resize
Arrate Muñoz Barrutia and David Leroux

Image resizing (magnification or reduction) is a standard operation in image processing.

The main purpose of this demo is to show that we can improve the results obtained by the standard resizing method (interpolation and resampling) in terms of visual quality; our method reduces the artifacts as it approximates the continuous model by its projection onto a given space prior to resampling (which is a generalized version of anti-aliasing prefiltering). We have implemented an algorithm that allows to compute both oblique and orthogonal projections (least-squares approximations) for splines of any degree n.

The demonstration will allow you to test the improvements by yourself. To demonstrate that the loss of information is less important for our method than in the standard case, we propose to perform image reduction, which may create artifacts due to aliasing. Note that you have the possibility to use either the standard method (as many programs of image processing do), or to obtain better results applying the projection method.

  1. Original image.
  2. Resized image (by a factor inferior to 100%).
  3. The previous image is enlarged to obtain an image of the same size as the original one.
  4. Difference between the original and the enlarged images.

[1] A. Muñoz Barrutia, T. Blu, M. Unser, "Least-Squares Image Resizing Using Finite Differences," IEEE Transactions on Image Processing, vol. 10, no. 9, pp. 1365-1378, September 2001.
[2] C. Lee, M. Eden, M. Unser, "High-Quality Image Resizing Using Oblique Projection Operators," IEEE Transactions on Image Processing, vol. 7, no. 5, pp. 679-692, May 1998.

NEW : You can upload your own image into the applet.
Choose your image file and click on the button "Start the Applet Demonstration".
The applet accepts GIF or JPEG 256*256 pixels image (max size 1 Mb).

Instruction to use the applet
  1. Choose an input image.
  2. Choose one of the methods.
  3. Set the resize factor.
  4. Select the spline degrees and then press on the "Run" button.
Toolbar in the image display
pointer_on Get the coordinates and value of a pixel.
info_on Get the maximum, minimum and the mean value of the image.
frame Open a new window containing the image.
zoomin_on Zoom out by a factor 2.
(N/A on Netscape)
zoomout_on Zoom in by a factor 2. (N/A on Netscape)
move Move the zoomed part of the image. (N/A on Netscape)