Hello there,
My question is about how to use the equidistant semilandmarks that are generated by Geomorph from imported X and Y coordinates of an outline. I am attaching an image with a somewhat crude representation of the landmarks that I wish to place on a specimen. The red dots represent fixed landmarks, which I successfully managed to place via the digitize2d function and used for a GP and PC analyses. The blue dots represent the semilandmarks that I want to place.
Reading the guide there are, to my knowledge, two ways to place semilandmarks on 2D images. Either manually in digitize2d and then use the defines.sliders function when conducting a gpa, or use the digit.curve function which places equidistant semilandmarks along the outline of an object based on the imported X and Y coordinates of an outline.
I prefer the latter method, because it is much less time consuming. However, is there a way to include or "attach" these Geomorph generated smilandmarks to a specimen with digitized fixed landmarks? Is there a way to save them? And how do I actually make use of them if I have more than 100 specimens and want to assign a set of these equidistant semilandmarks for each specimen? Or in other words, can I somehow attach these semilandmarks to a specimens in a TPS file which contains fixed landmarks and have Geomorph automatically treat them as sliding landmarks in the GP analysis, or use the define.sliders function to do that?

The other thing that I am interested about st the extraction of X and Y coordinates from an outline of an image in ImageJ. I used the procedure as described in the guide but when I upload the X and Y coordinates to R and use the digit.curve function this is the result I get:

I am not sure what is causing it, but I managed to circumvent this issue by using the following procedure:
Image -> Type -> 8 bit.
Process -> Find Edges.
Image -> Adjust -> Threshold. Both parameters set to 255.
Process -> Binary -> Skeletonize.
Then I use the wand tool to select the outline and save the X and Y coordinates. But when I upload the coordinates to R and plot them the image becomes flipped and the outline has a broken line in some places. However, the digit.curves function works WELL:

To fix this issue, here some code that some good internet Samaritan introduced me to:
h = getHeight();
run( "Make Binary" );
run( "Skeletonize" );
run( "Invert LUT" );
doWand( 0, 0.5*h );
getSelectionCoordinates( x, y );
tabDelText = "";
for ( i = 0; i < x.length; i++ ) {
tabDelText += "" + x[i] + "\t" + h - y[i] + "\n";
}
path = getDirectory( "Choose a Directory" );
File.saveString( tabDelText, path + "myTabDelText.txt" );
The highlighted portion of the code tells ImageJ to flip the Y coordinate system, because apparently they start at a different end in R.
What is causing the broken line in the outline that I upload using the method described above? R and Geomorph clearly recognize the
non displayed coordinates in these broken lines.
Best,
Mykolas.