OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Attributes | List of all members
otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel > Class Template Reference

#include <otbPrintableImageFilter.h>

+ Collaboration diagram for otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >:

Public Types

typedef TInputPixel InputPixelType
 
typedef TMaskPixel MaskPixelType
 
typedef OutputPixelType::ValueType OutputInternalPixelType
 
typedef TOutputPixel OutputPixelType
 

Public Member Functions

MaskPixelType GetBackgroundValue ()
 
OutputPixelType GetObjectColor ()
 
 MaskFunctor ()
 
OutputPixelType operator() (InputPixelType inPix, MaskPixelType maskPix) const
 
void SetBackgroundValue (MaskPixelType val)
 
void SetObjectColor (OutputPixelType val)
 
 ~MaskFunctor ()
 

Protected Attributes

MaskPixelType m_BackgroundValue
 
OutputPixelType m_ObjectColor
 

Detailed Description

template<class TInputPixel, class TMaskPixel, class TOutputPixel>
class otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >

Output is a InputPixel if MaskPixel is m_Background and a defined other value (m_ObjectColor) otherwise.

Definition at line 45 of file otbPrintableImageFilter.h.

Member Typedef Documentation

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
typedef TInputPixel otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::InputPixelType

Definition at line 56 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
typedef TMaskPixel otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::MaskPixelType

Definition at line 57 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
typedef OutputPixelType::ValueType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::OutputInternalPixelType

Definition at line 59 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
typedef TOutputPixel otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::OutputPixelType

Definition at line 58 of file otbPrintableImageFilter.h.

Constructor & Destructor Documentation

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::MaskFunctor ( )
inline

Definition at line 48 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::~MaskFunctor ( )
inline

Definition at line 54 of file otbPrintableImageFilter.h.

Member Function Documentation

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
MaskPixelType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::GetBackgroundValue ( )
inline

Definition at line 61 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
OutputPixelType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::GetObjectColor ( )
inline

Definition at line 70 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
OutputPixelType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::operator() ( InputPixelType  inPix,
MaskPixelType  maskPix 
) const
inline

Definition at line 79 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
void otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::SetBackgroundValue ( MaskPixelType  val)
inline

Definition at line 65 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
void otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::SetObjectColor ( OutputPixelType  val)
inline

Definition at line 74 of file otbPrintableImageFilter.h.

Member Data Documentation

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
MaskPixelType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::m_BackgroundValue
protected

Definition at line 99 of file otbPrintableImageFilter.h.

template<class TInputPixel , class TMaskPixel , class TOutputPixel >
OutputPixelType otb::Functor::MaskFunctor< TInputPixel, TMaskPixel, TOutputPixel >::m_ObjectColor
protected

Definition at line 100 of file otbPrintableImageFilter.h.


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