Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importing Landmarks to ShapeWorks Studio #2207

Open
amygutierrez opened this issue Feb 27, 2024 · 5 comments
Open

Importing Landmarks to ShapeWorks Studio #2207

amygutierrez opened this issue Feb 27, 2024 · 5 comments

Comments

@amygutierrez
Copy link

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

@akenmorris
Copy link
Contributor

akenmorris commented Feb 27, 2024

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

@amygutierrez
Copy link
Author

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

@akenmorris
Copy link
Contributor

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.

@amygutierrez
Copy link
Author

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?

@akenmorris
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants