Hi can someone help me with this..
3 次查看(过去 30 天)
显示 更早的评论
I have an image like this.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/462700/image.jpeg)
As you can see in the image the black spots are particles. I just want the particles alone on a white background. I tried various thresholding methods. They give me a Threshold of 145~146 but when I use that, the result is highly noisy and not even close to what I expect but when I use a value of 80 the result obtained is almost fine. But the value 80 was found by guessing and not by any code. Is there someone who can help me with this?
2 个评论
Walter Roberson
2020-12-16
You sent me email. I am not able to reply to your email because your university blocks my provider.
回答(1 个)
Image Analyst
2020-12-16
I'd try imtophat() and imbothat() -- top hat and bottom hat filters. They basically do an opening or closing to erase the spot and then subtract it from the original. They're made for finding small spots on varying background. Give that a try and write back if you're getting nowhere.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!