Remove non uniform illumination

조회 수: 3 (최근 30일)
nayomi ranamuka
nayomi ranamuka 2011년 5월 31일
답변: Bibi Najma 2021년 4월 25일
Dear all, I want to remove non-uniform illumination from image. Any body can help me?

답변 (2개)

Bjorn Gustavsson
Bjorn Gustavsson 2011년 5월 31일
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 2021년 4월 25일

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by