Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Correct the image's borders illumination

$
0
0
I'm developing an algorithm to stich images of vines. These images were taken at night with artificial illumination, because of this, the image's center is very well illuminated but their borders are almost black. To correct this I have tried the following: 1 - Convert the image to LAB. 2 - Get the channel L. 3 - Increase that channel's pixel values, following this rule: The incrementation value is the highest in the border's pixels, and it decreases as it reaches the image's center. For example, for an image's line: Left border Center Right border Position of the pixel 0 1 2 3 4 5 6 7 8 Incrementation value 1 0.8 0.5 0.2 0.0 0.2 0.5 0.8 0.1 I think this method is not very good because it's "creating" information. How can I do this in a better way?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>