OTB  7.4.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::PersistentDEMCheckFilter< TInputImage > Class Template Reference

#include <otbSARStreamingDEMCheckFilter.h>

+ Inheritance diagram for otb::PersistentDEMCheckFilter< TInputImage >:
+ Collaboration diagram for otb::PersistentDEMCheckFilter< TInputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::DataObject::Pointer DataObjectPointer
 
typedef itk::ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
 
typedef TInputImage ImageType
 
typedef TInputImage::IndexType IndexType
 
typedef ImageType::IndexValueType IndexValueType
 
typedef TInputImage::Pointer InputImagePointer
 
typedef itk::SimpleDataObjectDecorator< long int > LongObjectType
 
typedef itk::SimpleDataObjectDecorator< PixelTypePixelObjectType
 
typedef TInputImage::PixelType PixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SimpleDataObjectDecorator< RealTypeRealObjectType
 
typedef itk::NumericTraits< double >::RealType RealType
 
typedef TInputImage::RegionType RegionType
 
typedef PersistentDEMCheckFilter Self
 
typedef TInputImage::SizeType SizeType
 
typedef ImageType::SizeValueType SizeValueType
 
typedef PersistentImageFilter< TInputImage, TInputImage > Superclass
 
- Public Types inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage InputImageType
 
typedef TInputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentImageFilter Self
 
typedef itk::ImageToImageFilter< TInputImage, TInputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual RealType GetUserIgnoredValue ()
 
DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx) ITK_OVERRIDE
 
void setSARSizeAndOrigin (int sizeC, int sizeL, int originC, int originL)
 
virtual void SetUserIgnoredValue (RealType _arg)
 
long int GetCounter () const
 
LongObjectTypeGetCounter_Output ()
 
const LongObjectTypeGetCounter_Output () const
 
void Synthetize (void) ITK_OVERRIDE
 
void Reset (void) ITK_OVERRIDE
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const unsigned int ImageDimension = TInputImage::ImageDimension
 
static const unsigned int InputImageDimension = TInputImage::ImageDimension
 

Protected Member Functions

virtual void GenerateInputRequestedRegion () ITK_OVERRIDE
 
 PersistentDEMCheckFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const ITK_OVERRIDE
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) ITK_OVERRIDE
 
 ~PersistentDEMCheckFilter () ITK_OVERRIDE
 
void AllocateOutputs () ITK_OVERRIDE
 
void GenerateOutputInformation () ITK_OVERRIDE
 
- Protected Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage >
 PersistentImageFilter ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentImageFilter () override
 

Private Member Functions

void operator= (const Self &)
 
 PersistentDEMCheckFilter (const Self &)
 

Private Attributes

int m_OriginSARC
 
int m_OriginSARL
 
int m_SizeSARC
 
int m_SizeSARL
 
itk::Array< long int > m_Thread_Counter
 
RealType m_UserIgnoredValue
 

Detailed Description

template<class TInputImage>
class otb::PersistentDEMCheckFilter< TInputImage >

Retrive some pixels from the input DEM.

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 wanted values once the regions have been processed via the pipeline, use the Synthetize() method.

Definition at line 54 of file otbSARStreamingDEMCheckFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage>
typedef itk::SmartPointer<const Self> otb::PersistentDEMCheckFilter< TInputImage >::ConstPointer

Definition at line 62 of file otbSARStreamingDEMCheckFilter.h.

◆ DataObjectPointer

template<class TInputImage>
typedef itk::DataObject::Pointer otb::PersistentDEMCheckFilter< TInputImage >::DataObjectPointer

Smart Pointer type to a DataObject.

Definition at line 93 of file otbSARStreamingDEMCheckFilter.h.

◆ DataObjectPointerArraySizeType

template<class TInputImage>
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::PersistentDEMCheckFilter< TInputImage >::DataObjectPointerArraySizeType

Definition at line 94 of file otbSARStreamingDEMCheckFilter.h.

◆ ImageType

template<class TInputImage>
typedef TInputImage otb::PersistentDEMCheckFilter< TInputImage >::ImageType

Image related typedefs.

Definition at line 68 of file otbSARStreamingDEMCheckFilter.h.

◆ IndexType

template<class TInputImage>
typedef TInputImage::IndexType otb::PersistentDEMCheckFilter< TInputImage >::IndexType

Definition at line 76 of file otbSARStreamingDEMCheckFilter.h.

◆ IndexValueType

template<class TInputImage>
typedef ImageType::IndexValueType otb::PersistentDEMCheckFilter< TInputImage >::IndexValueType

Definition at line 78 of file otbSARStreamingDEMCheckFilter.h.

◆ InputImagePointer

template<class TInputImage>
typedef TInputImage::Pointer otb::PersistentDEMCheckFilter< TInputImage >::InputImagePointer

Definition at line 72 of file otbSARStreamingDEMCheckFilter.h.

◆ LongObjectType

template<class TInputImage>
typedef itk::SimpleDataObjectDecorator<long int> otb::PersistentDEMCheckFilter< TInputImage >::LongObjectType

Definition at line 98 of file otbSARStreamingDEMCheckFilter.h.

◆ PixelObjectType

template<class TInputImage>
typedef itk::SimpleDataObjectDecorator<PixelType> otb::PersistentDEMCheckFilter< TInputImage >::PixelObjectType

Definition at line 99 of file otbSARStreamingDEMCheckFilter.h.

◆ PixelType

template<class TInputImage>
typedef TInputImage::PixelType otb::PersistentDEMCheckFilter< TInputImage >::PixelType

Definition at line 77 of file otbSARStreamingDEMCheckFilter.h.

◆ Pointer

template<class TInputImage>
typedef itk::SmartPointer<Self> otb::PersistentDEMCheckFilter< TInputImage >::Pointer

Definition at line 61 of file otbSARStreamingDEMCheckFilter.h.

◆ RealObjectType

template<class TInputImage>
typedef itk::SimpleDataObjectDecorator<RealType> otb::PersistentDEMCheckFilter< TInputImage >::RealObjectType

Type of DataObjects used for scalar outputs

Definition at line 97 of file otbSARStreamingDEMCheckFilter.h.

◆ RealType

template<class TInputImage>
typedef itk::NumericTraits<double>::RealType otb::PersistentDEMCheckFilter< TInputImage >::RealType

Type to use for computations.

Definition at line 90 of file otbSARStreamingDEMCheckFilter.h.

◆ RegionType

template<class TInputImage>
typedef TInputImage::RegionType otb::PersistentDEMCheckFilter< TInputImage >::RegionType

Definition at line 74 of file otbSARStreamingDEMCheckFilter.h.

◆ Self

template<class TInputImage>
typedef PersistentDEMCheckFilter otb::PersistentDEMCheckFilter< TInputImage >::Self

Standard Self typedef

Definition at line 59 of file otbSARStreamingDEMCheckFilter.h.

◆ SizeType

template<class TInputImage>
typedef TInputImage::SizeType otb::PersistentDEMCheckFilter< TInputImage >::SizeType

Definition at line 75 of file otbSARStreamingDEMCheckFilter.h.

◆ SizeValueType

template<class TInputImage>
typedef ImageType::SizeValueType otb::PersistentDEMCheckFilter< TInputImage >::SizeValueType

Definition at line 79 of file otbSARStreamingDEMCheckFilter.h.

◆ Superclass

template<class TInputImage>
typedef PersistentImageFilter<TInputImage, TInputImage> otb::PersistentDEMCheckFilter< TInputImage >::Superclass

Definition at line 60 of file otbSARStreamingDEMCheckFilter.h.

Constructor & Destructor Documentation

◆ PersistentDEMCheckFilter() [1/2]

template<class TInputImage>
otb::PersistentDEMCheckFilter< TInputImage >::PersistentDEMCheckFilter ( )
protected

◆ ~PersistentDEMCheckFilter()

template<class TInputImage>
otb::PersistentDEMCheckFilter< TInputImage >::~PersistentDEMCheckFilter ( )
inlineprotected

Definition at line 136 of file otbSARStreamingDEMCheckFilter.h.

◆ PersistentDEMCheckFilter() [2/2]

template<class TInputImage>
otb::PersistentDEMCheckFilter< TInputImage >::PersistentDEMCheckFilter ( const Self )
private

Member Function Documentation

◆ AllocateOutputs()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::AllocateOutputs ( )
protected

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

◆ CreateAnother()

template<class TInputImage>
virtual::itk::LightObject::Pointer otb::PersistentDEMCheckFilter< TInputImage >::CreateAnother ( void  ) const

◆ GenerateInputRequestedRegion()

template<class TInputImage>
virtual void otb::PersistentDEMCheckFilter< TInputImage >::GenerateInputRequestedRegion ( )
protectedvirtual

PersistentDEMCheckFilter needs a input requested region with the same size of the output requested region.

See also
ProcessObject::GenerateInputRequestedRegion()

◆ GenerateOutputInformation()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::GenerateOutputInformation ( )
protected

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

◆ GetCounter()

template<class TInputImage>
long int otb::PersistentDEMCheckFilter< TInputImage >::GetCounter ( ) const
inline

Return the counter of DEM points inside SAR Image.

Definition at line 111 of file otbSARStreamingDEMCheckFilter.h.

◆ GetCounter_Output() [1/2]

template<class TInputImage>
LongObjectType* otb::PersistentDEMCheckFilter< TInputImage >::GetCounter_Output ( )

Return the counter of DEM points inside SAR Image.

◆ GetCounter_Output() [2/2]

template<class TInputImage>
const LongObjectType* otb::PersistentDEMCheckFilter< TInputImage >::GetCounter_Output ( ) const

Return the counter of DEM points inside SAR Image.

◆ GetNameOfClass()

template<class TInputImage>
virtual const char* otb::PersistentDEMCheckFilter< TInputImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

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

◆ GetUserIgnoredValue()

template<class TInputImage>
virtual RealType otb::PersistentDEMCheckFilter< TInputImage >::GetUserIgnoredValue ( )
virtual

◆ MakeOutput()

template<class TInputImage>
DataObjectPointer otb::PersistentDEMCheckFilter< TInputImage >::MakeOutput ( DataObjectPointerArraySizeType  idx)

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

◆ New()

template<class TInputImage>
static Pointer otb::PersistentDEMCheckFilter< TInputImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::operator= ( const Self )
private

◆ PrintSelf()

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

◆ Reset()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::Reset ( void  )
virtual

Synthetize and Reset function called by our PersistentFilterStreamingDecorator

Implements otb::PersistentImageFilter< TInputImage, TInputImage >.

◆ setSARSizeAndOrigin()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::setSARSizeAndOrigin ( int  sizeC,
int  sizeL,
int  originC,
int  originL 
)
inline

Definition at line 102 of file otbSARStreamingDEMCheckFilter.h.

◆ SetUserIgnoredValue()

template<class TInputImage>
virtual void otb::PersistentDEMCheckFilter< TInputImage >::SetUserIgnoredValue ( RealType  _arg)
virtual

◆ Synthetize()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::Synthetize ( void  )
virtual

Synthetize and Reset function called by our PersistentFilterStreamingDecorator

Implements otb::PersistentImageFilter< TInputImage, TInputImage >.

◆ ThreadedGenerateData()

template<class TInputImage>
void otb::PersistentDEMCheckFilter< TInputImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
protected

Multi-thread version GenerateData.

Member Data Documentation

◆ ImageDimension

template<class TInputImage>
const unsigned int otb::PersistentDEMCheckFilter< TInputImage >::ImageDimension = TInputImage::ImageDimension
static

Image related typedefs.

Definition at line 86 of file otbSARStreamingDEMCheckFilter.h.

◆ InputImageDimension

template<class TInputImage>
const unsigned int otb::PersistentDEMCheckFilter< TInputImage >::InputImageDimension = TInputImage::ImageDimension
static

Definition at line 82 of file otbSARStreamingDEMCheckFilter.h.

◆ m_OriginSARC

template<class TInputImage>
int otb::PersistentDEMCheckFilter< TInputImage >::m_OriginSARC
private

Definition at line 169 of file otbSARStreamingDEMCheckFilter.h.

◆ m_OriginSARL

template<class TInputImage>
int otb::PersistentDEMCheckFilter< TInputImage >::m_OriginSARL
private

Definition at line 170 of file otbSARStreamingDEMCheckFilter.h.

◆ m_SizeSARC

template<class TInputImage>
int otb::PersistentDEMCheckFilter< TInputImage >::m_SizeSARC
private

Definition at line 167 of file otbSARStreamingDEMCheckFilter.h.

◆ m_SizeSARL

template<class TInputImage>
int otb::PersistentDEMCheckFilter< TInputImage >::m_SizeSARL
private

Definition at line 168 of file otbSARStreamingDEMCheckFilter.h.

◆ m_Thread_Counter

template<class TInputImage>
itk::Array<long int> otb::PersistentDEMCheckFilter< TInputImage >::m_Thread_Counter
private

Definition at line 161 of file otbSARStreamingDEMCheckFilter.h.

◆ m_UserIgnoredValue

template<class TInputImage>
RealType otb::PersistentDEMCheckFilter< TInputImage >::m_UserIgnoredValue
private

Definition at line 164 of file otbSARStreamingDEMCheckFilter.h.


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