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

1 visualización (últimos 30 días)
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

Respuestas (1)

Image Analyst
Image Analyst el 26 de Mzo. de 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 comentarios
ramya
ramya el 26 de Mzo. de 2023
Editada: ramya el 26 de Mzo. de 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 el 27 de Mzo. de 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

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by