| as.MonochromeImage.GrayImage {R.image} | R Documentation |
Converts a grayscale image to a monochrome image where values above a threshold is considered to be white and the others black.
## S3 method for class 'GrayImage': as.MonochromeImage(this, threshold=2^depth(this)/2, ...)
threshold |
Pixels with grayscale value above the threshold value are interpreted as white and the others as black. Default threshold is half the possible maximal value. |
... |
Not used. |
Returns a MonochromeImage object.
Henrik Bengtsson (http://www.braju.com/R/)
For more information see GrayImage.