OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | Private Attributes | List of all members
otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage > Class Template Reference

#include <otbPixelWiseBlockMatchingImageFilter.h>

Public Types

typedef itk::ConstNeighborhoodIterator< TInputImage > ConstNeighborhoodIteratorType
 
typedef TOutputMetricImage::ValueType MetricValueType
 

Public Member Functions

 LPBlockMatching ()
 
MetricValueType operator() (ConstNeighborhoodIteratorType &a, ConstNeighborhoodIteratorType &b) const
 
void SetP (double p)
 

Private Attributes

double m_P
 

Detailed Description

template<class TInputImage, class TOutputMetricImage>
class otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >

Functor to perform block-matching based on the L^p pseudo-norm.

This functor is designed to work with the PixelWiseBlockMatchingImageFilter. It performs a distance computation between two windows based on the L^p pseudo norm (p greater than 0). The functor is templated by the type of inputs images and output metric image, and is using two neighborhood iterators as inputs.

Definition at line 195 of file otbPixelWiseBlockMatchingImageFilter.h.

Member Typedef Documentation

◆ ConstNeighborhoodIteratorType

template<class TInputImage , class TOutputMetricImage >
typedef itk::ConstNeighborhoodIterator<TInputImage> otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::ConstNeighborhoodIteratorType

Definition at line 198 of file otbPixelWiseBlockMatchingImageFilter.h.

◆ MetricValueType

template<class TInputImage , class TOutputMetricImage >
typedef TOutputMetricImage::ValueType otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::MetricValueType

Definition at line 199 of file otbPixelWiseBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

◆ LPBlockMatching()

template<class TInputImage , class TOutputMetricImage >
otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::LPBlockMatching ( )
inline

Definition at line 201 of file otbPixelWiseBlockMatchingImageFilter.h.

Member Function Documentation

◆ operator()()

template<class TInputImage , class TOutputMetricImage >
MetricValueType otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::operator() ( ConstNeighborhoodIteratorType a,
ConstNeighborhoodIteratorType b 
) const
inline

◆ SetP()

template<class TInputImage , class TOutputMetricImage >
void otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::SetP ( double  p)
inline

Member Data Documentation

◆ m_P

template<class TInputImage , class TOutputMetricImage >
double otb::Functor::LPBlockMatching< TInputImage, TOutputMetricImage >::m_P
private

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