imgThreshold {biOps} | R Documentation |
This function thresholds an image using a given filter.
imgThreshold(imgdata, thr_value)
imgdata |
The image |
thr_value |
Filter value for thresholding |
return an imagedata object
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- imgThreshold(x, 80)