- 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.
- 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.
- 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.
- That’s subjective and depends upon what all parameters are chosen in trainNetwork.
Extract information from Label images labeled with Image Labeler and use it in semantic segmentation deep learning
12 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/287187/image.png)
0 Comments
Accepted Answer
Raunak Gupta
on 30 Apr 2020
Hi,
Let me clear the specific doubts.
You may look at some resources to get started with semantic segmentation. These explain full workflows.
6 Comments
Raunak Gupta
on 30 Apr 2020
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.
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!