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!