Public Member Functions | Static Public Member Functions | Protected Member Functions
puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 > Class Template Reference

#include <ImageToImagePairOperator.h>

Inheritance diagram for puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImageToImagePairOperator ()
virtual void operator() (const InputClass &inputImage, OutputClass1 &outputImage1, OutputClass2 &outputImage2)
 interface that will call apply -- can be overwritten in derived class
virtual ~ImageToImagePairOperator ()

Static Public Member Functions

static void checkImageArgument (const InputClass &inputImage, OutputClass1 &outputImage1, OutputClass2 &outputImage2)

Protected Member Functions

virtual void apply (const InputClass &inputImage, OutputClass1 &outputImage1, OutputClass2 &outputImage2)=0
 must be defined in derived class
virtual void checkArgument (const InputClass &inputImage, OutputClass1 &outputImage1, OutputClass2 &outputImage2)

Detailed Description

template<class InputClass, class OutputClass1, class OutputClass2>
class puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >

Definition at line 26 of file ImageToImagePairOperator.h.


Constructor & Destructor Documentation

template<class InputClass , class OutputClass1 , class OutputClass2 >
puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::ImageToImagePairOperator ( )

Default constructor.

Definition at line 73 of file ImageToImagePairOperator.h.

template<class InputClass , class OutputClass1 , class OutputClass2 >
puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::~ImageToImagePairOperator ( ) [virtual]

Destructor

Definition at line 78 of file ImageToImagePairOperator.h.


Member Function Documentation

template<class InputClass, class OutputClass1, class OutputClass2>
virtual void puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::apply ( const InputClass &  inputImage,
OutputClass1 &  outputImage1,
OutputClass2 &  outputImage2 
) [protected, pure virtual]

must be defined in derived class

Implemented in puma2::RGB8ToY8UV8Operator.

template<class InputClass, class OutputClass1, class OutputClass2>
void puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::checkArgument ( const InputClass &  inputImage,
OutputClass1 &  outputImage1,
OutputClass2 &  outputImage2 
) [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

The method will throw an exception if input and output image are the same. This can be overwritten in a derived class, if inplace operation is possible.

Definition at line 93 of file ImageToImagePairOperator.h.

template<class InputClass, class OutputClass1, class OutputClass2>
void puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::checkImageArgument ( const InputClass &  inputImage,
OutputClass1 &  outputImage1,
OutputClass2 &  outputImage2 
) [static]

Definition at line 100 of file ImageToImagePairOperator.h.

template<class InputClass, class OutputClass1, class OutputClass2>
void puma2::ImageToImagePairOperator< InputClass, OutputClass1, OutputClass2 >::operator() ( const InputClass &  inputImage,
OutputClass1 &  outputImage1,
OutputClass2 &  outputImage2 
) [virtual]

interface that will call apply -- can be overwritten in derived class

Definition at line 84 of file ImageToImagePairOperator.h.


The documentation for this class was generated from the following file:


obj_rec_gui
Author(s): AGAS/agas@uni-koblenz.de
autogenerated on Mon Oct 6 2014 02:53:44