-
July 25th, 2024, 11:09 PM
#1
image process
Hi,
need an c/c++ way to change brightness and contrast to a raw grayscale image. BPP=16.
Last edited by J2Int; July 27th, 2024 at 10:19 PM.
-
July 30th, 2024, 07:28 AM
#2
Re: brightnedd/contrast
If you can use GDI+ then have a look at MSDN
Victor Nijegorodov
-
August 2nd, 2024, 08:02 PM
#3
Re: brightnedd/contrast
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?.
-
August 3rd, 2024, 10:38 AM
#4
Re: brightnedd/contrast
Originally Posted by J2Int
...
Is there a formula for changing the brightness and contrast of 16 bit grayscale image?.
try to search MDN for that.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|