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::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage > Class Template Reference

#include <otbStereorectificationDisplacementFieldSource.h>

+ Inheritance diagram for otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >:
+ Collaboration diagram for otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef InputImageType::Pointer InputImagePointerType
 
typedef TInputImage InputImageType
 
typedef OutputImageType::Pointer OutputImagePointerType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef OutputImageType::PointType PointType
 
typedef OutputImageType::RegionType RegionType
 
typedef RSTransformType::Pointer RSTransformPointerType
 
typedef
otb::GenericRSTransform
< double, 3, 3 > 
RSTransformType
 
typedef
StereorectificationDisplacementFieldSource 
Self
 
typedef OutputImageType::SizeType SizeType
 
typedef
OutputImageType::SpacingType 
SpacingType
 
typedef itk::ImageSource
< TOutputImage > 
Superclass
 
typedef
RSTransformType::InputPointType 
TDPointType
 
- 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
 
const OutputImageTypeGetLeftDisplacementFieldOutput () const
 
OutputImageTypeGetLeftDisplacementFieldOutput ()
 
virtual const double & GetMeanBaselineRatio () const
 
virtual const char * GetNameOfClass () const
 
virtual const SizeTypeGetRectifiedImageSize () const
 
const OutputImageTypeGetRightDisplacementFieldOutput () const
 
OutputImageTypeGetRightDisplacementFieldOutput ()
 
virtual bool GetUseDEM ()
 
virtual void SetUseDEM (bool _arg)
 
virtual void UseDEMOff ()
 
virtual void UseDEMOn ()
 
virtual void SetScale (double _arg)
 
virtual const double & GetScale () const
 
virtual void SetGridStep (double _arg)
 
virtual double GetGridStep ()
 
virtual void SetLeftImage (InputImageType *_arg)
 
 itkGetObjectMacro (LeftImage, InputImageType)
 
virtual void SetRightImage (InputImageType *_arg)
 
 itkGetObjectMacro (RightImage, InputImageType)
 
- 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 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 EnlargeOutputRequestedRegion (itk::DataObject *) override
 
void GenerateData () override
 
void GenerateOutputInformation () override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 StereorectificationDisplacementFieldSource (void)
 
 ~StereorectificationDisplacementFieldSource (void) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
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 GenerateInputRequestedRegion ()
 
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
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
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 VerifyInputInformation ()
 
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

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

Private Attributes

double m_ElevationOffset
 
double m_GridStep
 
InputImagePointerType m_LeftImage
 
RSTransformPointerType m_LeftToRightTransform
 
double m_MeanBaselineRatio
 
TDPointType m_OutputOriginInLeftImage
 
SizeType m_RectifiedImageSize
 
InputImagePointerType m_RightImage
 
RSTransformPointerType m_RightToLeftTransform
 
double m_Scale
 
bool m_UseDEM
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- 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 TOutputImage>
class otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >

Compute the deformation fields for stereo-rectification.

The geometry of acqusition related to stereo pairs is such that the displacement related to the elevation between the two images of the pair always occurs along lines that are called epipolar lines.

In the case of conic acqusition, these lines are perfectly parallel by definition, while in push-broom geometry, these lines might not be exactly parallel due to perturbations during acquisition, especially when considering a large field of view.

The purpose of stereo-rectification is to warp both images of the pairs so that the displacement related to the elevation only occurs in the horizontal direction (i.e. epipolar lines are horizontal). This operation is useful for mainly two reasons: it allows searching for disparities in one direction only, and it allows deriving anaglyph for 3D viewing with 3D glasses.

This filter allows you to compute the deformation fields up to the sensor model precision needed to warp a pair of stereo images into epipolar geometry. Warping can be done using the otb::StreamingWarpImageFilter.

Since lines might not be perfectly regular, the algorithm performed by this filter uses the otb::GenericRSTransform capabilities to compute the local epipolar lines, and iteratively build a resampling grid by propagating along these locally estimated lines.

Epipolar images will have a null origin and a size as given by the GetRectifiedImageSize() method. The deformation fields and size are derived to produce epipolar images covering the whole extent of the left image.

The SetAverageElevation() method allows you to set the elevation hypothesis on which the epipolar geometry is built. It means that any pair of pixels in the stereo pair whose elevation is exactly equal to the average elevation will have a null disparity (no displacement). The SetElevationOffset() method allows tuning the elevation offset which is only used for local epipolar lines estimation. The default value of 50 meters should do.

Additionnaly, the SetScale() method allows deriving deformation fields and images size at a coarser (scale > 1) or finer (scale < 1) resolution. The SetGridStep() allows tuning the step of the resampling grid. Please keep in mind that the whole grid is loaded into memory, and that the epipolar lines direction may only vary smoothly. When working with large images, a coarse grid-step will generally be accurate enough and will preserve the memory resources.

See Also
StreamingWarpImageFilter
StereoSensorModelToElevationMapFilter

Definition at line 90 of file otbStereorectificationDisplacementFieldSource.h.

Member Typedef Documentation

template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::ConstPointer
template<class TInputImage , class TOutputImage >
typedef InputImageType::Pointer otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::InputImagePointerType
template<class TInputImage , class TOutputImage >
typedef TInputImage otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::InputImageType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::Pointer otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImagePointerType
template<class TInputImage , class TOutputImage >
typedef TOutputImage otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImageType
template<class TInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::Pointer
template<class TInputImage , class TOutputImage >
typedef OutputImageType::PointType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::PointType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::RegionType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::RegionType
template<class TInputImage , class TOutputImage >
typedef RSTransformType::Pointer otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::RSTransformPointerType
template<class TInputImage , class TOutputImage >
typedef otb::GenericRSTransform<double,3,3> otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::RSTransformType
template<class TInputImage , class TOutputImage >
typedef StereorectificationDisplacementFieldSource otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::Self

Standard class typedefs

Definition at line 95 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
typedef OutputImageType::SizeType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SizeType
template<class TInputImage , class TOutputImage >
typedef OutputImageType::SpacingType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SpacingType
template<class TInputImage , class TOutputImage >
typedef itk::ImageSource<TOutputImage> otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::Superclass
template<class TInputImage , class TOutputImage >
typedef RSTransformType::InputPointType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::TDPointType

Constructor & Destructor Documentation

template<class TInputImage , class TOutputImage >
otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::StereorectificationDisplacementFieldSource ( void  )
protected

Constructor

Definition at line 38 of file otbStereorectificationDisplacementFieldSource.hxx.

template<class TInputImage , class TOutputImage >
otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::~StereorectificationDisplacementFieldSource ( void  )
inlineoverrideprotected

Destructor

Definition at line 173 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::StereorectificationDisplacementFieldSource ( const Self )
private

Member Function Documentation

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

Reimplemented from itk::Object.

template<class TInputImage , class TOutputImage >
void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::EnlargeOutputRequestedRegion ( itk::DataObject output)
overrideprotectedvirtual

Enlarge output requested region (no streaming)

Reimplemented from itk::ProcessObject.

Definition at line 292 of file otbStereorectificationDisplacementFieldSource.hxx.

template<class TInputImage , class TOutputImage >
void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GenerateData ( void  )
overrideprotectedvirtual
template<class TInputImage , class TOutputImage >
void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GenerateOutputInformation ( void  )
overrideprotectedvirtual

Generate output images information

Reimplemented from itk::ProcessObject.

Definition at line 118 of file otbStereorectificationDisplacementFieldSource.hxx.

References otb::CONST_PI, and otb::DEMHandler::Instance().

template<class TInputImage , class TOutputImage >
virtual double otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetGridStep ( )
virtual

Get/Set the grid scale

template<class TInputImage , class TOutputImage >
const StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImageType * otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetLeftDisplacementFieldOutput ( ) const

Return the left deformation field (const version)

Definition at line 67 of file otbStereorectificationDisplacementFieldSource.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputImage >
StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImageType * otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetLeftDisplacementFieldOutput ( )

Return the left deformation field

Definition at line 80 of file otbStereorectificationDisplacementFieldSource.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputImage >
virtual const double& otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetMeanBaselineRatio ( ) const
virtual

Get the estimated mean baseline ratio

template<class TInputImage , class TOutputImage >
virtual const char* otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::ImageSource< TOutputImage >.

template<class TInputImage , class TOutputImage >
virtual const SizeType& otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetRectifiedImageSize ( ) const
virtual

Get the size of the rectified image

template<class TInputImage , class TOutputImage >
const StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImageType * otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetRightDisplacementFieldOutput ( ) const

Return the left deformation field (const version)

Definition at line 93 of file otbStereorectificationDisplacementFieldSource.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputImage >
StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::OutputImageType * otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetRightDisplacementFieldOutput ( )

Return the left deformation field

Definition at line 106 of file otbStereorectificationDisplacementFieldSource.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputImage >
virtual const double& otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetScale ( ) const
virtual

Get/Set the scale

template<class TInputImage , class TOutputImage >
virtual bool otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GetUseDEM ( )
virtual
template<class TInputImage , class TOutputImage >
otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::itkGetObjectMacro ( LeftImage  ,
InputImageType   
)

Get/Set left image for stereo-rectification

template<class TInputImage , class TOutputImage >
otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::itkGetObjectMacro ( RightImage  ,
InputImageType   
)

Get/Set right image for stereo-rectification

template<class TInputImage , class TOutputImage >
static Pointer otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputImage >
void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::operator= ( const Self )
privatedelete
template<class TInputImage , class TOutputImage >
void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

PrintSelf method

Reimplemented from itk::ProcessObject.

Definition at line 535 of file otbStereorectificationDisplacementFieldSource.hxx.

template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SetGridStep ( double  _arg)
virtual

Get/Set the grid scale

template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SetLeftImage ( InputImageType _arg)
virtual

Get/Set left image for stereo-rectification

template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SetRightImage ( InputImageType _arg)
virtual

Get/Set right image for stereo-rectification

template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SetScale ( double  _arg)
virtual

Get/Set the scale

template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::SetUseDEM ( bool  _arg)
virtual
template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::UseDEMOff ( )
virtual
template<class TInputImage , class TOutputImage >
virtual void otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::UseDEMOn ( )
virtual

Member Data Documentation

template<class TInputImage , class TOutputImage >
double otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_ElevationOffset
private

This elevation offset is used to compute the epipolar direction

Definition at line 194 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
double otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_GridStep
private

Controls the step of the resampling grid (in pixels). A finer step will lead to more memory consumption.

Definition at line 203 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
InputImagePointerType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_LeftImage
private

Left image

Definition at line 206 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
RSTransformPointerType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_LeftToRightTransform
private

Left to right transform

Definition at line 212 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
double otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_MeanBaselineRatio
private

This variable contains the estimated mean baseline ratio over the image

Definition at line 225 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
TDPointType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_OutputOriginInLeftImage
private

Output origin in left image (internal use)

Definition at line 221 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
SizeType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_RectifiedImageSize
private

Size of the rectified images

Definition at line 218 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
InputImagePointerType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_RightImage
private

Right image

Definition at line 209 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
RSTransformPointerType otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_RightToLeftTransform
private

Right to left transform

Definition at line 215 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
double otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_Scale
private

A scale greater than 1 will lead to zoomed stereo-rectified pairs

Definition at line 198 of file otbStereorectificationDisplacementFieldSource.h.

template<class TInputImage , class TOutputImage >
bool otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::m_UseDEM
private

If set to true, elevation is retrieved through DEMHandler::GetHeightAboveEllipsoid(). If false, elevation is retrieved from DEMHandler::GetDefaultHeightAboveEllipsoid()

Definition at line 230 of file otbStereorectificationDisplacementFieldSource.h.


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