Remove non uniform illumination

1 Ansicht (letzte 30 Tage)
nayomi ranamuka
nayomi ranamuka am 31 Mai 2011
Beantwortet: Bibi Najma am 25 Apr. 2021
Dear all, I want to remove non-uniform illumination from image. Any body can help me?

Antworten (2)

Bjorn Gustavsson
Bjorn Gustavsson am 31 Mai 2011
If you have the Image Processing toolbox there is a demo for how to correct for non-uniform illumination. That might help. If you dont have that one you could try homomorphic filtering. Maybe something like this:
fK = suitable_high_pass_filter_kernel;
im_out = exp(real(ifft(log(Im_in).*fK))) + ...
mean(Im_in(:));
Or if it is "just" a question of vignetting you could try to correct your image thusly:
im_out = im_in./cos(theta).^n;
where theta is the approximate angle of the pixel lines-of-sight
HTH.

Bibi Najma
Bibi Najma am 25 Apr. 2021

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