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