Classes | |
struct | ch_convolve |
Namespaces | |
namespace | gaussian |
namespace | impl |
Namespace of linear image processing routines implementation details. | |
namespace | internal |
namespace | local |
Specializations of local linear routines. | |
namespace | my |
Functions | |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian (const Image< I > &input, float sigma, int dir) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian (const Image< I > &input, float sigma) |
Gaussian filter of an image input . | |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_1d (const Image< I > &input, double sigma, const typename I::value &bdr) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_1st_derivative (const Image< I > &input, float sigma) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_1st_derivative (const Image< I > &input, float sigma, int dir) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_2nd_derivative (const Image< I > &input, float sigma) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_2nd_derivative (const Image< I > &input, float sigma, int dir) |
template<typename I> | |
mln::trait::concrete< I >::ret | gaussian_directional_2d (const Image< I > &input, unsigned dir, double sigma, const typename I::value &bdr) |
template<typename I, typename W> | |
mln_ch_convolve (I, W) convolve(const Image< I > &input | |
template<typename I> | |
mln_ch_convolve_grad (I, int) sobel_2d(const Image< I > &input) | |
Compute the vertical component of the 2D Sobel gradient. | |
template<typename I, typename C> | |
void | recursivefilter_directional_fastest (I &ima, const C &c, const typename I::psite &start, const typename I::psite &finish, int len, const typename I::psite::delta &d, const typename I::value &bdr) |
template<typename I, typename C> | |
void | recursivefilter_directional_generic (I &ima, const C &c, const typename I::psite &start, const typename I::psite &finish, int len, const typename I::psite::delta &d) |
template<typename I> | |
mln_ch_convolve (I, int) sobel_2d_h(const Image< I > &input) | |
Sobel_2d gradient components. | |
Variables | |
unsigned | dir |
W(& | horizontal_weights )[Sh] |
W(W(& | vertical_weights )[Sv] |
const Weighted_Window< W > & | w_win |
unsigned W(& | weights )[S] |
mln::trait::concrete< I >::ret mln::linear::gaussian | ( | const Image< I > & | input, | |
float | sigma, | |||
int | dir | |||
) | [inline] |
Apply an approximated gaussian filter of sigma
on input
. on a specific direction dir
if dir
= 0, the filter is applied on the first image dimension. if dir
= 1, the filter is applied on the second image dimension. And so on...
dir < dimension(input)
Definition at line 653 of file gaussian.hh.
References mln::exact(), and mln::initialize().
mln::trait::concrete< I >::ret mln::linear::gaussian | ( | const Image< I > & | input, | |
float | sigma | |||
) | [inline] |
Gaussian filter of an image input
.
sigma
on input
. This filter is applied in all the input image direction.
Definition at line 750 of file gaussian.hh.
References mln::exact(), and mln::initialize().
Referenced by mln::subsampling::gaussian_subsampling().
mln::trait::concrete< I >::ret mln::linear::gaussian_1d | ( | const Image< I > & | input, | |
double | sigma, | |||
const typename I::value & | bdr | |||
) | [inline] |
Definition at line 60 of file gaussian_1d.hh.
References mln::extension::adjust_fill(), mln::linear::my::recursivefilter_coef_::DericheGaussian, mln::duplicate(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::geom::ninds(), and recursivefilter_directional_fastest().
mln::trait::concrete< I >::ret mln::linear::gaussian_1st_derivative | ( | const Image< I > & | input, | |
float | sigma | |||
) | [inline] |
Apply an approximated first derivative gaussian filter of sigma
on input
This filter is applied in all the input image direction.
Definition at line 779 of file gaussian.hh.
References mln::exact(), and mln::initialize().
mln::trait::concrete< I >::ret mln::linear::gaussian_1st_derivative | ( | const Image< I > & | input, | |
float | sigma, | |||
int | dir | |||
) | [inline] |
Apply an approximated first derivative gaussian filter of sigma
on input
. on a specific direction dir
if dir
= 0, the filter is applied on the first image dimension. if dir
= 1, the filter is applied on the second image dimension. And so on...
dir < dimension(input)
Definition at line 685 of file gaussian.hh.
References mln::exact(), and mln::initialize().
mln::trait::concrete< I >::ret mln::linear::gaussian_2nd_derivative | ( | const Image< I > & | input, | |
float | sigma | |||
) | [inline] |
Apply an approximated second derivative gaussian filter of sigma
on input
This filter is applied in all the input image direction.
Definition at line 807 of file gaussian.hh.
References mln::exact(), and mln::initialize().
mln::trait::concrete< I >::ret mln::linear::gaussian_2nd_derivative | ( | const Image< I > & | input, | |
float | sigma, | |||
int | dir | |||
) | [inline] |
Apply an approximated second derivative gaussian filter of sigma
on input
. on a specific direction dir
if dir
= 0, the filter is applied on the first image dimension. if dir
= 1, the filter is applied on the second image dimension. And so on...
dir < dimension(input)
Definition at line 718 of file gaussian.hh.
References mln::exact(), and mln::initialize().
mln::trait::concrete< I >::ret mln::linear::gaussian_directional_2d | ( | const Image< I > & | input, | |
unsigned | dir, | |||
double | sigma, | |||
const typename I::value & | bdr | |||
) | [inline] |
Definition at line 465 of file gaussian_directional_2d.hh.
References mln::extension::adjust_fill(), mln::linear::my::recursivefilter_coef_::DericheGaussian, mln::duplicate(), mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln::geom::ncols(), mln::geom::nrows(), and recursivefilter_directional_fastest().
mln::linear::mln_ch_convolve | ( | I | , | |
int | ||||
) | const [inline] |
Sobel_2d gradient components.
Compute the L1 norm of the 2D Sobel gradient.
Compute the vertical component of the 2D Sobel gradient.
Compute the horizontal component of the 2D Sobel gradient.
Definition at line 70 of file lap.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln_ch_convolve(), and mln::make::w_window2d().
mln::linear::mln_ch_convolve | ( | I | , | |
W | ||||
) | const [inline] |
Convolution of an image input
by the weighted window w_win
.
output(p)
is performed with the value type of output
.The weighted window is used as-is, considering that its symmetrization is handled by the client.
input
by two weighted line-shapes windows.
input
by a line-shaped (directional) weighted window defined by the array of weights
.
output(p)
is performed with the value type of output
.The weighted window is used as-is, considering that its symmetrization is handled by the client.
Referenced by mln_ch_convolve(), and mln_ch_convolve_grad().
mln::linear::mln_ch_convolve_grad | ( | I | , | |
int | ||||
) | const [inline] |
Compute the vertical component of the 2D Sobel gradient.
Definition at line 124 of file sobel_2d.hh.
References mln::trace::entering(), mln::exact(), mln::trace::exiting(), mln_ch_convolve(), and mln::data::transform().
void mln::linear::recursivefilter_directional_fastest | ( | I & | ima, | |
const C & | c, | |||
const typename I::psite & | start, | |||
const typename I::psite & | finish, | |||
int | len, | |||
const typename I::psite::delta & | d, | |||
const typename I::value & | bdr | |||
) | [inline] |
Definition at line 339 of file gaussian_directional_2d.hh.
Referenced by gaussian_1d(), and gaussian_directional_2d().
void mln::linear::recursivefilter_directional_generic | ( | I & | ima, | |
const C & | c, | |||
const typename I::psite & | start, | |||
const typename I::psite & | finish, | |||
int | len, | |||
const typename I::psite::delta & | d | |||
) | [inline] |
Definition at line 244 of file gaussian_directional_2d.hh.
unsigned mln::linear::dir |
Definition at line 59 of file convolve_directional.hh.
Definition at line 57 of file convolve_2x1d.hh.
W( W(& mln::linear::vertical_weights)[Sv] |
Definition at line 58 of file convolve_2x1d.hh.
const Weighted_Window<W>& mln::linear::w_win |
Definition at line 58 of file linear/convolve.hh.
unsigned W(& mln::linear::weights)[S] |
Definition at line 59 of file convolve_directional.hh.