$extrastylesheet
Functions | |
| template<typename I , typename F > | |
| mln::trait::ch_value< I, bool > ::ret | binarization (const Image< I > &input, const Function_v2b< F > &fun) |
| template<typename I > | |
| mln::trait::ch_value< I, bool > ::ret | threshold (const Image< I > &input, const typename I::value threshold) |
Namespace of "point-wise" expression tools.
|
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. |
for_all(p), output(p) = fun(p)