whichToFill: whichToFill

View source: R/RcppExports.R

whichToFillR Documentation

whichToFill

Description

Finds pixels in the plot that shouldn't be white and makes them black. Quick and helpful cleaning for before the thinning algorithm runs.

Usage

whichToFill(img)

Arguments

img

A binary matrix.

Value

A cleaned up image.


handwriter documentation built on Oct. 13, 2023, 5:10 p.m.