imgSobel {biOps}R Documentation

Sobel Edge Detection Method

Description

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

Usage

imgSobel(imgdata)

Arguments

imgdata The image

Value

return an imagedata object

Examples

        x <- readJpeg(system.file("samples", "violet.jpg", package="biOps"))
        y <- imgSobel(x)

[Package biOps version 0.2.1 Index]