gpagen
. This type of semilandmark "slides" along curves lacking known landmarks (see Bookstein 1997 for algorithm details). Each sliding semilandmark ("sliders") will slide between two designated points, along a line tangent to the specified curvature, as specified by define.sliders
.
digit.curves(start, curve, nPoints, closed = T)
gpagen
). Then nPoints are calculated along the curve at equidistant points from the start to the end.'curve' is a p-x-k matrix of 2D or 3D coordinates for a set of ordered points defining a curve. This can be the pixels of an outline calculated in ImageJ (save xy coordinates) or any other reasonable way of obtaining ordered coordinates along a curve (including sampling by hand using
digit.fixed
or digitize2d
- but note that there should be more points defining the curve than nPoints in order to accurately calculate the semilandmarks).
If 'closed = T', the function returns the coordinates of the 'start' landmark plus nPoints. If 'closed = F', the function returns the coordinates of the 'start' landmark, plus nPoints and the end of the curve.
digit.fixed
digitize2d