OTB  7.2.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage > Class Template Reference

#include <otbDisparityMapToDEMFilter.h>

+ Inheritance diagram for otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >:
+ Collaboration diagram for otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef TOutputDEMImage DEMImageType
 
typedef DEMImageType::PixelType DEMPixelType
 
typedef TDisparityImage DisparityMapType
 
typedef TEpipolarGridImage GridImageType
 
typedef TMaskImage MaskImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DEMImageType::RegionType RegionType
 
typedef otb::GenericRSTransform< double, 3, 3 > RSTransformType
 
typedef DisparityMapToDEMFilter Self
 
typedef TInputImage SensorImageType
 
typedef itk::ImageRegionSplitter< 2 > SplitterType
 
typedef itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage > Superclass
 
typedef RSTransformType::InputPointType TDPointType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetDisparityMaskInput (const TMaskImage *mask)
 
void SetHorizontalDisparityMapInput (const TDisparityImage *hmap)
 
void SetLeftEpipolarGridInput (const TEpipolarGridImage *grid)
 
void SetLeftInput (const TInputImage *image)
 
void SetRightEpipolarGridInput (const TEpipolarGridImage *grid)
 
void SetRightInput (const TInputImage *image)
 
void SetVerticalDisparityMapInput (const TDisparityImage *vmap)
 
const TDisparityImage * GetHorizontalDisparityMapInput () const
 
const TDisparityImage * GetVerticalDisparityMapInput () const
 
const TInputImage * GetLeftInput () const
 
const TInputImage * GetRightInput () const
 
const TEpipolarGridImage * GetLeftEpipolarGridInput () const
 
const TEpipolarGridImage * GetRightEpipolarGridInput () const
 
const TMaskImage * GetDisparityMaskInput () const
 
const TOutputDEMImage * GetDEMOutput () const
 
TOutputDEMImage * GetDEMOutput ()
 
virtual void SetElevationMin (double _arg)
 
virtual const double & GetElevationMin () const
 
virtual void SetElevationMax (double _arg)
 
virtual const double & GetElevationMax () const
 
virtual void SetDEMGridStep (double _arg)
 
virtual const double & GetDEMGridStep () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
 DisparityMapToDEMFilter ()
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void VerifyInputInformation () override
 
 ~DisparityMapToDEMFilter () override
 

Private Member Functions

 DisparityMapToDEMFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 

Private Attributes

double m_DEMGridStep
 
double m_ElevationMax
 
double m_ElevationMin
 
SplitterType::Pointer m_InputSplitter
 
RSTransformType::Pointer m_LeftToGroundTransform
 
RSTransformType::Pointer m_RightToGroundTransform
 
std::vector< typename DEMImageType::Pointer > m_TempDEMRegions
 
unsigned int m_UsedInputSplits
 

Detailed Description

template<class TDisparityImage, class TInputImage, class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
class otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >

Project an input disparity map into a regular DEM.

This filter uses an input disparity map (horizontal and vertical) to produce a DEM with a regular sampling in the chosen map projection system. The elevation is computed from the triangulation of the "left-right" pairs of pixels matched. When several elevations are possible on a DEM cell, the highest is kept. Note : disparity maps and DEM are expected to be of scalar image type.

The inputs are:

The outputs are:

See also
FineRegistrationImageFilter
StereorectificationDisplacementFieldSource
SubPixelDisparityImageFilter
PixelWiseBlockMatchingImageFilter

Definition at line 64 of file otbDisparityMapToDEMFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef itk::SmartPointer<const Self> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ConstPointer

Definition at line 71 of file otbDisparityMapToDEMFilter.h.

◆ DEMImageType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef TOutputDEMImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DEMImageType

Definition at line 82 of file otbDisparityMapToDEMFilter.h.

◆ DEMPixelType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef DEMImageType::PixelType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DEMPixelType

Definition at line 87 of file otbDisparityMapToDEMFilter.h.

◆ DisparityMapType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef TDisparityImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DisparityMapType

Useful typedefs

Definition at line 77 of file otbDisparityMapToDEMFilter.h.

◆ GridImageType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef TEpipolarGridImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GridImageType

Definition at line 83 of file otbDisparityMapToDEMFilter.h.

◆ MaskImageType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef TMaskImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::MaskImageType

Definition at line 84 of file otbDisparityMapToDEMFilter.h.

◆ Pointer

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef itk::SmartPointer<Self> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Pointer

Definition at line 70 of file otbDisparityMapToDEMFilter.h.

◆ RegionType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef DEMImageType::RegionType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::RegionType

Definition at line 86 of file otbDisparityMapToDEMFilter.h.

◆ RSTransformType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef otb::GenericRSTransform<double, 3, 3> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::RSTransformType

Definition at line 93 of file otbDisparityMapToDEMFilter.h.

◆ Self

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef DisparityMapToDEMFilter otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Self

Standard class typedef

Definition at line 68 of file otbDisparityMapToDEMFilter.h.

◆ SensorImageType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef TInputImage otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SensorImageType

Definition at line 81 of file otbDisparityMapToDEMFilter.h.

◆ SplitterType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef itk::ImageRegionSplitter<2> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SplitterType

Definition at line 89 of file otbDisparityMapToDEMFilter.h.

◆ Superclass

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef itk::ImageToImageFilter<TDisparityImage, TOutputDEMImage> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::Superclass

Definition at line 69 of file otbDisparityMapToDEMFilter.h.

◆ TDPointType

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
typedef RSTransformType::InputPointType otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::TDPointType

Definition at line 97 of file otbDisparityMapToDEMFilter.h.

Constructor & Destructor Documentation

◆ DisparityMapToDEMFilter() [1/2]

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DisparityMapToDEMFilter ( )
protected

Constructor

Definition at line 32 of file otbDisparityMapToDEMFilter.hxx.

◆ ~DisparityMapToDEMFilter()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::~DisparityMapToDEMFilter ( )
overrideprotected

Destructor

Definition at line 52 of file otbDisparityMapToDEMFilter.hxx.

◆ DisparityMapToDEMFilter() [2/2]

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::DisparityMapToDEMFilter ( const Self )
privatedelete

Member Function Documentation

◆ AfterThreadedGenerateData()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::AfterThreadedGenerateData ( void  )
overrideprotected

After threaded generate data : sum up temporary DEMs

Definition at line 880 of file otbDisparityMapToDEMFilter.hxx.

◆ BeforeThreadedGenerateData()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::BeforeThreadedGenerateData ( void  )
overrideprotected

Before threaded generate data

Definition at line 579 of file otbDisparityMapToDEMFilter.hxx.

◆ CreateAnother()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual::itk::LightObject::Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::CreateAnother ( void  ) const

◆ GenerateInputRequestedRegion()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GenerateInputRequestedRegion ( void  )
overrideprotected

Generate input requested region

Definition at line 316 of file otbDisparityMapToDEMFilter.hxx.

◆ GenerateOutputInformation()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GenerateOutputInformation ( void  )
overrideprotected

Generate output information

Definition at line 204 of file otbDisparityMapToDEMFilter.hxx.

◆ GetDEMGridStep()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual const double& otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDEMGridStep ( ) const
virtual

Set/Get macro for DEM grid step

◆ GetDEMOutput() [1/2]

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TOutputDEMImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDEMOutput ( ) const

Get DEM output

Definition at line 184 of file otbDisparityMapToDEMFilter.hxx.

◆ GetDEMOutput() [2/2]

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
TOutputDEMImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDEMOutput ( )

Get DEM output

Definition at line 194 of file otbDisparityMapToDEMFilter.hxx.

◆ GetDisparityMaskInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TMaskImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetDisparityMaskInput ( ) const

Get the inputs

Definition at line 174 of file otbDisparityMapToDEMFilter.hxx.

◆ GetElevationMax()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual const double& otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetElevationMax ( ) const
virtual

Set/Get macro for maximum elevation

◆ GetElevationMin()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual const double& otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetElevationMin ( ) const
virtual

Set/Get macro for minimum elevation

◆ GetHorizontalDisparityMapInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TDisparityImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetHorizontalDisparityMapInput ( ) const

Get the inputs

Definition at line 111 of file otbDisparityMapToDEMFilter.hxx.

◆ GetLeftEpipolarGridInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TEpipolarGridImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetLeftEpipolarGridInput ( ) const

Get the inputs

Definition at line 153 of file otbDisparityMapToDEMFilter.hxx.

◆ GetLeftInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TInputImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetLeftInput ( ) const

Get the inputs

Definition at line 132 of file otbDisparityMapToDEMFilter.hxx.

◆ GetNameOfClass()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual const char* otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetRightEpipolarGridInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TEpipolarGridImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetRightEpipolarGridInput ( ) const

Get the inputs

Definition at line 164 of file otbDisparityMapToDEMFilter.hxx.

◆ GetRightInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TInputImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetRightInput ( ) const

Get the inputs

Definition at line 142 of file otbDisparityMapToDEMFilter.hxx.

◆ GetVerticalDisparityMapInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
const TDisparityImage * otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::GetVerticalDisparityMapInput ( ) const

Get the inputs

Definition at line 122 of file otbDisparityMapToDEMFilter.hxx.

◆ New()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
static Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::operator= ( const Self )
privatedelete

◆ SetDEMGridStep()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetDEMGridStep ( double  _arg)
virtual

Set/Get macro for DEM grid step

◆ SetDisparityMaskInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetDisparityMaskInput ( const TMaskImage *  mask)

Set mask associated to disparity maps (optional, pixels with a null mask value are ignored)

Definition at line 103 of file otbDisparityMapToDEMFilter.hxx.

◆ SetElevationMax()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetElevationMax ( double  _arg)
virtual

Set/Get macro for maximum elevation

◆ SetElevationMin()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
virtual void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetElevationMin ( double  _arg)
virtual

Set/Get macro for minimum elevation

◆ SetHorizontalDisparityMapInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetHorizontalDisparityMapInput ( const TDisparityImage *  hmap)

Set horizontal disparity map input

Definition at line 57 of file otbDisparityMapToDEMFilter.hxx.

◆ SetLeftEpipolarGridInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetLeftEpipolarGridInput ( const TEpipolarGridImage *  grid)

Set left epipolar grid (deformation grid from sensor image to epipolar space, regular in epipolar space)

Definition at line 87 of file otbDisparityMapToDEMFilter.hxx.

◆ SetLeftInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetLeftInput ( const TInputImage *  image)

Set left input

Definition at line 73 of file otbDisparityMapToDEMFilter.hxx.

◆ SetRightEpipolarGridInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetRightEpipolarGridInput ( const TEpipolarGridImage *  grid)

Set right epipolar grid (deformation grid from sensor image to epipolar space, regular in epipolar space)

Definition at line 95 of file otbDisparityMapToDEMFilter.hxx.

◆ SetRightInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetRightInput ( const TInputImage *  image)

Set right input

Definition at line 80 of file otbDisparityMapToDEMFilter.hxx.

◆ SetVerticalDisparityMapInput()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::SetVerticalDisparityMapInput ( const TDisparityImage *  vmap)

Set vertical disparity map input

Definition at line 65 of file otbDisparityMapToDEMFilter.hxx.

◆ ThreadedGenerateData()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage , class TEpipolarGridImage , class TMaskImage >
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Threaded generate data

Definition at line 630 of file otbDisparityMapToDEMFilter.hxx.

◆ VerifyInputInformation()

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
void otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::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 177 of file otbDisparityMapToDEMFilter.h.

Member Data Documentation

◆ m_DEMGridStep

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
double otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_DEMGridStep
private

DEM grid step (in meters)

Definition at line 193 of file otbDisparityMapToDEMFilter.h.

◆ m_ElevationMax

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
double otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_ElevationMax
private

Maximum elevation of the DEM in meters

Definition at line 190 of file otbDisparityMapToDEMFilter.h.

◆ m_ElevationMin

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
double otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_ElevationMin
private

Minimum elevation of the DEM in meters

Definition at line 187 of file otbDisparityMapToDEMFilter.h.

◆ m_InputSplitter

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
SplitterType::Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_InputSplitter
private

Region splitter for input disparity maps

Definition at line 196 of file otbDisparityMapToDEMFilter.h.

◆ m_LeftToGroundTransform

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
RSTransformType::Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_LeftToGroundTransform
private

Left sensor image transform

Definition at line 205 of file otbDisparityMapToDEMFilter.h.

◆ m_RightToGroundTransform

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
RSTransformType::Pointer otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_RightToGroundTransform
private

Right sensor image transform

Definition at line 208 of file otbDisparityMapToDEMFilter.h.

◆ m_TempDEMRegions

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
std::vector<typename DEMImageType::Pointer> otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_TempDEMRegions
private

Temporary DEMs for mutlithreading

Definition at line 202 of file otbDisparityMapToDEMFilter.h.

◆ m_UsedInputSplits

template<class TDisparityImage , class TInputImage , class TOutputDEMImage = TDisparityImage, class TEpipolarGridImage = otb::VectorImage<float, 2>, class TMaskImage = otb::Image<unsigned char>>
unsigned int otb::DisparityMapToDEMFilter< TDisparityImage, TInputImage, TOutputDEMImage, TEpipolarGridImage, TMaskImage >::m_UsedInputSplits
private

Number of splits used for input multithreading

Definition at line 199 of file otbDisparityMapToDEMFilter.h.


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