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 <otbSARStreamingDEMClosestHgtFilter.h>

+ Inheritance diagram for otb::SARStreamingDEMClosestHgtFilter< TInputImage >:
+ Collaboration diagram for otb::SARStreamingDEMClosestHgtFilter< 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< std::map< int, int > * > IntMapObjectType
 
typedef itk::SimpleDataObjectDecorator< int > IntObjectType
 
typedef itk::SimpleDataObjectDecorator< std::vector< int > * > IntVectorObjectType
 
typedef itk::SimpleDataObjectDecorator< PixelTypePixelObjectType
 
typedef StatFilterType::PixelType PixelType
 
typedef itk::SimpleDataObjectDecorator< std::vector< PixelType > * > PixelVectorObjectType
 
using Point2DType = itk::Point< double, 2 >
 
using Point3DType = itk::Point< double, 3 >
 
typedef itk::SmartPointer< SelfPointer
 
typedef StatFilterType::RealType RealType
 
typedef TInputImage::RegionType RegionType
 
typedef SARStreamingDEMClosestHgtFilter Self
 
typedef TInputImage::SizeType SizeType
 
typedef Superclass::FilterType StatFilterType
 
typedef PersistentFilterStreamingDecorator< PersistentDEMClosestHgtFilter< TInputImage > > Superclass
 
- Public Types inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMClosestHgtFilter< TInputImage > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef PersistentDEMClosestHgtFilter< 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
 
int GetDEMHgt (std::vector< double > *closestHgt)
 
const InputImageTypeGetInput ()
 
std::map< int, int > * GetMapDuplicates () const
 
IntMapObjectTypeGetMapDuplicates_Output ()
 
const IntMapObjectTypeGetMapDuplicates_Output () const
 
virtual const char * GetNameOfClass () const
 
std::vector< int > * GetVectorId () const
 
IntVectorObjectTypeGetVectorId_Output ()
 
const IntVectorObjectTypeGetVectorId_Output () const
 
 otbGetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
 otbSetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
void SetInput (InputImageType *input)
 
void SetVectorLonLat (std::vector< double *> *vectorLonLat)
 
std::vector< PixelType > * GetVectorHgt () const
 
PixelVectorObjectTypeGetVectorVectorHgt_Output ()
 
const PixelVectorObjectTypeGetVectorHgt_Output () const
 
- Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMClosestHgtFilter< 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< PersistentDEMClosestHgtFilter< TInputImage > >
static Pointer New ()
 

Protected Member Functions

 SARStreamingDEMClosestHgtFilter ()
 
 ~SARStreamingDEMClosestHgtFilter () ITK_OVERRIDE
 
- Protected Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMClosestHgtFilter< 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 &)
 
 SARStreamingDEMClosestHgtFilter (const Self &)
 

Additional Inherited Members

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

Detailed Description

template<class TInputImage>
class otb::SARStreamingDEMClosestHgtFilter< TInputImage >

This class streams the whole input image through the PersistentDEMClosestHgtFilter.

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

This filter can be used as:

typedef otb::StreamingDEMClosestHgtFilter<ImageType> StatisticsType;
StatisticsType::Pointer statistics = StatisticsType::New();
statistics->SetInput(DEM);
statistics->SetVectorLonLat(vectorLonLat);
statistics->Update();
statistics->GetDEMHgt(vectorClosestHgt);
See also
PersistentDEMClosestHgtFilter
PersistentImageFilter
PersistentFilterStreamingDecorator
StreamingImageVirtualWriter

Definition at line 228 of file otbSARStreamingDEMClosestHgtFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 237 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ ImageType

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

Image related typedefs.

Definition at line 259 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ IndexType

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

Definition at line 264 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ InputImagePointer

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

Definition at line 260 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ InputImageType

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

Definition at line 248 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ IntMapObjectType

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<std::map<int, int> *> otb::SARStreamingDEMClosestHgtFilter< TInputImage >::IntMapObjectType

Definition at line 256 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ IntObjectType

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<int> otb::SARStreamingDEMClosestHgtFilter< TInputImage >::IntObjectType

Type of DataObjects used for scalar outputs

Definition at line 251 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ IntVectorObjectType

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<std::vector<int> *> otb::SARStreamingDEMClosestHgtFilter< TInputImage >::IntVectorObjectType

Definition at line 255 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ PixelObjectType

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

Definition at line 252 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ PixelType

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

Definition at line 246 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ PixelVectorObjectType

template<class TInputImage >
typedef itk::SimpleDataObjectDecorator<std::vector<PixelType> *> otb::SARStreamingDEMClosestHgtFilter< TInputImage >::PixelVectorObjectType

Definition at line 254 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ Point2DType

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

Definition at line 267 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ Point3DType

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

Definition at line 268 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ Pointer

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

Definition at line 236 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ RealType

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

Definition at line 247 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ RegionType

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

Definition at line 262 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ Self

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

Standard Self typedef

Definition at line 233 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ SizeType

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

Definition at line 263 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ StatFilterType

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

Definition at line 243 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ Superclass

template<class TInputImage >
typedef PersistentFilterStreamingDecorator<PersistentDEMClosestHgtFilter<TInputImage> > otb::SARStreamingDEMClosestHgtFilter< TInputImage >::Superclass

Definition at line 235 of file otbSARStreamingDEMClosestHgtFilter.h.

Constructor & Destructor Documentation

◆ SARStreamingDEMClosestHgtFilter() [1/2]

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

Constructor

Definition at line 379 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ ~SARStreamingDEMClosestHgtFilter()

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

Destructor

Definition at line 382 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ SARStreamingDEMClosestHgtFilter() [2/2]

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

Member Function Documentation

◆ CreateAnother()

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

◆ GetDEMHgt()

template<class TInputImage >
int otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetDEMHgt ( std::vector< double > *  closestHgt)
inline

◆ GetInput()

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

Definition at line 277 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetMapDuplicates()

template<class TInputImage >
std::map<int, int>* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetMapDuplicates ( ) const
inline

Definition at line 317 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetMapDuplicates_Output() [1/2]

template<class TInputImage >
IntMapObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetMapDuplicates_Output ( )
inline

Definition at line 321 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetMapDuplicates_Output() [2/2]

template<class TInputImage >
const IntMapObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetMapDuplicates_Output ( ) const
inline

Definition at line 325 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetNameOfClass()

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

Creation through object factory macro

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

◆ GetVectorHgt()

template<class TInputImage >
std::vector<PixelType>* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorHgt ( ) const
inline

Return vectors.

Definition at line 290 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetVectorHgt_Output()

template<class TInputImage >
const PixelVectorObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorHgt_Output ( ) const
inline

Return vectors.

Definition at line 298 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetVectorId()

template<class TInputImage >
std::vector<int>* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorId ( ) const
inline

Definition at line 304 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetVectorId_Output() [1/2]

template<class TInputImage >
IntVectorObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorId_Output ( )
inline

Definition at line 308 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetVectorId_Output() [2/2]

template<class TInputImage >
const IntVectorObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorId_Output ( ) const
inline

Definition at line 312 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ GetVectorVectorHgt_Output()

template<class TInputImage >
PixelVectorObjectType* otb::SARStreamingDEMClosestHgtFilter< TInputImage >::GetVectorVectorHgt_Output ( )
inline

Return vectors.

Definition at line 294 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ New()

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

Type macro

◆ operator=()

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

◆ otbGetObjectMemberMacro()

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

◆ otbSetObjectMemberMacro()

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

◆ SetInput()

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

Definition at line 273 of file otbSARStreamingDEMClosestHgtFilter.h.

◆ SetVectorLonLat()

template<class TInputImage >
void otb::SARStreamingDEMClosestHgtFilter< TInputImage >::SetVectorLonLat ( std::vector< double *> *  vectorLonLat)
inline

Definition at line 283 of file otbSARStreamingDEMClosestHgtFilter.h.


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