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

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

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

Member Typedef Documentation

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

Definition at line 189 of file otbPixelWiseBlockMatchingImageFilter.h.

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

Definition at line 190 of file otbPixelWiseBlockMatchingImageFilter.h.

Constructor & Destructor Documentation

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

Definition at line 192 of file otbPixelWiseBlockMatchingImageFilter.h.

Member Function Documentation

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

Member Data Documentation

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:

Generated at Sat Mar 8 2014 19:08:32 for Orfeo Toolbox with doxygen 1.8.3.1