OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter > Class Template Reference

#include <otbStreamingImageToOGRLayerSegmentationFilter.h>

+ Inheritance diagram for otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >:
+ Collaboration diagram for otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImagePointer InputImagePointerType
 
typedef Superclass::InputImageType InputImageType
 
typedef otb::LabelImageToOGRDataSourceFilter< LabelImageTypeLabelImageToOGRDataSourceFilterType
 
typedef LabeledOutputAccessor< SegmentationFilterType >::LabelImageType LabelImageType
 
typedef LabelImageType::PixelType LabelPixelType
 
typedef itk::MultiplyImageFilter< LabelImageType, LabelImageType, LabelImageTypeMultiplyImageFilterType
 
typedef Superclass::OGRDataSourcePointerType OGRDataSourcePointerType
 
typedef Superclass::OGRDataSourceType OGRDataSourceType
 
typedef Superclass::OGRLayerType OGRLayerType
 
typedef itk::SmartPointer< SelfPointer
 
typedef RelabelComponentImageFilter< LabelImageType, LabelImageTypeRelabelComponentImageFilterType
 
typedef TSegmentationFilter SegmentationFilterType
 
typedef PersistentImageToOGRLayerSegmentationFilter Self
 
typedef PersistentImageToOGRLayerFilter< TImageType > Superclass
 
- Public Types inherited from otb::PersistentImageToOGRLayerFilter< TImageType >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef InputImageType::IndexType IndexType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TImageType InputImageType
 
typedef InputImageType::InternalPixelType InternalPixelType
 
typedef OGRDataSourceType::Pointer OGRDataSourcePointerType
 
typedef ogr::DataSource OGRDataSourceType
 
typedef ogr::Feature OGRFeatureType
 
typedef ogr::Layer OGRLayerType
 
typedef InputImageType::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::RegionType RegionType
 
typedef PersistentImageToOGRLayerFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef PersistentImageFilter< TImageType, TImageType > Superclass
 
- Public Types inherited from otb::PersistentImageFilter< TImageType, TImageType >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TImageType InputImageType
 
typedef TImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef itk::ImageToImageFilter< TImageType, TImageType > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetFieldName () const
 
virtual bool GetFilterSmallObject ()
 
virtual unsigned int GetMinimumObjectSize ()
 
virtual const char * GetNameOfClass () const
 
virtual LabelPixelType GetStartLabel ()
 
virtual bool GetUse8Connected ()
 
 itkGetObjectMacro (SegmentationFilter, SegmentationFilterType)
 
virtual void SetFieldName (const char *_arg)
 
virtual void SetFilterSmallObject (bool _arg)
 
virtual void SetMinimumObjectSize (unsigned int _arg)
 
void SetStartLabel (const LabelPixelType &label)
 
virtual void SetUse8Connected (bool _arg)
 
- Public Member Functions inherited from otb::PersistentImageToOGRLayerFilter< TImageType >
void AllocateOutputs () override
 
virtual const char * GetNameOfClass () const
 
const OGRLayerTypeGetOGRLayer (void) const
 
virtual SizeType GetStreamSize ()
 
virtual void Initialize (void)
 
void Reset (void) override
 
void SetOGRLayer (const OGRLayerType &ogrLayer)
 
void Synthetize (void) override
 

Static Public Member Functions

static Pointer New ()
 
int m_TileMaxLabel
 
LabelPixelType m_StartLabel
 
SegmentationFilterType::Pointer m_SegmentationFilter
 
std::string m_FieldName
 
unsigned int m_TileNumber
 
bool m_Use8Connected
 
bool m_FilterSmallObject
 
unsigned int m_MinimumObjectSize
 
bool m_Simplify
 
double m_SimplificationTolerance
 
virtual void SetSimplify (bool _arg)
 
virtual bool GetSimplify ()
 
virtual void SetSimplificationTolerance (double _arg)
 
virtual double GetSimplificationTolerance ()
 
virtual void SetInputMask (const LabelImageType *mask)
 
virtual const LabelImageTypeGetInputMask (void)
 
 PersistentImageToOGRLayerSegmentationFilter ()
 
 ~PersistentImageToOGRLayerSegmentationFilter () override
 
 PersistentImageToOGRLayerSegmentationFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
OGRDataSourcePointerType ProcessTile () override
 

Additional Inherited Members

- Protected Member Functions inherited from otb::PersistentImageToOGRLayerFilter< TImageType >
void GenerateData () override
 
 PersistentImageToOGRLayerFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageToOGRLayerFilter () override
 
- Protected Member Functions inherited from otb::PersistentImageFilter< TImageType, TImageType >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 

Detailed Description

template<class TImageType, class TSegmentationFilter>
class otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >

Definition at line 61 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TImageType , class TSegmentationFilter >
typedef itk::SmartPointer<const Self> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::ConstPointer

◆ InputImagePointerType

template<class TImageType , class TSegmentationFilter >
typedef Superclass::InputImagePointer otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::InputImagePointerType

◆ InputImageType

template<class TImageType , class TSegmentationFilter >
typedef Superclass::InputImageType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::InputImageType

◆ LabelImageToOGRDataSourceFilterType

template<class TImageType , class TSegmentationFilter >
typedef otb::LabelImageToOGRDataSourceFilter<LabelImageType> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelImageToOGRDataSourceFilterType

◆ LabelImageType

template<class TImageType , class TSegmentationFilter >
typedef LabeledOutputAccessor<SegmentationFilterType>::LabelImageType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelImageType

◆ LabelPixelType

template<class TImageType , class TSegmentationFilter >
typedef LabelImageType::PixelType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelPixelType

◆ MultiplyImageFilterType

template<class TImageType , class TSegmentationFilter >
typedef itk::MultiplyImageFilter<LabelImageType, LabelImageType, LabelImageType> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::MultiplyImageFilterType

◆ OGRDataSourcePointerType

template<class TImageType , class TSegmentationFilter >
typedef Superclass::OGRDataSourcePointerType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRDataSourcePointerType

◆ OGRDataSourceType

template<class TImageType , class TSegmentationFilter >
typedef Superclass::OGRDataSourceType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRDataSourceType

◆ OGRLayerType

template<class TImageType , class TSegmentationFilter >
typedef Superclass::OGRLayerType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRLayerType

◆ Pointer

template<class TImageType , class TSegmentationFilter >
typedef itk::SmartPointer<Self> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Pointer

◆ RelabelComponentImageFilterType

template<class TImageType , class TSegmentationFilter >
typedef RelabelComponentImageFilter<LabelImageType, LabelImageType> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::RelabelComponentImageFilterType

◆ SegmentationFilterType

template<class TImageType , class TSegmentationFilter >
typedef TSegmentationFilter otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SegmentationFilterType

◆ Self

template<class TImageType , class TSegmentationFilter >
typedef PersistentImageToOGRLayerSegmentationFilter otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Self

Standard Self typedef

Definition at line 65 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ Superclass

template<class TImageType , class TSegmentationFilter >
typedef PersistentImageToOGRLayerFilter<TImageType> otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::Superclass

Constructor & Destructor Documentation

◆ PersistentImageToOGRLayerSegmentationFilter() [1/2]

template<class TImageType , class TSegmentationFilter >
otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::PersistentImageToOGRLayerSegmentationFilter
protected

◆ ~PersistentImageToOGRLayerSegmentationFilter()

template<class TImageType , class TSegmentationFilter >
otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::~PersistentImageToOGRLayerSegmentationFilter
overrideprotected

Option for simplifying geometries. Default to false.

Definition at line 56 of file otbStreamingImageToOGRLayerSegmentationFilter.hxx.

◆ PersistentImageToOGRLayerSegmentationFilter() [2/2]

template<class TImageType , class TSegmentationFilter >
otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::PersistentImageToOGRLayerSegmentationFilter ( const Self )
privatedelete

Option for simplifying geometries. Default to false.

Member Function Documentation

◆ CreateAnother()

template<class TImageType , class TSegmentationFilter >
virtual::itk::LightObject::Pointer otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::CreateAnother ( void  ) const

◆ GetFieldName()

template<class TImageType , class TSegmentationFilter >
virtual const char* otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetFieldName ( ) const
virtual

◆ GetFilterSmallObject()

template<class TImageType , class TSegmentationFilter >
virtual bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetFilterSmallObject ( )
virtual

Return the value of filter small objects option.

◆ GetInputMask()

template<class TImageType , class TSegmentationFilter >
const PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::LabelImageType * otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetInputMask ( void  )
virtual

Option for simplifying geometries. Default to false.

Definition at line 68 of file otbStreamingImageToOGRLayerSegmentationFilter.hxx.

◆ GetMinimumObjectSize()

template<class TImageType , class TSegmentationFilter >
virtual unsigned int otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetMinimumObjectSize ( )
virtual

Get the minimum object size.

◆ GetNameOfClass()

template<class TImageType , class TSegmentationFilter >
virtual const char* otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetNameOfClass ( ) const
virtual

Runtime information support.

◆ GetSimplificationTolerance()

template<class TImageType , class TSegmentationFilter >
virtual double otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetSimplificationTolerance ( )
virtual

Get the tolerance value for simplifying geometries.

See also
OGRGeometry::Simplify() OGRGeometry::SimplifyPreserveTopology()

◆ GetSimplify()

template<class TImageType , class TSegmentationFilter >
virtual bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetSimplify ( )
virtual

Option for simplifying geometries. Default to false.

◆ GetStartLabel()

template<class TImageType , class TSegmentationFilter >
virtual LabelPixelType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetStartLabel ( )
virtual

Return the first label value

◆ GetUse8Connected()

template<class TImageType , class TSegmentationFilter >
virtual bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::GetUse8Connected ( )
virtual

Get the value of 8-connected neighborhood option used in LabelImageToOGRDataSourceFilter

◆ itkGetObjectMacro()

template<class TImageType , class TSegmentationFilter >
otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::itkGetObjectMacro ( SegmentationFilter  ,
SegmentationFilterType   
)

Return a pointer to the segmentation filter used.

◆ New()

template<class TImageType , class TSegmentationFilter >
static Pointer otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TImageType , class TSegmentationFilter >
void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::operator= ( const Self )
privatedelete

Option for simplifying geometries. Default to false.

◆ ProcessTile()

template<class TImageType , class TSegmentationFilter >
PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::OGRDataSourcePointerType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::ProcessTile
overrideprivatevirtual

◆ SetFieldName()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetFieldName ( const char *  _arg)
virtual

◆ SetFilterSmallObject()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetFilterSmallObject ( bool  _arg)
virtual

Set the option for filtering small objects. Default to false.

◆ SetInputMask()

template<class TImageType , class TSegmentationFilter >
void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetInputMask ( const LabelImageType mask)
virtual

Set/Get the input mask image. All pixels in the mask with a value of 0 will not be considered suitable for vectorization.

Definition at line 61 of file otbStreamingImageToOGRLayerSegmentationFilter.hxx.

◆ SetMinimumObjectSize()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetMinimumObjectSize ( unsigned int  _arg)
virtual

Set the minimum object size (in pixels) in case FilterSmallObject option is true.

◆ SetSimplificationTolerance()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetSimplificationTolerance ( double  _arg)
virtual

Set the tolerance value for simplifying geometries.

See also
OGRGeometry::Simplify() OGRGeometry::SimplifyPreserveTopology()

◆ SetSimplify()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetSimplify ( bool  _arg)
virtual

Option for simplifying geometries. Default to false.

◆ SetStartLabel()

template<class TImageType , class TSegmentationFilter >
void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetStartLabel ( const LabelPixelType label)
inline

◆ SetUse8Connected()

template<class TImageType , class TSegmentationFilter >
virtual void otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetUse8Connected ( bool  _arg)
virtual

Set the value of 8-connected neighborhood option used in LabelImageToOGRDataSourceFilter

Member Data Documentation

◆ m_FieldName

template<class TImageType , class TSegmentationFilter >
std::string otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_FieldName
private

Option for simplifying geometries. Default to false.

Definition at line 169 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ m_FilterSmallObject

template<class TImageType , class TSegmentationFilter >
bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_FilterSmallObject
private

Option for simplifying geometries. Default to false.

Definition at line 173 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ m_MinimumObjectSize

template<class TImageType , class TSegmentationFilter >
unsigned int otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_MinimumObjectSize
private

Option for simplifying geometries. Default to false.

Definition at line 174 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ m_SegmentationFilter

template<class TImageType , class TSegmentationFilter >
SegmentationFilterType::Pointer otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_SegmentationFilter
private

◆ m_SimplificationTolerance

template<class TImageType , class TSegmentationFilter >
double otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_SimplificationTolerance
private

Option for simplifying geometries. Default to false.

Definition at line 176 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ m_Simplify

template<class TImageType , class TSegmentationFilter >
bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_Simplify
private

Option for simplifying geometries. Default to false.

Definition at line 175 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

◆ m_StartLabel

template<class TImageType , class TSegmentationFilter >
LabelPixelType otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_StartLabel
private

Option for simplifying geometries. Default to false.

Definition at line 166 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

Referenced by otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetStartLabel().

◆ m_TileMaxLabel

template<class TImageType , class TSegmentationFilter >
int otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_TileMaxLabel
private

Option for simplifying geometries. Default to false.

Definition at line 165 of file otbStreamingImageToOGRLayerSegmentationFilter.h.

Referenced by otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::SetStartLabel().

◆ m_TileNumber

template<class TImageType , class TSegmentationFilter >
unsigned int otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_TileNumber
private

◆ m_Use8Connected

template<class TImageType , class TSegmentationFilter >
bool otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >::m_Use8Connected
private

Option for simplifying geometries. Default to false.

Definition at line 172 of file otbStreamingImageToOGRLayerSegmentationFilter.h.


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