sobel: Sobel Filter for Edge Detection

View source: R/sobel.R

sobelR Documentation

Sobel Filter for Edge Detection

Description

Detect edges in an Image object

Usage

sobel(x)

Arguments

x

An Image object or array

Details

The following matrix and its transpose are sequentially applied in filter2 to identify edges in the image as described in this Wikipedia page.

     [,1] [,2] [,3]
[1,]    1    0   -1
[2,]    2    0   -2
[3,]    1    0   -1

Value

An image object of the same size with edges highlighted.


ornelles/EBImageExtra documentation built on Aug. 10, 2022, 11:44 p.m.