create pixel Label Datastore from categorical tensor

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.

Answers (0)

Products

Release

R2018a

Asked:

on 2 Nov 2018

Edited:

on 13 Nov 2018

Community Treasure Hunt

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

Start Hunting!