edger_overlay: Apply Contours to an Image

View source: R/edger_overlay.R

edger_overlayR Documentation

Apply Contours to an Image

Description

After finding contours in image(s), apply those contours to a new image.

Usage

edger_overlay(imagepath, m, rgbcolor, show_image = FALSE)

Arguments

imagepath

The file path to the image to be recolored.

m

A vector of unique identifiers to pixels that were contours in a different image.

rgbcolor

A vector of new values for each of the color channels.

show_image

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

Value

Recolors and saves image.


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