How to Eliminate False Positives detected in Segmentation?
2 次查看(过去 30 天)
显示 更早的评论
I am developing in MATLAB a code, which is supposed to identify the area on a leaf that contains spots to report the severity of a disease.
During my research, I found out about LeafSnap and got inspired by it. So, I tried to follow the paper to segment the leaf on the image using OpenCV Expectation Maximization, which is trained using S and V form HSV color space; however, it still returns some false positives due to reflection or shadow.
![](/matlabcentral/answers/uploaded_files/120259/sample.png)
As you can see above, the color space have yellowish (in direct sunlight) or blueish (in shadow).
Please suggest any way by which I can avoid that false positives! Thank you
INPUT IMAGE:
![](/matlabcentral/answers/uploaded_files/120260/Amostra03.jpeg)
1 个评论
采纳的回答
Image Analyst
2018-6-6
Try the attached demo. It works for the one image you uploaded but may not work well with those fixed thresholds depending on how green and cluttered your "background" is.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/189006/image.png)
9 个评论
Image Analyst
2018-6-10
If this is people in the wild, like the general public who are uploading to your web site, then you may have to use deep learning. Otherwise, if they're research partners of yours, instruct them with tips on how to take a good photo.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!