imgSobel: Sobel Edge Detection Method

Description Usage Arguments Value Examples

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

1
imgSobel(imgdata)

Arguments

imgdata

The image

Value

return an imagedata object

Examples

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

matiasb/biOps documentation built on May 21, 2019, 12:55 p.m.