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

3 次查看(过去 30 天)
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 个评论
Cris LaPierre
Cris LaPierre 2024-4-13
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 2024-4-14
编辑:Nicola Dall'Osto 2024-4-14
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.

请先登录,再进行评论。

采纳的回答

Cris LaPierre
Cris LaPierre 2024-4-14
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by