edge_prewitt: Prewitt edge detection

View source: R/pictplot.R

edge_prewittR Documentation

Prewitt edge detection

Description

Prewitt edge detection

Usage

edge_prewitt(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

edge = edge_prewitt(im_gray(regatta))
plot(edge$magnitude)
plot(1 - edge$magnitude, rescale = TRUE)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.