Public Member Functions | Static Public Member Functions | Protected Member Functions
puma2::ImagePairToImageOperator< I1, I2, O > Class Template Reference

#include <ImagePairToImageOperator.h>

Inheritance diagram for puma2::ImagePairToImageOperator< I1, I2, O >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ImagePairToImageOperator ()
virtual void operator() (const I1 &iImg1, const I2 &iImg2, O &oImg)
 interface that will call apply -- can be overwritten in derived class
virtual ~ImagePairToImageOperator ()

Static Public Member Functions

static void checkImageArgument (const I1 &iImg1, const I2 &iImg2, O &oImg)

Protected Member Functions

virtual void apply (const I1 &iImg1, const I2 &iImg2, O &oImg)=0
 must be defined in derived class
virtual void checkArgument (const I1 &iImg1, const I2 &iImg2, O &oImg)

Detailed Description

template<class I1, class I2, class O>
class puma2::ImagePairToImageOperator< I1, I2, O >

Definition at line 25 of file ImagePairToImageOperator.h.


Constructor & Destructor Documentation

template<class I1 , class I2 , class O >
puma2::ImagePairToImageOperator< I1, I2, O >::ImagePairToImageOperator ( )

Default constructor.

Definition at line 69 of file ImagePairToImageOperator.h.

template<class I1 , class I2 , class O >
puma2::ImagePairToImageOperator< I1, I2, O >::~ImagePairToImageOperator ( ) [virtual]

Destructor

Definition at line 74 of file ImagePairToImageOperator.h.


Member Function Documentation

template<class I1, class I2, class O>
virtual void puma2::ImagePairToImageOperator< I1, I2, O >::apply ( const I1 &  iImg1,
const I2 &  iImg2,
O &  oImg 
) [protected, pure virtual]

must be defined in derived class

Implemented in puma2::Y8UV8ToRGB8Operator.

template<class I1, class I2, class O>
void puma2::ImagePairToImageOperator< I1, I2, O >::checkArgument ( const I1 &  iImg1,
const I2 &  iImg2,
O &  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

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 89 of file ImagePairToImageOperator.h.

template<class I1, class I2, class O>
void puma2::ImagePairToImageOperator< I1, I2, O >::checkImageArgument ( const I1 &  iImg1,
const I2 &  iImg2,
O &  oImg 
) [static]

Definition at line 96 of file ImagePairToImageOperator.h.

template<class I1, class I2, class O>
void puma2::ImagePairToImageOperator< I1, I2, O >::operator() ( const I1 &  iImg1,
const I2 &  iImg2,
O &  oImg 
) [virtual]

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

Definition at line 80 of file ImagePairToImageOperator.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:43