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

#include <otbStreamingStatisticsMapFromLabelImageFilter.h>

+ Inheritance diagram for otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >:
+ Collaboration diagram for otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >:

Public Types

typedef std::vector
< AccumulatorMapType
AccumulatorMapCollectionType
 
typedef std::unordered_map
< LabelPixelType,
AccumulatorType
AccumulatorMapType
 
typedef StatisticsAccumulator
< RealVectorPixelType
AccumulatorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef itk::ImageBase
< InputImageDimension
ImageBaseType
 
typedef ImageBaseType::RegionType InputImageRegionType
 
typedef TInputVectorImage::Pointer InputVectorImagePointer
 
typedef TLabelImage::Pointer LabelImagePointer
 
typedef TLabelImage LabelImageType
 
typedef LabelImageType::PixelType LabelPixelType
 
typedef std::unordered_map
< LabelPixelType, double > 
LabelPopulationMapType
 
typedef
itk::SimpleDataObjectDecorator
< PixelValueMapType
PixelValueMapObjectType
 
typedef std::unordered_map
< LabelPixelType,
RealVectorPixelType
PixelValueMapType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
itk::VariableLengthVector
< double > 
RealVectorPixelType
 
typedef VectorImageType::RegionType RegionType
 
typedef
PersistentStreamingStatisticsMapFromLabelImageFilter 
Self
 
typedef PersistentImageFilter
< TInputVectorImage,
TInputVectorImage > 
Superclass
 
typedef TInputVectorImage VectorImageType
 
typedef VectorImageType::PixelType VectorPixelType
 
typedef
VectorImageType::PixelType::ValueType 
VectorPixelValueType
 
- Public Types inherited from otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef TInputVectorImage InputImageType
 
typedef TInputVectorImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef
itk::ImageToImageFilter
< TInputVectorImage,
TInputVectorImage > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputVectorImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< TInputVectorImage > 
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

void AllocateOutputs () override
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
virtual const LabelImageTypeGetInputLabelImage ()
 
LabelPopulationMapType GetLabelPopulationMap () const
 
PixelValueMapType GetMaxValueMap () const
 
PixelValueMapType GetMeanValueMap () const
 
PixelValueMapType GetMinValueMap () const
 
virtual const char * GetNameOfClass () const
 
virtual VectorPixelValueType GetNoDataValue ()
 
PixelValueMapType GetStandardDeviationValueMap () const
 
virtual bool GetUseNoDataValue ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) override
 
void Reset (void) override
 
virtual void SetInputLabelImage (const LabelImageType *image)
 
virtual void SetNoDataValue (VectorPixelValueType _arg)
 
virtual void SetUseNoDataValue (bool _arg)
 
void Synthetize (void) override
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >
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 TInputVectorImage *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 (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
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::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 = TInputVectorImage::ImageDimension
 
static const unsigned int InputImageDimension = TInputVectorImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >
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

 PersistentStreamingStatisticsMapFromLabelImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentStreamingStatisticsMapFromLabelImageFilter () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
- Protected Member Functions inherited from otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >
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 AfterThreadedGenerateData ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
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 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
 
 PersistentStreamingStatisticsMapFromLabelImageFilter (const Self &)=delete
 

Private Attributes

AccumulatorMapCollectionType m_AccumulatorMaps
 
LabelPopulationMapType m_LabelPopulation
 
PixelValueMapType m_MaxRadiometricValue
 
PixelValueMapType m_MeanRadiometricValue
 
PixelValueMapType m_MinRadiometricValue
 
VectorPixelValueType m_NoDataValue
 
PixelValueMapType m_StDevRadiometricValue
 
bool m_UseNoDataValue
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >
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::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputVectorImage, class TLabelImage>
class otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >

Computes mean radiometric value for each label of a label image, based on a support VectorImage.

This filter persists its temporary data. It means that if you Update it n times on n different requested regions, the output statistics will be the statitics of the whole set of n regions.

To reset the temporary data, one should call the Reset() function.

To get the statistics once the regions have been processed via the pipeline, use the Synthetize() method.

See Also
StreamingStatisticsMapFromLabelImageFilter

Definition at line 183 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

Member Typedef Documentation

template<class TInputVectorImage, class TLabelImage>
typedef std::vector<AccumulatorMapType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorMapCollectionType
template<class TInputVectorImage, class TLabelImage>
typedef std::unordered_map<LabelPixelType, AccumulatorType > otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorMapType
template<class TInputVectorImage, class TLabelImage>
typedef StatisticsAccumulator<RealVectorPixelType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorType
template<class TInputVectorImage, class TLabelImage>
typedef itk::SmartPointer<const Self> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ConstPointer
template<class TInputVectorImage, class TLabelImage>
typedef itk::DataObject::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 226 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

template<class TInputVectorImage, class TLabelImage>
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::DataObjectPointerArraySizeType
template<class TInputVectorImage, class TLabelImage>
typedef itk::ImageBase<InputImageDimension> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ImageBaseType
template<class TInputVectorImage, class TLabelImage>
typedef ImageBaseType::RegionType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::InputImageRegionType
template<class TInputVectorImage, class TLabelImage>
typedef TInputVectorImage::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::InputVectorImagePointer
template<class TInputVectorImage, class TLabelImage>
typedef TLabelImage::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelImagePointer
template<class TInputVectorImage, class TLabelImage>
typedef TLabelImage otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelImageType
template<class TInputVectorImage, class TLabelImage>
typedef LabelImageType::PixelType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPixelType
template<class TInputVectorImage, class TLabelImage>
typedef std::unordered_map<LabelPixelType, double> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPopulationMapType
template<class TInputVectorImage, class TLabelImage>
typedef itk::SimpleDataObjectDecorator<PixelValueMapType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapObjectType

Type of DataObjects used for scalar outputs

Definition at line 236 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

template<class TInputVectorImage, class TLabelImage>
typedef std::unordered_map<LabelPixelType, RealVectorPixelType > otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType
template<class TInputVectorImage, class TLabelImage>
typedef itk::SmartPointer<Self> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Pointer
template<class TInputVectorImage, class TLabelImage>
typedef itk::VariableLengthVector<double> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::RealVectorPixelType
template<class TInputVectorImage, class TLabelImage>
typedef VectorImageType::RegionType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::RegionType
template<class TInputVectorImage, class TLabelImage>
typedef PersistentStreamingStatisticsMapFromLabelImageFilter otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Self

Standard Self typedef

Definition at line 188 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

template<class TInputVectorImage, class TLabelImage>
typedef PersistentImageFilter<TInputVectorImage, TInputVectorImage> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Superclass
template<class TInputVectorImage, class TLabelImage>
typedef TInputVectorImage otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorImageType

Image related typedefs.

Definition at line 197 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

template<class TInputVectorImage, class TLabelImage>
typedef VectorImageType::PixelType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorPixelType
template<class TInputVectorImage, class TLabelImage>
typedef VectorImageType::PixelType::ValueType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorPixelValueType

Constructor & Destructor Documentation

template<class TInputVectorImage , class TLabelImage >
otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PersistentStreamingStatisticsMapFromLabelImageFilter ( )
protected
template<class TInputVectorImage, class TLabelImage>
otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::~PersistentStreamingStatisticsMapFromLabelImageFilter ( )
inlineoverrideprotected
template<class TInputVectorImage, class TLabelImage>
otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PersistentStreamingStatisticsMapFromLabelImageFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AllocateOutputs ( void  )
overridevirtual

Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 143 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage, class TLabelImage>
virtual::itk::LightObject::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GenerateInputRequestedRegion ( void  )
overridevirtual

Due to heterogeneous input template GenerateInputRequestedRegion must be reimplemented using explicit cast This new implementation is inspired by the one of itk::ImageToImageFilter

Reimplemented from itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage >.

Definition at line 232 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

References itk::ProcessObject::GenerateInputRequestedRegion(), itk::DataObjectIterator::IsAtEnd(), and itk::ImageBase< VImageDimension >::SetRequestedRegion().

template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GenerateOutputInformation ( void  )
overridevirtual

Reimplemented from itk::ProcessObject.

Definition at line 124 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage , class TLabelImage >
const PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelImageType * otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetInputLabelImage ( )
virtual

Get input label image

Definition at line 75 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputVectorImage , class TLabelImage >
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPopulationMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetLabelPopulationMap ( ) const

Return the computed number of labeled pixels for each label in the input label image

Definition at line 116 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage , class TLabelImage >
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMaxValueMap ( ) const

Return the computed Max for each label in the input label image

Definition at line 108 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage , class TLabelImage >
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMeanValueMap ( ) const

Return the computed Mean for each label in the input label image

Definition at line 84 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage , class TLabelImage >
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMinValueMap ( ) const

Return the computed Min for each label in the input label image

Definition at line 100 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage, class TLabelImage>
virtual const char* otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >.

template<class TInputVectorImage, class TLabelImage>
virtual VectorPixelValueType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetNoDataValue ( )
virtual
template<class TInputVectorImage , class TLabelImage >
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetStandardDeviationValueMap ( ) const

Return the computed Standard Deviation for each label in the input label image

Definition at line 92 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage, class TLabelImage>
virtual bool otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetUseNoDataValue ( )
virtual
template<class TInputVectorImage , class TLabelImage >
itk::DataObject::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::MakeOutput ( DataObjectPointerArraySizeType  idx)
overridevirtual

Make a DataObject of the correct type to be used as the specified output.

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 56 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage, class TLabelImage>
static Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::New ( )
static

Method for creation through the object factory.

template<class TInputVectorImage, class TLabelImage>
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::operator= ( const Self )
privatedelete
template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual
template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Reset ( void  )
overridevirtual

Reset the persistent data of the filter.

Implements otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >.

Definition at line 216 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::SetInputLabelImage ( const LabelImageType image)
virtual

Set input label image

Definition at line 64 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.

References itk::ProcessObject::SetNthInput().

template<class TInputVectorImage, class TLabelImage>
virtual void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::SetNoDataValue ( VectorPixelValueType  _arg)
virtual
template<class TInputVectorImage, class TLabelImage>
virtual void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::SetUseNoDataValue ( bool  _arg)
virtual
template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Synthetize ( void  )
overridevirtual
template<class TInputVectorImage , class TLabelImage >
void otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Member Data Documentation

template<class TInputVectorImage, class TLabelImage>
const unsigned int otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ImageDimension = TInputVectorImage::ImageDimension
static

Image related typedefs.

Definition at line 221 of file otbStreamingStatisticsMapFromLabelImageFilter.h.

template<class TInputVectorImage, class TLabelImage>
const unsigned int otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::InputImageDimension = TInputVectorImage::ImageDimension
static
template<class TInputVectorImage, class TLabelImage>
AccumulatorMapCollectionType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_AccumulatorMaps
private
template<class TInputVectorImage, class TLabelImage>
LabelPopulationMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_LabelPopulation
private
template<class TInputVectorImage, class TLabelImage>
PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_MaxRadiometricValue
private
template<class TInputVectorImage, class TLabelImage>
PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_MeanRadiometricValue
private
template<class TInputVectorImage, class TLabelImage>
PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_MinRadiometricValue
private
template<class TInputVectorImage, class TLabelImage>
VectorPixelValueType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_NoDataValue
private
template<class TInputVectorImage, class TLabelImage>
PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_StDevRadiometricValue
private
template<class TInputVectorImage, class TLabelImage>
bool otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::m_UseNoDataValue
private

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