edger_recolor: Find and Recolor Pixels in an Image

View source: R/edger_recolor.R

edger_recolorR Documentation

Find and Recolor Pixels in an Image

Description

Recolor pixels contained in m. Optionally display recolored image.

Usage

edger_recolor(imdf, m, rgbcolor, show = TRUE)

Arguments

imdf

A color image as a data frame.

m

A vector containing unique identifiers of pixels to be recolored.

rgbcolor

A vector of the new values for each color channel.

show

A Boolean indicating if the new image should be shown. Default is TRUE.

Value

A new image with pixels in m recolored.


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