edge_sobel: Sobel edge detection

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Sobel edge detection

Usage

1
edge_sobel(im, pad.method = "mirror")

Arguments

im

an image

pad.method

either "zero", "mean", "repeat", "mirror", or a numeric value

Value

a list containing images

Examples

1
2
3
edge = edge_sobel(im_gray(regatta))
plot(edge$magnitude)
plot(1 - edge$magnitude, rescale = TRUE)

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.