Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::image::ImagePreprocessor Class Reference

This node contains a list of image preprocessor. More...


Detailed Description

This node contains a list of image preprocessor.

Definition at line 31 of file ImagePreprocessor.hpp.

#include <ImagePreprocessor.hpp>

Inheritance diagram for jafar::image::ImagePreprocessor:
Inheritance graph
[legend]

List of all members.

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::Imagem_buffer
jafar::image::Imagem_buffer2
jafar::image::Imagem_buffer3
std::list
< ImagePreprocessorNode * > 
m_nodes
int m_nodeCount

Constructor & Destructor Documentation

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.

Parameters:
widththe width of the buffer image (can be either equal to src or dst)
widththe height of the buffer image (can be either equal to src or dst)
depththe depth of the buffer image
colorSpacethe colorSpace of the buffer image (must be equal to the dst image)

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

Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1
LAAS-CNRS