There appears to be confusion that the tutorial uses sample data that includes a .fcsv file however the original poster is doing their own work and only has .mrk.json files.
from ALPACA’s operability perspective fcsv and json (or .mrk.json) are the same. To encourage its usage, we have the default option to save the files in .json format (when ALPACA is run in batch mode).
It may be clearer for new users if the sample data for the ALPACA tutorial was also in the latest file formats. In this case updating the ALPACA tutorial to use .mrk.json files may be more helpful to match how things look when using latest Slicer today.
I realize it is 3 years old, but nevertheless the gentleman is demonstrating how to transfer the landmarks between 2 bones and he uses the single alignment which “requires” .fcsv format for the landmarks.
My specimens (equine cervical vertebrae) have a combination of point landmarks (17), closed and open lines (10). I created a template on C5 (fifth cervical). Now I want to duplicate the template on the other 40+ C5 bones.
I understand that .fcsv format is used for the Single Alignment Source Landmark Set. Do I need to put all of the landmarks in a single folder? Or is there a way to save the all the landmarks in the template as one .fcvs file?
Yes, just specify the output folder for landmarks to be saved. In batch mode you will enter the location of the source model and landmark pair you used. If you are using the single-template, there will be only one pair. If you are using multi-template (MALPACA), there should be as many pairs as your models. Make sure the file prefixes before the extension (.ply, .fcsv, ,json) are identical, as we use that to match the landmarks to the models.
Your landmarks for the new models will be saved into the output landmark folder you specify.
Replying to myself with an update on my question … I did a search and found reference in some 2021 posts to using the “MergeMarkups” so I’ll study the tutorial and hopefully that will be my solution!
If am not aware of a method that will reliably transfer semiLMs from a manually drawn curve to the targets, while preserving the equal distance criteria.
What you can possibly do, is to draw the curves on all your samples, and then use python script to load the associated model, run the resample curve method, and save the output as a new curve object. However, unless you are planning to do hundreds of them, the time investment of development of script is probably not worthwhile. Resample is so fast, the script is only going to save you a few seconds and a few clicks per specimen.
3D Slicer will display models based on the image dimensions provided by the model. You can turn on/off the visibility of each model so see one at a time, or you can use dual 3D viewer, and assign each model to different vewiers. I suggest making yourself more familiar with these types of operations in Slicer. A good place to start is the Slicer user tutorial. User Interface — 3D Slicer documentation
If you want to translate move one of them to elsewhere in the scene, you can use the Transforms module (see the same link on how to use the transforms module). However, I suggest only moving the target model. If you translate the source model, you should also translate the corresponding landmarks.
Once again thank you for your quick reply and suggestions.
I am trying to learn as much of the basics of Slicer/SlicerMorph as I can. However, I know you will appreciate the urgency involved when one is on a time-line to publish, LOL.
Your help and time providing it is greatly appreciated.
You can merge them, but then your colleagues will loose the ability to turn one on/off. They will be blocking each other.
Your safest option is to export them individually, and share that way. Or better yet, if they are using Slicer package your scene as MRB and share that with them.
I don’t want them to turn on/off, just be able to roll them around and inspect them from all sides to relate the relative morphological characteristics.