Is there a way to interact programmatically with Medical Image Labeler?

2 vues (au cours des 30 derniers jours)
I know that there are some functions that consent to interact with Medical Image Labeler app of Medical Imaging Toolbox, but the operations allowed are very few. In particular I'm looking for a method to open nifti images, segment and save the labels by setting up a script or something else.
Is it feasible?
  4 commentaires
Cris LaPierre
Cris LaPierre le 13 Avr 2024
What do you need the script to do? Load the images into the app?
Your session in the medical image labeler app will automatically save your labels to a Nifti file in the session folder.
Nicola Dall'Osto
Nicola Dall'Osto le 14 Avr 2024
Modifié(e) : Nicola Dall'Osto le 14 Avr 2024
Yes, I need to automatically upload images into the app. In particular, I am facing a problem in this step. I've described the issue in detail here.
I know that the labels are saved in a .mat file, not nifti. Anyway, it is not a problem as long as the labels are automatically saved in the session folder.
To upload the unlabeled images I use groundTruthMedical(dataSource,labelDefs,labelData), but the user has to set a new session. Ideally, I want that running that command, a new session starts without asking the users to choose the path of the new session folder. Maybe I am asking too much.
Finally, I really need that the labels are saved with the user's ID or the user's name in order to be able to know who has segmented each image, since more people will segment different images.

Connectez-vous pour commenter.

Réponse acceptée

Cris LaPierre
Cris LaPierre le 14 Avr 2024
I have responded in your other question.
The Label Definitions are saved to a mat file, along with paths to the Data Source and Labeled Data. Your labeled volume is saved as a Nifti file in the LabelData folder in your session folder.

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by