#include "Util/Promotions.H"
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 |
low-pass filtering and smoothing functions
Definition in file LowPass.H.
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
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.
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().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass3x | ( | const Image< T_or_RGB > & | src | ) | [inline] |
Low-pass filter, coeff * [0.25 0.5 0.25], applied in X.
Referenced by SimulationViewerEyeHand::getTraj(), SimulationViewerHand::getTraj(), SimulationViewerEyeRegion::getTraj(), SimulationViewerEyeMvt::getTraj(), lowPassLpt(), and lowPassLpt3().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPass3y | ( | const Image< T_or_RGB > & | src | ) | [inline] |
Low-pass filter, coeff * [0.25 0.5 0.25], applied in Y.
Referenced by SimulationViewerEyeHand::getTraj(), SimulationViewerHand::getTraj(), SimulationViewerEyeRegion::getTraj(), SimulationViewerEyeMvt::getTraj(), lowPassLpt(), and lowPassLpt3().
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] |
Low-pass filter, Anderson's 5x5 separable.
Referenced by CINNICstatsRun::preProcess(), segmentImage::segment(), segmentImageMC2::SIsegment(), segmentImageMC::SIsegment(), and segmentImage2::SIsegment().
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().
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.
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().
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.
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().
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.
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.
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().
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().
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;.
Apply a 3-pt median filter in the x direction.