OTB  6.7.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 Self
ConstPointer
 
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 Types inherited from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TDisparityImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< TOutputDEMImage > 
Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

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
 
- Public Member Functions inherited from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TDisparityImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
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
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AllocateOutputs ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

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
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

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

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 73 of file otbDisparityMapToDEMFilter.h.

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 84 of file otbDisparityMapToDEMFilter.h.

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 89 of file otbDisparityMapToDEMFilter.h.

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 79 of file otbDisparityMapToDEMFilter.h.

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 85 of file otbDisparityMapToDEMFilter.h.

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 86 of file otbDisparityMapToDEMFilter.h.

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 72 of file otbDisparityMapToDEMFilter.h.

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 88 of file otbDisparityMapToDEMFilter.h.

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 95 of file otbDisparityMapToDEMFilter.h.

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 69 of file otbDisparityMapToDEMFilter.h.

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 83 of file otbDisparityMapToDEMFilter.h.

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 91 of file otbDisparityMapToDEMFilter.h.

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 71 of file otbDisparityMapToDEMFilter.h.

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 99 of file otbDisparityMapToDEMFilter.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 34 of file otbDisparityMapToDEMFilter.hxx.

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

Destructor

Definition at line 56 of file otbDisparityMapToDEMFilter.hxx.

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

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

After threaded generate data : sum up temporary DEMs

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 929 of file otbDisparityMapToDEMFilter.hxx.

References itk::ImageRegionConstIterator< TImage >::GoToBegin().

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

Before threaded generate data

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 626 of file otbDisparityMapToDEMFilter.hxx.

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
virtual

Reimplemented from itk::Object.

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

Generate output information

Reimplemented from itk::ProcessObject.

Definition at line 250 of file otbDisparityMapToDEMFilter.hxx.

References itk::Size< VDimension >::GetSize().

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

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 224 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetOutput().

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 237 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetOutput().

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 211 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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

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

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 133 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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 185 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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 159 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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).

Reimplemented from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >.

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 198 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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 172 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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 146 of file otbDisparityMapToDEMFilter.hxx.

References itk::ProcessObject::GetInput().

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.

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
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

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 123 of file otbDisparityMapToDEMFilter.hxx.

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

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

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 63 of file otbDisparityMapToDEMFilter.hxx.

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 103 of file otbDisparityMapToDEMFilter.hxx.

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 83 of file otbDisparityMapToDEMFilter.hxx.

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 113 of file otbDisparityMapToDEMFilter.hxx.

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 93 of file otbDisparityMapToDEMFilter.hxx.

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 73 of file otbDisparityMapToDEMFilter.hxx.

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
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 ( )
inlineoverrideprotectedvirtual

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

See Also
ProcessObject::VerifyInputInformation

Reimplemented from itk::ImageToImageFilter< TDisparityImage, TOutputDEMImage >.

Definition at line 179 of file otbDisparityMapToDEMFilter.h.

Member Data Documentation

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.

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.

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.

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.

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.

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.

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.

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: