|
Wavelet and Image class library
1.3.2
|
#include <Image.hh>
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 |
An abstract functor for filling empty regions when resizing images.
| virtual ResizeFillFunc::~ResizeFillFunc | ( | void | ) | [inline, virtual] |
| 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.
| scaled | the scaled image (yet to fill with values) |
| factor | the factor |
| y | the row in the image |
| x | the column in the image |
| newRows | the number of rows in the scaled image |
| newCols | the number of columns in the scaled image |
| yOffset | the empty region to the image's top (if any) |
| xOffset | the empty region to the image's left (if any) |
1.7.6.1