Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ChangeLabelImageFilter< TInputImage, TOutputImage > Class Template Reference

Change Sets of Labels. More...

#include <otbChangeLabelImageFilter.h>

+ Inheritance diagram for otb::ChangeLabelImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::ChangeLabelImageFilter< TInputImage, TOutputImage >:

Public Types

typedef std::map
< InputPixelType,
OutputPixelType
ChangeMapType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputImage::PixelType InputPixelType
 
typedef TOutputImage::PixelType OutputPixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ChangeLabelImageFilter Self
 
typedef
itk::UnaryFunctorImageFilter
< TInputImage, TOutputImage,
Functor::VectorChangeLabel
< typename
TInputImage::PixelType,
typename
TOutputImage::PixelType > > 
Superclass
 
- Public Types inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Functor::VectorChangeLabel
< TInputImage::PixelType,
TOutputImage::PixelType > 
FunctorType
 
typedef
Functor::VectorChangeLabel
< TInputImage::PixelType,
TOutputImage::PixelType > 
FunctorType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef
InputImageType::ConstPointer 
InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef TInputImage InputImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef SmartPointer< SelfPointer
 
typedef UnaryFunctorImageFilter Self
 
typedef UnaryFunctorImageFilter Self
 
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass
 
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass
 

Public Member Functions

void ClearChangeMap ()
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual unsigned int GetNumberOfComponentsPerPixel ()
 
void SetChange (const InputPixelType &original, const OutputPixelType &result)
 
void SetChangeMap (const ChangeMapType &changeMap)
 
void SetNumberOfComponentsPerPixel (unsigned int nb)
 
- Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
void SetFunctor (const FunctorType &functor)
 
void SetFunctor (const FunctorType &functor)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >
static Pointer New ()
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter (void)
 

Protected Member Functions

 ChangeLabelImageFilter ()
 
virtual ~ChangeLabelImageFilter ()
 
virtual void GenerateOutputInformation ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const
 
- Protected Member Functions inherited from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::VectorChangeLabel< TInputImage::PixelType, TOutputImage::PixelType > >
 UnaryFunctorImageFilter ()
 
 UnaryFunctorImageFilter ()
 
virtual ~UnaryFunctorImageFilter ()
 
virtual ~UnaryFunctorImageFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Private Member Functions

 ChangeLabelImageFilter (const Self &)
 
void operator= (const Self &)
 

Private Attributes

unsigned int m_NumberOfComponentsPerPixel
 Number of components per pixel. More...
 

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::ChangeLabelImageFilter< TInputImage, TOutputImage >

Change Sets of Labels.

Adapt the itkChangeLabelImageFilter for multichannel images.

Definition at line 114 of file otbChangeLabelImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef std::map<InputPixelType, OutputPixelType> otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeMapType

Type of the change map to use for change requests

Definition at line 141 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 128 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TInputImage::PixelType otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::InputPixelType

Pixel types.

Definition at line 134 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef TOutputImage::PixelType otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::OutputPixelType

Definition at line 138 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 127 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef ChangeLabelImageFilter otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 121 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
typedef itk::UnaryFunctorImageFilter<TInputImage, TOutputImage, Functor::VectorChangeLabel< typename TInputImage::PixelType, typename TOutputImage::PixelType> > otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 126 of file otbChangeLabelImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeLabelImageFilter ( )
protected

Definition at line 31 of file otbChangeLabelImageFilter.txx.

template<class TInputImage , class TOutputImage >
virtual otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::~ChangeLabelImageFilter ( )
inlineprotectedvirtual

Definition at line 163 of file otbChangeLabelImageFilter.h.

template<class TInputImage , class TOutputImage >
otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::ChangeLabelImageFilter ( const Self )
private

Member Function Documentation

template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::ClearChangeMap ( )

Clears the entire change map

Definition at line 70 of file otbChangeLabelImageFilter.txx.

template<class TInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::CreateAnother ( void  ) const
template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::GenerateOutputInformation ( void  )
protectedvirtual
template<class TInputImage , class TOutputImage >
virtual const char* otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual
template<class TInputImage , class TOutputImage >
virtual unsigned int otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::GetNumberOfComponentsPerPixel ( )
virtual
template<class TInputImage , class TOutputImage >
static Pointer otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
private
template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
protected

Definition at line 96 of file otbChangeLabelImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChange ( const InputPixelType original,
const OutputPixelType result 
)

Set up a change of a single label

Definition at line 41 of file otbChangeLabelImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetChangeMap ( const ChangeMapType changeMap)

Set the entire change map

Definition at line 57 of file otbChangeLabelImageFilter.txx.

template<class TInputImage , class TOutputImage >
void otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::SetNumberOfComponentsPerPixel ( unsigned int  nb)
inline

Set/Get the number of components per pixel

Definition at line 153 of file otbChangeLabelImageFilter.h.

Member Data Documentation

template<class TInputImage , class TOutputImage >
unsigned int otb::ChangeLabelImageFilter< TInputImage, TOutputImage >::m_NumberOfComponentsPerPixel
private

Number of components per pixel.

Definition at line 174 of file otbChangeLabelImageFilter.h.


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