Image
Filter Tester 1.1 - Image Resample Filter
- This filter resamples an image. It performs up-sampling as well as
down-sampling.
- The following interpolation filters are implemented for image resampling:
- box or rectangular window
- triangular or Barlett window
- quadratic
- cubic
- Catmull-Rom
- Gaussian
- sinc
- Hanning window
- Hamming window
- Blackman window
- This implementation was modified from Paul Heckbert's zoom program. BTW,
Paul Heckbert is the inventor of the popular median-cut algorithm for image
color quantization. Here
is a link to his website where you can download the source code of his zoom
program and other interesting programs as well as his technical papers on
computer graphics.
- Please be aware of that resampling is applied AFTER cropping in this
filter.
- If you do down-sampling and use multi-layer of filters, it is recommended that this filter should be applied before other image filters for better efficiency.
- This filter works for grayscale images or 24-bit color images.
This page was last modified on 11/10/2004
.