Ask Your Question

How can I increase brightness a image region ?

asked 2016-05-27 01:55:12 -0500

Dinh Thap gravatar image

updated 2016-05-27 02:11:35 -0500

berak gravatar image


How can I increase brightness red color region in the image ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-05-27 17:39:04 -0500

Tetragramm gravatar image

Multiply the image by a constant factor. For this image, I would do something pretty high, like 16, or 32. This is called gain, and it makes everything brighter, including noise.

To modify just a region, use the operator(cv::Rect) that allows you to extract sub-images. Or any one of several other functions on that page that does the same thing.

If you're trying to binarize the license plate, you may want to try the adaptiveThreshold or the niBlackThreshold functions.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-05-27 01:55:12 -0500

Seen: 1,020 times

Last updated: May 27 '16