cumbend.to.points: Produce a set of spatial coordinates induced by a Fourier...

Description Usage Arguments Examples

View source: R/cumbend.to.points.R

Description

Produce a set of spatial coordinates induced by a Fourier descriptor object. Returns a data.frame containing the X, Y coordinates of the curve defined by the Fourier descriptor evaluated at steps evenly spaced points along the complete contour.

Usage

1
cumbend.to.points(fourier.descriptor, steps = 720)

Arguments

fourier.descriptor

A Fourier descriptor object.

steps

At how many points along the curve should the descriptor be evaluated? This amounts to a resolution parameter. More complex curves will require a larger value. Defaults to 720.

Examples

1
2
3
4
5
fourier.descriptor <- random.fourier.descriptor(12)

points <- cumbend.to.points(fourier.descriptor)

low.res.points <- cumbend.to.points(fourier.descriptor, steps = 20)

johnmyleswhite/FourierDescriptors documentation built on May 19, 2019, 5:17 p.m.