OTB
9.0.0
Orfeo Toolbox
|
#include <otbLabelImageSmallRegionMergingFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef PersistentFilterStreamingDecorator< PersistentLabelImageSmallRegionMergingFilterType > | LabelImageSmallRegionMergingFilterType |
typedef PersistentLabelImageSmallRegionMergingFilterType::LabelPopulationType | LabelPopulationType |
typedef PersistentLabelImageSmallRegionMergingFilterType::LabelStatisticType | LabelStatisticType |
typedef PersistentLabelImageSmallRegionMergingFilterType::LUTType | LUTType |
typedef PersistentLabelImageSmallRegionMergingFilter< TInputLabelImage > | PersistentLabelImageSmallRegionMergingFilterType |
typedef itk::SmartPointer< Self > | Pointer |
typedef LabelImageSmallRegionMergingFilter | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
LabelImageSmallRegionMergingFilterType::Pointer | m_SmallRegionMergingFilter |
unsigned int | m_MinSize |
virtual unsigned int | GetMinSize () |
virtual void | SetMinSize (unsigned int _arg) |
void | SetInputLabelImage (const TInputLabelImage *labelImage) |
void | SetLabelPopulation (LabelPopulationType const &labelPopulation) |
LabelPopulationType const & | GetLabelPopulation () const |
void | SetLabelStatistic (LabelStatisticType const &labelStatistic) |
LabelStatisticType const & | GetLabelStatistic () const |
LUTType const & | GetLUT () const |
void | Update () override |
LabelImageSmallRegionMergingFilter () | |
~LabelImageSmallRegionMergingFilter () override=default | |
void | GenerateData () override |
LabelImageSmallRegionMergingFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
This filter computes from a label image an equivalence table that gives for each pixel, the corresponding label in the merged image. It uses a PersistentFilterStreamingDecorator templated over a PersistentLabelImageSmallRegionMergingFilter to merge the segments recursively from segment of size 1 to segment of a size specified by the attribute MinSize. The equivalence table can be accessed with the method GetLut and used to compute the merged image with a ChangeLabelImageFilterType.
Definition at line 165 of file otbLabelImageSmallRegionMergingFilter.h.
typedef itk::SmartPointer<const Self> otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::ConstPointer |
Definition at line 172 of file otbLabelImageSmallRegionMergingFilter.h.
typedef PersistentFilterStreamingDecorator<PersistentLabelImageSmallRegionMergingFilterType> otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelImageSmallRegionMergingFilterType |
Definition at line 182 of file otbLabelImageSmallRegionMergingFilter.h.
typedef PersistentLabelImageSmallRegionMergingFilterType::LabelPopulationType otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelPopulationType |
Definition at line 184 of file otbLabelImageSmallRegionMergingFilter.h.
typedef PersistentLabelImageSmallRegionMergingFilterType::LabelStatisticType otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelStatisticType |
Definition at line 186 of file otbLabelImageSmallRegionMergingFilter.h.
typedef PersistentLabelImageSmallRegionMergingFilterType::LUTType otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LUTType |
Definition at line 188 of file otbLabelImageSmallRegionMergingFilter.h.
typedef PersistentLabelImageSmallRegionMergingFilter<TInputLabelImage> otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::PersistentLabelImageSmallRegionMergingFilterType |
Definition at line 178 of file otbLabelImageSmallRegionMergingFilter.h.
typedef itk::SmartPointer<Self> otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::Pointer |
Definition at line 171 of file otbLabelImageSmallRegionMergingFilter.h.
typedef LabelImageSmallRegionMergingFilter otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::Self |
Standard Self typedef
Definition at line 169 of file otbLabelImageSmallRegionMergingFilter.h.
typedef itk::ProcessObject otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::Superclass |
Definition at line 170 of file otbLabelImageSmallRegionMergingFilter.h.
|
protected |
Constructor
Definition at line 265 of file otbLabelImageSmallRegionMergingFilter.hxx.
References otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::m_SmallRegionMergingFilter, and otb::PersistentFilterStreamingDecorator< TFilter >::New().
|
overrideprotecteddefault |
Destructor
|
privatedelete |
Set/Get size of polygon to be merged
virtual::itk::LightObject::Pointer otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Generate Data method (Update LabelImageSmallRegionMergingFilterType recursively)
Definition at line 315 of file otbLabelImageSmallRegionMergingFilter.hxx.
LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelPopulationType const & otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::GetLabelPopulation |
Get the Label population map
Definition at line 284 of file otbLabelImageSmallRegionMergingFilter.hxx.
LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelStatisticType const & otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::GetLabelStatistic |
Get the Label statistic map
Definition at line 297 of file otbLabelImageSmallRegionMergingFilter.hxx.
LabelImageSmallRegionMergingFilter< TInputLabelImage >::LUTType const & otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::GetLUT |
Get the Label statistic map
Definition at line 303 of file otbLabelImageSmallRegionMergingFilter.hxx.
|
virtual |
Set/Get size of polygon to be merged
|
virtual |
Creation through object factory macro
|
static |
Type macro
|
privatedelete |
Set/Get size of polygon to be merged
void otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::SetInputLabelImage | ( | const TInputLabelImage * | labelImage | ) |
Set the Label population map
Definition at line 271 of file otbLabelImageSmallRegionMergingFilter.hxx.
void otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::SetLabelPopulation | ( | LabelPopulationType const & | labelPopulation | ) |
Set the Label population map
Definition at line 277 of file otbLabelImageSmallRegionMergingFilter.hxx.
void otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::SetLabelStatistic | ( | LabelStatisticType const & | labelStatistic | ) |
Set the Label statistic map
Definition at line 290 of file otbLabelImageSmallRegionMergingFilter.hxx.
|
virtual |
Set/Get size of polygon to be merged
|
override |
Call GenerateData()
Definition at line 309 of file otbLabelImageSmallRegionMergingFilter.hxx.
|
private |
Set/Get size of polygon to be merged
Definition at line 236 of file otbLabelImageSmallRegionMergingFilter.h.
|
private |
Set/Get size of polygon to be merged
Definition at line 233 of file otbLabelImageSmallRegionMergingFilter.h.
Referenced by otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelImageSmallRegionMergingFilter().