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::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight > Class Template Reference

#include <otbStereoSensorModelToElevationMapFilter.h>

+ Inheritance diagram for otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >:
+ Collaboration diagram for otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::NormalizedCorrelationImageToImageMetric
< TInputImage, TInputImage > 
CorrelationMetricType
 
typedef GenericRSTransform
< double, 3, 3 > 
GenericRSTransform3DType
 
typedef GenericRSTransform GenericRSTransformType
 
typedef OutputImageType::PixelType HeightType
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef InterpolatorType::Pointer InterpolatorPointerType
 
typedef
itk::InterpolateImageFunction
< TInputImage, double > 
InterpolatorType
 
typedef TOutputHeight OutputImageType
 
typedef OutputImageType::PointType OutputPointType
 
typedef OutputImageType::RegionType OutputRegionType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::SizeType RadiusType
 
typedef
StereoSensorModelToElevationFilter 
Self
 
typedef
itk::ImageToImageFilter
< TInputImage, TOutputHeight > 
Superclass
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputHeight >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< TOutputHeight > 
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
 
TOutputHeight * GetCorrelationOutput ()
 
virtual double GetCorrelationThreshold ()
 
const TInputImage * GetMasterInput () const
 
virtual const char * GetNameOfClass () const
 
const TInputImage * GetSlaveInput () const
 
virtual bool GetSubtractInitialElevation ()
 
virtual double GetVarianceThreshold ()
 
virtual void SetCorrelationThreshold (double _arg)
 
virtual void SetElevationStep (double _arg)
 
virtual void SetHigherElevation (double _arg)
 
virtual void SetLowerElevation (double _arg)
 
void SetMasterInput (const TInputImage *image)
 
void SetSlaveInput (const TInputImage *image)
 
virtual void SetSubtractInitialElevation (bool _arg)
 
virtual void SetVarianceThreshold (double _arg)
 
virtual void SubtractInitialElevationOff ()
 
virtual void SubtractInitialElevationOn ()
 
void SetRadius (unsigned int radius)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputHeight >
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 TInputImage *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 BeforeThreadedGenerateData () override
 
void GenerateInputRequestedRegion (void) override
 
 StereoSensorModelToElevationFilter ()
 
void ThreadedGenerateData (const OutputRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void VerifyInputInformation () override
 
 ~StereoSensorModelToElevationFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputHeight >
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 AfterThreadedGenerateData ()
 
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 ~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 GenerateOutputInformation ()
 
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

double Correlation (const std::vector< double > &master, const std::vector< double > &slave) const
 
void operator= (const Self &)=delete
 
 StereoSensorModelToElevationFilter (const Self &)=delete
 

Private Attributes

double m_CorrelationThreshold
 
double m_ElevationStep
 
double m_HigherElevation
 
InterpolatorPointerType m_Interpolator
 
double m_LowerElevation
 
GenericRSTransform3DType::Pointer m_MasterToSlave
 
RadiusType m_Radius
 
bool m_SubtractInitialElevation
 
double m_VarianceThreshold
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputHeight >
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< TInputImage, TOutputHeight >
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 TInputImage, class TOutputHeight>
class otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >

Using sensor models to perform correlation along epipolars.

This filter uses a pair of stereo images along-track to build an elevation map.

Images are not resampled to epipolar geometry. Instead, for each patch of the master image, corresponding patches are interpolated in the slave image according to a range of candidate elevations. Colocalisation is achieved through the GenericRSTransform for each pixel of the patch, which means the interpolated path follows the warping between the two images (it is not necesseraly aligned with slave image boundary). The elevation achieving the higher correlation is kept in the final elevation map.

Setting-up the elevation exploration range is simple : the LowerElevation and HigherElevation parameters allows setting the exploration range offsets with respect to the local elevation, and the ElevationStep parameter allows setting the step between candidate elevation. The local elevation can either be constant over the whole scene, or interpolated in a Digital Elevation Model. The latter allows accounting for highly varying elevation in large scene, and allows reducing the elevation exploration range. Please note that one can also use a geoid file along with the DEM.

Correlation parameters are as follows :

Definition at line 83 of file otbStereoSensorModelToElevationMapFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputHeight >
typedef itk::SmartPointer<const Self> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::ConstPointer

Definition at line 92 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef itk::NormalizedCorrelationImageToImageMetric<TInputImage, TInputImage> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::CorrelationMetricType

Definition at line 113 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef GenericRSTransform<double, 3, 3> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GenericRSTransform3DType

Definition at line 111 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef GenericRSTransform otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GenericRSTransformType

Definition at line 110 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef OutputImageType::PixelType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::HeightType

Definition at line 105 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef TInputImage otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::InputImageType

Convenient typedefs

Definition at line 98 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef InputImageType::PixelType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::InputPixelType

Definition at line 102 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef InterpolatorType::Pointer otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::InterpolatorPointerType

Definition at line 109 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef itk::InterpolateImageFunction<TInputImage, double> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::InterpolatorType

Definition at line 108 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef TOutputHeight otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::OutputImageType

Definition at line 103 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef OutputImageType::PointType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::OutputPointType

Definition at line 106 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef OutputImageType::RegionType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::OutputRegionType

Definition at line 104 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef itk::SmartPointer<Self> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::Pointer

Definition at line 91 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef InputImageType::SizeType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::RadiusType

Definition at line 114 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef StereoSensorModelToElevationFilter otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::Self

Standard class typedefs

Definition at line 89 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
typedef itk::ImageToImageFilter<TInputImage, TOutputHeight> otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::Superclass

Definition at line 90 of file otbStereoSensorModelToElevationMapFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputHeight >
otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::StereoSensorModelToElevationFilter ( )
protected
template<class TInputImage , class TOutputHeight >
otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::~StereoSensorModelToElevationFilter ( )
overrideprotected

Destructor

Definition at line 61 of file otbStereoSensorModelToElevationMapFilter.hxx.

template<class TInputImage , class TOutputHeight >
otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::StereoSensorModelToElevationFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::BeforeThreadedGenerateData ( void  )
overrideprotectedvirtual

Things to do before the threaded generate-data

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 270 of file otbStereoSensorModelToElevationMapFilter.hxx.

References otb::DEMHandler::Instance().

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::Correlation ( const std::vector< double > &  master,
const std::vector< double > &  slave 
) const
inlineprivate
template<class TInputImage , class TOutputHeight >
virtual::itk::LightObject::Pointer otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GenerateInputRequestedRegion ( void  )
overrideprotectedvirtual
template<class TInputImage , class TOutputHeight >
TOutputHeight * otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetCorrelationOutput ( )

Get the output correlation map

Definition at line 107 of file otbStereoSensorModelToElevationMapFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputHeight >
virtual double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetCorrelationThreshold ( )
virtual

Get the threshold of the correlation to keep estimated height. Default is 0.7.

template<class TInputImage , class TOutputHeight >
const TInputImage * otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetMasterInput ( ) const

Get the master input image

Definition at line 83 of file otbStereoSensorModelToElevationMapFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputHeight >
virtual const char* otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputHeight >.

template<class TInputImage , class TOutputHeight >
const TInputImage * otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetSlaveInput ( ) const

Get the slave input image

Definition at line 95 of file otbStereoSensorModelToElevationMapFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputHeight >
virtual bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetSubtractInitialElevation ( )
virtual

Get the SubtractInitialElevation flag. If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

template<class TInputImage , class TOutputHeight >
virtual double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::GetVarianceThreshold ( )
virtual

Set the threshold on the variance of the master patch to start elevation estimation. Default is 4.

template<class TInputImage , class TOutputHeight >
static Pointer otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::operator= ( const Self )
privatedelete
template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetCorrelationThreshold ( double  _arg)
virtual

Set the threshold of the correlation to keep estimated height. Default is 0.7.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetElevationStep ( double  _arg)
virtual

Set the step of the elevation exploration. Default is 1 meters.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetHigherElevation ( double  _arg)
virtual

Set the lower offset for the local elevation exploration. Default is 20 meters.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetLowerElevation ( double  _arg)
virtual

Set the lower offset for the local elevation exploration. Default is -20 meters.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetMasterInput ( const TInputImage *  image)

Set the master input image

Definition at line 67 of file otbStereoSensorModelToElevationMapFilter.hxx.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetRadius ( unsigned int  radius)
inline

Set the radius of the patches. Default is 3.

Definition at line 183 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetSlaveInput ( const TInputImage *  image)

Set the slave input iamge

Definition at line 75 of file otbStereoSensorModelToElevationMapFilter.hxx.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetSubtractInitialElevation ( bool  _arg)
virtual

Set the SubtractInitialElevation flag. If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SetVarianceThreshold ( double  _arg)
virtual

Set the threshold on the variance of the master patch to start elevation estimation. Default is 4.

template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SubtractInitialElevationOff ( )
virtual
template<class TInputImage , class TOutputHeight >
virtual void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::SubtractInitialElevationOn ( )
virtual

Toggle the SubtractInitialElevation flag. If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::ThreadedGenerateData ( const OutputRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotectedvirtual
template<class TInputImage , class TOutputHeight >
void otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::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< TInputImage, TOutputHeight >.

Definition at line 212 of file otbStereoSensorModelToElevationMapFilter.h.

Member Data Documentation

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_CorrelationThreshold
private

Threshold of the correlation to keep estimated height.

Definition at line 238 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_ElevationStep
private

Step of the elevation exploration.

Definition at line 235 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_HigherElevation
private

Higher offset for the local elevation exploration.

Definition at line 232 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
InterpolatorPointerType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_Interpolator
private

Interpolator for slave image

Definition at line 223 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_LowerElevation
private

Lower offset for the local elevation exploration.

Definition at line 229 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
GenericRSTransform3DType::Pointer otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_MasterToSlave
private

Master to slave transform

Definition at line 250 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
RadiusType otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_Radius
private

Radius of the patches

Definition at line 226 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
bool otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_SubtractInitialElevation
private

If set to true, the elevation map will only contains the difference between the estimated elevation and the initial one. If set to false, elevation is absolute. Default is false.

Definition at line 247 of file otbStereoSensorModelToElevationMapFilter.h.

template<class TInputImage , class TOutputHeight >
double otb::StereoSensorModelToElevationFilter< TInputImage, TOutputHeight >::m_VarianceThreshold
private

Threshold on the variance of the master patch to start elevation estimation.

Definition at line 242 of file otbStereoSensorModelToElevationMapFilter.h.


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