OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor > Class Template Reference

#include <otbSubPixelDisparityImageFilter.h>

+ Inheritance diagram for otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >:
+ Collaboration diagram for otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >:

Public Types

typedef
otb::PixelWiseBlockMatchingImageFilter
< InputImageType,
OutputMetricImageType,
OutputDisparityImageType,
InputMaskImageType,
BlockMatchingFunctorType
BlockMatchingFilterType
 
typedef TBlockMatchingFunctor BlockMatchingFunctorType
 
typedef
itk::ConstNeighborhoodIterator
< TInputImage > 
ConstNeighborhoodIteratorType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
OutputDisparityImageType::PixelType 
DisparityPixelType
 
typedef InputImageType::IndexType IndexType
 
typedef TInputImage InputImageType
 
typedef TMaskImage InputMaskImageType
 
typedef
TOutputMetricImage::ValueType 
MetricValueType
 
typedef TDisparityImage OutputDisparityImageType
 
typedef TOutputMetricImage OutputMetricImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::PointType PointType
 
typedef InputImageType::RegionType RegionType
 
typedef
itk::ResampleImageFilter
< TInputImage, TInputImage,
double > 
ResamplerFilterType
 
typedef
SubPixelDisparityImageFilter 
Self
 
typedef InputImageType::SizeType SizeType
 
typedef InputImageType::SpacingType SpacingType
 
typedef
itk::ImageToImageFilter
< TInputImage, TDisparityImage > 
Superclass
 
typedef
itk::TranslationTransform
< double, 2 > 
TransformationType
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TDisparityImage >
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
< TDisparityImage > 
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
 
BlockMatchingFunctorTypeGetFunctor ()
 
const BlockMatchingFunctorTypeGetFunctor () const
 
virtual const bool & GetMinimize () const
 
virtual const char * GetNameOfClass () const
 
virtual void MinimizeOff ()
 
virtual void MinimizeOn ()
 
void SetHorizontalDisparityInput (const TDisparityImage *hfield)
 
void SetInputsFromBlockMatchingFilter (const BlockMatchingFilterType *filter)
 
void SetLeftInput (const TInputImage *image)
 
void SetLeftMaskInput (const TMaskImage *image)
 
void SetMetricInput (const TOutputMetricImage *image)
 
virtual void SetMinimize (bool _arg)
 
void SetRadius (unsigned int radius)
 
void SetRightInput (const TInputImage *image)
 
void SetRightMaskInput (const TMaskImage *image)
 
void SetVerticalDisparityInput (const TDisparityImage *vfield)
 
const TDisparityImage * GetHorizontalDisparityInput () const
 
const TDisparityImage * GetVerticalDisparityInput () const
 
const TInputImage * GetLeftInput () const
 
const TInputImage * GetRightInput () const
 
const TMaskImage * GetLeftMaskInput () const
 
const TMaskImage * GetRightMaskInput () const
 
const TOutputMetricImage * GetMetricOutput () const
 
TOutputMetricImage * GetMetricOutput ()
 
const TDisparityImage * GetHorizontalDisparityOutput () const
 
TDisparityImage * GetHorizontalDisparityOutput ()
 
const TDisparityImage * GetVerticalDisparityOutput () const
 
TDisparityImage * GetVerticalDisparityOutput ()
 
virtual void SetRadius (SizeType _arg)
 
virtual const SizeTypeGetRadius () const
 
virtual void SetMinimumHorizontalDisparity (int _arg)
 
virtual const int & GetMinimumHorizontalDisparity () const
 
virtual void SetMaximumHorizontalDisparity (int _arg)
 
virtual const int & GetMaximumHorizontalDisparity () const
 
virtual void SetMinimumVerticalDisparity (int _arg)
 
virtual const int & GetMinimumVerticalDisparity () const
 
virtual void SetMaximumVerticalDisparity (int _arg)
 
virtual const int & GetMaximumVerticalDisparity () const
 
virtual void SetRefineMethod (int _arg)
 
virtual int GetRefineMethod ()
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TDisparityImage >
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 ()
 

Static Public Attributes

static const int DICHOTOMY = 2
 
static const int PARABOLIC = 0
 
static const int TRIANGULAR = 1
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TDisparityImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 

Protected Member Functions

void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 SubPixelDisparityImageFilter ()
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void VerifyInputInformation () override
 
 ~SubPixelDisparityImageFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TDisparityImage >
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

void DichotomyRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 
void operator= (const Self &)=delete
 
void ParabolicRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 
 SubPixelDisparityImageFilter (const Self &)=delete
 
void TriangularRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 

Private Attributes

BlockMatchingFunctorType m_Functor
 
IndexType m_GridIndex
 
int m_MaximumHorizontalDisparity
 
int m_MaximumVerticalDisparity
 
bool m_Minimize
 
int m_MinimumHorizontalDisparity
 
int m_MinimumVerticalDisparity
 
SizeType m_Radius
 
int m_RefineMethod
 
unsigned int m_Step
 
std::vector< double > m_WrongExtrema
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TDisparityImage >
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 TOutputMetricImage, class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
class otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >

Perform sub-pixel disparity estimation from input integer disparities and the image pair that was used.

This filter is intended to be placed after a PixelWiseBlockMatchingImageFilter. Its role is to produce an estimate of the disparities (both horizontal and vertical) with sub-pixel precision. The integer input disparities are used as starting points for the disparity refinement. The refinement is done within a 3x3 neighborhood around this position (it is neighborhood in the 2D disparity space). If no input disparity is given, the shift between input images is assumed to be null along both directions.

Left and right masks can be used to skip the sub-pixel disparity refinement for couples of pixels carrying a non-positive mask value.

The exploration limits for horizontal and vertical disparities can be set like in PixelWiseBlockMatchingFilter. If the 3x3 neighborhood around the initial estimate is not inside the exploration area, refinement is skipped for the current pixel.

Before trying to refine the integer disparity, the filter checks that the initial position is an extrema for the metric used. Depending on the 3x3 neighborhood, the refinement can be done along the horizontal axis only, along the vertical axis only, and also in 2D. Three refinement methods are proposed : parabolic, triangular and dichotomy. The parabolic method tries to fit a parabola to the metric scores on the 3x3 neighborhood. The triangular method tries to fit local scores to a circular cone. The dichotomy method tries to find the local extrema by a dichotomic search (non-integer disparity positions are tested after a resampling of the right image).

See Also
PixelWiseBlockMatchingImageFilter
FineRegistrationImageFilter
StereorectificationDisplacementFieldSource

Definition at line 68 of file otbSubPixelDisparityImageFilter.h.

Member Typedef Documentation

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef otb::PixelWiseBlockMatchingImageFilter< InputImageType, OutputMetricImageType, OutputDisparityImageType, InputMaskImageType, BlockMatchingFunctorType> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::BlockMatchingFilterType

Definition at line 111 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TBlockMatchingFunctor otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::BlockMatchingFunctorType

Definition at line 90 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::ConstNeighborhoodIterator<TInputImage> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ConstNeighborhoodIteratorType

Definition at line 102 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::SmartPointer<const Self> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ConstPointer

Definition at line 77 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef OutputDisparityImageType::PixelType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DisparityPixelType

Definition at line 100 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef InputImageType::IndexType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::IndexType

Definition at line 93 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TInputImage otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::InputImageType

Useful typedefs

Definition at line 83 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TMaskImage otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::InputMaskImageType

Definition at line 89 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TOutputMetricImage::ValueType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::MetricValueType

Definition at line 98 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TDisparityImage otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::OutputDisparityImageType

Definition at line 88 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef TOutputMetricImage otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::OutputMetricImageType

Definition at line 87 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::SmartPointer<Self> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::Pointer

Definition at line 76 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef InputImageType::PointType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::PointType

Definition at line 96 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef InputImageType::RegionType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::RegionType

Definition at line 94 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::ResampleImageFilter<TInputImage, TInputImage, double> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ResamplerFilterType

Definition at line 104 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef SubPixelDisparityImageFilter otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::Self

Standard class typedef

Definition at line 73 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef InputImageType::SizeType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SizeType

Definition at line 92 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef InputImageType::SpacingType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SpacingType

Definition at line 95 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::ImageToImageFilter<TInputImage, TDisparityImage> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::Superclass

Definition at line 75 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
typedef itk::TranslationTransform<double,2> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TransformationType

Definition at line 105 of file otbSubPixelDisparityImageFilter.h.

Constructor & Destructor Documentation

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SubPixelDisparityImageFilter ( )
protected

Constructor

Definition at line 32 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::~SubPixelDisparityImageFilter ( )
overrideprotected

Destructor

Definition at line 70 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SubPixelDisparityImageFilter ( const Self )
privatedelete

Member Function Documentation

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::AfterThreadedGenerateData ( void  )
overrideprotectedvirtual

After threaded generate data

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 2188 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::BeforeThreadedGenerateData ( void  )
overrideprotectedvirtual

Before threaded generate data

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 583 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual::itk::LightObject::Pointer otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DichotomyRefinement ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
private
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateInputRequestedRegion ( void  )
overrideprotectedvirtual
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateOutputInformation ( void  )
overrideprotectedvirtual

Generate output information

Reimplemented from itk::ProcessObject.

Definition at line 417 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
BlockMatchingFunctorType& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetFunctor ( void  )
inline

Get the functor for parameters setting

Definition at line 201 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
const BlockMatchingFunctorType& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetFunctor ( void  ) const
inline

Get the functor (const version)

Definition at line 207 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityInput ( ) const

Get the initial disparity fields

Definition at line 183 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityOutput ( ) const

Get the disparity output

Definition at line 239 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityOutput ( )

Get the disparity output

Definition at line 253 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TInputImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftInput ( ) const

Get the inputs

Definition at line 155 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TMaskImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftMaskInput ( ) const

Get the inputs

Definition at line 211 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const int& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumHorizontalDisparity ( ) const
virtual
  • Set/Get the maximum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const int& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumVerticalDisparity ( ) const
virtual
  • Set/Get the maximum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TOutputMetricImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput ( ) const

Get the metric output

Definition at line 295 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TOutputMetricImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput ( )

Get the metric output

Definition at line 309 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const bool& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimize ( ) const
virtual
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const int& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumHorizontalDisparity ( ) const
virtual
  • Set/Get the minimum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const int& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumVerticalDisparity ( ) const
virtual
  • Set/Get the minimum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const char* otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

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

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual const SizeType& otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRadius ( ) const
virtual

Set/Get the radius of the area on which metric is evaluated

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRefineMethod ( )
virtual

Set/Get the refinement method (PARABOLIC, TRIANGULAR or DICHOTOMY)

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TInputImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightInput ( ) const

Get the inputs

Definition at line 169 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TMaskImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightMaskInput ( ) const

Get the inputs

Definition at line 225 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityInput ( ) const

Get the initial disparity fields

Definition at line 197 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityOutput ( ) const

Get the disparity output

Definition at line 267 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TDisparityImage * otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityOutput ( )

Get the disparity output

Definition at line 281 of file otbSubPixelDisparityImageFilter.hxx.

References itk::ProcessObject::GetOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::MinimizeOff ( )
virtual
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::MinimizeOn ( )
virtual
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
static Pointer otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::New ( )
static

Method for creation through the object factory.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::operator= ( const Self )
privatedelete
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ParabolicRefinement ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
private
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetHorizontalDisparityInput ( const TDisparityImage *  hfield)

Set initial horizontal disparity field

Definition at line 100 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetInputsFromBlockMatchingFilter ( const BlockMatchingFilterType filter)

Definition at line 323 of file otbSubPixelDisparityImageFilter.hxx.

References otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityOutput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftInput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftMaskInput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumHorizontalDisparity(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumVerticalDisparity(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimize(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumHorizontalDisparity(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumVerticalDisparity(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRadius(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightInput(), otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightMaskInput(), and otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityOutput().

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetLeftInput ( const TInputImage *  image)

Set left input

Definition at line 78 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetLeftMaskInput ( const TMaskImage *  image)

Set mask input (optional)

Definition at line 122 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMaximumHorizontalDisparity ( int  _arg)
virtual
  • Set/Get the maximum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMaximumVerticalDisparity ( int  _arg)
virtual
  • Set/Get the maximum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMetricInput ( const TOutputMetricImage *  image)

Set the input metric image

Definition at line 144 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimize ( bool  _arg)
virtual
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimumHorizontalDisparity ( int  _arg)
virtual
  • Set/Get the minimum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimumVerticalDisparity ( int  _arg)
virtual
  • Set/Get the minimum disparity to explore
template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRadius ( unsigned int  radius)
inline

Set unsigned int radius

Definition at line 166 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRadius ( SizeType  _arg)
virtual

Set/Get the radius of the area on which metric is evaluated

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
virtual void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRefineMethod ( int  _arg)
virtual

Set/Get the refinement method (PARABOLIC, TRIANGULAR or DICHOTOMY)

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRightInput ( const TInputImage *  image)

Set right input

Definition at line 89 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRightMaskInput ( const TMaskImage *  image)

Set right mask input (optional)

Definition at line 133 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetVerticalDisparityInput ( const TDisparityImage *  vfield)

Set initial vertical disparity field

Definition at line 111 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::ThreadedGenerateData ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Threaded generate data

Definition at line 604 of file otbSubPixelDisparityImageFilter.hxx.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TriangularRefinement ( const RegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
private
template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::VerifyInputInformation ( )
overrideprotectedvirtual

Verify that the input images are compatible.

This method needs to be re-implemented from ImageToImageFilter since the initial images and disparity maps may not have the same size

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

Definition at line 364 of file otbSubPixelDisparityImageFilter.hxx.

Member Data Documentation

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
const int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::DICHOTOMY = 2
static

Definition at line 115 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
BlockMatchingFunctorType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_Functor
private

Block-matching functor

Definition at line 280 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
IndexType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_GridIndex
private

Stores the computed grid start index of the disparity map (internal purpose only)

Definition at line 292 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_MaximumHorizontalDisparity
private

The max disparity to explore

Definition at line 268 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_MaximumVerticalDisparity
private

The max disparity to explore

Definition at line 274 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
bool otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_Minimize
private

Should we minimize or maximize ?

Definition at line 277 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_MinimumHorizontalDisparity
private

The min disparity to explore

Definition at line 265 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_MinimumVerticalDisparity
private

The min disparity to explore

Definition at line 271 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
SizeType otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_Radius
private

The radius of the blocks

Definition at line 262 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_RefineMethod
private

Refinement method (PARABOLIC, TRIANGULAR or DICHOTOMY)

Definition at line 283 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
unsigned int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_Step
private

Stores the computed grid step of the disparity map (internal purpose only)

Definition at line 289 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
std::vector<double> otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_WrongExtrema
private

Stores the number of pixels whose refined position has a worse metric than the initial position

Definition at line 286 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
const int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::PARABOLIC = 0
static

Definition at line 113 of file otbSubPixelDisparityImageFilter.h.

template<class TInputImage , class TOutputMetricImage , class TDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage,TOutputMetricImage>>
const int otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::TRIANGULAR = 1
static

Definition at line 114 of file otbSubPixelDisparityImageFilter.h.


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