OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | List of all members
otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage > Class Template Reference

#include <otbMulti3DMapToDEMFilter.h>

+ Inheritance diagram for otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >:
+ Collaboration diagram for otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >:

Public Types

typedef otb::Image< unsigned int > AccumulatorImageType
 
typedef AccumulatorImageType::PixelType AccumulatorPixelType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef OutputImageType::PixelType DEMPixelType
 
typedef OutputImageType::IndexType IndexType
 
typedef InputMapType::InternalPixelType InputInternalPixelType
 
typedef T3DImage InputMapType
 
typedef std::map< unsigned int, itk::ImageRegionConstIterator< InputMapType > > MapIteratorList
 
typedef InputMapType::PixelType MapPixelType
 
typedef TMaskImage MaskImageType
 
typedef std::map< unsigned int, itk::ImageRegionConstIterator< MaskImageType > > MaskIteratorList
 
typedef itk::VariableLengthVector< ValueTypeMeasurementType
 
typedef OutputImageType::PointType OriginType
 
typedef TOutputDEMImage OutputImageType
 
typedef otb::ImageToGenericRSOutputParameters< OutputImageTypeOutputParametersEstimatorType
 
typedef itk::SmartPointer< SelfPointer
 
typedef double PrecisionType
 
typedef OutputImageType::RegionType RegionType
 
typedef otb::GenericRSTransform RSTransform2DType
 
typedef otb::GenericRSTransform< PrecisionType, 3, 3 > RSTransformType
 
typedef Multi3DMapToDEMFilter Self
 
typedef OutputImageType::SizeType SizeType
 
typedef OutputImageType::SpacingType SpacingType
 
typedef otb::ObjectList< SplitterTypeSplitterListType
 
typedef itk::ImageRegionSplitter< 2 > SplitterType
 
typedef itk::ImageToImageFilter< T3DImage, TOutputDEMImage > Superclass
 
typedef RSTransformType::InputPointType TDPointType
 
typedef double ValueType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
unsigned int GetNumberOf3DMaps ()
 
void Set3DMapInput (unsigned int index, const T3DImage *hmap)
 
void SetMaskInput (unsigned int index, const TMaskImage *mask)
 
void SetNumberOf3DMaps (unsigned int nb)
 

Static Public Member Functions

static Pointer New ()
 
RSTransformType::Pointer m_ReferenceToGroundTransform
 
std::vector< RSTransformType::Pointerm_MapToGroundTransform
 
std::vector< MeasurementTypem_MapMinVal
 
std::vector< MeasurementTypem_MapMaxVal
 
double m_DEMGridStep
 
std::vector< typename OutputImageType::Pointer > m_TempDEMRegions
 
std::vector< typename AccumulatorImageType::Pointerm_TempDEMAccumulatorRegions
 
std::vector< unsigned int > m_NumberOfSplit
 
SplitterListType::Pointer m_MapSplitterList
 
DEMPixelType m_NoDataValue
 
int m_CellFusionMode
 
std::string m_ProjectionRef
 
double m_ElevationMin
 
double m_ElevationMax
 
SizeType m_OutputSize {0,0}
 
IndexType m_OutputStartIndex
 
SpacingType m_OutputSpacing {0.0}
 
OriginType m_OutputOrigin {0.0}
 
SizeType m_Margin
 
int m_OutputParametersFrom3DMap
 
bool m_IsGeographic
 
RSTransform2DType::Pointer m_GroundTransform
 
const T3DImage * Get3DMapInput (unsigned int index) const
 
const TMaskImage * GetMaskInput (unsigned int index) const
 
const TOutputDEMImage * GetDEMOutput () const
 
TOutputDEMImage * GetDEMOutput ()
 
virtual void SetDEMGridStep (double _arg)
 
virtual const double & GetDEMGridStep () const
 
virtual void SetCellFusionMode (int _arg)
 
virtual const int & GetCellFusionMode () const
 
virtual void SetNoDataValue (DEMPixelType _arg)
 
virtual const DEMPixelTypeGetNoDataValue () const
 
void SetOutputParametersFrom3DMap (int index=-1)
 
virtual void SetOutputOrigin (OriginType _arg)
 
virtual const OriginTypeGetOutputOrigin () const
 
virtual void SetOutputStartIndex (IndexType _arg)
 
virtual const IndexTypeGetOutputStartIndex () const
 
virtual void SetOutputSize (SizeType _arg)
 
virtual const SizeTypeGetOutputSize () const
 
virtual void SetOutputSpacing (SpacingType _arg)
 
virtual const SpacingTypeGetOutputSpacing () const
 
virtual void SetProjectionRef (std::string _arg)
 
virtual const std::string & GetProjectionRef () const
 
virtual const int & GetOutputParametersFrom3DMap () const
 
virtual void SetElevationMin (double _arg)
 
virtual const double & GetElevationMin () const
 
virtual void SetElevationMax (double _arg)
 
virtual const double & GetElevationMax () const
 
virtual void SetMargin (SizeType _arg)
 
virtual const SizeTypeGetMargin () const
 
 Multi3DMapToDEMFilter ()
 
 ~Multi3DMapToDEMFilter () override
 
void GenerateOutputInformation () override
 
void GenerateInputRequestedRegion () override
 
void BeforeThreadedGenerateData () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void AfterThreadedGenerateData () override
 
void VerifyInputInformation () override
 
void SetOutputParametersFromImage ()
 
 Multi3DMapToDEMFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Detailed Description

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
class otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >

Project N 3D images (long,lat,alti) into a regular DEM in the chosen map projection system.

This filter uses a group of N 3D points images and project then onto a regular DEM grid parametrized by DEMGridStep (in meter). The 3D coordinates (sorted by band) of input map are : longitude , latitude (in degree, wrt WGS84) and altitude (in meters)

DEM cell fusion strategy available are :

Definition at line 83 of file otbMulti3DMapToDEMFilter.h.

Member Typedef Documentation

◆ AccumulatorImageType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef otb::Image<unsigned int> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::AccumulatorImageType

Definition at line 102 of file otbMulti3DMapToDEMFilter.h.

◆ AccumulatorPixelType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef AccumulatorImageType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::AccumulatorPixelType

Definition at line 111 of file otbMulti3DMapToDEMFilter.h.

◆ ConstPointer

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef itk::SmartPointer<const Self> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ConstPointer

Definition at line 90 of file otbMulti3DMapToDEMFilter.h.

◆ DEMPixelType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::DEMPixelType

Definition at line 105 of file otbMulti3DMapToDEMFilter.h.

◆ IndexType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::IndexType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::IndexType

Definition at line 109 of file otbMulti3DMapToDEMFilter.h.

◆ InputInternalPixelType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef InputMapType::InternalPixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::InputInternalPixelType

Definition at line 114 of file otbMulti3DMapToDEMFilter.h.

◆ InputMapType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef T3DImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::InputMapType

Useful typedefs

Definition at line 96 of file otbMulti3DMapToDEMFilter.h.

◆ MapIteratorList

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef std::map<unsigned int, itk::ImageRegionConstIterator<InputMapType> > otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MapIteratorList

Definition at line 128 of file otbMulti3DMapToDEMFilter.h.

◆ MapPixelType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef InputMapType::PixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MapPixelType

Definition at line 113 of file otbMulti3DMapToDEMFilter.h.

◆ MaskImageType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef TMaskImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MaskImageType

Definition at line 101 of file otbMulti3DMapToDEMFilter.h.

◆ MaskIteratorList

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef std::map<unsigned int, itk::ImageRegionConstIterator<MaskImageType> > otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MaskIteratorList

Definition at line 130 of file otbMulti3DMapToDEMFilter.h.

◆ MeasurementType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef itk::VariableLengthVector<ValueType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::MeasurementType

Definition at line 134 of file otbMulti3DMapToDEMFilter.h.

◆ OriginType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::PointType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OriginType

Definition at line 106 of file otbMulti3DMapToDEMFilter.h.

◆ OutputImageType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef TOutputDEMImage otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OutputImageType

Definition at line 100 of file otbMulti3DMapToDEMFilter.h.

◆ OutputParametersEstimatorType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef otb::ImageToGenericRSOutputParameters<OutputImageType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::OutputParametersEstimatorType

Definition at line 120 of file otbMulti3DMapToDEMFilter.h.

◆ Pointer

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef itk::SmartPointer<Self> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Pointer

Definition at line 89 of file otbMulti3DMapToDEMFilter.h.

◆ PrecisionType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::PrecisionType

Definition at line 117 of file otbMulti3DMapToDEMFilter.h.

◆ RegionType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::RegionType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RegionType

Definition at line 104 of file otbMulti3DMapToDEMFilter.h.

◆ RSTransform2DType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef otb::GenericRSTransform otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RSTransform2DType

Definition at line 126 of file otbMulti3DMapToDEMFilter.h.

◆ RSTransformType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef otb::GenericRSTransform<PrecisionType, 3, 3> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::RSTransformType

Definition at line 118 of file otbMulti3DMapToDEMFilter.h.

◆ Self

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef Multi3DMapToDEMFilter otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Self

Standard class typedef

Definition at line 87 of file otbMulti3DMapToDEMFilter.h.

◆ SizeType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::SizeType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SizeType

Definition at line 108 of file otbMulti3DMapToDEMFilter.h.

◆ SpacingType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef OutputImageType::SpacingType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SpacingType

Definition at line 107 of file otbMulti3DMapToDEMFilter.h.

◆ SplitterListType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef otb::ObjectList<SplitterType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SplitterListType

Definition at line 137 of file otbMulti3DMapToDEMFilter.h.

◆ SplitterType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef itk::ImageRegionSplitter<2> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SplitterType

Definition at line 136 of file otbMulti3DMapToDEMFilter.h.

◆ Superclass

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef itk::ImageToImageFilter<T3DImage, TOutputDEMImage> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Superclass

Definition at line 88 of file otbMulti3DMapToDEMFilter.h.

◆ TDPointType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef RSTransformType::InputPointType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::TDPointType

Definition at line 123 of file otbMulti3DMapToDEMFilter.h.

◆ ValueType

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
typedef double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ValueType

Definition at line 133 of file otbMulti3DMapToDEMFilter.h.

Constructor & Destructor Documentation

◆ Multi3DMapToDEMFilter() [1/2]

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Multi3DMapToDEMFilter
protected

Constructor

Definition at line 34 of file otbMulti3DMapToDEMFilter.hxx.

References otb::CellFusionMode::MAX.

◆ ~Multi3DMapToDEMFilter()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::~Multi3DMapToDEMFilter
overrideprotected

Destructor

Definition at line 59 of file otbMulti3DMapToDEMFilter.hxx.

◆ Multi3DMapToDEMFilter() [2/2]

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Multi3DMapToDEMFilter ( const Self )
privatedelete

Reference sensor image transform

Member Function Documentation

◆ AfterThreadedGenerateData()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::AfterThreadedGenerateData
overrideprotected

◆ BeforeThreadedGenerateData()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::BeforeThreadedGenerateData
overrideprotected

Before threaded generate data

Definition at line 466 of file otbMulti3DMapToDEMFilter.hxx.

References otb::SpatialReference::FromWGS84(), and otbMsgDevMacro.

◆ CreateAnother()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual::itk::LightObject::Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::CreateAnother ( void  ) const

◆ GenerateInputRequestedRegion()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GenerateInputRequestedRegion
overrideprotected

Generate input requested region

Definition at line 338 of file otbMulti3DMapToDEMFilter.hxx.

◆ GenerateOutputInformation()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GenerateOutputInformation
overrideprotected

Generate output information

Definition at line 288 of file otbMulti3DMapToDEMFilter.hxx.

References otb::MetaDataKey::ProjectionRefKey, and otb::WriteNoDataFlags().

◆ Get3DMapInput()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
const T3DImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Get3DMapInput ( unsigned int  index) const

Get the inputs

Definition at line 102 of file otbMulti3DMapToDEMFilter.hxx.

◆ GetCellFusionMode()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const int& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetCellFusionMode ( ) const
virtual

Reference sensor image transform

◆ GetDEMGridStep()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const double& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetDEMGridStep ( ) const
virtual

Reference sensor image transform

◆ GetDEMOutput() [1/2]

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
TOutputDEMImage* otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetDEMOutput ( )

Reference sensor image transform

◆ GetDEMOutput() [2/2]

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
TOutputDEMImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetDEMOutput

Get DEM output

Definition at line 122 of file otbMulti3DMapToDEMFilter.hxx.

◆ GetElevationMax()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const double& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetElevationMax ( ) const
virtual

Reference sensor image transform

◆ GetElevationMin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const double& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetElevationMin ( ) const
virtual

Reference sensor image transform

◆ GetMargin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const SizeType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetMargin ( ) const
virtual

Reference sensor image transform

◆ GetMaskInput()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
const TMaskImage * otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetMaskInput ( unsigned int  index) const

Reference sensor image transform

Definition at line 112 of file otbMulti3DMapToDEMFilter.hxx.

◆ GetNameOfClass()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const char* otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetNoDataValue()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const DEMPixelType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetNoDataValue ( ) const
virtual

Reference sensor image transform

◆ GetNumberOf3DMaps()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
unsigned int otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetNumberOf3DMaps

Get the number of 3D images (referred earlier as N)

Definition at line 73 of file otbMulti3DMapToDEMFilter.hxx.

◆ GetOutputOrigin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const OriginType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetOutputOrigin ( ) const
virtual

Reference sensor image transform

◆ GetOutputParametersFrom3DMap()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const int& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetOutputParametersFrom3DMap ( ) const
virtual

Reference sensor image transform

◆ GetOutputSize()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const SizeType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetOutputSize ( ) const
virtual

Reference sensor image transform

◆ GetOutputSpacing()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const SpacingType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetOutputSpacing ( ) const
virtual

Reference sensor image transform

◆ GetOutputStartIndex()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const IndexType& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetOutputStartIndex ( ) const
virtual

Reference sensor image transform

◆ GetProjectionRef()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual const std::string& otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GetProjectionRef ( ) const
virtual

Reference sensor image transform

◆ New()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
static Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::operator= ( const Self )
privatedelete

Reference sensor image transform

◆ Set3DMapInput()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::Set3DMapInput ( unsigned int  index,
const T3DImage *  hmap 
)

Set 3D map input at corresponding 'index'

Definition at line 79 of file otbMulti3DMapToDEMFilter.hxx.

◆ SetCellFusionMode()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetCellFusionMode ( int  _arg)
virtual

Set/Get macro for CellFusionMode

◆ SetDEMGridStep()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetDEMGridStep ( double  _arg)
virtual

Set/Get macro for DEM grid step

◆ SetElevationMax()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetElevationMax ( double  _arg)
virtual

Set/Get macro for maximum elevation

◆ SetElevationMin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetElevationMin ( double  _arg)
virtual

Set/Get macro for minimum elevation

◆ SetMargin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetMargin ( SizeType  _arg)
virtual

margin for input requested region size

◆ SetMaskInput()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetMaskInput ( unsigned int  index,
const TMaskImage *  mask 
)

Set mask associated to 3D maps 'index' (optional, pixels with a null mask value are ignored)

Definition at line 91 of file otbMulti3DMapToDEMFilter.hxx.

◆ SetNoDataValue()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetNoDataValue ( DEMPixelType  _arg)
virtual

Set/Get macro for NoDataValue

◆ SetNumberOf3DMaps()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetNumberOf3DMaps ( unsigned int  nb)

Set the number of 3D images (referred earlier as N)

Definition at line 64 of file otbMulti3DMapToDEMFilter.hxx.

◆ SetOutputOrigin()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputOrigin ( OriginType  _arg)
virtual

Reference sensor image transform

◆ SetOutputParametersFrom3DMap()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputParametersFrom3DMap ( int  index = -1)
inline

compute Set DEM extent using 3DMap 'index' , if index =-1 union of all input Map extent is done

Definition at line 181 of file otbMulti3DMapToDEMFilter.h.

◆ SetOutputParametersFromImage()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputParametersFromImage
private

Reference sensor image transform

Definition at line 143 of file otbMulti3DMapToDEMFilter.hxx.

References otb::SpatialReference::FromWGS84(), and otb::MetaDataKey::ProjectionRefKey.

◆ SetOutputSize()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputSize ( SizeType  _arg)
virtual

Output Size

◆ SetOutputSpacing()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputSpacing ( SpacingType  _arg)
virtual

Output Spacing

◆ SetOutputStartIndex()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetOutputStartIndex ( IndexType  _arg)
virtual

Output Start index

◆ SetProjectionRef()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
virtual void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::SetProjectionRef ( std::string  _arg)
virtual

◆ ThreadedGenerateData()

template<class T3DImage , class TMaskImage , class TOutputDEMImage >
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Threaded generate data

-Wunused-variable bool isInDEM = (position[0] >= minLong) && (position[0] < maxLong) && (position[1] >= minLat) && (position[1] < maxLat);

-Wunused-variable typename OutputImageType::IndexType physCellIndex;

double CellIndexLong=(position[0]-outOrigin[0])/step[0]; double CellIndexLat=(position[1]-outOrigin[1])/step[1]; typename OutputImageType::IndexType cellIndex2;

Definition at line 529 of file otbMulti3DMapToDEMFilter.hxx.

References otb::CellFusionMode::ACC, otb::Image< TPixel, VImageDimension >::GetSignedSpacing(), otb::CellFusionMode::MAX, otb::CellFusionMode::MEAN, otb::CellFusionMode::MIN, and otbMsgDevMacro.

◆ VerifyInputInformation()

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
void otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::VerifyInputInformation ( )
inlineoverrideprotected

Override VerifyInputInformation() since this filter's inputs do not need to occupy the same physical space.

See also
ProcessObject::VerifyInputInformation

Definition at line 262 of file otbMulti3DMapToDEMFilter.h.

Member Data Documentation

◆ m_CellFusionMode

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
int otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_CellFusionMode
private

Reference sensor image transform

Definition at line 297 of file otbMulti3DMapToDEMFilter.h.

◆ m_DEMGridStep

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_DEMGridStep
private

DEM grid step (in meters)

Definition at line 282 of file otbMulti3DMapToDEMFilter.h.

◆ m_ElevationMax

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_ElevationMax
private

Maximum elevation of the DEM in meters

Definition at line 304 of file otbMulti3DMapToDEMFilter.h.

◆ m_ElevationMin

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
double otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_ElevationMin
private

Minimum elevation of the DEM in meters

Definition at line 301 of file otbMulti3DMapToDEMFilter.h.

◆ m_GroundTransform

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
RSTransform2DType::Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_GroundTransform
private

internal transform between WGS84 and user's ProjRef

Definition at line 318 of file otbMulti3DMapToDEMFilter.h.

◆ m_IsGeographic

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
bool otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_IsGeographic
private

Reference sensor image transform

Definition at line 315 of file otbMulti3DMapToDEMFilter.h.

◆ m_MapMaxVal

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<MeasurementType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_MapMaxVal
private

Reference sensor image transform

Definition at line 280 of file otbMulti3DMapToDEMFilter.h.

◆ m_MapMinVal

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<MeasurementType> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_MapMinVal
private

Reference sensor image transform

Definition at line 279 of file otbMulti3DMapToDEMFilter.h.

◆ m_MapSplitterList

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
SplitterListType::Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_MapSplitterList
private

Region splitter for input disparity maps

Definition at line 294 of file otbMulti3DMapToDEMFilter.h.

◆ m_MapToGroundTransform

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<RSTransformType::Pointer> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_MapToGroundTransform
private

Moving sensor image transforms

Definition at line 277 of file otbMulti3DMapToDEMFilter.h.

◆ m_Margin

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
SizeType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_Margin
private

Reference sensor image transform

Definition at line 312 of file otbMulti3DMapToDEMFilter.h.

◆ m_NoDataValue

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
DEMPixelType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_NoDataValue
private

Reference sensor image transform

Definition at line 296 of file otbMulti3DMapToDEMFilter.h.

◆ m_NumberOfSplit

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<unsigned int> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_NumberOfSplit
private

Reference sensor image transform

Definition at line 291 of file otbMulti3DMapToDEMFilter.h.

◆ m_OutputOrigin

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
OriginType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_OutputOrigin {0.0}
private

Reference sensor image transform

Definition at line 310 of file otbMulti3DMapToDEMFilter.h.

◆ m_OutputParametersFrom3DMap

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
int otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_OutputParametersFrom3DMap
private

Reference sensor image transform

Definition at line 314 of file otbMulti3DMapToDEMFilter.h.

◆ m_OutputSize

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
SizeType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_OutputSize {0,0}
private

Reference sensor image transform

Definition at line 307 of file otbMulti3DMapToDEMFilter.h.

◆ m_OutputSpacing

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
SpacingType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_OutputSpacing {0.0}
private

Reference sensor image transform

Definition at line 309 of file otbMulti3DMapToDEMFilter.h.

◆ m_OutputStartIndex

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
IndexType otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_OutputStartIndex
private

Reference sensor image transform

Definition at line 308 of file otbMulti3DMapToDEMFilter.h.

◆ m_ProjectionRef

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::string otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_ProjectionRef
private

Reference sensor image transform

Definition at line 298 of file otbMulti3DMapToDEMFilter.h.

◆ m_ReferenceToGroundTransform

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
RSTransformType::Pointer otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_ReferenceToGroundTransform
private

Reference sensor image transform

Definition at line 274 of file otbMulti3DMapToDEMFilter.h.

◆ m_TempDEMAccumulatorRegions

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<typename AccumulatorImageType::Pointer> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_TempDEMAccumulatorRegions
private

Temporary accumulator for multithreading and mean calculus

Definition at line 288 of file otbMulti3DMapToDEMFilter.h.

◆ m_TempDEMRegions

template<class T3DImage = otb::VectorImage<double, 2>, class TMaskImage = otb::Image<unsigned char>, class TOutputDEMImage = otb::Image<double>>
std::vector<typename OutputImageType::Pointer> otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::m_TempDEMRegions
private

Temporary DEMs for multithreading

Definition at line 285 of file otbMulti3DMapToDEMFilter.h.


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