OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage > Class Template Reference

#include <otbWatershedSegmentationFilter.h>

+ Inheritance diagram for otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >:
+ Collaboration diagram for otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >:

Public Types

typedef itk::CastImageFilter< InternalOutputImageType, OutputLabelImageTypeCastImageFilterType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef WatershedFilterType::OutputImageType InternalOutputImageType
 
typedef TOutputLabelImage OutputLabelImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef WatershedSegmentationFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputLabelImage > Superclass
 
typedef itk::WatershedImageFilter< TInputImage > WatershedFilterType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
 otbGetObjectMemberMacro (WatershedFilter, Level, float)
 
 otbGetObjectMemberMacro (WatershedFilter, Threshold, float)
 
 otbSetObjectMemberMacro (WatershedFilter, Level, float)
 
 otbSetObjectMemberMacro (WatershedFilter, Threshold, float)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
 

Protected Member Functions

void GenerateData () override
 
 WatershedSegmentationFilter ()
 
 ~WatershedSegmentationFilter () override
 

Private Attributes

CastImageFilterType::Pointer m_CastFilter
 
WatershedFilterType::Pointer m_WatershedFilter
 

Detailed Description

template<class TInputImage, class TOutputLabelImage>
class otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >

Watershed composite filter allowing to set output type.

This filter is a composite filter that encapsulates the itk::WatershedImageFilter and allows setting the type of the output image (which is not the case in the itk::WatershedImageFilter).

The composite filter internally casts the output from the itk::WatershedImageFilter into TOutputLabelImage.

For more information, please refer to the documentation of the original itk::WatershedImageFilter .

Definition at line 49 of file otbWatershedSegmentationFilter.h.

Member Typedef Documentation

◆ CastImageFilterType

template<class TInputImage , class TOutputLabelImage >
typedef itk::CastImageFilter<InternalOutputImageType, OutputLabelImageType> otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::CastImageFilterType

Definition at line 65 of file otbWatershedSegmentationFilter.h.

◆ ConstPointer

template<class TInputImage , class TOutputLabelImage >
typedef itk::SmartPointer<const Self> otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::ConstPointer

Definition at line 56 of file otbWatershedSegmentationFilter.h.

◆ InputImageType

template<class TInputImage , class TOutputLabelImage >
typedef TInputImage otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::InputImageType

Some convenient typedefs.

Definition at line 59 of file otbWatershedSegmentationFilter.h.

◆ InternalOutputImageType

template<class TInputImage , class TOutputLabelImage >
typedef WatershedFilterType::OutputImageType otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::InternalOutputImageType

Definition at line 63 of file otbWatershedSegmentationFilter.h.

◆ OutputLabelImageType

template<class TInputImage , class TOutputLabelImage >
typedef TOutputLabelImage otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::OutputLabelImageType

Definition at line 60 of file otbWatershedSegmentationFilter.h.

◆ Pointer

template<class TInputImage , class TOutputLabelImage >
typedef itk::SmartPointer<Self> otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::Pointer

Definition at line 55 of file otbWatershedSegmentationFilter.h.

◆ Self

template<class TInputImage , class TOutputLabelImage >
typedef WatershedSegmentationFilter otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::Self

Standard Self typedef

Definition at line 53 of file otbWatershedSegmentationFilter.h.

◆ Superclass

template<class TInputImage , class TOutputLabelImage >
typedef itk::ImageToImageFilter<TInputImage, TOutputLabelImage> otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::Superclass

Definition at line 54 of file otbWatershedSegmentationFilter.h.

◆ WatershedFilterType

template<class TInputImage , class TOutputLabelImage >
typedef itk::WatershedImageFilter<TInputImage> otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::WatershedFilterType

Definition at line 62 of file otbWatershedSegmentationFilter.h.

Constructor & Destructor Documentation

◆ WatershedSegmentationFilter()

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::WatershedSegmentationFilter
protected

Definition at line 30 of file otbWatershedSegmentationFilter.hxx.

◆ ~WatershedSegmentationFilter()

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::~WatershedSegmentationFilter
overrideprotected

Definition at line 39 of file otbWatershedSegmentationFilter.hxx.

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputLabelImage >
virtual::itk::LightObject::Pointer otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TInputImage , class TOutputLabelImage >
void otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::GenerateData
overrideprotected

Definition at line 45 of file otbWatershedSegmentationFilter.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TOutputLabelImage >
virtual const char* otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ New()

template<class TInputImage , class TOutputLabelImage >
static Pointer otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::New ( )
static

Method for creation through the object factory.

◆ otbGetObjectMemberMacro() [1/2]

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::otbGetObjectMemberMacro ( WatershedFilter  ,
Level  ,
float   
)

◆ otbGetObjectMemberMacro() [2/2]

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::otbGetObjectMemberMacro ( WatershedFilter  ,
Threshold  ,
float   
)

◆ otbSetObjectMemberMacro() [1/2]

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::otbSetObjectMemberMacro ( WatershedFilter  ,
Level  ,
float   
)

◆ otbSetObjectMemberMacro() [2/2]

template<class TInputImage , class TOutputLabelImage >
otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::otbSetObjectMemberMacro ( WatershedFilter  ,
Threshold  ,
float   
)

Member Data Documentation

◆ ImageDimension

template<class TInputImage , class TOutputLabelImage >
const unsigned int otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::ImageDimension = TInputImage::ImageDimension
static

ImageDimension constants

Definition at line 74 of file otbWatershedSegmentationFilter.h.

◆ m_CastFilter

template<class TInputImage , class TOutputLabelImage >
CastImageFilterType::Pointer otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::m_CastFilter
private

Definition at line 91 of file otbWatershedSegmentationFilter.h.

◆ m_WatershedFilter

template<class TInputImage , class TOutputLabelImage >
WatershedFilterType::Pointer otb::WatershedSegmentationFilter< TInputImage, TOutputLabelImage >::m_WatershedFilter
private

Definition at line 92 of file otbWatershedSegmentationFilter.h.


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