AddLetterImages: Add Letter Images

View source: R/PlotFunctions.R

AddLetterImagesR Documentation

Add Letter Images

Description

Pulls out letterlist as its own object, and adds the image matrix as well

Usage

AddLetterImages(letterList, dims)

Arguments

letterList

Letter list from processHandwriting function

dims

Dimensions of the original document

Value

letterList with a new matrix image value for each sublist.

Examples

twoSent_document = list()
twoSent_document$image = twoSent
twoSent_document$thin = thinImage(twoSent_document$image)
twoSent_processList = processHandwriting(twoSent_document$thin, dim(twoSent_document$image))

dims = dim(twoSent_document$image)
withLetterImages = AddLetterImages(twoSent_processList$letterList, dims)


CSAFE-ISU/handwriter documentation built on March 24, 2024, 6:23 p.m.