Image Segmentation using Thresholding
显示 更早的评论
I am currently trying to segment images using thresholding but I don't know what thresholding teechnique should I use for these type of images. I am familiar with Otsu but it does not give me the result that I want that is, only show the pest and do not include the background. Please if you can give me sample codes, it is greatly appreciated. Thank you.

<<
<<

>>
>>

1 个评论
回答(1 个)
Image Analyst
2018-2-14
0 个投票
Since you have a wide variety of different subjects and colors and textures in your images, I think that deep learning is a possibility. You can use easier, more traditional methods if you narrow down the types of images more, like to only dark bugs on green leaves or something.
2 个评论
CINDY LASCO
2018-2-14
编辑:CINDY LASCO
2018-2-14
Image Analyst
2018-2-15
Correct. I can't imagine any way that thresholding would get the transparent green pest on a green leaf, and if you did find some way it may only work with that pest on those leaves, not for all the rest of your images. However deep learning would be able to handle it. Who hired you to do this? Don't they have pests and would be able to supply lots of images?
I suggest you start with the easier subgroup, like dark pests on green leaves. With something that easy, yes you can use thresholding. See my Image Segmentation Tutorial to learn how.
类别
在 帮助中心 和 File Exchange 中查找有关 Color Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!