View source: R/open_image_rscript.R
image_thresholding | R Documentation |
image thresholding
image_thresholding(image, thresh)
image |
matrix or 3-dimensional array where the third dimension is equal to 3 |
thresh |
the threshold parameter should be between 0 and 1 if the data is normalized or between 0-255 otherwise |
This function applies thresholding to a matrix or to a 3-dimensional array where the third dimension is equal to 3.
a matrix
Lampros Mouselimis
path = system.file("tmp_images", "1.png", package = "OpenImageR")
image = readImage(path)
filt = image_thresholding(image, thresh = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.