In the Semantic Segmentation Using Deep Learning tutorial how can I create my own datasets

1 visualizzazione (ultimi 30 giorni)
Hi,
As the title suggests, I want to replicate the work done here: https://uk.mathworks.com/help/vision/examples/semantic-segmentation-using-deep-learning.html
I am unsure of the best way to make my own dataset to fit this model. I have all of the input images I need, but I don't know the best way to quickly label (color) them in the same fashion.
Is there an efficient way to do this for several hundred files?

Risposte (2)

Asanka Perera
Asanka Perera il 16 Mag 2018
Modificato: Asanka Perera il 16 Mag 2018
1. Use Matlab image labeler and label all your input images.
2. Export the pixel labels using "to file" option. Then, you can see "PixelLabelData" folder with blank .png images. They are not blank and you can use imagesc to view them.
3. Convert all the images in PixelLabelData folder to RGB images using label2rgb command, now you have a dataset similar to this example.

Aishwary Jagetia
Aishwary Jagetia il 13 Set 2018
Modificato: Aishwary Jagetia il 13 Set 2018

Manually tagging the data is not more a hurdle. Check this out,

https://www.youtube.com/watch?v=tYqnsp-OcLQ

https://www.youtube.com/watch?v=xkSEnDIlvhI

you can quickly create your own image and video segmentation data in no time!!

Neurala Brain Builder Tool

Community Treasure Hunt

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

Start Hunting!

Translated by