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.
figure_transformByColors(aFigure, colorsToSplit = 2)
The original (RBG/color) figure image (an
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.