Orfeo Toolbox  3.16
Public Member Functions | Private Attributes
otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel > Class Template Reference

DEPRECATED: This functor implements the pixel-wise color anaglyph composition. The output pixel is a vector pixel of size 3, where the first component contains the value of the first component from the second input pixel, the second component contains the value of the second component from the first input pixel, and the third component contains the value of the third component of the first input pixel. More...

#include <otbVectorImageToColorAnaglyphVectorImageFilter.h>

+ Inheritance diagram for otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >:

List of all members.

Public Member Functions

 ColorAnaglyphFunctor ()
 Constructor.
virtual ~ColorAnaglyphFunctor ()
 Destructor.
unsigned int GetBlueChannelIndex (void)
unsigned int GetGreenChannelIndex (void)
unsigned int GetRedChannelIndex (void)
TOutputPixel operator() (const TInputPixel1 &pixel1, const TInputPixel2 &pixel2)
void SetBlueChannelIndex (unsigned int index)
void SetGreenChannelIndex (unsigned int index)
void SetRedChannelIndex (unsigned int index)

Private Attributes

unsigned int m_BlueChannelIndex
unsigned int m_GreenChannelIndex
unsigned int m_RedChannelIndex
 Color composition channels indices.

Detailed Description

template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
class otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >

DEPRECATED: This functor implements the pixel-wise color anaglyph composition. The output pixel is a vector pixel of size 3, where the first component contains the value of the first component from the second input pixel, the second component contains the value of the second component from the first input pixel, and the third component contains the value of the third component of the first input pixel.

the channels indices for the composition can be changed to fit the channel order from a specific sensor.

Deprecated:
use the new Visualization framework instead.
See also:
StandardImageViewer

Definition at line 45 of file otbVectorImageToColorAnaglyphVectorImageFilter.h.


Constructor & Destructor Documentation

template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::ColorAnaglyphFunctor ( )
inline

Constructor.

Definition at line 49 of file otbVectorImageToColorAnaglyphVectorImageFilter.h.

template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
virtual otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::~ColorAnaglyphFunctor ( )
inlinevirtual

Destructor.

Definition at line 56 of file otbVectorImageToColorAnaglyphVectorImageFilter.h.


Member Function Documentation

template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::GetBlueChannelIndex ( void  )
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::GetGreenChannelIndex ( void  )
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::GetRedChannelIndex ( void  )
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
TOutputPixel otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::operator() ( const TInputPixel1 &  pixel1,
const TInputPixel2 &  pixel2 
)
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
void otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::SetBlueChannelIndex ( unsigned int  index)
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
void otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::SetGreenChannelIndex ( unsigned int  index)
inline
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
void otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::SetRedChannelIndex ( unsigned int  index)
inline

Member Data Documentation

template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::m_BlueChannelIndex
private
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::m_GreenChannelIndex
private
template<class TInputPixel1, class TInputPixel2, class TOutputPixel>
unsigned int otb::Functor::ColorAnaglyphFunctor< TInputPixel1, TInputPixel2, TOutputPixel >::m_RedChannelIndex
private

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

Generated at Sun Feb 3 2013 04:26:29 for Orfeo Toolbox with doxygen 1.8.1.1