Filter löschen
Filter löschen

Equalizing Images for Background Subtraction

4 Ansichten (letzte 30 Tage)
Peyman Ghasemi
Peyman Ghasemi am 23 Sep. 2017
Beantwortet: Image Analyst am 23 Sep. 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 :)

Akzeptierte Antwort

Image Analyst
Image Analyst am 23 Sep. 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????

Weitere Antworten (0)

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