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

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?

답변 (2개)

Asanka Perera
Asanka Perera 2018년 5월 16일
편집: Asanka Perera 2018년 5월 16일
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.

댓글 수: 1

plzz can you explain me how can i do a semantic segmentation if you have a example to show me plz

댓글을 달려면 로그인하십시오.

Aishwary Jagetia
Aishwary Jagetia 2018년 9월 13일
편집: Aishwary Jagetia 2018년 9월 13일

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

질문:

2018년 2월 1일

편집:

2019년 1월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by