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::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage > Class Template Reference

#include <otbMeanShiftConnectedComponentSegmentationFilter.h>

+ Inheritance diagram for otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >:
+ Collaboration diagram for otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >:

Public Types

typedef itk::ConnectedComponentFunctorImageFilter< VectorImageType, LabelImageType, FunctorType, MaskImageTypeConnectedComponentFilterType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::ConnectedComponentMuParserFunctor< VectorImagePixelTypeFunctorType
 
typedef double KernelType
 
typedef TLabelImage LabelImageType
 
typedef TMaskImage MaskImageType
 
typedef otb::MaskMuParserFilter< VectorImageType, MaskImageTypeMaskMuParserFilterType
 
typedef MeanShiftFilterType::Pointer MeanShiftFilterPointerType
 
typedef otb::MeanShiftSmoothingImageFilter< VectorImageType, VectorImageTypeMeanShiftFilterType
 
typedef unsigned int ObjectSizeType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::RelabelComponentImageFilter< LabelImageType, LabelImageTypeRelabelComponentFilterType
 
typedef MeanShiftConnectedComponentSegmentationFilter Self
 
typedef itk::ImageToImageFilter< TVInputImage, TLabelImage > Superclass
 
typedef VectorImageType::PixelType VectorImagePixelType
 
typedef VectorImageType::Pointer VectorImagePointerType
 
typedef TVInputImage VectorImageType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetConnectedComponentExpression () const
 
virtual const char * GetMaskExpression () const
 
virtual ObjectSizeType GetMinimumObjectSize ()
 
virtual const char * GetNameOfClass () const
 
 itkGetObjectMacro (MeanShiftFilter, MeanShiftFilterType)
 
virtual void SetConnectedComponentExpression (const char *_arg)
 
virtual void SetMaskExpression (const char *_arg)
 
virtual void SetMeanShiftFilter (MeanShiftFilterType *_arg)
 
virtual void SetMinimumObjectSize (ObjectSizeType _arg)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int InputImageDimension = TVInputImage::ImageDimension
 

Protected Member Functions

void GenerateData () override
 
void GenerateInputRequestedRegion () override
 
 MeanShiftConnectedComponentSegmentationFilter ()
 
 ~MeanShiftConnectedComponentSegmentationFilter () override
 

Private Attributes

std::string m_ConnectedComponentExpression
 
std::string m_MaskExpression
 
MeanShiftFilterPointerType m_MeanShiftFilter
 
ObjectSizeType m_MinimumObjectSize
 

Detailed Description

template<class TVInputImage, class TMaskImage, class TLabelImage>
class otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >

[internal] Helper class to perform connected component segmentation on an input image,

The whole chain is described in : http://wiki.orfeo-toolbox.org/index.php/Connected_component_segmentation_module

This class wraps a processing chain based on meanshift filtering followed by a connected component segmentation,

An optional mask can be applied to segment only the pixels inside the mask.

Parameters of the chain are :

Definition at line 59 of file otbMeanShiftConnectedComponentSegmentationFilter.h.

Member Typedef Documentation

◆ ConnectedComponentFilterType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef itk::ConnectedComponentFunctorImageFilter<VectorImageType, LabelImageType, FunctorType, MaskImageType> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::ConnectedComponentFilterType

◆ ConstPointer

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef itk::SmartPointer<const Self> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::ConstPointer

◆ FunctorType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef Functor::ConnectedComponentMuParserFunctor<VectorImagePixelType> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::FunctorType

◆ KernelType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef double otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::KernelType

◆ LabelImageType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef TLabelImage otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::LabelImageType

◆ MaskImageType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef TMaskImage otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::MaskImageType

◆ MaskMuParserFilterType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef otb::MaskMuParserFilter<VectorImageType, MaskImageType> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::MaskMuParserFilterType

◆ MeanShiftFilterPointerType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef MeanShiftFilterType::Pointer otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::MeanShiftFilterPointerType

◆ MeanShiftFilterType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef otb::MeanShiftSmoothingImageFilter<VectorImageType, VectorImageType> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::MeanShiftFilterType

◆ ObjectSizeType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef unsigned int otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::ObjectSizeType

◆ Pointer

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef itk::SmartPointer<Self> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::Pointer

◆ RelabelComponentFilterType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef itk::RelabelComponentImageFilter<LabelImageType, LabelImageType> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::RelabelComponentFilterType

◆ Self

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef MeanShiftConnectedComponentSegmentationFilter otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::Self

Standard Self typedef

Definition at line 64 of file otbMeanShiftConnectedComponentSegmentationFilter.h.

◆ Superclass

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef itk::ImageToImageFilter<TVInputImage, TLabelImage> otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::Superclass

◆ VectorImagePixelType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef VectorImageType::PixelType otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::VectorImagePixelType

◆ VectorImagePointerType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef VectorImageType::Pointer otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::VectorImagePointerType

◆ VectorImageType

template<class TVInputImage , class TMaskImage , class TLabelImage >
typedef TVInputImage otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::VectorImageType

Some convenient typedefs.

Definition at line 73 of file otbMeanShiftConnectedComponentSegmentationFilter.h.

Constructor & Destructor Documentation

◆ MeanShiftConnectedComponentSegmentationFilter()

template<class TVImage , class TMaskImage , class TLabelImage >
otb::MeanShiftConnectedComponentSegmentationFilter< TVImage, TMaskImage, TLabelImage >::MeanShiftConnectedComponentSegmentationFilter
protected

◆ ~MeanShiftConnectedComponentSegmentationFilter()

template<class TVImage , class TMaskImage , class TLabelImage >
otb::MeanShiftConnectedComponentSegmentationFilter< TVImage, TMaskImage, TLabelImage >::~MeanShiftConnectedComponentSegmentationFilter
overrideprotected

Member Function Documentation

◆ CreateAnother()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual::itk::LightObject::Pointer otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::CreateAnother ( void  ) const

◆ GenerateData()

template<class TVImage , class TMaskImage , class TLabelImage >
void otb::MeanShiftConnectedComponentSegmentationFilter< TVImage, TMaskImage, TLabelImage >::GenerateData
overrideprotected

◆ GenerateInputRequestedRegion()

template<class TVImage , class TMaskImage , class TLabelImage >
void otb::MeanShiftConnectedComponentSegmentationFilter< TVImage, TMaskImage, TLabelImage >::GenerateInputRequestedRegion
overrideprotected

◆ GetConnectedComponentExpression()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual const char* otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::GetConnectedComponentExpression ( ) const
virtual

◆ GetMaskExpression()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual const char* otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::GetMaskExpression ( ) const
virtual

◆ GetMinimumObjectSize()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual ObjectSizeType otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::GetMinimumObjectSize ( )
virtual

◆ GetNameOfClass()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual const char* otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ itkGetObjectMacro()

template<class TVInputImage , class TMaskImage , class TLabelImage >
otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::itkGetObjectMacro ( MeanShiftFilter  ,
MeanShiftFilterType   
)

◆ New()

template<class TVInputImage , class TMaskImage , class TLabelImage >
static Pointer otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::New ( )
static

Method for creation through the object factory.

◆ SetConnectedComponentExpression()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual void otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::SetConnectedComponentExpression ( const char *  _arg)
virtual

◆ SetMaskExpression()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual void otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::SetMaskExpression ( const char *  _arg)
virtual

◆ SetMeanShiftFilter()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual void otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::SetMeanShiftFilter ( MeanShiftFilterType _arg)
virtual

◆ SetMinimumObjectSize()

template<class TVInputImage , class TMaskImage , class TLabelImage >
virtual void otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::SetMinimumObjectSize ( ObjectSizeType  _arg)
virtual

Member Data Documentation

◆ InputImageDimension

template<class TVInputImage , class TMaskImage , class TLabelImage >
const unsigned int otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::InputImageDimension = TVInputImage::ImageDimension
static

ImageDimension constants

Definition at line 87 of file otbMeanShiftConnectedComponentSegmentationFilter.h.

◆ m_ConnectedComponentExpression

template<class TVInputImage , class TMaskImage , class TLabelImage >
std::string otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::m_ConnectedComponentExpression
private

◆ m_MaskExpression

template<class TVInputImage , class TMaskImage , class TLabelImage >
std::string otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::m_MaskExpression
private

◆ m_MeanShiftFilter

template<class TVInputImage , class TMaskImage , class TLabelImage >
MeanShiftFilterPointerType otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::m_MeanShiftFilter
private

◆ m_MinimumObjectSize

template<class TVInputImage , class TMaskImage , class TLabelImage >
ObjectSizeType otb::MeanShiftConnectedComponentSegmentationFilter< TVInputImage, TMaskImage, TLabelImage >::m_MinimumObjectSize
private

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