mln::estim Namespace Reference

Namespace of estimation materials. More...


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.


Detailed Description

Namespace of estimation materials.

Function Documentation

template<typename S, typename I, typename M>
void mln::estim::mean ( const Image< I > &  input,
M &  result 
) [inline]

Compute the mean value of the pixels of image input.

Parameters:
[in] input The image.
[out] result The mean value.
The free parameter S is the type used to compute the summation.

Definition at line 76 of file estim/mean.hh.

References mln::data::compute(), and mln::exact().

template<typename I>
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.

Parameters:
[in] input The image.
Returns:
The mean value.

Definition at line 68 of file estim/mean.hh.

References mln::data::compute(), and mln::exact().

template<typename I>
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.

Parameters:
[in] input The image.
[out] min The minimum pixel value of input.
[out] max The maximum pixel value of input.

Definition at line 61 of file estim/min_max.hh.

References mln::data::compute(), and mln::exact().

Referenced by mln::data::impl::stretch(), and mln::make::voronoi().

template<typename I, typename S>
void mln::estim::sum ( const Image< I > &  input,
S &  result 
) [inline]

Compute the sum value of the pixels of image input.

Parameters:
[in] input The image.
[out] result The sum value.

Definition at line 75 of file estim/sum.hh.

References mln::data::compute(), and mln::exact().

template<typename I>
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.

Parameters:
[in] input The image.
Returns:
The sum value.

Definition at line 67 of file estim/sum.hh.

References mln::data::compute(), and mln::exact().


Generated on Sun Apr 25 01:57:58 2010 for Milena (Olena) by  doxygen 1.5.6