$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::estim Namespace Reference

Functions

template<typename I >
mln::value::props< typename
I::value >::sum 
mean (const Image< I > &input)
template<typename S , typename I , typename M >
void mean (const Image< I > &input, M &result)
template<typename I >
void min_max (const Image< I > &input, typename I::value &min, typename I::value &max)
template<typename I >
mln::value::props< typename
I::value >::sum 
sum (const Image< I > &input)
template<typename I , typename S >
void sum (const Image< I > &input, S &result)

Detailed Description

Namespace of estimation materials.

Function Documentation

template<typename I >
mln::value::props< typename I ::value >::sum mln::estim::mean ( const Image< I > &  input)

Compute the mean value of the pixels of image input.

Parameters
[in]inputThe image.
Returns
The mean value.
template<typename S , typename I , typename M >
void mln::estim::mean ( const Image< I > &  input,
M &  result 
)

Compute the mean value of the pixels of image input.

Parameters
[in]inputThe image.
[out]resultThe mean value.

The free parameter S is the type used to compute the summation.

template<typename I >
void mln::estim::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.

Parameters
[in]inputThe image.
[out]minThe minimum pixel value of input.
[out]maxThe maximum pixel value of input.
template<typename I >
mln::value::props< typename I ::value >::sum mln::estim::sum ( const Image< I > &  input)

Compute the sum value of the pixels of image input.

Parameters
[in]inputThe image.
Returns
The sum value.
template<typename I , typename S >
void mln::estim::sum ( const Image< I > &  input,
S &  result 
)

Compute the sum value of the pixels of image input.

Parameters
[in]inputThe image.
[out]resultThe sum value.