otsuBinarization: otsuBinarization

Description Usage Arguments Value

View source: R/ThinText.R

Description

Uses Otsu's Method to binarize given image, performing automatic image thresholding.

Usage

1
otsuBinarization(img, breaks = 512)

Arguments

img

image object to be processed

breaks

a single number giving the number of cells for the histogram

Value

separated image into foreground and background


handwriter documentation built on Aug. 16, 2021, 5:07 p.m.