Equalizing Images for Background Subtraction

3 visualizaciones (últimos 30 días)
Peyman Ghasemi
Peyman Ghasemi el 23 de Sept. de 2017
Respondida: Image Analyst el 23 de Sept. de 2017
Hi;
I have a microscopic image of sperm and also the background of the image. I want to subtract them and then segment the sperms, but the two images are not equal in brightness and contrast, therefore some unwanted parts remain in the result. How can I equalize them? I used "histeq" and "adapthisteq" but the result was not good.
The images are attached.
Thank You :)

Respuesta aceptada

Image Analyst
Image Analyst el 23 de Sept. de 2017
You need to determine the source of the intensity changes. If it's just that you have a bad lamp, like it's flickering and the whole image is brighter or darker by the same amount, you can just subtract them and pick the appropriate threshold. If there is other junk in the image you have to decide if it's really sperm or some other matter, or it it's really part of the background. If your intensity does not go up or down by a constant, and changes region by region, then you need to equalize each region, for example by adapthisteq() or imbothat(). Not really sure what would cause this kind of "lumpy" changes to the background - lamps usually do it all over the image in the same amount. Maybe you have crickets running over your lamp that change the intensity in different parts of your image????

Más respuestas (0)

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