r_threshold: Threshold an image

Description Usage Arguments Value Note See Also Examples

Description

This function thresholds an image using a given filter.

Usage

1
r_threshold(imgdata, thr_value)

Arguments

imgdata

The image

thr_value

Filter value for thresholding

Value

return an imagedata object

Note

This is the R implementation of imgThreshold.

See Also

imgThreshold

Examples

1
2
3
4
5
	## Not run: 
		x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
		y <- r_threshold(x, 80)
	
## End(Not run)

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.