how to detect spots in this image and store it and also reduce SNR threshold?

1 Ansicht (letzte 30 Tage)
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

Antworten (1)

Image Analyst
Image Analyst am 26 Mär. 2023
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 Kommentare
ramya
ramya am 26 Mär. 2023
Bearbeitet: ramya am 26 Mär. 2023
there are small white spots in noise and a line in moisy image
and what about snr how to find
Image Analyst
Image Analyst am 27 Mär. 2023
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by