OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Static Public 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, BlockMatchingFunctorTypeBlockMatchingFilterType
 
typedef TBlockMatchingFunctor BlockMatchingFunctorType
 
typedef itk::ConstNeighborhoodIterator< TInputImage > ConstNeighborhoodIteratorType
 
typedef itk::SmartPointer< const SelfConstPointer
 
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 Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
void SetHorizontalDisparityInput (const TDisparityImage *hfield)
 
void SetLeftInput (const TInputImage *image)
 
void SetMetricInput (const TOutputMetricImage *image)
 
void SetRightInput (const TInputImage *image)
 
void SetVerticalDisparityInput (const TDisparityImage *vfield)
 

Static Public Member Functions

static Pointer New ()
 

Static Public Attributes

static const int DICHOTOMY = 2
 
static const int PARABOLIC = 0
 
static const int TRIANGULAR = 1
 
SizeType m_Radius
 
int m_MinimumHorizontalDisparity
 
int m_MaximumHorizontalDisparity
 
int m_MinimumVerticalDisparity
 
int m_MaximumVerticalDisparity
 
bool m_Minimize
 
BlockMatchingFunctorType m_Functor
 
int m_RefineMethod
 
std::vector< double > m_WrongExtrema
 
unsigned int m_Step
 
IndexType m_GridIndex
 
const TDisparityImage * GetHorizontalDisparityInput () const
 
const TDisparityImage * GetVerticalDisparityInput () const
 
void SetLeftMaskInput (const TMaskImage *image)
 
void SetRightMaskInput (const TMaskImage *image)
 
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 ()
 
void SetRadius (unsigned int radius)
 
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 SetMinimize (bool _arg)
 
virtual const bool & GetMinimize () const
 
virtual void MinimizeOn ()
 
virtual void MinimizeOff ()
 
BlockMatchingFunctorTypeGetFunctor ()
 
const BlockMatchingFunctorTypeGetFunctor () const
 
virtual void SetRefineMethod (int _arg)
 
virtual int GetRefineMethod ()
 
void SetInputsFromBlockMatchingFilter (const BlockMatchingFilterType *filter)
 
 SubPixelDisparityImageFilter ()
 
 ~SubPixelDisparityImageFilter () override
 
void VerifyInputInformation () override
 
void GenerateOutputInformation () override
 
void GenerateInputRequestedRegion () override
 
void BeforeThreadedGenerateData () override
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
void AfterThreadedGenerateData () override
 
 SubPixelDisparityImageFilter (const Self &)=delete
 
void operator= (const Self &)=delete
 
void ParabolicRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 
void TriangularRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 
void DichotomyRefinement (const RegionType &outputRegionForThread, itk::ThreadIdType threadId)
 

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 67 of file otbSubPixelDisparityImageFilter.h.

Member Typedef Documentation

◆ BlockMatchingFilterType

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 104 of file otbSubPixelDisparityImageFilter.h.

◆ BlockMatchingFunctorType

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 87 of file otbSubPixelDisparityImageFilter.h.

◆ ConstNeighborhoodIteratorType

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

◆ ConstPointer

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 74 of file otbSubPixelDisparityImageFilter.h.

◆ DisparityPixelType

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 97 of file otbSubPixelDisparityImageFilter.h.

◆ IndexType

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 90 of file otbSubPixelDisparityImageFilter.h.

◆ InputImageType

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 80 of file otbSubPixelDisparityImageFilter.h.

◆ InputMaskImageType

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

◆ MetricValueType

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

◆ OutputDisparityImageType

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

◆ OutputMetricImageType

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

◆ Pointer

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

◆ PointType

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 93 of file otbSubPixelDisparityImageFilter.h.

◆ RegionType

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

◆ ResamplerFilterType

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 101 of file otbSubPixelDisparityImageFilter.h.

◆ Self

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

◆ SizeType

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

◆ SpacingType

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 92 of file otbSubPixelDisparityImageFilter.h.

◆ Superclass

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

◆ TransformationType

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 102 of file otbSubPixelDisparityImageFilter.h.

Constructor & Destructor Documentation

◆ SubPixelDisparityImageFilter() [1/2]

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

Constructor

Definition at line 29 of file otbSubPixelDisparityImageFilter.hxx.

◆ ~SubPixelDisparityImageFilter()

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

Destructor

Definition at line 64 of file otbSubPixelDisparityImageFilter.hxx.

◆ SubPixelDisparityImageFilter() [2/2]

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

The radius of the blocks

Member Function Documentation

◆ AfterThreadedGenerateData()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::AfterThreadedGenerateData
overrideprotected

After threaded generate data

Definition at line 2050 of file otbSubPixelDisparityImageFilter.hxx.

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::BeforeThreadedGenerateData
overrideprotected

Before threaded generate data

Definition at line 495 of file otbSubPixelDisparityImageFilter.hxx.

◆ CreateAnother()

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

◆ DichotomyRefinement()

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

dichotomy refinement method

Definition at line 1392 of file otbSubPixelDisparityImageFilter.hxx.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateInputRequestedRegion
overrideprotected

Generate input requested region

Definition at line 375 of file otbSubPixelDisparityImageFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateOutputInformation
overrideprotected

Generate output information

Definition at line 337 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetFunctor() [1/2]

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

Get the functor for parameters setting

Definition at line 194 of file otbSubPixelDisparityImageFilter.h.

◆ GetFunctor() [2/2]

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 ( ) const
inline

Get the functor (const version)

Definition at line 200 of file otbSubPixelDisparityImageFilter.h.

◆ GetHorizontalDisparityInput()

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

Get the initial disparity fields

Definition at line 144 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetHorizontalDisparityOutput() [1/2]

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

The radius of the blocks

◆ GetHorizontalDisparityOutput() [2/2]

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 186 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetLeftInput()

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

Get the inputs

Definition at line 123 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetLeftMaskInput()

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

The radius of the blocks

Definition at line 165 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetMaximumHorizontalDisparity()

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

The radius of the blocks

◆ GetMaximumVerticalDisparity()

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

The radius of the blocks

◆ GetMetricOutput() [1/2]

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

The radius of the blocks

◆ GetMetricOutput() [2/2]

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 229 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetMinimize()

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

The radius of the blocks

◆ GetMinimumHorizontalDisparity()

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

The radius of the blocks

◆ GetMinimumVerticalDisparity()

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

The radius of the blocks

◆ GetNameOfClass()

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

◆ GetRadius()

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

The radius of the blocks

◆ GetRefineMethod()

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

The radius of the blocks

◆ GetRightInput()

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

The radius of the blocks

Definition at line 133 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetRightMaskInput()

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

The radius of the blocks

Definition at line 175 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetVerticalDisparityInput()

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

The radius of the blocks

Definition at line 155 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetVerticalDisparityOutput() [1/2]

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

The radius of the blocks

◆ GetVerticalDisparityOutput() [2/2]

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 208 of file otbSubPixelDisparityImageFilter.hxx.

◆ MinimizeOff()

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

The radius of the blocks

◆ MinimizeOn()

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

The radius of the blocks

◆ New()

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.

◆ operator=()

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

The radius of the blocks

◆ ParabolicRefinement()

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

parabolic refinement method

Definition at line 536 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetHorizontalDisparityInput()

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

◆ SetInputsFromBlockMatchingFilter()

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

The radius of the blocks

Definition at line 249 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().

◆ SetLeftInput()

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 69 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetLeftMaskInput()

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 99 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetMaximumHorizontalDisparity()

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

◆ SetMaximumVerticalDisparity()

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

◆ SetMetricInput()

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 115 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetMinimize()

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

The radius of the blocks

◆ SetMinimumHorizontalDisparity()

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

◆ SetMinimumVerticalDisparity()

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

◆ SetRadius() [1/2]

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

◆ SetRadius() [2/2]

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 159 of file otbSubPixelDisparityImageFilter.h.

◆ SetRefineMethod()

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)

◆ SetRightInput()

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 76 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetRightMaskInput()

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 107 of file otbSubPixelDisparityImageFilter.hxx.

◆ SetVerticalDisparityInput()

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 91 of file otbSubPixelDisparityImageFilter.hxx.

◆ ThreadedGenerateData()

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 510 of file otbSubPixelDisparityImageFilter.hxx.

◆ TriangularRefinement()

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

triangular refinement method

Definition at line 953 of file otbSubPixelDisparityImageFilter.hxx.

◆ VerifyInputInformation()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::VerifyInputInformation
overrideprotected

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

Definition at line 286 of file otbSubPixelDisparityImageFilter.hxx.

Member Data Documentation

◆ DICHOTOMY

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 108 of file otbSubPixelDisparityImageFilter.h.

◆ m_Functor

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 273 of file otbSubPixelDisparityImageFilter.h.

◆ m_GridIndex

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 285 of file otbSubPixelDisparityImageFilter.h.

◆ m_MaximumHorizontalDisparity

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 261 of file otbSubPixelDisparityImageFilter.h.

◆ m_MaximumVerticalDisparity

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 267 of file otbSubPixelDisparityImageFilter.h.

◆ m_Minimize

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 270 of file otbSubPixelDisparityImageFilter.h.

◆ m_MinimumHorizontalDisparity

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 258 of file otbSubPixelDisparityImageFilter.h.

◆ m_MinimumVerticalDisparity

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 264 of file otbSubPixelDisparityImageFilter.h.

◆ m_Radius

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 255 of file otbSubPixelDisparityImageFilter.h.

◆ m_RefineMethod

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 276 of file otbSubPixelDisparityImageFilter.h.

◆ m_Step

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 282 of file otbSubPixelDisparityImageFilter.h.

◆ m_WrongExtrema

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 279 of file otbSubPixelDisparityImageFilter.h.

◆ PARABOLIC

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 106 of file otbSubPixelDisparityImageFilter.h.

◆ TRIANGULAR

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 107 of file otbSubPixelDisparityImageFilter.h.


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