threshold_outside - replace values outside given thresholds by respective threshold values
output = threshold_outside(input, minval, maxval)
- input image
- value below which image pixels will be set to this value.
- value above which image pixels will be set to this value.
- thresholded image.
Pixels in the input image are set to minval if their values in the input image were below minval and to maxval if their values were above maxval.
Author / Maintainer
Pawel A. Penczek
- category 1
- category 2
- works for most people, has been tested; test cases/examples available.
None. It is perfect.