getNodes: getNodes

Description Usage Arguments Value Examples

View source: R/JunctionDetection.R

Description

Detect intersection points of an image thinned with thinImage.

Usage

1
getNodes(img, dims)

Arguments

img

Thinned binary image.

Value

Returns image matrix. 1 is blank, 0 is a node.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(london)
london = crop(london)
london_thin = thinImage(london)
london_nodes = getNodes(london_thin, dim(london))

## Not Run
#data(message)
#message = crop(message)
#message_thin = thinImage(message)
#message_nodes = getNodes(message_thin, dim(message))

CSAFE-ISU/handwriter documentation built on May 13, 2018, 12:15 p.m.