GScaler.h (op,src,addr)

Rescaling images with bilinear interpolation.

o class GScaler
Base class for GBitmapScaler and GPixmapScaler.
o class GBitmapScaler: public GScaler
Fast rescaling code for gray level images.
o class GPixmapScaler: public GScaler
Fast rescaling code for color images.
Files "GScaler.h" and "GScaler.cpp" implement a fast bilinear interpolation scheme to rescale a GBitmap or a GPixmap. Common setup functions are implemented by the base class GScaler. The actual function for rescaling a gray level image is implemented by class GBitmapScaler. The actual function for rescaling a color image is implemented by class GPixmapScaler.

Remark --- The bilinear interpolation code relies on fixed precision tables. It becomes suboptimal when upsampling (i.e. zooming into) an image by a factor greater than eight. High contrast images displayed at high magnification may contain visible jaggies.

Author:
Léon Bottou <leonb@research.att.com>
Version:
$Id: GScaler.h.html,v 1.12 2001/02/15 01:12:21 bcr Exp $

Alphabetic index Hierarchy of classes


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.