Base class for image processing units. More...
#include <imageprocessor.h>
Inherited by StdImageProcessor.
Public Member Functions | |
ImageProcessor () | |
virtual | ~ImageProcessor () |
virtual Camera::CameraImage | init (const Camera::CameraImages &imgs)=0 |
initialization with all images so far. | |
virtual void | process ()=0 |
perform the image calculation here |
Base class for image processing units.
The result of a processing is an image (returned by init) The source for processing can be any image from previous units. An implemenation must store the pointers to the source(s) and must also hold a destination image.
ImageProcessor | ( | ) | [inline] |
virtual ~ImageProcessor | ( | ) | [inline, virtual] |
virtual Camera::CameraImage init | ( | const Camera::CameraImages & | imgs | ) | [pure virtual] |
initialization with all images so far.
The last image in the list is probably the one to use for processing. (output from last processor)
Implemented in StdImageProcessor.
virtual void process | ( | ) | [pure virtual] |
perform the image calculation here
Implemented in StdImageProcessor.