image as CNN output matlab

2 views (last 30 days)
Tidia on 19 Jul 2018
I know this might seem a stupid question but I've been really ramming my head with this one. I want to build a CNN which would take an image as input and return a matrix with the same width and length (It would be a segmentation NOT SEMANTIC) as the same image. The problem is I really can't seem to define the output as such matrix, all I can find is documentation on how to make a semantic segmentation but this is not what I want, the closest I have found was using the imagedatastore and pixellabeldatastore objects for defining input and output, but I cant find anything on how to build these pixellabeldatastore files or their format.

Answers (1)

Zenin Easa Panthakkalakath
Hey Tidia,
I understand that you want to use an image as the input to your network and get an output which is an image. What you need is written in this article, scroll down to the section titled "Test Network on One Image":
'imshow()' function might be what you are looking for.


Community Treasure Hunt

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

Start Hunting!

Translated by