imgPrewittCompassGradient {biOps}R Documentation

Prewitt Compass Gradient Edge Detection Method

Description

This function enhaces image's edges by convoluting with the Prewitt method. Base matrix is:
1 1 -1
1 -2 -1
1 1 -1

Usage

imgPrewittCompassGradient(imgdata)

Arguments

imgdata The image

Value

return an imagedata object

Examples

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

[Package biOps version 0.2.1 Index]