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. |
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.
[in] | input | The input image. |
[in] | fun | The thresholding function, from value(I) to bool. |
Referenced by threshold().
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.
[in] | input | The input image. |
[in] | threshold | The threshold. |
References binarization().