imgHomogeneityEdgeDetection {biOps}R Documentation

Enhaces image edges

Description

This funtions enhaces image's edge by the homogeneity method. It uses a 3x3 matrix to determine the current pixel value (by getting the maximum value between the distances of the pixel and its neighbors)

Usage

imgHomogeneityEdgeDetection(imgdata, bias)

Arguments

imgdata The image
bias Value to be added to each pixel after method is applied (used to correct some expected behaviour). This argument is optional (default = 32)

Value

return an imagedata object

See Also

imgHomogeneityEdgeDetection

Examples

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

[Package biOps version 0.2.1 Index]