edge_detection: Apply edge detection to given image

Description Usage Arguments Value

View source: R/edge_detection.R

Description

Returns the given image with greyscale edge detection applied.

Usage

1
2
3
4
5
edge_detection(
  image_path,
  return_file_name = "edge.jpeg",
  dest_folder = "transformed_imgs/"
)

Arguments

image_path

string: The local file path for an image of png, jpg, or jpeg format to which edge detection filter will be applied.

return_file_name

string: File name for the transformed image to be saved

dest_folder

string: Destiname folder name for storing transformed images

Value

array: image array with edge_detection filter applied.


UBC-MDS/Rmagine documentation built on March 29, 2020, 9:12 p.m.