Learn R Programming

Momocs (version 0.2-03)

Coo2chc: Exports Coo objects to .chc files that can be used in SHAPE.

Description

Coo2chc converts Coo objects into .chc files that can then be used in the SHAPE suite (see Iwata & Ukai in the References below).

Usage

Coo2chc(Coo, file="chc.chc")

Arguments

Coo
A Coo object.
file
A character to specify where to write the .chc file.

Value

  • Writes a .chc file.

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.