Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

LowPassLpt.H File Reference


Detailed Description

low-pass filtering and smoothing functions

Definition in file LowPassLpt.H.

#include "Util/Promotions.H"

Include dependency graph for LowPassLpt.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  BorderPolicy { SEPARATE_HEMI, CROSS_HEMI, CROSS_ANGLE }

Functions

template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt (const Image< T > &src, const uint taps=5, const BorderPolicy policy=CROSS_HEMI)
 Low-pass filter using a 3 or 5 tap binomial.
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt3 (const Image< T > &src, const BorderPolicy policy=CROSS_HEMI)
 Low-pass filter, coeff * [0.25 0.5 0.25], applied separably in R.
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt3r (const Image< T > &src)
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt3w (const Image< T > &src)
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt5 (const Image< T > &src, const BorderPolicy policy=CROSS_HEMI)
 Low-pass filter an lpt image, coeff * [1 4 6 4 1]/16, applied.
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt5r (const Image< T > &src)
template<class T>
Image< typename promote_trait<
T, float >::TP > 
lowPassLpt5w (const Image< T > &src)


Function Documentation

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt const Image< T > &  src,
const uint  taps = 5,
const BorderPolicy  policy = CROSS_HEMI
 

Low-pass filter using a 3 or 5 tap binomial.

Definition at line 52 of file LowPassLpt.C.

References lowPass3x(), lowPass3y(), lowPass5x(), lowPass5y(), lowPassLpt3r(), lowPassLpt3w(), lowPassLpt5r(), and lowPassLpt5w().

Referenced by WeightsRT::compute(), and WeightsDoGRT::compute().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt3 const Image< T > &  src,
const BorderPolicy  policy = CROSS_HEMI
 

Low-pass filter, coeff * [0.25 0.5 0.25], applied separably in R.

Definition at line 76 of file LowPassLpt.C.

References lowPass3x(), lowPass3y(), lowPassLpt3r(), and lowPassLpt3w().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt3r const Image< T > &  src  ) 
 

Low-pass filter an Lpt image, coeff * [0.25 0.5 0.25], applied in R. Here we don't allow the filter to cross hemidfilds along the R direction. Use LowPass3x in LowPass.H if you want hemifields to interact.

Definition at line 89 of file LowPassLpt.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getWidth(), GVX_TRACE, h, i, NO_INIT, source, and w.

Referenced by lowPassLpt(), and lowPassLpt3().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt3w const Image< T > &  src  ) 
 

Low-pass filter an Lpt image, coeff * [0.25 0.5 0.25], applied in W. Here we allow the filter to cross to the other hemifield when filtering in the W direction so space connects at the vertical meridian. Use LowPass3y in LowPass.H if you dont want to cross the meridian.

Definition at line 138 of file LowPassLpt.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getWidth(), GVX_TRACE, h, i, NO_INIT, source, and w.

Referenced by lowPassLpt(), and lowPassLpt3().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt5 const Image< T > &  src,
const BorderPolicy  policy = CROSS_HEMI
 

Low-pass filter an lpt image, coeff * [1 4 6 4 1]/16, applied.

Definition at line 193 of file LowPassLpt.C.

References lowPass5x(), lowPass5y(), lowPassLpt5r(), and lowPassLpt5w().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt5r const Image< T > &  src  ) 
 

Low-pass filter an Lpt image, coef * [1 4 6 4 1]/16 applied in R. Here we don't allow the filter to cross hemidfilds along the R direction. Use LowPass5x in LowPass.H if you want hemifield to interact.

Definition at line 206 of file LowPassLpt.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::getHeight(), Image< T >::getWidth(), GVX_TRACE, h, i, NO_INIT, source, and w.

Referenced by lowPassLpt(), and lowPassLpt5().

template<class T>
Image<typename promote_trait<T, float>::TP> lowPassLpt5w const Image< T > &  src  ) 
 

Low-pass filter an Lpt image, coef * [1 4 6 4 1]/16 applied in W. Here we allow the filter to cross to the other hemifield when filtering in the W direction so space connects at the vertical meridian. Use LowPass5y in LowPass.H if you dont want to cross the meridian.

Definition at line 273 of file LowPassLpt.C.

References Image< T >::begin(), Image< T >::beginw(), Image< T >::end(), Image< T >::getHeight(), Image< T >::getWidth(), GVX_TRACE, h, i, NO_INIT, source, and w.

Referenced by lowPassLpt(), and lowPassLpt5().


Generated on Mon Nov 23 15:48:28 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4