Description Usage Arguments Value Note See Also Examples
This function applies dilation n times and then erosion n times, with a 0-squared matrix with a given dimension.
1 | imgStdNDilationErosion(imgdata, n, dim=3)
|
imgdata |
The image |
n |
Times to apply each operation |
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.
1 2 3 4 5 | ## Not run:
x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
y <- imgStdNDilationErosion(x, 4, 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.