OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | List of all members
otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage > Class Template Reference

#include <otbShapeAttributesLabelMapFilter.h>

+ Inheritance diagram for otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >:
+ Collaboration diagram for otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Functor::ShapeAttributesLabelObjectFunctor
< LabelObjectType,
LabelImageType
FunctorType
 
typedef ImageType::Pointer ImagePointer
 
typedef TImage ImageType
 
typedef ImageType::RegionType InputImageRegionType
 
typedef TLabelImage LabelImageType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
ShapeAttributesLabelMapFilter 
Self
 
typedef
LabelMapFeaturesFunctorImageFilter
< ImageType, FunctorType
Superclass
 
- Public Types inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, TLabelImage > >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
Functor::ShapeAttributesLabelObjectFunctor
< TImage::LabelObjectType,
TLabelImage > 
FunctorType
 
typedef TImage ImageType
 
typedef ImageType::LabelObjectType LabelObjectType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
LabelMapFeaturesFunctorImageFilter 
Self
 
typedef
itk::InPlaceLabelMapFilter
< TImage > 
Superclass
 
- Public Types inherited from itk::InPlaceLabelMapFilter< TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TImage InputImageType
 
typedef
InputImageType::LabelObjectType 
LabelObjectType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImagePointer 
OutputImagePointer
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef InputImageType::PixelType PixelType
 
typedef SmartPointer< SelfPointer
 
typedef InputImageType::RegionType RegionType
 
typedef InPlaceLabelMapFilter Self
 
typedef LabelMapFilter< TImage,
TImage > 
Superclass
 
typedef TImage TOutputImage
 
- Public Types inherited from itk::LabelMapFilter< TImage, TImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::InputImageConstPointer 
InputImageConstPointer
 
typedef
Superclass::InputImagePixelType 
InputImagePixelType
 
typedef
Superclass::InputImagePointer 
InputImagePointer
 
typedef
Superclass::InputImageRegionType 
InputImageRegionType
 
typedef Superclass::InputImageType InputImageType
 
typedef
InputImageType::LabelObjectType 
LabelObjectType
 
typedef
OutputImageType::ConstPointer 
OutputImageConstPointer
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef LabelMapFilter Self
 
typedef ImageToImageFilter
< TImage, TImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource< TOutputImage > Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetComputeFeretDiameter (bool flag)
 
bool GetComputeFeretDiameter () const
 
virtual void ComputeFeretDiameterOn ()
 
virtual void ComputeFeretDiameterOff ()
 
void SetComputePerimeter (bool flag)
 
bool GetComputePerimeter () const
 
virtual void ComputePerimeterOn ()
 
virtual void ComputePerimeterOff ()
 
void SetComputePolygon (bool flag)
 
bool GetComputePolygon () const
 
virtual void ComputePolygonOn ()
 
virtual void ComputePolygonOff ()
 
void SetComputeFlusser (bool flag)
 
bool GetComputeFlusser () const
 
virtual void ComputeFlusserOn ()
 
virtual void ComputeFlusserOff ()
 
void SetReducedAttributeSet (bool flag)
 
bool GetReducedAttributeSet () const
 
virtual void ReducedAttributeSetOn ()
 
virtual void ReducedAttributeSetOff ()
 
void SetLabelImage (const TLabelImage *)
 
const TLabelImage * GetLabelImage () const
 
- Public Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, TLabelImage > >
const FunctorTypeGetFunctor () const
 
FunctorTypeGetFunctor ()
 
void SetFunctor (FunctorType &functor)
 
- Public Member Functions inherited from itk::InPlaceLabelMapFilter< TImage >
bool CanRunInPlace () const
 
virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual bool GetInPlace ()
 
virtual void InPlaceOff ()
 
virtual void InPlaceOn ()
 
virtual void SetInPlace (bool _arg)
 
- Public Member Functions inherited from itk::LabelMapFilter< TImage, TImage >
virtual ::itk::LightObject::Pointer CreateAnother () const
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateInputRequestedRegion () override
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::InPlaceLabelMapFilter< TImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::LabelMapFilter< TImage, TImage >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TImage::ImageDimension
 
- Static Public Attributes inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, TLabelImage > >
static const unsigned int ImageDimension
 
- Static Public Attributes inherited from itk::InPlaceLabelMapFilter< TImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::LabelMapFilter< TImage, TImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 

Protected Member Functions

void AllocateOutputs () override
 
void BeforeThreadedGenerateData () override
 
void EnlargeOutputRequestedRegion (itk::DataObject *) override
 
void GenerateInputRequestedRegion () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ShapeAttributesLabelMapFilter ()
 
 ~ShapeAttributesLabelMapFilter () override
 
- Protected Member Functions inherited from otb::LabelMapFeaturesFunctorImageFilter< TImage, Functor::ShapeAttributesLabelObjectFunctor< TImage::LabelObjectType, TLabelImage > >
 LabelMapFeaturesFunctorImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
void ThreadedProcessLabelObject (LabelObjectType *labelObject) override
 
 ~LabelMapFeaturesFunctorImageFilter () override
 
- Protected Member Functions inherited from itk::InPlaceLabelMapFilter< TImage >
virtual InputImageTypeGetLabelMap () override
 
 InPlaceLabelMapFilter ()
 
 ~InPlaceLabelMapFilter ()
 
- Protected Member Functions inherited from itk::LabelMapFilter< TImage, TImage >
virtual void AfterThreadedGenerateData () override
 
 LabelMapFilter ()
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId) override
 
 ~LabelMapFilter ()
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)=delete
 
 ShapeAttributesLabelMapFilter (const Self &)=delete
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::LabelMapFilter< TImage, TImage >
FastMutexLock::Pointer m_LabelObjectContainerLock
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TImage, class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
class otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >

This class is a fork of the itk::ShapeLabelMapFilter working with AttributesMapLabelObject.

The keys of the attributes inserted into the attributes map follow the following rule: "SHAPE:NameOfAttributes".

With respect to the original itk filter, this filter also compute the Flusser moments for each LabelObject.

The flag ReducedAttributesSet allows computing only non-redundant statistics and statistics useful for classification (not spatially dependent statitistics). Reduced set contains only Flusser moments, physical size, elongation, Feret diameter (if activated), perimeter (if activated) and roundness (if activated).

For the sake of speed optimization, the original label image must be given to the filter. If not, the filter will convert the LabelObjectMap back to a LabelImage structure.

See Also
itk::ShapeLabelMapFilter

Definition at line 213 of file otbShapeAttributesLabelMapFilter.h.

Member Typedef Documentation

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef itk::SmartPointer<const Self> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ConstPointer

Definition at line 233 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef Functor::ShapeAttributesLabelObjectFunctor<LabelObjectType, LabelImageType> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::FunctorType

Definition at line 226 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef ImageType::Pointer otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ImagePointer

Definition at line 235 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef TImage otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ImageType

Template parameters typedefs

Definition at line 221 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef ImageType::RegionType otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::InputImageRegionType

Definition at line 223 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef TLabelImage otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::LabelImageType

Definition at line 224 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef ImageType::LabelObjectType otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::LabelObjectType

Definition at line 222 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef itk::SmartPointer<Self> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Pointer

Definition at line 232 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef ShapeAttributesLabelMapFilter otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Self

Standard class typedefs.

Definition at line 229 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
typedef LabelMapFeaturesFunctorImageFilter<ImageType, FunctorType> otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::Superclass

Definition at line 231 of file otbShapeAttributesLabelMapFilter.h.

Constructor & Destructor Documentation

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ShapeAttributesLabelMapFilter ( )
inlineprotected

Constructor

Definition at line 297 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::~ShapeAttributesLabelMapFilter ( )
inlineoverrideprotected

Destructor

Definition at line 300 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ShapeAttributesLabelMapFilter ( const Self )
privatedelete

Member Function Documentation

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::AllocateOutputs ( void  )
overrideprotectedvirtual

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 1167 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::BeforeThreadedGenerateData ( void  )
overrideprotectedvirtual

Things to to before threaded data generation

Reimplemented from itk::LabelMapFilter< TImage, TImage >.

Definition at line 1219 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputeFeretDiameterOff ( )
virtual

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputeFeretDiameterOn ( )
virtual

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputeFlusserOff ( )
virtual

Set/Get whether the Flussrer moments should be computed or not. The default value is true, to assure backward compatibility.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputeFlusserOn ( )
virtual

Set/Get whether the Flussrer moments should be computed or not. The default value is true, to assure backward compatibility.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputePerimeterOff ( )
virtual

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputePerimeterOn ( )
virtual

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputePolygonOff ( )
virtual

Set/Get whether the polygonalisation process should be computed or not. The default value is true, to assure backward compatibility.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ComputePolygonOn ( )
virtual

Set/Get whether the polygonalisation process should be computed or not. The default value is true, to assure backward compatibility.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual::itk::LightObject::Pointer otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::EnlargeOutputRequestedRegion ( itk::DataObject )
inlineoverrideprotectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 312 of file otbShapeAttributesLabelMapFilter.h.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GenerateInputRequestedRegion ( void  )
overrideprotectedvirtual
template<class TImage , class TLabelImage >
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFeretDiameter ( ) const

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

Definition at line 1058 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputeFlusser ( ) const

Set/Get whether the Flussrer moments should be computed or not. The default value is true, to assure backward compatibility.

Definition at line 1118 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePerimeter ( ) const

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

Definition at line 1078 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetComputePolygon ( ) const

Set/Get whether the polygonalisation process should be computed or not. The default value is true, to assure backward compatibility.

Definition at line 1098 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
const TLabelImage * otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetLabelImage ( ) const

Set/Get the label image (this is used only to compute the Feret diameter)

Definition at line 1159 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual const char* otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetNameOfClass ( ) const
virtual
template<class TImage , class TLabelImage >
bool otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::GetReducedAttributeSet ( ) const

Set/get the ReducedAttributesSet flag

Definition at line 1139 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
static Pointer otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::New ( )
static

Standard New method.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::operator= ( const Self )
privatedelete
template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

PrintSelf method

Reimplemented from itk::InPlaceLabelMapFilter< TImage >.

Definition at line 1248 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ReducedAttributeSetOff ( )
virtual

Set/get the ReducedAttributesSet flag

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
virtual void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ReducedAttributeSetOn ( )
virtual

Set/get the ReducedAttributesSet flag

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFeretDiameter ( bool  flag)

Set/Get whether the maximum Feret diameter should be computed or not. The default value is false, because of the high computation time required.

Definition at line 1046 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputeFlusser ( bool  flag)

Set/Get whether the Flussrer moments should be computed or not. The default value is true, to assure backward compatibility.

Definition at line 1106 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePerimeter ( bool  flag)

Set/Get whether the perimeter should be computed or not. The default value is false, because of the high computation time required.

Definition at line 1066 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetComputePolygon ( bool  flag)

Set/Get whether the polygonalisation process should be computed or not. The default value is true, to assure backward compatibility.

Definition at line 1086 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetLabelImage ( const TLabelImage *  img)

Set/Get the label image (this is used only to compute the Feret diameter)

Definition at line 1147 of file otbShapeAttributesLabelMapFilter.hxx.

template<class TImage , class TLabelImage >
void otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::SetReducedAttributeSet ( bool  flag)

Set/get the ReducedAttributesSet flag

Definition at line 1127 of file otbShapeAttributesLabelMapFilter.hxx.

Member Data Documentation

template<class TImage , class TLabelImage = Image<typename TImage::PixelType, TImage::ImageDimension>>
const unsigned int otb::ShapeAttributesLabelMapFilter< TImage, TLabelImage >::ImageDimension = TImage::ImageDimension
static

ImageDimension constants

Definition at line 238 of file otbShapeAttributesLabelMapFilter.h.


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