how to detect spots in this image and store it and also reduce SNR threshold?
1 次查看(过去 30 天)
显示 更早的评论
i am new to this image processing
i have a image noisy and noiseless image how to detect the spots and a line in the noisy background image and then save it (data compression) and also i hv to reduce SNR threshold detection
0 个评论
回答(1 个)
Image Analyst
2023-3-26
I don't see the line. It must be extremely faint or so narrow it got subsampled away when it went to display it. Looks like you can just threshold it.
spots = grayImage > 80;
It's a generic, general purpose demo of how to threshold an image to find blobs, and then measure things about the blobs, and extract certain blobs based on their areas or diameters.
2 个评论
Image Analyst
2023-3-27
OK, fine, but did you actually try my tutorial and input your image and change the threshold? That should have been enough for you to figure it out so I'm guessing you didn't try to adapt it to your image. Why not?
Again, I don't see the line. Can you point it out more explicitly?
Once you have a mask for the white spots and line, you can do
signal = mean(grayImage(mask))
noise = mean(grayImage(~mask))
snrRatio = signal / noise
Or you can use the function snr
另请参阅
类别
在 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!