Learn R Programming

Momocs (version 0.2-6)

chc2Coo: Imports .chc files from SHAPE to Coo objects that can be used in Momocs.

Description

chc2Coo converts .chc files, e.g. from the SHAPE suite (see Iwata & Ukai in the References below) that can then be used in Momocs.

Usage

chc2Coo(chc.path)

Arguments

chc.path
A character that indicates the path for the .chc file to convert.

Value

  • Returns a Coo object.

Details

See pix2chc for an illustration of the functions behind and chain-coding of outlines.

References

Freeman H. 1974. Computer processing of line-drawing images. ACM Computing Surveys (CSUR) 6: 57-97. Iwata H, Ukai Y. 2002. SHAPE: a computer program package for quantitative evaluation of biological shapes based on elliptic Fourier descriptors. The Journal of Heredity 93: 384-385. Kuhl FP, Giardina CR. 1982. Elliptic Fourier features of a closed contour. Computer Graphics and Image Processing 18: 236-258. You can also have a look to the SHAPE's manual distributed with the program suite, that gives a description of the .chc format.

See Also

Coe2nef and nef2Coe.