whichToFill {handwriter}R 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.


[Package handwriter version 3.1.1 Index]