imgStdBinaryClosing {biOps}R Documentation

Fixed mask binary closing

Description

This function applies a Binary Closing with a 0-squared mask, with given dimension

Usage

imgStdBinaryClosing(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 imgStdBinaryDilation imgBinaryClosing

Examples

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

[Package biOps version 0.2.1 Index]