Functions | |
template<typename S, typename I, typename M> | |
void | mean (const Image< I > &input, M &result) |
Compute the mean value of the pixels of image input . | |
template<typename I> | |
mln::value::props< typename I::value >::sum | mean (const Image< I > &input) |
Compute the mean value of the pixels of image input . | |
template<typename I> | |
void | min_max (const Image< I > &input, typename I::value &min, typename I::value &max) |
Compute the min and max values of the pixels of image input . | |
template<typename I, typename S> | |
void | sum (const Image< I > &input, S &result) |
Compute the sum value of the pixels of image input . | |
template<typename I> | |
mln::value::props< typename I::value >::sum | sum (const Image< I > &input) |
Compute the sum value of the pixels of image input . |
void mln::estim::mean | ( | const Image< I > & | input, | |
M & | result | |||
) | [inline] |
Compute the mean value of the pixels of image input
.
[in] | input | The image. |
[out] | result | The mean value. |
S
is the type used to compute the summation.
References mln::data::compute().
mln::value::props< typename I::value >::sum mln::estim::mean | ( | const Image< I > & | input | ) | [inline] |
Compute the mean value of the pixels of image input
.
[in] | input | The image. |
References mln::data::compute().
void mln::estim::min_max | ( | const Image< I > & | input, | |
typename I::value & | min, | |||
typename I::value & | max | |||
) | [inline] |
Compute the min and max values of the pixels of image input
.
[in] | input | The image. |
[out] | min | The minimum pixel value of input . |
[out] | max | The maximum pixel value of input . |
References mln::data::compute().
Referenced by mln::data::impl::stretch(), and mln::make::voronoi().
void mln::estim::sum | ( | const Image< I > & | input, | |
S & | result | |||
) | [inline] |
Compute the sum value of the pixels of image input
.
[in] | input | The image. |
[out] | result | The sum value. |
References mln::data::compute().
mln::value::props< typename I::value >::sum mln::estim::sum | ( | const Image< I > & | input | ) | [inline] |
Compute the sum value of the pixels of image input
.
[in] | input | The image. |
References mln::data::compute().