imgRoberts {biOps}R Documentation

Roberts Edge Detection Method

Description

This function enhaces image's edges by convoluting with the Roberts method matrices:
H_r H_c
0 0 -1 || -1 0 0
0 1 0 || 0 1 0
0 0 0 || 0 0 0

Usage

imgRoberts(imgdata)

Arguments

imgdata The image

Value

return an imagedata object

Examples

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

[Package biOps version 0.2.1 Index]