OTB  9.0.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>

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

◆ InputPixelType

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

Definition at line 58 of file otbPrintableImageFilter.h.

◆ MaskPixelType

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

Definition at line 59 of file otbPrintableImageFilter.h.

◆ OutputInternalPixelType

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

Definition at line 61 of file otbPrintableImageFilter.h.

◆ OutputPixelType

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

Definition at line 60 of file otbPrintableImageFilter.h.

Constructor & Destructor Documentation

◆ MaskFunctor()

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

Definition at line 48 of file otbPrintableImageFilter.h.

◆ ~MaskFunctor()

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

◆ GetBackgroundValue()

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

Definition at line 63 of file otbPrintableImageFilter.h.

◆ GetObjectColor()

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

Definition at line 72 of file otbPrintableImageFilter.h.

◆ operator()()

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

Definition at line 81 of file otbPrintableImageFilter.h.

◆ SetBackgroundValue()

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

Definition at line 67 of file otbPrintableImageFilter.h.

◆ SetObjectColor()

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

Definition at line 76 of file otbPrintableImageFilter.h.

Member Data Documentation

◆ m_BackgroundValue

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

Definition at line 101 of file otbPrintableImageFilter.h.

◆ m_ObjectColor

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

Definition at line 102 of file otbPrintableImageFilter.h.


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