OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::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 Self
ConstPointer
 
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 Types inherited from itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef TInputImage InputImageType
 
typedef
Superclass::OutputImagePixelType 
OutputImagePixelType
 
typedef
Superclass::OutputImageRegionType 
OutputImageRegionType
 
typedef SmartPointer< SelfPointer
 
typedef ImageToImageFilter Self
 
typedef ImageSource
< TOutputDisparityImage > 
Superclass
 
- Public Types inherited from itk::ImageSource< TOutputImage >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef
Superclass::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef ImageSource Self
 
typedef ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
BlockMatchingFunctorTypeGetFunctor ()
 
const BlockMatchingFunctorTypeGetFunctor () const
 
virtual const bool & GetMinimize () const
 
virtual const char * GetNameOfClass () const
 
virtual void MinimizeOff ()
 
virtual void MinimizeOn ()
 
void SetHorizontalDisparityInput (const 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
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >
virtual double GetCoordinateTolerance () const
 
virtual double GetDirectionTolerance () const
 
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
virtual void PopBackInput () override
 
virtual void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *image)
 
virtual void PushFrontInput (const InputImageType *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual void SetDirectionTolerance (double _arg)
 
virtual void SetInput (const InputImageType *image)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftNthOutput (unsigned int idx, DataObject *output)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void GraftOutput (DataObject *output)
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
virtual
ProcessObject::DataObjectPointer 
MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static RegionType ConvertFullToSubsampledRegion (RegionType full, unsigned int step, IndexType index)
 
static RegionType ConvertSubsampledToFullRegion (RegionType sub, unsigned int step, IndexType index)
 
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void BeforeThreadedGenerateData () override
 
void GenerateInputRequestedRegion () override
 
void GenerateOutputInformation () override
 
 PixelWiseBlockMatchingImageFilter ()
 
void ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
 ~PixelWiseBlockMatchingImageFilter () override
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
 ImageToImageFilter ()
 
virtual void PrintSelf (std::ostream &os, Indent indent) const override
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
virtual void VerifyInputInformation () override
 
 ~ImageToImageFilter ()
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void GenerateData () override
 
virtual const
ImageRegionSplitterBase
GetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 
virtual ~ImageSource ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void 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
 

Additional Inherited Members

- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >
static const unsigned int InputImageDimension
 
static const unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static const unsigned int OutputImageDimension
 
- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputDisparityImage >
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(OutputImageDimension),
itkGetStaticConstMacro(InputImageDimension) > 
InputToOutputRegionCopierType
 
typedef
ImageToImageFilterDetail::ImageRegionCopier
< itkGetStaticConstMacro(InputImageDimension),
itkGetStaticConstMacro(OutputImageDimension) > 
OutputToInputRegionCopierType
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_TYPE ThreaderCallback (void *arg)
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TInputImage, class TOutputMetricImage, class 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 300 of file otbPixelWiseBlockMatchingImageFilter.h.

Member Typedef Documentation

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 322 of file otbPixelWiseBlockMatchingImageFilter.h.

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 334 of file otbPixelWiseBlockMatchingImageFilter.h.

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 309 of file otbPixelWiseBlockMatchingImageFilter.h.

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 332 of file otbPixelWiseBlockMatchingImageFilter.h.

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 325 of file otbPixelWiseBlockMatchingImageFilter.h.

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 315 of file otbPixelWiseBlockMatchingImageFilter.h.

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 321 of file otbPixelWiseBlockMatchingImageFilter.h.

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 330 of file otbPixelWiseBlockMatchingImageFilter.h.

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 320 of file otbPixelWiseBlockMatchingImageFilter.h.

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 319 of file otbPixelWiseBlockMatchingImageFilter.h.

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 308 of file otbPixelWiseBlockMatchingImageFilter.h.

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 328 of file otbPixelWiseBlockMatchingImageFilter.h.

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 326 of file otbPixelWiseBlockMatchingImageFilter.h.

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 305 of file otbPixelWiseBlockMatchingImageFilter.h.

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 324 of file otbPixelWiseBlockMatchingImageFilter.h.

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 327 of file otbPixelWiseBlockMatchingImageFilter.h.

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 307 of file otbPixelWiseBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

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

Constructor

Definition at line 34 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

Destructor

Definition at line 78 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

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

Before threaded generate data

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 518 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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 775 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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 811 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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
virtual

Reimplemented from itk::Object.

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

Generate output information

Reimplemented from itk::ProcessObject.

Definition at line 322 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

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 422 of file otbPixelWiseBlockMatchingImageFilter.h.

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 428 of file otbPixelWiseBlockMatchingImageFilter.h.

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

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 294 of file otbPixelWiseBlockMatchingImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TOutputDisparityImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetHorizontalDisparityOutput ( ) const
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 230 of file otbPixelWiseBlockMatchingImageFilter.hxx.

References itk::ProcessObject::GetOutput().

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

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

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TInputImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftInput ( ) const
template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TMaskImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetLeftMaskInput ( ) const
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
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
template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TOutputMetricImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetMetricOutput ( ) const
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 201 of file otbPixelWiseBlockMatchingImageFilter.hxx.

References itk::ProcessObject::GetOutput().

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

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

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
template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TInputImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightInput ( ) const
template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TMaskImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetRightMaskInput ( ) const
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

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 308 of file otbPixelWiseBlockMatchingImageFilter.hxx.

References itk::ProcessObject::GetInput().

template<class TInputImage , class TOutputMetricImage , class TOutputDisparityImage , class TMaskImage , class TBlockMatchingFunctor >
const TOutputDisparityImage * otb::PixelWiseBlockMatchingImageFilter< TInputImage, TOutputMetricImage, TOutputDisparityImage, TMaskImage, TBlockMatchingFunctor >::GetVerticalDisparityOutput ( ) const
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 258 of file otbPixelWiseBlockMatchingImageFilter.hxx.

References itk::ProcessObject::GetOutput().

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

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

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

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 272 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

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

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 87 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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 109 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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
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
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
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
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
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 372 of file otbPixelWiseBlockMatchingImageFilter.h.

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

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 98 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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 120 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

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 283 of file otbPixelWiseBlockMatchingImageFilter.hxx.

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

Member Data Documentation

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 502 of file otbPixelWiseBlockMatchingImageFilter.h.

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 505 of file otbPixelWiseBlockMatchingImageFilter.h.

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 521 of file otbPixelWiseBlockMatchingImageFilter.h.

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 509 of file otbPixelWiseBlockMatchingImageFilter.h.

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 513 of file otbPixelWiseBlockMatchingImageFilter.h.

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 490 of file otbPixelWiseBlockMatchingImageFilter.h.

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 496 of file otbPixelWiseBlockMatchingImageFilter.h.

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 499 of file otbPixelWiseBlockMatchingImageFilter.h.

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 487 of file otbPixelWiseBlockMatchingImageFilter.h.

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 493 of file otbPixelWiseBlockMatchingImageFilter.h.

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 484 of file otbPixelWiseBlockMatchingImageFilter.h.

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 516 of file otbPixelWiseBlockMatchingImageFilter.h.


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