OTB  7.4.0
Orfeo Toolbox
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
otb::PersistentImageFilter< TInputImage, TOutputImage > Class Template Referenceabstract

#include <otbPersistentImageFilter.h>

+ Inheritance diagram for otb::PersistentImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::PersistentImageFilter< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
virtual void Reset (void)=0
 
virtual void Synthetize (void)=0
 

Protected Member Functions

 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 

Private Member Functions

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

Detailed Description

template<class TInputImage, class TOutputImage>
class otb::PersistentImageFilter< TInputImage, TOutputImage >

This filter is the base class for all filter persisting data through multiple update. For instance, a filter computing global statistics on an image with streaming capabilities will have to keep the temporary results for each streamed piece of the image in order to synthesize the global statistics at the end. This filter is an itk::ImageToImageFilter, providing two additional methods. The first one, Synthetize(), allows the user to synthesize temporary data produced by the multiple updates on different pieces of the image to the global result. The second one, Reset(), allows the user to reset the temporary data for a new input image for instance.

Note
This class contains pure virtual method, and can not be instantiated.
See also
StatisticsImageFilter
StatisticsVectorImageFilter

Definition at line 47 of file otbPersistentImageFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage, class TOutputImage>
typedef itk::SmartPointer<const Self> otb::PersistentImageFilter< TInputImage, TOutputImage >::ConstPointer

Definition at line 54 of file otbPersistentImageFilter.h.

◆ InputImageType

template<class TInputImage, class TOutputImage>
typedef TInputImage otb::PersistentImageFilter< TInputImage, TOutputImage >::InputImageType

Template parameters typedefs

Definition at line 57 of file otbPersistentImageFilter.h.

◆ OutputImageType

template<class TInputImage, class TOutputImage>
typedef TOutputImage otb::PersistentImageFilter< TInputImage, TOutputImage >::OutputImageType

Definition at line 61 of file otbPersistentImageFilter.h.

◆ Pointer

template<class TInputImage, class TOutputImage>
typedef itk::SmartPointer<Self> otb::PersistentImageFilter< TInputImage, TOutputImage >::Pointer

Definition at line 53 of file otbPersistentImageFilter.h.

◆ Self

template<class TInputImage, class TOutputImage>
typedef PersistentImageFilter otb::PersistentImageFilter< TInputImage, TOutputImage >::Self

Standard typedefs

Definition at line 51 of file otbPersistentImageFilter.h.

◆ Superclass

template<class TInputImage, class TOutputImage>
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::PersistentImageFilter< TInputImage, TOutputImage >::Superclass

Definition at line 52 of file otbPersistentImageFilter.h.

Constructor & Destructor Documentation

◆ PersistentImageFilter() [1/2]

template<class TInputImage, class TOutputImage>
otb::PersistentImageFilter< TInputImage, TOutputImage >::PersistentImageFilter ( )
inlineprotected

Constructor

Definition at line 75 of file otbPersistentImageFilter.h.

◆ ~PersistentImageFilter()

template<class TInputImage, class TOutputImage>
otb::PersistentImageFilter< TInputImage, TOutputImage >::~PersistentImageFilter ( )
inlineoverrideprotected

Destructor

Definition at line 80 of file otbPersistentImageFilter.h.

◆ PersistentImageFilter() [2/2]

template<class TInputImage, class TOutputImage>
otb::PersistentImageFilter< TInputImage, TOutputImage >::PersistentImageFilter ( const Self )
privatedelete

Member Function Documentation

◆ GetNameOfClass()

template<class TInputImage, class TOutputImage>
virtual const char* otb::PersistentImageFilter< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Creation through object factory macro

Reimplemented in otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >, otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >, otb::PersistentImageToOGRLayerSegmentationFilter< TImageType, TSegmentationFilter >, otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >, otb::PersistentConnectedComponentSegmentationOBIAToVectorDataFilter< TVImage, TLabelImage, TMaskImage, TOutputVectorData >, otb::PersistentStreamingLineSegmentDetector< TImageType >, otb::PersistentGridHistogramFilter< TInputImage >, otb::PersistentDEMClosestHgtFilter< TInputImage >, otb::PersistentInnerProductVectorImageFilter< TInputImage >, otb::PersistentMatrixTransposeMatrixImageFilter< TInputImage, TInputImage2 >, otb::PersistentDEMCheckFilter< TInputImage >, otb::PersistentDEMInformationFilter< TInputImage >, otb::PersistentHistogramVectorImageFilter< TInputImage >, otb::PersistentImageSampleExtractorFilter< TInputImage >, otb::PersistentMinMaxVectorImageFilter< TInputImage >, otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >, otb::PersistentVectorImageToMatrixFilter< TInputImage >, otb::PersistentOGRDataToClassStatisticsFilter< TInputImage, TMaskImage >, otb::PersistentGridInformationImageFilter< TInputImage >, otb::PersistentMeanPhaseAndAzimutShiftImageFilter< TInputImage >, otb::PersistentMinMaxImageFilter< TInputImage >, otb::PersistentStatisticsImageFilter< TInputImage >, otb::PersistentCorrelationImageFilter< TInputImage >, otb::PersistentCompareImageFilter< TInputImage >, otb::PersistentMaximumMinimumImageFilter< TInputImage >, otb::PersistentImageToOGRDataFilter< TImage >, otb::PersistentImageToVectorDataFilter< TImage, TOutputVectorData >, otb::PersistentVectorizationImageFilter< TInputImage, TOutputPath >, otb::PersistentImageToVectorDataFilter< TVImage, TOutputVectorData >, otb::PersistentImageToVectorDataFilter< TImageType, otb::LineSegmentDetector< TImageType, double >::VectorDataType >, otb::PersistentLabelImageSmallRegionMergingFilter< TInputLabelImage >, otb::PersistentImageToOGRLayerFilter< TImage >, otb::PersistentImageToOGRLayerFilter< TImageType >, otb::FastICAInternalOptimizerVectorImageFilter< TInputImage, TOutputImage >, otb::DifferenceImageFilter< TInputImage, TOutputImage >, otb::PersistentSamplingFilterBase< TInputImage, TMaskImage >, and otb::PersistentSamplingFilterBase< TInputImage >.

◆ operator=()

template<class TInputImage, class TOutputImage>
void otb::PersistentImageFilter< TInputImage, TOutputImage >::operator= ( const Self )
privatedelete

◆ PrintSelf()

template<class TInputImage, class TOutputImage>
void otb::PersistentImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
inlineoverrideprotected

◆ Reset()

template<class TInputImage, class TOutputImage>
virtual void otb::PersistentImageFilter< TInputImage, TOutputImage >::Reset ( void  )
pure virtual

Reset the persistent data of the filter.

Implemented in otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >, otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >, otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >, otb::PersistentHistogramVectorImageFilter< TInputImage >, otb::PersistentGridInformationImageFilter< TInputImage >, otb::PersistentMinMaxVectorImageFilter< TInputImage >, otb::PersistentStatisticsImageFilter< TInputImage >, otb::PersistentCompareImageFilter< TInputImage >, otb::PersistentDEMClosestHgtFilter< TInputImage >, otb::PersistentMaximumMinimumImageFilter< TInputImage >, otb::PersistentDEMInformationFilter< TInputImage >, otb::PersistentMinMaxImageFilter< TInputImage >, otb::PersistentMatrixTransposeMatrixImageFilter< TInputImage, TInputImage2 >, otb::PersistentCorrelationImageFilter< TInputImage >, otb::PersistentDEMCheckFilter< TInputImage >, otb::PersistentMeanPhaseAndAzimutShiftImageFilter< TInputImage >, otb::PersistentGridHistogramFilter< TInputImage >, otb::PersistentInnerProductVectorImageFilter< TInputImage >, otb::PersistentVectorImageToMatrixFilter< TInputImage >, otb::FastICAInternalOptimizerVectorImageFilter< TInputImage, TOutputImage >, otb::PersistentLabelImageSmallRegionMergingFilter< TInputLabelImage >, otb::DifferenceImageFilter< TInputImage, TOutputImage >, otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >, otb::PersistentImageToVectorDataFilter< TImage, TOutputVectorData >, otb::PersistentImageToVectorDataFilter< TVImage, TOutputVectorData >, otb::PersistentImageToVectorDataFilter< TImageType, otb::LineSegmentDetector< TImageType, double >::VectorDataType >, otb::PersistentVectorizationImageFilter< TInputImage, TOutputPath >, otb::PersistentImageSampleExtractorFilter< TInputImage >, otb::PersistentImageToOGRDataFilter< TImage >, otb::PersistentImageToOGRLayerFilter< TImage >, otb::PersistentImageToOGRLayerFilter< TImageType >, and otb::PersistentOGRDataToClassStatisticsFilter< TInputImage, TMaskImage >.

◆ Synthetize()

template<class TInputImage, class TOutputImage>
virtual void otb::PersistentImageFilter< TInputImage, TOutputImage >::Synthetize ( void  )
pure virtual

Synthesize the persistent data of the filter.

Implemented in otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >, otb::PersistentShrinkImageFilter< TInputImage, TOutputImage >, otb::PersistentStreamingStatisticsVectorImageFilter< TInputImage, TPrecision >, otb::PersistentHistogramVectorImageFilter< TInputImage >, otb::PersistentGridInformationImageFilter< TInputImage >, otb::PersistentMinMaxVectorImageFilter< TInputImage >, otb::PersistentStatisticsImageFilter< TInputImage >, otb::PersistentCompareImageFilter< TInputImage >, otb::PersistentDEMClosestHgtFilter< TInputImage >, otb::PersistentMaximumMinimumImageFilter< TInputImage >, otb::PersistentDEMInformationFilter< TInputImage >, otb::PersistentMatrixTransposeMatrixImageFilter< TInputImage, TInputImage2 >, otb::PersistentMinMaxImageFilter< TInputImage >, otb::PersistentCorrelationImageFilter< TInputImage >, otb::PersistentDEMCheckFilter< TInputImage >, otb::PersistentMeanPhaseAndAzimutShiftImageFilter< TInputImage >, otb::PersistentGridHistogramFilter< TInputImage >, otb::PersistentInnerProductVectorImageFilter< TInputImage >, otb::PersistentVectorImageToMatrixFilter< TInputImage >, otb::FastICAInternalOptimizerVectorImageFilter< TInputImage, TOutputImage >, otb::PersistentLabelImageSmallRegionMergingFilter< TInputLabelImage >, otb::DifferenceImageFilter< TInputImage, TOutputImage >, otb::PersistentImageToVectorDataFilter< TImage, TOutputVectorData >, otb::PersistentImageToVectorDataFilter< TVImage, TOutputVectorData >, otb::PersistentImageToVectorDataFilter< TImageType, otb::LineSegmentDetector< TImageType, double >::VectorDataType >, otb::PersistentOGRDataToSamplePositionFilter< TInputImage, TMaskImage, TSampler >, otb::PersistentVectorizationImageFilter< TInputImage, TOutputPath >, otb::PersistentImageToOGRDataFilter< TImage >, otb::PersistentImageToOGRLayerFilter< TImage >, otb::PersistentImageToOGRLayerFilter< TImageType >, otb::PersistentImageSampleExtractorFilter< TInputImage >, and otb::PersistentOGRDataToClassStatisticsFilter< TInputImage, TMaskImage >.


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