figure_transformByColors: Transforms RBG figure into list of binary images.

Description Usage Arguments Value See Also

View source: R/figure_transformByColors.R

Description

Generates a list of binary images relative to the number of colors in an RBG figure. Useful to do when there are multiple objects in a figure presented with different colors.

Usage

1
figure_transformByColors(aFigure, colorsToSplit = 2)

Arguments

aFigure

The original (RBG/color) figure image (an EBImage object).

colorsToSplit

An integer designating the number of colors in the figure. The number indicates the number of color intensities to divide into separate binary figures.

Value

A colorsToSplit + 1 list of EBImage black and white objects. The final item in this list will be an inverse binary of the original figure.

See Also

figure_transformToBinary


metagear documentation built on May 29, 2017, 2:49 p.m.

Search within the metagear package
Search all R packages, documentation and source code