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

#include <otbSARStreamingDEMInformationFilter.h>

+ Inheritance diagram for otb::SARStreamingDEMInformationFilter< TInputImage >:
+ Collaboration diagram for otb::SARStreamingDEMInformationFilter< 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 > 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 SARStreamingDEMInformationFilter Self
 
typedef TInputImage::SizeType SizeType
 
typedef Superclass::FilterType StatFilterType
 
typedef PersistentFilterStreamingDecorator< PersistentDEMInformationFilter< TInputImage > > Superclass
 
- Public Types inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMInformationFilter< TInputImage > >
typedef itk::SmartPointer< const SelfConstPointer
 
typedef FilterType::Pointer FilterPointerType
 
typedef PersistentDEMInformationFilter< 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 GetDEMInformation (double &gain, int &direction_toScan_DEMColunms, int &direction_toScan_DEMLines)
 
const InputImageTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
PixelType GetSide_0_nbLines () const
 
PixelObjectTypeGetSide_0_nbLines_Output ()
 
const PixelObjectTypeGetSide_0_nbLines_Output () const
 
PixelType GetSide_nbCol_0 () const
 
PixelObjectTypeGetSide_nbCol_0_Output ()
 
const PixelObjectTypeGetSide_nbCol_0_Output () const
 
PixelType GetSide_nbCol_nbLines () const
 
PixelObjectTypeGetSide_nbCol_nbLines_Output ()
 
const PixelObjectTypeGetSide_nbCol_nbLines_Output () const
 
 otbGetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
 otbSetObjectMemberMacro (Filter, UserIgnoredValue, RealType)
 
void SetInput (InputImageType *input)
 
void SetSARImageKeyWorList (ImageKeywordlist sarImageKWL)
 
PixelType GetSide_0_0 () const
 
PixelObjectTypeGetSide_0_0_Output ()
 
const PixelObjectTypeGetSide_0_0_Output () const
 
- Public Member Functions inherited from otb::PersistentFilterStreamingDecorator< PersistentDEMInformationFilter< 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< PersistentDEMInformationFilter< TInputImage > >
static Pointer New ()
 

Protected Member Functions

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

Private Member Functions

void fit2 (double *x, double *y, int n, double *a, double *b, double *c)
 
void operator= (const Self &)
 
 SARStreamingDEMInformationFilter (const Self &)
 

Private Attributes

ImageKeywordlist m_SarImageKwl
 
SarSensorModelAdapter::Pointer m_SarSensorModelAdapter
 

Additional Inherited Members

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

Detailed Description

template<class TInputImage>
class otb::SARStreamingDEMInformationFilter< TInputImage >

This class streams the whole input image through the PersistentDEMInformationFilter.

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

This filter can be used as:

typedef otb::StreamingDEMInformationFilter<ImageType> StatisticsType;
StatisticsType::Pointer statistics = StatisticsType::New();
statistics->SetInput(reader->GetOutput());
statistics->Update();
std::cout << statistics-> GetDEMInformation() << std::endl;
See also
PersistentDEMInformationFilter
PersistentImageFilter
PersistentFilterStreamingDecorator
StreamingImageVirtualWriter

Definition at line 218 of file otbSARStreamingDEMInformationFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 227 of file otbSARStreamingDEMInformationFilter.h.

◆ ImageType

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

Image related typedefs.

Definition at line 246 of file otbSARStreamingDEMInformationFilter.h.

◆ IndexType

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

Definition at line 251 of file otbSARStreamingDEMInformationFilter.h.

◆ InputImagePointer

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

Definition at line 247 of file otbSARStreamingDEMInformationFilter.h.

◆ InputImageType

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

Definition at line 238 of file otbSARStreamingDEMInformationFilter.h.

◆ LongObjectType

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

Definition at line 242 of file otbSARStreamingDEMInformationFilter.h.

◆ PixelObjectType

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

Definition at line 243 of file otbSARStreamingDEMInformationFilter.h.

◆ PixelType

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

Definition at line 236 of file otbSARStreamingDEMInformationFilter.h.

◆ Point2DType

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

Definition at line 254 of file otbSARStreamingDEMInformationFilter.h.

◆ Point3DType

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

Definition at line 255 of file otbSARStreamingDEMInformationFilter.h.

◆ Pointer

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

Definition at line 226 of file otbSARStreamingDEMInformationFilter.h.

◆ RealObjectType

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

Type of DataObjects used for scalar outputs

Definition at line 241 of file otbSARStreamingDEMInformationFilter.h.

◆ RealType

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

Definition at line 237 of file otbSARStreamingDEMInformationFilter.h.

◆ RegionType

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

Definition at line 249 of file otbSARStreamingDEMInformationFilter.h.

◆ Self

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

Standard Self typedef

Definition at line 223 of file otbSARStreamingDEMInformationFilter.h.

◆ SizeType

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

Definition at line 250 of file otbSARStreamingDEMInformationFilter.h.

◆ StatFilterType

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

Definition at line 233 of file otbSARStreamingDEMInformationFilter.h.

◆ Superclass

Definition at line 225 of file otbSARStreamingDEMInformationFilter.h.

Constructor & Destructor Documentation

◆ SARStreamingDEMInformationFilter() [1/2]

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

Constructor

Definition at line 488 of file otbSARStreamingDEMInformationFilter.h.

◆ ~SARStreamingDEMInformationFilter()

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

Destructor

Definition at line 491 of file otbSARStreamingDEMInformationFilter.h.

◆ SARStreamingDEMInformationFilter() [2/2]

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

Member Function Documentation

◆ CreateAnother()

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

◆ fit2()

template<class TInputImage >
void otb::SARStreamingDEMInformationFilter< TInputImage >::fit2 ( double *  x,
double *  y,
int  n,
double *  a,
double *  b,
double *  c 
)
inlineprivate

Definition at line 498 of file otbSARStreamingDEMInformationFilter.h.

◆ GetDEMInformation()

template<class TInputImage >
void otb::SARStreamingDEMInformationFilter< TInputImage >::GetDEMInformation ( double &  gain,
int &  direction_toScan_DEMColunms,
int &  direction_toScan_DEMLines 
)
inline

◆ GetInput()

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

Definition at line 262 of file otbSARStreamingDEMInformationFilter.h.

◆ GetNameOfClass()

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

Creation through object factory macro

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

◆ GetSide_0_0()

template<class TInputImage >
PixelType otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_0 ( ) const
inline

Return the side.

Definition at line 269 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_0_0_Output() [1/2]

template<class TInputImage >
PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_0_Output ( )
inline

Return the side.

Definition at line 273 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_0_0_Output() [2/2]

template<class TInputImage >
const PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_0_Output ( ) const
inline

Return the side.

Definition at line 277 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_0_nbLines()

template<class TInputImage >
PixelType otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_nbLines ( ) const
inline

Definition at line 283 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_0_nbLines_Output() [1/2]

template<class TInputImage >
PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_nbLines_Output ( )
inline

Definition at line 287 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_0_nbLines_Output() [2/2]

template<class TInputImage >
const PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_0_nbLines_Output ( ) const
inline

Definition at line 291 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_0()

template<class TInputImage >
PixelType otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_0 ( ) const
inline

Definition at line 296 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_0_Output() [1/2]

template<class TInputImage >
PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_0_Output ( )
inline

Definition at line 300 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_0_Output() [2/2]

template<class TInputImage >
const PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_0_Output ( ) const
inline

Definition at line 304 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_nbLines()

template<class TInputImage >
PixelType otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_nbLines ( ) const
inline

Definition at line 309 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_nbLines_Output() [1/2]

template<class TInputImage >
PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_nbLines_Output ( )
inline

Definition at line 313 of file otbSARStreamingDEMInformationFilter.h.

◆ GetSide_nbCol_nbLines_Output() [2/2]

template<class TInputImage >
const PixelObjectType* otb::SARStreamingDEMInformationFilter< TInputImage >::GetSide_nbCol_nbLines_Output ( ) const
inline

Definition at line 317 of file otbSARStreamingDEMInformationFilter.h.

◆ New()

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

Type macro

◆ operator=()

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

◆ otbGetObjectMemberMacro()

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

◆ otbSetObjectMemberMacro()

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

◆ SetInput()

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

Definition at line 258 of file otbSARStreamingDEMInformationFilter.h.

◆ SetSARImageKeyWorList()

template<class TInputImage >
void otb::SARStreamingDEMInformationFilter< TInputImage >::SetSARImageKeyWorList ( ImageKeywordlist  sarImageKWL)
inline

Member Data Documentation

◆ m_SarImageKwl

template<class TInputImage >
ImageKeywordlist otb::SARStreamingDEMInformationFilter< TInputImage >::m_SarImageKwl
private

Definition at line 554 of file otbSARStreamingDEMInformationFilter.h.

◆ m_SarSensorModelAdapter

template<class TInputImage >
SarSensorModelAdapter::Pointer otb::SARStreamingDEMInformationFilter< TInputImage >::m_SarSensorModelAdapter
private

Definition at line 551 of file otbSARStreamingDEMInformationFilter.h.


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