Wavelet and Image class library  1.3.2
Public Member Functions
ResizeFillFunc Class Reference

#include <Image.hh>

List of all members.

Public Member Functions

virtual ~ResizeFillFunc (void)
virtual coeff operator() (const Image &scaled, double factor, int y, int x, int newY, int newX, int yOffset, int xOffset)=0

Detailed Description

An abstract functor for filling empty regions when resizing images.

Definition at line 31 of file Image.hh.


Constructor & Destructor Documentation

virtual ResizeFillFunc::~ResizeFillFunc ( void  ) [inline, virtual]

Destructor, does nothing.

Definition at line 36 of file Image.hh.


Member Function Documentation

virtual coeff ResizeFillFunc::operator() ( const Image scaled,
double  factor,
int  y,
int  x,
int  newY,
int  newX,
int  yOffset,
int  xOffset 
) [pure virtual]

Calculate the falue for an otherwise empty position.

Parameters:
scaledthe scaled image (yet to fill with values)
factorthe factor
ythe row in the image
xthe column in the image
newRowsthe number of rows in the scaled image
newColsthe number of columns in the scaled image
yOffsetthe empty region to the image's top (if any)
xOffsetthe empty region to the image's left (if any)

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines