OTB  7.3.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, 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
 
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 ()
 

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
 

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
 

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
 

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

Member Function Documentation

◆ AfterThreadedGenerateData()

template<class TInputImage , class TOutputMetricImage , class TDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::SubPixelDisparityImageFilter< TInputImage, TOutputMetricImage, TDisparityImage, TMaskImage, TBlockMatchingFunctor >::AfterThreadedGenerateData ( void  )
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 ( void  )
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 ( void  )
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 ( void  )
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 ( void  )
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 ( void  ) 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 ( ) const

Get the initial disparity fields

Definition at line 144 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetHorizontalDisparityOutput() [1/2]

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

◆ 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 197 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 ( ) const

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

Get the inputs

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
  • Set/Get the maximum disparity to explore

◆ 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
  • Set/Get the maximum disparity to explore

◆ GetMetricOutput() [1/2]

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

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

◆ 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
  • Set/Get the minimum disparity to explore

◆ 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
  • Set/Get the minimum disparity to explore

◆ 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

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

◆ 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

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

◆ GetRightInput()

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

Get the inputs

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

Get the initial disparity fields

Definition at line 155 of file otbSubPixelDisparityImageFilter.hxx.

◆ GetVerticalDisparityOutput() [1/2]

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

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

◆ 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

◆ 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

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

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

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

◆ SetRadius() [2/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

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