color_by_density: Color Images by density

Description Usage Arguments Details Value

View source: R/color_by_density.R

Description

I think this code is adapted from a blog post by Will R Chase. This takes an image and maps new colors by density then saves the image with the new name. This uses EBImage from Bioconductor.

Usage

1
color_by_density(new_name, image_path, palette, mode = "grey")

Arguments

new_name

the new name for the file

image_path

the path to the source image

palette

the new palette to apply

mode

A character value specifying target mode for conversion using EBIImage See details

Details

Conversion Modes:

Value

nothing


delabj/delabjGenArt documentation built on Jan. 25, 2022, 3:45 a.m.