Hi,
need an c/c++ way to change brightness and contrast to a raw grayscale image. BPP=16.
Printable View
Hi,
need an c/c++ way to change brightness and contrast to a raw grayscale image. BPP=16.
If you can use GDI+ then have a look at MSDN
this is very helpful. However, when i tried the attributes with passing the color matrix to the DrawImage It did not change the 16 grayscale image.
i Have 16 bit grayscale buffer to begin with. I convert to to bitmap using the 24bit RGB flag setting all RGB bytes all equally.
any examples in doing doing that?.
Is there a formula for changing the brightness and contrast of 16 bit grayscale image?.