LowPass.H File Reference

#include "Util/Promotions.H"
Include dependency graph for LowPass.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass3 (const Image< T_or_RGB > &src, const bool go_x=true, const bool go_y=true)
 Low-pass filter, coeff * [0.25 0.5 0.25], applied separably in X and Y.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass3x (const Image< T_or_RGB > &src)
 Low-pass filter, coeff * [0.25 0.5 0.25], applied in X.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass3y (const Image< T_or_RGB > &src)
 Low-pass filter, coeff * [0.25 0.5 0.25], applied in Y.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass5 (const Image< T_or_RGB > &src, const bool go_x=true, const bool go_y=true)
 Low-pass filter, Anderson's 5x5 separable.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass5x (const Image< T_or_RGB > &src)
 Low-pass filter, Anderson's 5x5 separable, applied in X.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass5y (const Image< T_or_RGB > &src)
 Low-pass filter, Anderson's 5x5 separable, applied in Y.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass5xDecX (const Image< T_or_RGB > &src, const int factor=2)
 Low-pass filter, Anderson's 5x5 separable, applied in X, and X decimated by factor.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass5yDecY (const Image< T_or_RGB > &src, const int factor=2)
 Low-pass filter, Anderson's 5x5 separable, applied in Y, and Y decimated by factor.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass9 (const Image< T_or_RGB > &src, const bool go_x=true, const bool go_y=true)
 Low-pass filter, 9x9 separable.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass9x (const Image< T_or_RGB > &src)
 Low-pass filter, 9x9 separable, applied in X.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass9y (const Image< T_or_RGB > &src)
 Low-pass filter, 9x9 separable, applied in Y.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPass (const int N, const Image< T_or_RGB > &src, const bool go_x=true, const bool go_y=true)
 Low-pass filter, NxN separable.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPassX (const int N, const Image< T_or_RGB > &src)
 Low-pass filter, NxN separable, applied in X.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
lowPassY (const int N, const Image< T_or_RGB > &src)
 Low-pass filter, NxN separable, applied in Y.
template<class T_or_RGB >
Image< T_or_RGB > median3x (const Image< T_or_RGB > &in)
 Apply a 3-pt median filter in the x direction.
template<class T_or_RGB >
Image< T_or_RGB > median3y (const Image< T_or_RGB > &in)
 Apply a 3-pt median filter in the y direction.
template<class T_or_RGB >
Image< T_or_RGB > median3 (const Image< T_or_RGB > &in, bool go_x=true, bool go_y=true)
 Apply a 3-pt median filter in the x and/or y directions;.
template<class T_or_RGB >
Image< typename promote_trait
< T_or_RGB, float >::TP > 
convGauss (const Image< T_or_RGB > &src, const float sigmaX, const float sigmaY, const float threshperc)
 convolve with a separable 2D gaussian

Detailed Description

low-pass filtering and smoothing functions

Definition in file LowPass.H.


Function Documentation

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> convGauss ( const Image< T_or_RGB > &  src,
const float  sigmaX,
const float  sigmaY,
const float  threshperc 
) [inline]

convolve with a separable 2D gaussian

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass ( const int  N,
const Image< T_or_RGB > &  src,
const bool  go_x = true,
const bool  go_y = true 
) [inline]

Low-pass filter, NxN separable.

Just forwards to lowPass3/lowPass5/lowPass9, but allows the filter width to be selected at runtime.

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass3 ( const Image< T_or_RGB > &  src,
const bool  go_x = true,
const bool  go_y = true 
) [inline]

Low-pass filter, coeff * [0.25 0.5 0.25], applied separably in X and Y.

Referenced by SimulationViewerCompress::getTraj(), infoMeasure(), and reduce().

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass3x ( const Image< T_or_RGB > &  src  )  [inline]
template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass3y ( const Image< T_or_RGB > &  src  )  [inline]
template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass5 ( const Image< T_or_RGB > &  src,
const bool  go_x = true,
const bool  go_y = true 
) [inline]
template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass5x ( const Image< T_or_RGB > &  src  )  [inline]

Low-pass filter, Anderson's 5x5 separable, applied in X.

Referenced by TemplateMatchPyrBuilder::build(), lowPassLpt(), and lowPassLpt5().

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass5xDecX ( const Image< T_or_RGB > &  src,
const int  factor = 2 
) [inline]

Low-pass filter, Anderson's 5x5 separable, applied in X, and X decimated by factor.

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass5y ( const Image< T_or_RGB > &  src  )  [inline]

Low-pass filter, Anderson's 5x5 separable, applied in Y.

Referenced by TemplateMatchPyrBuilder::build(), lowPassLpt(), and lowPassLpt5().

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass5yDecY ( const Image< T_or_RGB > &  src,
const int  factor = 2 
) [inline]

Low-pass filter, Anderson's 5x5 separable, applied in Y, and Y decimated by factor.

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass9 ( const Image< T_or_RGB > &  src,
const bool  go_x = true,
const bool  go_y = true 
) [inline]

Low-pass filter, 9x9 separable.

Referenced by energyNorm(), VisualBufferStd::findMostInterestingTargetLocMax(), and warp3Dmap().

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass9x ( const Image< T_or_RGB > &  src  )  [inline]

Low-pass filter, 9x9 separable, applied in X.

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass9y ( const Image< T_or_RGB > &  src  )  [inline]

Low-pass filter, 9x9 separable, applied in Y.

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassX ( const int  N,
const Image< T_or_RGB > &  src 
) [inline]

Low-pass filter, NxN separable, applied in X.

Just forwards to lowPass3x/lowPass5x/lowPass9x, but allows the filter width to be selected at runtime.

Referenced by downSize(), and downSizeClean().

template<class T_or_RGB >
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassY ( const int  N,
const Image< T_or_RGB > &  src 
) [inline]

Low-pass filter, NxN separable, applied in Y.

Just forwards to lowPass3y/lowPass5y/lowPass9y, but allows the filter width to be selected at runtime.

Referenced by downSize(), and downSizeClean().

template<class T_or_RGB >
Image<T_or_RGB> median3 ( const Image< T_or_RGB > &  in,
bool  go_x = true,
bool  go_y = true 
) [inline]

Apply a 3-pt median filter in the x and/or y directions;.

template<class T_or_RGB >
Image<T_or_RGB> median3x ( const Image< T_or_RGB > &  in  )  [inline]

Apply a 3-pt median filter in the x direction.

template<class T_or_RGB >
Image<T_or_RGB> median3y ( const Image< T_or_RGB > &  in  )  [inline]

Apply a 3-pt median filter in the y direction.

Generated on Sun May 8 08:12:48 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3