Learn R Programming

handwriter (version 3.1.1)

thinImage: thinImage

Description

This function returns a vector of locations for black pixels in the thinned image. Thinning done using Zhang - Suen algorithm.

Usage

thinImage(img)

Value

A thinned, one pixel wide, image.

Arguments

img

A binary matrix of the text that is to be thinned.