OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelImageRegionMergingFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
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< LabelType > | AdjacentLabelsContainerType |
typedef std::vector< AdjacentLabelsContainerType > | RegionAdjacencyMapType |
static const unsigned int | ImageDimension = InputLabelImageType::ImageDimension |
RealType | m_RangeBandwidth |
unsigned int | m_NumberOfComponentsPerPixel |
std::vector< LabelType > | m_CanonicalLabels |
std::vector< SpectralPixelType > | m_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 OutputLabelImageType * | GetLabelOutput () const |
OutputLabelImageType * | GetLabelOutput () |
const OutputClusteredImageType * | GetClusteredOutput () const |
OutputClusteredImageType * | GetClusteredOutput () |
void | SetInputLabelImage (const InputLabelImageType *labelImage) |
void | SetInputSpectralImage (const InputSpectralImageType *spectralImage) |
InputLabelImageType * | GetInputLabelImage () |
InputSpectralImageType * | GetInputSpectralImage () |
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 |
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.
typedef std::set<LabelType> otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::AdjacentLabelsContainerType |
Template parameters typedefs
Definition at line 91 of file otbLabelImageRegionMergingFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::ConstPointer |
Definition at line 52 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::Pointer otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImagePointerType |
Template parameters typedefs
Definition at line 65 of file otbLabelImageRegionMergingFilter.h.
typedef TInputLabelImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImageType |
Template parameters typedefs
Definition at line 64 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::IndexType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexType |
Template parameters typedefs
Definition at line 67 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::IndexValueType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexValueType |
Template parameters typedefs
Definition at line 69 of file otbLabelImageRegionMergingFilter.h.
typedef TInputLabelImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelImageType |
Template parameters typedefs
Definition at line 57 of file otbLabelImageRegionMergingFilter.h.
typedef InputLabelImageType::PixelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelType |
Template parameters typedefs
Definition at line 62 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::PixelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputPixelType |
Template parameters typedefs
Definition at line 66 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::SizeType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSizeType |
Template parameters typedefs
Definition at line 68 of file otbLabelImageRegionMergingFilter.h.
typedef TInputSpectralImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSpectralImageType |
Template parameters typedefs
Definition at line 74 of file otbLabelImageRegionMergingFilter.h.
typedef InputLabelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelType |
Typedefs for region adjacency map
Definition at line 90 of file otbLabelImageRegionMergingFilter.h.
typedef TOutputClusteredImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputClusteredImageType |
Template parameters typedefs
Definition at line 85 of file otbLabelImageRegionMergingFilter.h.
typedef OutputImageType::Pointer otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImagePointerType |
Template parameters typedefs
Definition at line 81 of file otbLabelImageRegionMergingFilter.h.
typedef TOutputLabelImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImageType |
Template parameters typedefs
Definition at line 80 of file otbLabelImageRegionMergingFilter.h.
typedef TOutputLabelImage otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelImageType |
Template parameters typedefs
Definition at line 77 of file otbLabelImageRegionMergingFilter.h.
typedef OutputLabelImageType::PixelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelType |
Template parameters typedefs
Definition at line 78 of file otbLabelImageRegionMergingFilter.h.
typedef OutputImageType::PixelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputPixelType |
Template parameters typedefs
Definition at line 82 of file otbLabelImageRegionMergingFilter.h.
typedef OutputImageType::RegionType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputRegionType |
Template parameters typedefs
Definition at line 83 of file otbLabelImageRegionMergingFilter.h.
typedef itk::SmartPointer<Self> otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Pointer |
Definition at line 51 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::PointType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::PointType |
Template parameters typedefs
Definition at line 70 of file otbLabelImageRegionMergingFilter.h.
typedef double otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RealType |
Definition at line 53 of file otbLabelImageRegionMergingFilter.h.
typedef std::vector<AdjacentLabelsContainerType> otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionAdjacencyMapType |
Template parameters typedefs
Definition at line 92 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::RegionType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionType |
Template parameters typedefs
Definition at line 71 of file otbLabelImageRegionMergingFilter.h.
typedef LabelImageRegionMergingFilter otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Self |
Standard class typedef
Definition at line 49 of file otbLabelImageRegionMergingFilter.h.
typedef InputImageType::SizeType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SizeType |
Template parameters typedefs
Definition at line 72 of file otbLabelImageRegionMergingFilter.h.
typedef TInputSpectralImage::PixelType otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SpectralPixelType |
Template parameters typedefs
Definition at line 75 of file otbLabelImageRegionMergingFilter.h.
typedef itk::ImageToImageFilter<TInputLabelImage, TOutputLabelImage> otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Superclass |
Definition at line 50 of file otbLabelImageRegionMergingFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbLabelImageRegionMergingFilter.hxx.
|
overrideprotected |
Destructor
Definition at line 75 of file otbLabelImageRegionMergingFilter.hxx.
|
privatedelete |
Template parameters typedefs
virtual::itk::LightObject::Pointer otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::CreateAnother | ( | void | ) | const |
Template parameters typedefs
|
overrideprotected |
Template parameters typedefs
Definition at line 135 of file otbLabelImageRegionMergingFilter.hxx.
|
overrideprotected |
Template parameters typedefs
Definition at line 149 of file otbLabelImageRegionMergingFilter.hxx.
|
overrideprotected |
Template parameters typedefs
Definition at line 122 of file otbLabelImageRegionMergingFilter.hxx.
OutputClusteredImageType* otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetClusteredOutput | ( | ) |
Returns the clustered output image, with one spectral value per region
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.
TInputLabelImage * otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputLabelImage |
Returns input label image
Definition at line 62 of file otbLabelImageRegionMergingFilter.hxx.
TInputSpectralImage * otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputSpectralImage |
Returns input spectral image
Definition at line 68 of file otbLabelImageRegionMergingFilter.hxx.
OutputLabelImageType* otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput | ( | ) |
Returns the image of region labels
const TOutputLabelImage * otb::LabelImageRegionMergingFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput |
Returns the const image of region labels
Definition at line 80 of file otbLabelImageRegionMergingFilter.hxx.
|
virtual |
Type macro
|
virtual |
Template parameters typedefs
|
protected |
Method to build a map of adjacent regions
Definition at line 413 of file otbLabelImageRegionMergingFilter.hxx.
|
static |
Template parameters typedefs
|
privatedelete |
Template parameters typedefs
|
overrideprotected |
PrintSelf method
Definition at line 403 of file otbLabelImageRegionMergingFilter.hxx.
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.
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.
|
virtual |
Setters / Getters
|
static |
Template parameters typedefs
Definition at line 87 of file otbLabelImageRegionMergingFilter.h.
|
private |
This contains the label to which each label will be merged
Definition at line 154 of file otbLabelImageRegionMergingFilter.h.
|
private |
Contains the spectral value for each region
Definition at line 157 of file otbLabelImageRegionMergingFilter.h.
|
private |
Number of components per pixel in the input image
Definition at line 151 of file otbLabelImageRegionMergingFilter.h.
|
private |
Number of points in each region
Definition at line 160 of file otbLabelImageRegionMergingFilter.h.
|
private |
Range bandwidth
Definition at line 148 of file otbLabelImageRegionMergingFilter.h.