Maximum number of labels in VolumeSegmenter

3 次查看(过去 30 天)
I am trying to open a labelled matrix from the workspace in the Volume Segmenter tool. However, I get this error saying that 'Maximum number of labels allowed is 255'. I have 1000 objects and they are labelled in an order in the label matrix. How can I edit and segment the objects in Volume Segmenter tool? Is there a way to extend the maximum number of labels allowed?

回答(1 个)

Pratyush Roy
Pratyush Roy 2021-4-27
Hi,
Unfortunately the maximum number of labels that is supported in the volume visualization with labeled data is 128 due to implementation specifics when labeled data is overlaid with volume data.
If in your case, these 1000+ labels are not unique and are instance labels of the same category and if it is possible to visualize this volume as a binary mask, you can consider the following workaround:
1) In "volumeSegmenter", solve and visualize the problem as a binary segmentation problem instead of a multi-class segmentation problem. This will involve two classes: true = active particles, false = background.
2) "regionprops3" accepts a logical 3-D array as input, so the result of the segmentation solved in 1) can be fed directly into "regionprops3" for downstream processing. "regionprops3" will compute the individual true regions within the input volumetric binary image as part of the region analysis computation.
Hope this helps!
  1 个评论
Maggie Chong
Maggie Chong 2023-6-5
编辑:Maggie Chong 2023-6-5
Hello, I am trying to visualize some stacked platelets. However, it looks very different when the volume segmenter is used. How do I know if it is possible to visizulize my data as a binary mask?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Segmentation and Analysis 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by