mln::binarization Namespace Reference

Namespace of "point-wise" expression tools. More...


Functions

template<typename I , typename F >
mln::trait::ch_value< I, bool >
::ret 
binarization (const Image< I > &input, const Function_v2b< F > &fun)
 Thresholds the values of input so that they can be stored in the output binary image.
template<typename I >
mln::trait::ch_value< I, bool >
::ret 
threshold (const Image< I > &input, const typename I::value threshold)
 Thresholds the values of input so that they can be stored in the output binary image.


Detailed Description

Namespace of "point-wise" expression tools.


Function Documentation

template<typename I , typename F >
mln::trait::ch_value< I, bool >::ret mln::binarization::binarization ( const Image< I > &  input,
const Function_v2b< F > &  fun 
) [inline]

Thresholds the values of input so that they can be stored in the output binary image.

Parameters:
[in] input The input image.
[in] fun The thresholding function, from value(I) to bool.
for_all(p), output(p) = fun(p)

Referenced by threshold().

template<typename I >
mln::trait::ch_value< I, bool >::ret mln::binarization::threshold ( const Image< I > &  input,
const typename I::value  threshold 
) [inline]

Thresholds the values of input so that they can be stored in the output binary image.

Parameters:
[in] input The input image.
[in] threshold The threshold.
If input(p) is greater or equal than the threshold, the value in the output image in the same point will be TRUE, else FALSE.

References binarization().


Generated on Tue Jul 14 16:32:49 2009 for Milena (Olena) by  doxygen 1.5.9