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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Image Analyst
Image Analyst il 26 Mar 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 Commenti
ramya
ramya il 26 Mar 2023
Modificato: ramya il 26 Mar 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 il 27 Mar 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

Accedi per commentare.

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by