binarize - create a binary image from an input image
output = binarize(input, minval)
- input image
- value below which image pixels will be set to zero (defaul is zero). Above it, pixels will be set to one.
- binarized image. The pixel values are either zero or one.
Pixels in the input image are set to zero if their values in the input image were below minval, and to one if their values were above mival.
Author / Maintainer
Pawel A. Penczek
- category 1
- category 2
- works for most people, has been tested; test cases/examples available.
None. It is perfect.