Adjust the intensity of images with nonuniform light
3 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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
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.
More Answers (0)
See Also
Categories
Find more on Computer Vision with Simulink in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!