#include "Image/LowPassLpt.H"
#include "Image/Convolutions.H"
#include "Image/LowPass.H"
#include "Image/Image.H"
#include "Image/Kernels.H"
#include "Image/Pixels.H"
#include "rutz/trace.h"
#include "inst/Image/LowPassLpt.I"
Go to the source code of this file.
Functions | |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt (const Image< T_or_RGB > &src, const uint taps, BorderPolicy policy) |
Low-pass filter using a 3 or 5 tap binomial. | |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt3 (const Image< T_or_RGB > &src, BorderPolicy policy) |
Low-pass filter, coeff * [0.25 0.5 0.25], applied separably in R. | |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt3r (const Image< T_or_RGB > &src) |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt3w (const Image< T_or_RGB > &src) |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt5 (const Image< T_or_RGB > &src, BorderPolicy policy) |
Low-pass filter an lpt image, coeff * [1 4 6 4 1]/16, applied. | |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt5r (const Image< T_or_RGB > &src) |
template<class T_or_RGB > | |
Image< typename promote_trait < T_or_RGB, float >::TP > | lowPassLpt5w (const Image< T_or_RGB > &src) |
template Image< promote_trait < double, float >::TP > | lowPassLpt (const Image< double > &src, const uint taps, BorderPolicy policy) |
template Image< promote_trait < double, float >::TP > | lowPassLpt3 (const Image< double > &src, BorderPolicy policy) |
template Image< promote_trait < double, float >::TP > | lowPassLpt3r (const Image< double > &src) |
template Image< promote_trait < double, float >::TP > | lowPassLpt3w (const Image< double > &src) |
template Image< promote_trait < double, float >::TP > | lowPassLpt5 (const Image< double > &src, BorderPolicy policy) |
template Image< promote_trait < double, float >::TP > | lowPassLpt5r (const Image< double > &src) |
template Image< promote_trait < double, float >::TP > | lowPassLpt5w (const Image< double > &src) |
low-pass filtering and smoothing functions
Definition in file LowPassLpt.C.
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt | ( | const Image< T_or_RGB > & | src, | |
const uint | taps, | |||
BorderPolicy | policy | |||
) | [inline] |
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().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt3 | ( | const Image< T_or_RGB > & | src, | |
BorderPolicy | policy | |||
) | [inline] |
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().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt3r | ( | const Image< T_or_RGB > & | src | ) | [inline] |
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(), and NO_INIT.
Referenced by lowPassLpt(), and lowPassLpt3().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt3w | ( | const Image< T_or_RGB > & | src | ) | [inline] |
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(), and NO_INIT.
Referenced by lowPassLpt(), and lowPassLpt3().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt5 | ( | const Image< T_or_RGB > & | src, | |
BorderPolicy | policy | |||
) | [inline] |
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().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt5r | ( | const Image< T_or_RGB > & | src | ) | [inline] |
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(), and NO_INIT.
Referenced by lowPassLpt(), and lowPassLpt5().
Image<typename promote_trait<T_or_RGB, float>::TP> lowPassLpt5w | ( | const Image< T_or_RGB > & | src | ) | [inline] |
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(), and NO_INIT.
Referenced by lowPassLpt(), and lowPassLpt5().