Description Usage Arguments Value
Transforms a figure into a black and white image. This pre-processing of the image is necessary to help identify objects within the figure (e.g., axes, plotted points).
1 2 3 4 5 6 | figure_transformToBinary(
aFigure,
threshold = 0.6,
point_fill = FALSE,
point_tolerance = 2
)
|
aFigure |
The original figure image (an |
threshold |
A proportion from zero to one designating the gray-scale threshold to convert pixels into black or white. Pixel intensities below the proportion will be converted to black, and those above white. Helps remove noise and increase contrast among candidate objects to detect. |
point_fill |
If |
point_tolerance |
An integer used to designate the size of the points to fill. Increase value to better fill empty points. |
An EBImage
black and white object ready for object detection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.