Labelled data from volume segmenter
2 views (last 30 days)
Show older comments
AMEN BARGEES on 26 Jul 2022
Commented: Walter Roberson on 27 Jul 2022
I have a 3D data 461by951by651 as a mat file and I used the volume segmenter app to label it. I got a 3D categorical Label of the same size as the data. I can not use this label as an input for a data store or for a training network as it has to be in an array. I tried using reshape function but it didn’t work. Any help?
Walter Roberson on 27 Jul 2022
'Labels' as a property is expected to be the actual label content. There is no direct way to specify a corresponding file name, not that I can see.
You can set the Labels property, but you cannot do so on a per-file basis.
When you use imageDatastore, then the label is expected to be the label for the entire image.
Perhaps you should be using Ground Truth techniques; https://www.mathworks.com/help/vision/ref/groundtruth.html and https://www.mathworks.com/discovery/ground-truth.html
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!