imgDifferenceEdgeDetection {biOps}R Documentation

Enhaces image edges

Description

This function enhaces image's edge by the difference method. It uses a 3x3 matrix to determine the current pixel value (by getting the maximum value between the distances of matrix's opposite neighbors

Usage

imgDifferenceEdgeDetection(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 <- imgDifferenceEdgeDetection(x, bias=64)
        
## End(Not run)

[Package biOps version 0.2.1 Index]