Description Usage Arguments Value See Also
View source: R/figure_transformByColors.R
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.
1 | figure_transformByColors(aFigure, colorsToSplit = 2)
|
aFigure |
The original (RBG/color) figure image (an |
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. |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.