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.

References mln::data::compute().

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.

References mln::data::compute().

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.

References mln::data::compute().

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.

References mln::data::compute().

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.

References mln::data::compute().


Generated on Thu Sep 9 19:32:07 2010 for Milena (Olena) by  doxygen 1.5.6