Namespaces | |
namespace | impl |
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. |
Definition at line 86 of file binarization.hh.
References mln::binarization::impl::binarization_(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().
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. |
Definition at line 61 of file binarization/threshold.hh.
References binarization(), mln::trace::entering(), mln::exact(), and mln::trace::exiting().