ShapeWorks icon indicating copy to clipboard operation
ShapeWorks copied to clipboard

Importing Landmarks to ShapeWorks Studio

Open amygutierrez opened this issue 1 year ago • 5 comments

Is there a way to import landmarks instead of manually placing landmarks? I am using ShapeWorks Studio and importing my data and also manually applying landmarks. Is there a way to possibly import landmark points?

If there is a way to import landmarks, what format is accepted (JSON file, etc.)? MicrosoftTeams-image

amygutierrez avatar Feb 27 '24 04:02 amygutierrez

The landmark positions are stored as particle files, a simple ASCII format.

X1 Y1 Z1
X2 Y2 Z2
X3 Y3 Z3
....

The definitions (which are not required and will be autogenerated) are in the landmark table of the spreadsheet/json:

image

akenmorris avatar Feb 27 '24 06:02 akenmorris

So I can just import a particle file in ASCII format? Where do I import these this landmark particle file when using ShapeWorks Studio?

amygutierrez avatar Feb 27 '24 13:02 amygutierrez

So it doesn't have a direct import functionality. You can supply the files by adding them to the xlsx spreadsheet or json file:

image

You can double check the structure by creating a few manual landmarks and saving the project. It will create the landmarks files and you can replace them.

akenmorris avatar Feb 27 '24 16:02 akenmorris

Thank you for your response! So once I create the spreadsheet with the Name, Notes, Shape_1, and Landmarks_file_1 columns, where do I then import/apply that spreadsheet to?

amygutierrez avatar Feb 27 '24 17:02 amygutierrez

ShapeWorksStudio will open the spreadsheet file directly, as a project.

akenmorris avatar Feb 28 '24 16:02 akenmorris