imgRoberts: Roberts Edge Detection Method

Description Usage Arguments Value Examples

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

1
imgRoberts(imgdata)

Arguments

imgdata

The image

Value

return an imagedata object

Examples

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

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