C++ OpenCV 4.3 VS 2017 Windows 10
Is there a way to dim an image if I am in the BGR color space? (Don’t ask but I cannot switch to HSV or any other color space to do this.) Given the BGR, I know that (255, 255, 255) is white and, I assume, bright. But (253, 254, 255) is also white and bright. If I look to see if all of the channels are above 200 say, and dim each by a percentage that would probably work. But what about instances of (190,255,255) or something similar?
Is there a standard formula for identifying bright pixels and dimming them?