edger_im_to_grad: Convert an Image Into a Gradient Image

View source: R/edger_im_to_grad.R

edger_im_to_gradR Documentation

Convert an Image Into a Gradient Image

Description

Convert an image into a data frame of image gradients using Canny edge detection. Optionally display the gradient data frame as an image.

Usage

edger_im_to_grad(cimage, show = FALSE)

Arguments

cimage

An image to be converted.

show

A Boolean indicating if the gradient image should be displayed. Default is FALSE.

Value

A data frame of image gradients with a column containing a unique identifier for each pixel in the image.


kaitlynstrickfaden/edger documentation built on Nov. 22, 2022, 5:55 a.m.