OTB  9.0.0
Orfeo Toolbox
Public Types | List of all members
otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage > Class Template Reference

#include <otbLabelImageRegionPruningFilter.h>

+ Inheritance diagram for otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >:
+ Collaboration diagram for otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef double RealType
 
typedef LabelImageRegionPruningFilter Self
 
typedef itk::ImageToImageFilter< TInputLabelImage, TOutputLabelImage > Superclass
 
typedef TInputLabelImage InputLabelImageType
 
typedef InputLabelImageType::PixelType InputLabelType
 
typedef TInputLabelImage InputImageType
 
typedef InputImageType::Pointer InputImagePointerType
 
typedef InputImageType::PixelType InputPixelType
 
typedef InputImageType::IndexType InputIndexType
 
typedef InputImageType::SizeType InputSizeType
 
typedef InputImageType::IndexValueType InputIndexValueType
 
typedef InputImageType::PointType PointType
 
typedef InputImageType::RegionType RegionType
 
typedef InputImageType::SizeType SizeType
 
typedef TInputSpectralImage InputSpectralImageType
 
typedef TInputSpectralImage::PixelType SpectralPixelType
 
typedef TOutputLabelImage OutputLabelImageType
 
typedef OutputLabelImageType::PixelType OutputLabelType
 
typedef TOutputLabelImage OutputImageType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef OutputImageType::PixelType OutputPixelType
 
typedef OutputImageType::RegionType OutputRegionType
 
typedef TOutputClusteredImage OutputClusteredImageType
 
typedef InputLabelType LabelType
 
typedef std::set< LabelTypeAdjacentLabelsContainerType
 
typedef std::vector< AdjacentLabelsContainerTypeRegionAdjacencyMapType
 
static const unsigned int ImageDimension = InputLabelImageType::ImageDimension
 
unsigned int m_NumberOfComponentsPerPixel
 
unsigned int m_MinRegionSize
 
std::vector< LabelTypem_CanonicalLabels
 
std::vector< SpectralPixelTypem_Modes
 
std::vector< unsigned int > m_PointCounts
 
virtual const char * GetNameOfClass () const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual void SetMinRegionSize (RealType _arg)
 
virtual RealType GetMinRegionSize () const
 
const OutputLabelImageTypeGetLabelOutput () const
 
OutputLabelImageTypeGetLabelOutput ()
 
const OutputClusteredImageTypeGetClusteredOutput () const
 
OutputClusteredImageTypeGetClusteredOutput ()
 
void SetInputLabelImage (const InputLabelImageType *labelImage)
 
void SetInputSpectralImage (const InputSpectralImageType *spectralImage)
 
InputLabelImageTypeGetInputLabelImage ()
 
InputSpectralImageTypeGetInputSpectralImage ()
 
static Pointer New ()
 
void EnlargeOutputRequestedRegion (itk::DataObject *output) override
 
void GenerateOutputInformation (void) override
 
void GenerateData () override
 
 LabelImageRegionPruningFilter ()
 
 ~LabelImageRegionPruningFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
RegionAdjacencyMapType LabelImageToRegionAdjacencyMap (typename OutputLabelImageType::Pointer inputLabelImage)
 
 LabelImageRegionPruningFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
class otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >

This class merges regions in the input label image according to the input image of spectral values and the RangeBandwidth parameter.

Definition at line 46 of file otbLabelImageRegionPruningFilter.h.

Member Typedef Documentation

◆ AdjacentLabelsContainerType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef std::set<LabelType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::AdjacentLabelsContainerType

Template parameters typedefs

Definition at line 92 of file otbLabelImageRegionPruningFilter.h.

◆ ConstPointer

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef itk::SmartPointer<const Self> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::ConstPointer

Definition at line 53 of file otbLabelImageRegionPruningFilter.h.

◆ InputImagePointerType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImagePointerType

Template parameters typedefs

Definition at line 66 of file otbLabelImageRegionPruningFilter.h.

◆ InputImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TInputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImageType

Template parameters typedefs

Definition at line 65 of file otbLabelImageRegionPruningFilter.h.

◆ InputIndexType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::IndexType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexType

Template parameters typedefs

Definition at line 68 of file otbLabelImageRegionPruningFilter.h.

◆ InputIndexValueType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::IndexValueType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexValueType

Template parameters typedefs

Definition at line 70 of file otbLabelImageRegionPruningFilter.h.

◆ InputLabelImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TInputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelImageType

Template parameters typedefs

Definition at line 58 of file otbLabelImageRegionPruningFilter.h.

◆ InputLabelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputLabelImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelType

Template parameters typedefs

Definition at line 63 of file otbLabelImageRegionPruningFilter.h.

◆ InputPixelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputPixelType

Template parameters typedefs

Definition at line 67 of file otbLabelImageRegionPruningFilter.h.

◆ InputSizeType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::SizeType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSizeType

Template parameters typedefs

Definition at line 69 of file otbLabelImageRegionPruningFilter.h.

◆ InputSpectralImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TInputSpectralImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSpectralImageType

Template parameters typedefs

Definition at line 75 of file otbLabelImageRegionPruningFilter.h.

◆ LabelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputLabelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelType

Typedefs for region adjacency map

Definition at line 91 of file otbLabelImageRegionPruningFilter.h.

◆ OutputClusteredImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TOutputClusteredImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputClusteredImageType

Template parameters typedefs

Definition at line 86 of file otbLabelImageRegionPruningFilter.h.

◆ OutputImagePointerType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef OutputImageType::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImagePointerType

Template parameters typedefs

Definition at line 82 of file otbLabelImageRegionPruningFilter.h.

◆ OutputImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TOutputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImageType

Template parameters typedefs

Definition at line 81 of file otbLabelImageRegionPruningFilter.h.

◆ OutputLabelImageType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TOutputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelImageType

Template parameters typedefs

Definition at line 78 of file otbLabelImageRegionPruningFilter.h.

◆ OutputLabelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef OutputLabelImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelType

Template parameters typedefs

Definition at line 79 of file otbLabelImageRegionPruningFilter.h.

◆ OutputPixelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef OutputImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputPixelType

Template parameters typedefs

Definition at line 83 of file otbLabelImageRegionPruningFilter.h.

◆ OutputRegionType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef OutputImageType::RegionType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputRegionType

Template parameters typedefs

Definition at line 84 of file otbLabelImageRegionPruningFilter.h.

◆ Pointer

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef itk::SmartPointer<Self> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Pointer

Definition at line 52 of file otbLabelImageRegionPruningFilter.h.

◆ PointType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::PointType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::PointType

Template parameters typedefs

Definition at line 71 of file otbLabelImageRegionPruningFilter.h.

◆ RealType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef double otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RealType

Definition at line 54 of file otbLabelImageRegionPruningFilter.h.

◆ RegionAdjacencyMapType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef std::vector<AdjacentLabelsContainerType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionAdjacencyMapType

Template parameters typedefs

Definition at line 93 of file otbLabelImageRegionPruningFilter.h.

◆ RegionType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::RegionType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionType

Template parameters typedefs

Definition at line 72 of file otbLabelImageRegionPruningFilter.h.

◆ Self

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef LabelImageRegionPruningFilter otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Self

Standard class typedef

Definition at line 50 of file otbLabelImageRegionPruningFilter.h.

◆ SizeType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef InputImageType::SizeType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SizeType

Template parameters typedefs

Definition at line 73 of file otbLabelImageRegionPruningFilter.h.

◆ SpectralPixelType

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef TInputSpectralImage::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SpectralPixelType

Template parameters typedefs

Definition at line 76 of file otbLabelImageRegionPruningFilter.h.

◆ Superclass

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
typedef itk::ImageToImageFilter<TInputLabelImage, TOutputLabelImage> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Superclass

Definition at line 51 of file otbLabelImageRegionPruningFilter.h.

Constructor & Destructor Documentation

◆ LabelImageRegionPruningFilter() [1/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageRegionPruningFilter
protected

Constructor

Definition at line 34 of file otbLabelImageRegionPruningFilter.hxx.

◆ ~LabelImageRegionPruningFilter()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::~LabelImageRegionPruningFilter
overrideprotected

Destructor

Definition at line 76 of file otbLabelImageRegionPruningFilter.hxx.

◆ LabelImageRegionPruningFilter() [2/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageRegionPruningFilter ( const Self )
privatedelete

Template parameters typedefs

Member Function Documentation

◆ CreateAnother()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
virtual::itk::LightObject::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::CreateAnother ( void  ) const

Template parameters typedefs

◆ EnlargeOutputRequestedRegion()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::EnlargeOutputRequestedRegion ( itk::DataObject *  output)
overrideprotected

Template parameters typedefs

Definition at line 136 of file otbLabelImageRegionPruningFilter.hxx.

◆ GenerateData()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GenerateData
overrideprotected

Template parameters typedefs

Definition at line 150 of file otbLabelImageRegionPruningFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GenerateOutputInformation ( void  )
overrideprotected

Template parameters typedefs

Definition at line 123 of file otbLabelImageRegionPruningFilter.hxx.

◆ GetClusteredOutput() [1/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
OutputClusteredImageType* otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetClusteredOutput ( )

Returns the clustered output image, with one spectral value per region

◆ GetClusteredOutput() [2/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
const LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputClusteredImageType * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetClusteredOutput

Returns the const clustered output image, with one spectral value per region

Definition at line 102 of file otbLabelImageRegionPruningFilter.hxx.

◆ GetInputLabelImage()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
TInputLabelImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputLabelImage

Returns input label image

Definition at line 63 of file otbLabelImageRegionPruningFilter.hxx.

◆ GetInputSpectralImage()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
TInputSpectralImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputSpectralImage

Returns input spectral image

Definition at line 69 of file otbLabelImageRegionPruningFilter.hxx.

◆ GetLabelOutput() [1/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
OutputLabelImageType* otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput ( )

Returns the image of region labels

◆ GetLabelOutput() [2/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
const TOutputLabelImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput

Returns the const image of region labels

Definition at line 81 of file otbLabelImageRegionPruningFilter.hxx.

◆ GetMinRegionSize()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
virtual RealType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetMinRegionSize ( ) const
virtual

Template parameters typedefs

◆ GetNameOfClass()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
virtual const char* otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetNameOfClass ( ) const
virtual

Type macro

◆ LabelImageToRegionAdjacencyMap()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionAdjacencyMapType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageToRegionAdjacencyMap ( typename OutputLabelImageType::Pointer  inputLabelImage)
protected

Method to build a map of adjacent regions

Definition at line 435 of file otbLabelImageRegionPruningFilter.hxx.

◆ New()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
static Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::New ( )
static

Template parameters typedefs

◆ operator=()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::operator= ( const Self )
privatedelete

Template parameters typedefs

◆ PrintSelf()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotected

PrintSelf method

Definition at line 425 of file otbLabelImageRegionPruningFilter.hxx.

◆ SetInputLabelImage()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SetInputLabelImage ( const InputLabelImageType labelImage)

Sets the input image where the value of a pixel is the region id

Definition at line 47 of file otbLabelImageRegionPruningFilter.hxx.

◆ SetInputSpectralImage()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SetInputSpectralImage ( const InputSpectralImageType spectralImage)

Sets the input image representing spectral values

Definition at line 55 of file otbLabelImageRegionPruningFilter.hxx.

◆ SetMinRegionSize()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
virtual void otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SetMinRegionSize ( RealType  _arg)
virtual

Template parameters typedefs

Member Data Documentation

◆ ImageDimension

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
const unsigned int otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::ImageDimension = InputLabelImageType::ImageDimension
static

Template parameters typedefs

Definition at line 88 of file otbLabelImageRegionPruningFilter.h.

◆ m_CanonicalLabels

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
std::vector<LabelType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_CanonicalLabels
private

This contains the label to which each label will be merged

Definition at line 150 of file otbLabelImageRegionPruningFilter.h.

◆ m_MinRegionSize

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
unsigned int otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_MinRegionSize
private

Template parameters typedefs

Definition at line 147 of file otbLabelImageRegionPruningFilter.h.

◆ m_Modes

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
std::vector<SpectralPixelType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_Modes
private

Contains the spectral value for each region

Definition at line 153 of file otbLabelImageRegionPruningFilter.h.

◆ m_NumberOfComponentsPerPixel

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
unsigned int otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_NumberOfComponentsPerPixel
private

Number of components per pixel in the input image

Definition at line 146 of file otbLabelImageRegionPruningFilter.h.

◆ m_PointCounts

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
std::vector<unsigned int> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_PointCounts
private

Number of points in each region

Definition at line 156 of file otbLabelImageRegionPruningFilter.h.


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