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

#include <otbPixelWiseBlockMatchingImageFilter.h>

+ Inheritance diagram for otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >:
+ Collaboration diagram for otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >:

Public Types

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 TOutputDisparityImage OutputDisparityImageType
 
typedef TOutputMetricImage OutputMetricImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef InputImageType::PointType PointType
 
typedef InputImageType::RegionType RegionType
 
typedef PixelWiseBlockMatchingImageFilter Self
 
typedef InputImageType::SizeType SizeType
 
typedef InputImageType::SpacingType SpacingType
 
typedef itk::ImageToImageFilter< TInputImage, TOutputDisparityImage > Superclass
 

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 TOutputDisparityImage *hfield)
 
void SetLeftInput (const TInputImage *image)
 
void SetLeftMaskInput (const TMaskImage *image)
 
virtual void SetMinimize (bool _arg)
 
void SetRadius (unsigned int radius)
 
void SetRightInput (const TInputImage *image)
 
void SetRightMaskInput (const TMaskImage *image)
 
void SetVerticalDisparityInput (const TOutputDisparityImage *vfield)
 
const TInputImage * GetLeftInput () const
 
const TInputImage * GetRightInput () const
 
const TMaskImage * GetLeftMaskInput () const
 
const TMaskImage * GetRightMaskInput () const
 
const TOutputMetricImage * GetMetricOutput () const
 
TOutputMetricImage * GetMetricOutput ()
 
const TOutputDisparityImage * GetHorizontalDisparityOutput () const
 
TOutputDisparityImage * GetHorizontalDisparityOutput ()
 
const TOutputDisparityImage * GetVerticalDisparityOutput () const
 
TOutputDisparityImage * 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 SetExplorationRadius (SizeType _arg)
 
virtual const SizeTypeGetExplorationRadius () const
 
virtual void SetInitHorizontalDisparity (int _arg)
 
virtual const int & GetInitHorizontalDisparity () const
 
virtual void SetInitVerticalDisparity (int _arg)
 
virtual const int & GetInitVerticalDisparity () const
 
const TOutputDisparityImage * GetHorizontalDisparityInput () const
 
const TOutputDisparityImage * GetVerticalDisparityInput () const
 
virtual void SetStep (unsigned int _arg)
 
virtual unsigned int GetStep ()
 
virtual void SetGridIndex (IndexType _arg)
 
virtual const IndexTypeGetGridIndex () const
 

Static Public Member Functions

static RegionType ConvertFullToSubsampledRegion (RegionType full, unsigned int step, IndexType index)
 
static RegionType ConvertSubsampledToFullRegion (RegionType sub, unsigned int step, IndexType index)
 
static Pointer New ()
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 PixelWiseBlockMatchingImageFilter ()
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
 ~PixelWiseBlockMatchingImageFilter () override
 

Private Member Functions

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

Private Attributes

SizeType m_ExplorationRadius
 
BlockMatchingFunctorType m_Functor
 
IndexType m_GridIndex
 
int m_InitHorizontalDisparity
 
int m_InitVerticalDisparity
 
int m_MaximumHorizontalDisparity
 
int m_MaximumVerticalDisparity
 
bool m_Minimize
 
int m_MinimumHorizontalDisparity
 
int m_MinimumVerticalDisparity
 
SizeType m_Radius
 
unsigned int m_Step
 

Detailed Description

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
class otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >

Perform 2D block matching between two images.

This filter performs pixel-wise 2D block-matching between a pair of image. This is especially useful in the case of stereo pairs in epipolar geometry, where displacements corresponding to differences of elevation occur in the horizontal direction only (in that case, the exploration along the vertical direction can be disabled). Please note that only integer pixel displacement are explored. For finer results, consider up-sampling the input images or use the SubPixelDisparityImageFilter.

The block-matching metric itself is defined by a template functor on neighborhood iterators. A wide range of block-matching criterions can be implemented this way, but the default functor performs a simple SSD (Sum of Square Distances). The radius of the blocks can be set using the SetRadius() method. The filter will try to minimize the metric value by default. Setting the minimize flag to off using the MinimizeOff() method will make the filter try to maximize the metric.

Only a user defined area of disparities between the two images is explored, which can be set by using the SetMinimumHorizontalDisparity() , SetMinimumVerticalDisparity(), SetMaximumHorizontalDisparity() and SetMaximumVerticalDisparity() methods.

This filter has three outputs: the first is the metric image, which contains the metric optimum value corresponding to the estimated displacement. The second and last outputs are the horizontal and vertical disparity maps, which can be retrieved using the GetHorizontalDisparityOutput() and GetVerticalDisparityOutput() methods. They contain the horizontal and vertical local displacement between the two input images (displacement is given in pixels, from left image to right image).

Masks are not mandatory. A mask allows indicating pixels validity in either left or right image. Left and right masks can be used independently. If masks are used, only pixels whose mask values are strictly positive will be considered for disparity matching. The other will exhibit a null metric value and a disparity corresponding to the minimum allowed disparity.

The disparity exploration can also be reduced thanks to initial disparity maps. The user can provide initial disparity estimate (using the same image type and size as the output disparities), or global disparity values. Then an exploration radius indicates the disparity range to be explored around the initial estimate (global minimum and maximum values are still in use).

See also
FineRegistrationImageFilter
StereorectificationDisplacementFieldSource
SubPixelDisparityImageFilter

Definition at line 298 of file otbPixelWiseBlockMatchingImageFilter.h.

Member Typedef Documentation

◆ BlockMatchingFunctorType

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

Definition at line 318 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ ConstNeighborhoodIteratorType

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

Definition at line 330 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ ConstPointer

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

Definition at line 305 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ DisparityPixelType

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

Definition at line 328 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ IndexType

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

Definition at line 321 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ InputImageType

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

Useful typedefs

Definition at line 311 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ InputMaskImageType

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

Definition at line 317 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ MetricValueType

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

Definition at line 326 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ OutputDisparityImageType

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

Definition at line 316 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ OutputMetricImageType

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

Definition at line 315 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ Pointer

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

Definition at line 304 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ PointType

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

Definition at line 324 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ RegionType

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

Definition at line 322 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ Self

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

Standard class typedef

Definition at line 302 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ SizeType

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

Definition at line 320 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ SpacingType

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

Definition at line 323 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ Superclass

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

Definition at line 303 of file otbPixelWiseBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

◆ PixelWiseBlockMatchingImageFilter() [1/2]

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::PixelWiseBlockMatchingImageFilter ( )
protected

Constructor

Definition at line 32 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ ~PixelWiseBlockMatchingImageFilter()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::~PixelWiseBlockMatchingImageFilter ( )
overrideprotected

Destructor

Definition at line 74 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ PixelWiseBlockMatchingImageFilter() [2/2]

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

Member Function Documentation

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::BeforeThreadedGenerateData ( void  )
overrideprotected

Before threaded generate data

Definition at line 453 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ ConvertFullToSubsampledRegion()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::RegionType otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ConvertFullToSubsampledRegion ( RegionType  full,
unsigned int  step,
IndexType  index 
)
static

Conversion function between full and subsampled grid region

Definition at line 697 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ ConvertSubsampledToFullRegion()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::RegionType otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::ConvertSubsampledToFullRegion ( RegionType  sub,
unsigned int  step,
IndexType  index 
)
static

Conversion function between subsampled and full grid region

Definition at line 734 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ CreateAnother()

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

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateInputRequestedRegion ( void  )
overrideprotected

Generate input requested region

Definition at line 307 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GenerateOutputInformation ( void  )
overrideprotected

Generate output information

Definition at line 261 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GetExplorationRadius()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const SizeType& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetExplorationRadius ( ) const
virtual

Set/Get the exploration radius in the disparity space

◆ GetFunctor() [1/2]

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

Get the functor for parameters setting

Definition at line 418 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ GetFunctor() [2/2]

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

Get the functor (const version)

Definition at line 424 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ GetGridIndex()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const IndexType& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetGridIndex ( ) const
virtual

Set/Get macro for the grid start index

◆ GetHorizontalDisparityInput()

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

Get the initial disparity fields

Definition at line 240 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GetHorizontalDisparityOutput() [1/2]

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

◆ GetHorizontalDisparityOutput() [2/2]

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TOutputDisparityImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityOutput ( )

Get the disparity output

Definition at line 191 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GetInitHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetInitHorizontalDisparity ( ) const
virtual

Set/Get the initial horizontal disparity

◆ GetInitVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetInitVerticalDisparity ( ) const
virtual

Set/Get the initial vertical disparity

◆ GetLeftInput()

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

◆ GetLeftMaskInput()

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

◆ GetMaximumHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumHorizontalDisparity ( ) const
virtual

◆ GetMaximumVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMaximumVerticalDisparity ( ) const
virtual

◆ GetMetricOutput() [1/2]

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TOutputMetricImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput ( ) const

◆ GetMetricOutput() [2/2]

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TOutputMetricImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput ( )

Get the metric output

Definition at line 168 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GetMinimize()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const bool& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimize ( ) const
virtual

◆ GetMinimumHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumHorizontalDisparity ( ) const
virtual

◆ GetMinimumVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const int& otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMinimumVerticalDisparity ( ) const
virtual

◆ GetNameOfClass()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual const char* otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetRadius()

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

◆ GetRightInput()

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

◆ GetRightMaskInput()

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

◆ GetStep()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual unsigned int otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetStep ( )
virtual

Set/Get macro for the subsampling step

◆ GetVerticalDisparityInput()

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

Get the initial disparity fields

Definition at line 251 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ GetVerticalDisparityOutput() [1/2]

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

◆ GetVerticalDisparityOutput() [2/2]

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
TOutputDisparityImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityOutput ( )

Get the disparity output

Definition at line 213 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ MinimizeOff()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::MinimizeOff ( )
virtual

◆ MinimizeOn()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::MinimizeOn ( )
virtual

◆ New()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
static Pointer otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::operator= ( const Self )
private

◆ SetExplorationRadius()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetExplorationRadius ( SizeType  _arg)
virtual

Set/Get the exploration radius in the disparity space

◆ SetGridIndex()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetGridIndex ( IndexType  _arg)
virtual

Set/Get macro for the grid start index

◆ SetHorizontalDisparityInput()

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage, class TMaskImage , class TBlockMatchingFunctor >
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetHorizontalDisparityInput ( const TOutputDisparityImage *  hfield)

Set initial horizontal disparity field (optional, override m_InitHorizontalDisparity)

Definition at line 223 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ SetInitHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetInitHorizontalDisparity ( int  _arg)
virtual

Set/Get the initial horizontal disparity

◆ SetInitVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetInitVerticalDisparity ( int  _arg)
virtual

Set/Get the initial vertical disparity

◆ SetLeftInput()

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

Set left input

Definition at line 80 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ SetLeftMaskInput()

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

Set mask input (optional)

Definition at line 96 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ SetMaximumHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMaximumHorizontalDisparity ( int  _arg)
virtual
  • Set/Get the maximum disparity to explore

◆ SetMaximumVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMaximumVerticalDisparity ( int  _arg)
virtual
  • Set/Get the maximum disparity to explore

◆ SetMinimize()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimize ( bool  _arg)
virtual

◆ SetMinimumHorizontalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimumHorizontalDisparity ( int  _arg)
virtual
  • Set/Get the minimum disparity to explore

◆ SetMinimumVerticalDisparity()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetMinimumVerticalDisparity ( int  _arg)
virtual
  • Set/Get the minimum disparity to explore

◆ SetRadius() [1/2]

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetRadius ( unsigned int  radius)
inline

Set unsigned int radius

Definition at line 368 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ SetRadius() [2/2]

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

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

◆ SetRightInput()

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

Set right input

Definition at line 88 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ SetRightMaskInput()

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

Set right mask input (optional)

Definition at line 104 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ SetStep()

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
virtual void otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::SetStep ( unsigned int  _arg)
virtual

Set/Get macro for the subsampling step

◆ SetVerticalDisparityInput()

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

Set initial vertical disparity field (optional, override m_InitVerticalDisparity)

Definition at line 231 of file otbPixelWiseBlockMatchingImageFilter.hxx.

◆ ThreadedGenerateData()

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

Threaded generate data

Definition at line 472 of file otbPixelWiseBlockMatchingImageFilter.hxx.

Member Data Documentation

◆ m_ExplorationRadius

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
SizeType otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_ExplorationRadius
private

The exploration radius for disparities (used if non null)

Definition at line 498 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_Functor

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

Block-matching functor

Definition at line 501 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_GridIndex

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

Starting index for the subsampled grid. The index is measured with respect to the input image grid Each coordinate shall lie in [0, m_Step-1]

Definition at line 517 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_InitHorizontalDisparity

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
int otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_InitHorizontalDisparity
private

Initial horizontal disparity (0 by default, used if an exploration radius is set and if no input horizontal disparity map is given)

Definition at line 505 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_InitVerticalDisparity

template<class TInputImage, class TOutputMetricImage, class TOutputDisparityImage = TOutputMetricImage, class TMaskImage = otb::Image<unsigned char>, class TBlockMatchingFunctor = Functor::SSDBlockMatching<TInputImage, TOutputMetricImage>>
int otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::m_InitVerticalDisparity
private

Initial vertical disparity (0 by default, used if an exploration radius is set and if no input vertical disparity map is given)

Definition at line 509 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_MaximumHorizontalDisparity

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

The max disparity to explore

Definition at line 486 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_MaximumVerticalDisparity

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

The max disparity to explore

Definition at line 492 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_Minimize

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

Should we minimize or maximize ?

Definition at line 495 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_MinimumHorizontalDisparity

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

The min disparity to explore

Definition at line 483 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_MinimumVerticalDisparity

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

The min disparity to explore

Definition at line 489 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_Radius

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

The radius of the blocks

Definition at line 480 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ m_Step

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

Computation step : disparities are computed on locations of a subsampled grid

Definition at line 512 of file otbPixelWiseBlockMatchingImageFilter.h.


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