Hi can someone help me with this..

3 次查看(过去 30 天)
RAJESHWAR R
RAJESHWAR R 2020-12-16
I have an image like this.
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
Walter Roberson 2020-12-16
You sent me email. I am not able to reply to your email because your university blocks my provider.
RAJESHWAR R
RAJESHWAR R 2020-12-16
sir I have messaged you again.

请先登录,再进行评论。

回答(1 个)

Image Analyst
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.

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by