OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelImageRegionPruningFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
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< LabelType > | AdjacentLabelsContainerType |
typedef std::vector< AdjacentLabelsContainerType > | RegionAdjacencyMapType |
static const unsigned int | ImageDimension = InputLabelImageType::ImageDimension |
unsigned int | m_NumberOfComponentsPerPixel |
unsigned int | m_MinRegionSize |
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 | SetMinRegionSize (RealType _arg) |
virtual RealType | GetMinRegionSize () const |
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 |
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 |
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.
typedef std::set<LabelType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::AdjacentLabelsContainerType |
Template parameters typedefs
Definition at line 92 of file otbLabelImageRegionPruningFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::ConstPointer |
Definition at line 53 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImagePointerType |
Template parameters typedefs
Definition at line 66 of file otbLabelImageRegionPruningFilter.h.
typedef TInputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputImageType |
Template parameters typedefs
Definition at line 65 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::IndexType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexType |
Template parameters typedefs
Definition at line 68 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::IndexValueType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputIndexValueType |
Template parameters typedefs
Definition at line 70 of file otbLabelImageRegionPruningFilter.h.
typedef TInputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelImageType |
Template parameters typedefs
Definition at line 58 of file otbLabelImageRegionPruningFilter.h.
typedef InputLabelImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputLabelType |
Template parameters typedefs
Definition at line 63 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputPixelType |
Template parameters typedefs
Definition at line 67 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::SizeType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSizeType |
Template parameters typedefs
Definition at line 69 of file otbLabelImageRegionPruningFilter.h.
typedef TInputSpectralImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::InputSpectralImageType |
Template parameters typedefs
Definition at line 75 of file otbLabelImageRegionPruningFilter.h.
typedef InputLabelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::LabelType |
Typedefs for region adjacency map
Definition at line 91 of file otbLabelImageRegionPruningFilter.h.
typedef TOutputClusteredImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputClusteredImageType |
Template parameters typedefs
Definition at line 86 of file otbLabelImageRegionPruningFilter.h.
typedef OutputImageType::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImagePointerType |
Template parameters typedefs
Definition at line 82 of file otbLabelImageRegionPruningFilter.h.
typedef TOutputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputImageType |
Template parameters typedefs
Definition at line 81 of file otbLabelImageRegionPruningFilter.h.
typedef TOutputLabelImage otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelImageType |
Template parameters typedefs
Definition at line 78 of file otbLabelImageRegionPruningFilter.h.
typedef OutputLabelImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputLabelType |
Template parameters typedefs
Definition at line 79 of file otbLabelImageRegionPruningFilter.h.
typedef OutputImageType::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputPixelType |
Template parameters typedefs
Definition at line 83 of file otbLabelImageRegionPruningFilter.h.
typedef OutputImageType::RegionType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::OutputRegionType |
Template parameters typedefs
Definition at line 84 of file otbLabelImageRegionPruningFilter.h.
typedef itk::SmartPointer<Self> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Pointer |
Definition at line 52 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::PointType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::PointType |
Template parameters typedefs
Definition at line 71 of file otbLabelImageRegionPruningFilter.h.
typedef double otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RealType |
Definition at line 54 of file otbLabelImageRegionPruningFilter.h.
typedef std::vector<AdjacentLabelsContainerType> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionAdjacencyMapType |
Template parameters typedefs
Definition at line 93 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::RegionType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::RegionType |
Template parameters typedefs
Definition at line 72 of file otbLabelImageRegionPruningFilter.h.
typedef LabelImageRegionPruningFilter otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Self |
Standard class typedef
Definition at line 50 of file otbLabelImageRegionPruningFilter.h.
typedef InputImageType::SizeType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SizeType |
Template parameters typedefs
Definition at line 73 of file otbLabelImageRegionPruningFilter.h.
typedef TInputSpectralImage::PixelType otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::SpectralPixelType |
Template parameters typedefs
Definition at line 76 of file otbLabelImageRegionPruningFilter.h.
typedef itk::ImageToImageFilter<TInputLabelImage, TOutputLabelImage> otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::Superclass |
Definition at line 51 of file otbLabelImageRegionPruningFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbLabelImageRegionPruningFilter.hxx.
|
overrideprotected |
Destructor
Definition at line 76 of file otbLabelImageRegionPruningFilter.hxx.
|
privatedelete |
Template parameters typedefs
virtual::itk::LightObject::Pointer otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::CreateAnother | ( | void | ) | const |
Template parameters typedefs
|
overrideprotected |
Template parameters typedefs
Definition at line 136 of file otbLabelImageRegionPruningFilter.hxx.
|
overrideprotected |
Template parameters typedefs
Definition at line 150 of file otbLabelImageRegionPruningFilter.hxx.
|
overrideprotected |
Template parameters typedefs
Definition at line 123 of file otbLabelImageRegionPruningFilter.hxx.
OutputClusteredImageType* otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetClusteredOutput | ( | ) |
Returns the clustered output image, with one spectral value per region
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.
TInputLabelImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputLabelImage |
Returns input label image
Definition at line 63 of file otbLabelImageRegionPruningFilter.hxx.
TInputSpectralImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetInputSpectralImage |
Returns input spectral image
Definition at line 69 of file otbLabelImageRegionPruningFilter.hxx.
OutputLabelImageType* otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput | ( | ) |
Returns the image of region labels
const TOutputLabelImage * otb::LabelImageRegionPruningFilter< TInputLabelImage, TInputSpectralImage, TOutputLabelImage, TOutputClusteredImage >::GetLabelOutput |
Returns the const image of region labels
Definition at line 81 of file otbLabelImageRegionPruningFilter.hxx.
|
virtual |
Template parameters typedefs
|
virtual |
Type macro
|
protected |
Method to build a map of adjacent regions
Definition at line 435 of file otbLabelImageRegionPruningFilter.hxx.
|
static |
Template parameters typedefs
|
privatedelete |
Template parameters typedefs
|
overrideprotected |
PrintSelf method
Definition at line 425 of file otbLabelImageRegionPruningFilter.hxx.
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.
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.
|
virtual |
Template parameters typedefs
|
static |
Template parameters typedefs
Definition at line 88 of file otbLabelImageRegionPruningFilter.h.
|
private |
This contains the label to which each label will be merged
Definition at line 150 of file otbLabelImageRegionPruningFilter.h.
|
private |
Template parameters typedefs
Definition at line 147 of file otbLabelImageRegionPruningFilter.h.
|
private |
Contains the spectral value for each region
Definition at line 153 of file otbLabelImageRegionPruningFilter.h.
|
private |
Number of components per pixel in the input image
Definition at line 146 of file otbLabelImageRegionPruningFilter.h.
|
private |
Number of points in each region
Definition at line 156 of file otbLabelImageRegionPruningFilter.h.