#include <ImageToImageOperator8.h>
Public Member Functions | |
ImageToImageOperator8 () | |
virtual void | operator() (const GrayLevelImage8 &iImg, GrayLevelImage8 &oImg) |
interface that will call apply -- can be overwritten in derived class | |
virtual | ~ImageToImageOperator8 () |
Protected Member Functions | |
virtual void | apply (const GrayLevelImage8 &iImg, GrayLevelImage8 &oImg) |
will be pure virtual later | |
virtual void | checkSize (const GrayLevelImage8 &iImg, GrayLevelImage8 &oImg) |
Definition at line 13 of file ImageToImageOperator8.h.
Default constructor.
Definition at line 5 of file ImageToImageOperator8.cpp.
ImageToImageOperator8::~ImageToImageOperator8 | ( | ) | [virtual] |
Destructor
Definition at line 9 of file ImageToImageOperator8.cpp.
void ImageToImageOperator8::apply | ( | const GrayLevelImage8 & | iImg, |
GrayLevelImage8 & | oImg | ||
) | [protected, virtual] |
will be pure virtual later
Definition at line 13 of file ImageToImageOperator8.cpp.
void ImageToImageOperator8::checkSize | ( | const GrayLevelImage8 & | iImg, |
GrayLevelImage8 & | oImg | ||
) | [protected, virtual] |
test and adjust size of output image
Default: sizes must be equal for input and output
if output image has zero size, it will be allocated to have the same size as the input image.
other behaviour can be defined for derived operators which only have to redefine this method
Definition at line 26 of file ImageToImageOperator8.cpp.
void ImageToImageOperator8::operator() | ( | const GrayLevelImage8 & | iImg, |
GrayLevelImage8 & | oImg | ||
) | [virtual] |
interface that will call apply -- can be overwritten in derived class
Definition at line 19 of file ImageToImageOperator8.cpp.