whichToFill | R Documentation |
Finds pixels in the plot that shouldn't be white and makes them black. Quick and helpful cleaning for before the thinning algorithm runs.
whichToFill(img)
img |
A binary matrix. |
A cleaned up image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.