imgFreiChen: Frei-Chen Edge Detection Method

Description Usage Arguments Value Examples

Description

This function enhaces image's edges by convoluting with the Frei-Chen method matrices:

H\_r H\_c
1 0 -1 || -1 -sqrt(2) -1
sqrt(2) 0 -sqrt(2) || 0 0 0
1 0 -1 || 1 sqrt(2) 1

Usage

1
imgFreiChen(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 <- imgFreiChen(x)
	
## End(Not run)

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