imgStdBinaryErosion {biOps} | R Documentation |
This function makes an erosion of a binary image with a 0-squared mask, with given dimension.
imgStdBinaryErosion(imgdata, dim)
imgdata |
The image |
dim |
mask's dimension (default = 3) |
return an imagedata object
This function accepts binary images only and will treat gray scale ones as binary images.
## Not run: x <- readJpeg(system.file("samples", "violet.jpg", package="biOps")) y <- imgStdBinaryErosion(x, 4) ## End(Not run)