Ask Your Question
0

How can I increase brightness a image region ?

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

Dinh Thap gravatar image

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

berak gravatar image

C:\fakepath\1.PNG

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
0

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

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

Stats

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

Seen: 1,182 times

Last updated: May 27 '16