imgStdBinaryErosion {biOps}R Documentation

Fixed mask binary erosion

Description

This function makes an erosion of a binary image with a 0-squared mask, with given dimension.

Usage

imgStdBinaryErosion(imgdata, dim)

Arguments

imgdata The image
dim mask's dimension (default = 3)

Value

return an imagedata object

Note

This function accepts binary images only and will treat gray scale ones as binary images.

See Also

imgStdBinaryErosion

Examples

        ## Not run: 
                x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
                y <- imgStdBinaryErosion(x, 4)
        
## End(Not run)

[Package biOps version 0.2.1 Index]