Jafar
|
This node contains a list of image preprocessor. More...
This node contains a list of image preprocessor.
Definition at line 31 of file ImagePreprocessor.hpp.
#include <ImagePreprocessor.hpp>
Public Member Functions | |
ImagePreprocessor (int width, int height, int depth, JfrImage_TypeColorSpace colorSpace) | |
Initialize an image preprocessor with an empty list of nodes. | |
void | appendNode (ImagePreprocessorNode *node) |
virtual void | preprocessImage (const jafar::image::Image &src, jafar::image::Image &dst) |
Will use temporary buffers if needed. | |
virtual void | preprocessImage2 (const jafar::image::Image &src, jafar::image::Image &dst) |
Private Attributes | |
jafar::image::Image * | m_buffer |
jafar::image::Image * | m_buffer2 |
jafar::image::Image * | m_buffer3 |
std::list < ImagePreprocessorNode * > | m_nodes |
int | m_nodeCount |
jafar::image::ImagePreprocessor::ImagePreprocessor | ( | int | width, |
int | height, | ||
int | depth, | ||
JfrImage_TypeColorSpace | colorSpace | ||
) |
Initialize an image preprocessor with an empty list of nodes.
If the size of the buffer image is the size of the src images that will be processed, nodes will be applied first and resizing last. If the size of the buffer image is the size of the dst images, resizing will be done first and nodes applied afterwards.
width | the width of the buffer image (can be either equal to src or dst) |
width | the height of the buffer image (can be either equal to src or dst) |
depth | the depth of the buffer image |
colorSpace | the colorSpace of the buffer image (must be equal to the dst image) |
Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1 |