Extract information from Label images labeled with Image Labeler and use it in semantic segmentation deep learning

조회 수: 7 (최근 30일)
Hi!
I want to generate a semantic segmentation using deep learning to recognize the cown trees from a drone image. I think that I have not so clear the steps that I should follow. Could you help me please?
I have understood that to use or do a semantic segmentation using deep learning I must label the images first.
So...
1. Use Image Labeler to label the images. I'm not sure if is better use pixels label or square, Do they have differences?
2. I have labeled my image manually. For now I have 3 labels, soil, weeds and trees. Which would be the next step? I don't understand so good how I have to store the data and How is the data processed when I have to start the semantic segmentation.
  • I should save the image and start with other image to create a long data labeled images?
  • I should export the labels to workspace or a file?
3. I had thought manually label a few images, after that train a simple model and use this model to train more images and detect if the images are processing well. I'm not sure if I should create a new algorithm to label my images or is better do that process manually, I think that build a new algorithm it would be difficult for me.
4. How many images Do I have to process and label to obtain a simple model?
I tried explain me as well as possible, I know that are a lot of question but There are some doubtes that don't let me continue with my mork.
Thanks for your help and time!
I attach an ''labeled'' image from my work.

채택된 답변

Raunak Gupta
Raunak Gupta 2020년 4월 30일
Hi,
Let me clear the specific doubts.
  1. I am assuming the square you are mentioning must be rectangle. Since rectangle is used for drawing bounding boxes in no way, it can be used to store pixel label data. So, Pixel label is the only way to create labels for semantic segmentation workflows.
  2. For getting better results I think you require proper amount of data so that examples of soil, weed and tree are present in data. So, I suggest you go with some 30-40 images at first and see what the accuracy is, if it is too low you may need more labeled data.
  3. Since essentially the end goal is to do semantic segmentation, after you get good result with few images you can always get training data from the model in terms output of a test image. So, by passing a test image, its labels will become the new image and label pair which can be used for further training.
  4. That’s subjective and depends upon what all parameters are chosen in trainNetwork.
You may look at some resources to get started with semantic segmentation. These explain full workflows.
  댓글 수: 6
Neus Alcon
Neus Alcon 2020년 4월 30일
Sorry Raunak, I have a last question... How much time do you think that I will need to build a simple semantic segmentation? I know that is debatable, but I would like to make me an idea.
Thanks
Raunak Gupta
Raunak Gupta 2020년 4월 30일
Hi,
Time as such time to train the model or time you need to invest to complete the coding. Both are debatable but the documentation clearly explain the example so it won't be much challenging. However for training and finetuning it may require significant time based on the hardware and results. I can provide these insights only.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by