Adjust the intensity of images with nonuniform light

2 views (last 30 days)
My laser light is blinking (I don't know why?!), so the images I have is something like the followings. The intensity is different for every frame. How can I fix this? I mean how can I have uniform intensity throughout?
I thought of normalizing by a reference image, but there could not be a unique reference frame for each image.
Thank you!
Steven

Accepted Answer

Image Analyst
Image Analyst on 4 Oct 2015
I'd contact the manufacturer of your laser.
If you're stuck with it, then the best you can do is to set the camera exposure so that no frame will be overexposed, then adjust all the frames by multiplying the image by the ratio of the desired mean to their current mean. That assumes you have a linear system, not one with a non-linear gamma being imposed by the camera.
  6 Comments
Steven
Steven on 5 Oct 2015
Yes. But Then the mean of all image frames is 200, I agree, but this does not mean all images would have similar intensity distribution as the reference one right? I mean even after this multiplication,the original problem (sudden change of intensity for each frame) still exists, only the values are different. Right? Thanks
Image Analyst
Image Analyst on 5 Oct 2015
Well the means would be the same. The distributions would be the same as what they originally were, rather than the same as the reference image. So each corrected image will keeps its unique shape of histogram, it would just be scaled so that it's mean is at the same location (200) as the reference. The flickering of the laser still occurs of course, but you've corrected the images so the flickering seems to be mitigated and is less noticeable in the images than it used to be.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!