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

#include <otbLabelImageRegionMergingFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::SmartPointer< SelfPointer
 
typedef double RealType
 
typedef LabelImageRegionMergingFilter 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
 
RealType m_RangeBandwidth
 
unsigned int m_NumberOfComponentsPerPixel
 
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 SetRangeBandwidth (RealType _arg)
 
virtual RealType GetRangeBandwidth ()
 
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
 
 LabelImageRegionMergingFilter ()
 
 ~LabelImageRegionMergingFilter () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
RegionAdjacencyMapType LabelImageToRegionAdjacencyMap (typename OutputLabelImageType::Pointer inputLabelImage)
 
 LabelImageRegionMergingFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class TInputLabelImage, class TInputSpectralImage, class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
class otb::LabelImageRegionMergingFilter< 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 45 of file otbLabelImageRegionMergingFilter.h.

Member Typedef Documentation

◆ AdjacentLabelsContainerType

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

Template parameters typedefs

Definition at line 91 of file otbLabelImageRegionMergingFilter.h.

◆ ConstPointer

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

Definition at line 52 of file otbLabelImageRegionMergingFilter.h.

◆ InputImagePointerType

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

Template parameters typedefs

Definition at line 65 of file otbLabelImageRegionMergingFilter.h.

◆ InputImageType

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

Template parameters typedefs

Definition at line 64 of file otbLabelImageRegionMergingFilter.h.

◆ InputIndexType

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

Template parameters typedefs

Definition at line 67 of file otbLabelImageRegionMergingFilter.h.

◆ InputIndexValueType

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

Template parameters typedefs

Definition at line 69 of file otbLabelImageRegionMergingFilter.h.

◆ InputLabelImageType

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

Template parameters typedefs

Definition at line 57 of file otbLabelImageRegionMergingFilter.h.

◆ InputLabelType

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

Template parameters typedefs

Definition at line 62 of file otbLabelImageRegionMergingFilter.h.

◆ InputPixelType

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

Template parameters typedefs

Definition at line 66 of file otbLabelImageRegionMergingFilter.h.

◆ InputSizeType

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

Template parameters typedefs

Definition at line 68 of file otbLabelImageRegionMergingFilter.h.

◆ InputSpectralImageType

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

Template parameters typedefs

Definition at line 74 of file otbLabelImageRegionMergingFilter.h.

◆ LabelType

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

Typedefs for region adjacency map

Definition at line 90 of file otbLabelImageRegionMergingFilter.h.

◆ OutputClusteredImageType

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

Template parameters typedefs

Definition at line 85 of file otbLabelImageRegionMergingFilter.h.

◆ OutputImagePointerType

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

Template parameters typedefs

Definition at line 81 of file otbLabelImageRegionMergingFilter.h.

◆ OutputImageType

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

Template parameters typedefs

Definition at line 80 of file otbLabelImageRegionMergingFilter.h.

◆ OutputLabelImageType

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

Template parameters typedefs

Definition at line 77 of file otbLabelImageRegionMergingFilter.h.

◆ OutputLabelType

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

Template parameters typedefs

Definition at line 78 of file otbLabelImageRegionMergingFilter.h.

◆ OutputPixelType

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

Template parameters typedefs

Definition at line 82 of file otbLabelImageRegionMergingFilter.h.

◆ OutputRegionType

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

Template parameters typedefs

Definition at line 83 of file otbLabelImageRegionMergingFilter.h.

◆ Pointer

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

Definition at line 51 of file otbLabelImageRegionMergingFilter.h.

◆ PointType

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

Template parameters typedefs

Definition at line 70 of file otbLabelImageRegionMergingFilter.h.

◆ RealType

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

Definition at line 53 of file otbLabelImageRegionMergingFilter.h.

◆ RegionAdjacencyMapType

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

Template parameters typedefs

Definition at line 92 of file otbLabelImageRegionMergingFilter.h.

◆ RegionType

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

Template parameters typedefs

Definition at line 71 of file otbLabelImageRegionMergingFilter.h.

◆ Self

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

Standard class typedef

Definition at line 49 of file otbLabelImageRegionMergingFilter.h.

◆ SizeType

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

Template parameters typedefs

Definition at line 72 of file otbLabelImageRegionMergingFilter.h.

◆ SpectralPixelType

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

Template parameters typedefs

Definition at line 75 of file otbLabelImageRegionMergingFilter.h.

◆ Superclass

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

Definition at line 50 of file otbLabelImageRegionMergingFilter.h.

Constructor & Destructor Documentation

◆ LabelImageRegionMergingFilter() [1/2]

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

Constructor

Definition at line 34 of file otbLabelImageRegionMergingFilter.hxx.

◆ ~LabelImageRegionMergingFilter()

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

Destructor

Definition at line 75 of file otbLabelImageRegionMergingFilter.hxx.

◆ LabelImageRegionMergingFilter() [2/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelImageRegionMergingFilter ( 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::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::CreateAnother ( void  ) const

Template parameters typedefs

◆ EnlargeOutputRequestedRegion()

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

Template parameters typedefs

Definition at line 135 of file otbLabelImageRegionMergingFilter.hxx.

◆ GenerateData()

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

Template parameters typedefs

Definition at line 149 of file otbLabelImageRegionMergingFilter.hxx.

◆ GenerateOutputInformation()

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

Template parameters typedefs

Definition at line 122 of file otbLabelImageRegionMergingFilter.hxx.

◆ GetClusteredOutput() [1/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
OutputClusteredImageType* otb::LabelImageRegionMergingFilter< 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 LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputClusteredImageType * otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetClusteredOutput

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

Definition at line 101 of file otbLabelImageRegionMergingFilter.hxx.

◆ GetInputLabelImage()

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

Returns input label image

Definition at line 62 of file otbLabelImageRegionMergingFilter.hxx.

◆ GetInputSpectralImage()

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

Returns input spectral image

Definition at line 68 of file otbLabelImageRegionMergingFilter.hxx.

◆ GetLabelOutput() [1/2]

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
OutputLabelImageType* otb::LabelImageRegionMergingFilter< 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::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput

Returns the const image of region labels

Definition at line 80 of file otbLabelImageRegionMergingFilter.hxx.

◆ GetNameOfClass()

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

Type macro

◆ GetRangeBandwidth()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
virtual RealType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetRangeBandwidth ( )
virtual

Template parameters typedefs

◆ LabelImageToRegionAdjacencyMap()

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

Method to build a map of adjacent regions

Definition at line 413 of file otbLabelImageRegionMergingFilter.hxx.

◆ New()

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

Template parameters typedefs

◆ operator=()

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

Template parameters typedefs

◆ PrintSelf()

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

PrintSelf method

Definition at line 403 of file otbLabelImageRegionMergingFilter.hxx.

◆ SetInputLabelImage()

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage , class TOutputClusteredImage >
void otb::LabelImageRegionMergingFilter< 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 46 of file otbLabelImageRegionMergingFilter.hxx.

◆ SetInputSpectralImage()

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

Sets the input image representing spectral values

Definition at line 54 of file otbLabelImageRegionMergingFilter.hxx.

◆ SetRangeBandwidth()

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

Setters / Getters

Member Data Documentation

◆ ImageDimension

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

Template parameters typedefs

Definition at line 87 of file otbLabelImageRegionMergingFilter.h.

◆ m_CanonicalLabels

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

This contains the label to which each label will be merged

Definition at line 154 of file otbLabelImageRegionMergingFilter.h.

◆ m_Modes

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

Contains the spectral value for each region

Definition at line 157 of file otbLabelImageRegionMergingFilter.h.

◆ m_NumberOfComponentsPerPixel

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

Number of components per pixel in the input image

Definition at line 151 of file otbLabelImageRegionMergingFilter.h.

◆ m_PointCounts

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

Number of points in each region

Definition at line 160 of file otbLabelImageRegionMergingFilter.h.

◆ m_RangeBandwidth

template<class TInputLabelImage , class TInputSpectralImage , class TOutputLabelImage = TInputLabelImage, class TOutputClusteredImage = TInputSpectralImage>
RealType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::m_RangeBandwidth
private

Range bandwidth

Definition at line 148 of file otbLabelImageRegionMergingFilter.h.


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