create pixel Label Datastore from categorical tensor

1 次查看(过去 30 天)
Is it possible to create a pixel Label Datastore from a categorical tensor?
Input: 160x160x25 categorical (labels for 25 images with 160x160 pixels each)
desired Output: pixelLabelDatastore
The function read(pxds) offers this functionality, but unfortunately only in the other direction.
I need the pixelLabelDatastore for semanticImageSegmentation, given the images as 160x160x5x25 double (25 images with 5 channels and 160x160 pixels each) and the labels in the format given above.

回答(0 个)

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by