OTB  7.3.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members

#include <otbSARStreamingDEMCheckFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TInputImage ImageType
 
typedef TInputImage::IndexType IndexType
 
typedef TInputImage::Pointer InputImagePointer
 
typedef TInputImage InputImageType
 
typedef itk::SimpleDataObjectDecorator< long int > LongObjectType
 
typedef itk::SimpleDataObjectDecorator< PixelTypePixelObjectType
 
typedef StatFilterType::PixelType PixelType
 
using Point2DType = itk::Point< double, 2 >
 
using Point3DType = itk::Point< double, 3 >
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SimpleDataObjectDecorator< RealTypeRealObjectType
 
typedef StatFilterType::RealType RealType
 
typedef TInputImage::RegionType RegionType
 
typedef SARStreamingDEMCheckFilter Self
 
typedef TInputImage::SizeType SizeType
 
typedef Superclass::FilterType StatFilterType
 
typedef PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > > Superclass
 
- Public Types inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef PersistentDEMCheckFilter< TInputImage > FilterType
 
typedef FilterType::InputImageType ImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef PersistentFilterStreamingDecorator Self
 
typedef StreamerType::Pointer StreamerPointerType
 
typedef StreamingImageVirtualWriter< ImageTypeStreamerType
 
typedef itk::ProcessObject Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
void GetDEMCheck (long int &nbDEMPts_into_SAR)
 
const InputImageTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
 otbGetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
 otbSetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
void SetInput (InputImageType *input)
 
void setSARSizeAndOrigin (int sizeC, int sizeL, int originC, int originL)
 
long int GetCounter () const
 
LongObjectTypeGetCounter_Output ()
 
const LongObjectTypeGetCounter_Output () const
 
- Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const FilterTypeGetFilter () const
 
 itkGetObjectMacro (Filter, FilterType)
 
 itkGetObjectMacro (Streamer, StreamerType)
 
virtual void SetFilter (FilterType *_arg)
 
void Update (void) override
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >
static Pointer New ()
 

Protected Member Functions

 SARStreamingDEMCheckFilter ()
 
 ~SARStreamingDEMCheckFilter () ITK_OVERRIDE
 
- Protected Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >
void GenerateData (void) override
 
 PersistentFilterStreamingDecorator ()
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 ~PersistentFilterStreamingDecorator () override
 

Private Member Functions

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

Additional Inherited Members

- Protected Attributes inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >
FilterPointerType m_Filter
 
StreamerPointerType m_Streamer
 

Detailed Description

template<class TInputImage>
class otb::SARStreamingDEMCheckFilter< TInputImage >

This class streams the whole input image through the PersistentDEMCheckFilter.

This way, it allows computing the first order global statistics of this image. It calls the Reset() method of the PersistentDEMCheckFilter before streaming the image and the Synthetize() method of the PersistentDEMCheckFilter after having streamed the image to compute the statistics. The accessor on the results are wrapping the accessors of the internal PersistentDEMCheckFilter. By default infinite values are ignored, use IgnoreInfiniteValues accessor to consider infinite values in the computation.

This filter can be used as:

typedef otb::StreamingDEMCheckFilter<ImageType> StatisticsType;
StatisticsType::Pointer statistics = StatisticsType::New();
statistics->SetInput(reader->GetOutput());
statistics->setSARSizeAndOrigin(sizeC, sizeL, originC, originL);
statistics->Update();
long int nbDEMPts_into_SAR = 0;
statistics->GetDEMCheck(nbDEMPts_into_SAR);
std::cout << nbDEMPts_into_SAR << std::endl;
See also
PersistentDEMCheckFilter
PersistentImageFilter
PersistentFilterStreamingDecorator
StreamingImageVirtualWriter

Definition at line 210 of file otbSARStreamingDEMCheckFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 219 of file otbSARStreamingDEMCheckFilter.h.

◆ ImageType

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

Image related typedefs.

Definition at line 238 of file otbSARStreamingDEMCheckFilter.h.

◆ IndexType

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

Definition at line 243 of file otbSARStreamingDEMCheckFilter.h.

◆ InputImagePointer

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

Definition at line 239 of file otbSARStreamingDEMCheckFilter.h.

◆ InputImageType

template<class TInputImage >
typedef TInputImage otb::SARStreamingDEMCheckFilter< TInputImage >::InputImageType

Definition at line 230 of file otbSARStreamingDEMCheckFilter.h.

◆ LongObjectType

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

Definition at line 234 of file otbSARStreamingDEMCheckFilter.h.

◆ PixelObjectType

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

Definition at line 235 of file otbSARStreamingDEMCheckFilter.h.

◆ PixelType

template<class TInputImage >
typedef StatFilterType::PixelType otb::SARStreamingDEMCheckFilter< TInputImage >::PixelType

Definition at line 228 of file otbSARStreamingDEMCheckFilter.h.

◆ Point2DType

template<class TInputImage >
using otb::SARStreamingDEMCheckFilter< TInputImage >::Point2DType = itk::Point<double,2>

Definition at line 246 of file otbSARStreamingDEMCheckFilter.h.

◆ Point3DType

template<class TInputImage >
using otb::SARStreamingDEMCheckFilter< TInputImage >::Point3DType = itk::Point<double,3>

Definition at line 247 of file otbSARStreamingDEMCheckFilter.h.

◆ Pointer

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

Definition at line 218 of file otbSARStreamingDEMCheckFilter.h.

◆ RealObjectType

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

Type of DataObjects used for scalar outputs

Definition at line 233 of file otbSARStreamingDEMCheckFilter.h.

◆ RealType

template<class TInputImage >
typedef StatFilterType::RealType otb::SARStreamingDEMCheckFilter< TInputImage >::RealType

Definition at line 229 of file otbSARStreamingDEMCheckFilter.h.

◆ RegionType

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

Definition at line 241 of file otbSARStreamingDEMCheckFilter.h.

◆ Self

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

Standard Self typedef

Definition at line 215 of file otbSARStreamingDEMCheckFilter.h.

◆ SizeType

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

Definition at line 242 of file otbSARStreamingDEMCheckFilter.h.

◆ StatFilterType

template<class TInputImage >
typedef Superclass::FilterType otb::SARStreamingDEMCheckFilter< TInputImage >::StatFilterType

Definition at line 225 of file otbSARStreamingDEMCheckFilter.h.

◆ Superclass

template<class TInputImage >
typedef PersistentFilterStreamingDecorator<PersistentDEMCheckFilter<TInputImage> > otb::SARStreamingDEMCheckFilter< TInputImage >::Superclass

Definition at line 217 of file otbSARStreamingDEMCheckFilter.h.

Constructor & Destructor Documentation

◆ SARStreamingDEMCheckFilter() [1/2]

template<class TInputImage >
otb::SARStreamingDEMCheckFilter< TInputImage >::SARStreamingDEMCheckFilter ( )
inlineprotected

Constructor

Definition at line 290 of file otbSARStreamingDEMCheckFilter.h.

◆ ~SARStreamingDEMCheckFilter()

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

Destructor

Definition at line 293 of file otbSARStreamingDEMCheckFilter.h.

◆ SARStreamingDEMCheckFilter() [2/2]

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

Member Function Documentation

◆ CreateAnother()

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

◆ GetCounter()

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

Return the counter.

Definition at line 265 of file otbSARStreamingDEMCheckFilter.h.

◆ GetCounter_Output() [1/2]

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

Return the counter.

Definition at line 269 of file otbSARStreamingDEMCheckFilter.h.

◆ GetCounter_Output() [2/2]

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

Return the counter.

Definition at line 273 of file otbSARStreamingDEMCheckFilter.h.

◆ GetDEMCheck()

template<class TInputImage >
void otb::SARStreamingDEMCheckFilter< TInputImage >::GetDEMCheck ( long int &  nbDEMPts_into_SAR)
inline

◆ GetInput()

template<class TInputImage >
const InputImageType* otb::SARStreamingDEMCheckFilter< TInputImage >::GetInput ( void  )
inline

Definition at line 254 of file otbSARStreamingDEMCheckFilter.h.

◆ GetNameOfClass()

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

Creation through object factory macro

Reimplemented from otb::PersistentFilterStreamingDecorator< PersistentDEMCheckFilter< TInputImage > >.

◆ New()

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

Type macro

◆ operator=()

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

◆ otbGetObjectMemberMacro()

template<class TInputImage >
otb::SARStreamingDEMCheckFilter< TInputImage >::otbGetObjectMemberMacro ( Filter  ,
UserIgnoredValue  ,
RealType   
)

◆ otbSetObjectMemberMacro()

template<class TInputImage >
otb::SARStreamingDEMCheckFilter< TInputImage >::otbSetObjectMemberMacro ( Filter  ,
UserIgnoredValue  ,
RealType   
)

◆ SetInput()

template<class TInputImage >
void otb::SARStreamingDEMCheckFilter< TInputImage >::SetInput ( InputImageType input)
inline

Definition at line 250 of file otbSARStreamingDEMCheckFilter.h.

◆ setSARSizeAndOrigin()

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

Definition at line 259 of file otbSARStreamingDEMCheckFilter.h.


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