Original Post
🔒 Locked
in basic code how can i control sharpness,contrast,brightness,etc.
Advertisement
there is a function in the windows API to change the gamma ramp -SetGammaRamp - you''ll have to setup your own ramp and pass it to this func.
[ My Site ]
''I wish life was not so short,'' he thought. ''Languages take such a time, and so do all the things one wants to know about.'' - J.R.R Tolkien
/*ilici*/
[ My Site ]
''I wish life was not so short,'' he thought. ''Languages take such a time, and so do all the things one wants to know about.'' - J.R.R Tolkien
/*ilici*/
Contrast and brightness as well as color balance can be controlled by a gamma ramp.
However, sharpening and softening require convolution filters, which sample multiple source pixels to get the result pixel.
Search for "image filtering algorithms" in google (or similar) for more info.
And, i managed to find a relevant link for you!
HIPR Image Processing
I hope this helps.
-Nik
However, sharpening and softening require convolution filters, which sample multiple source pixels to get the result pixel.
Search for "image filtering algorithms" in google (or similar) for more info.
And, i managed to find a relevant link for you!
HIPR Image Processing
I hope this helps.
-Nik
quote:
Original post by archangle
HOW CAN I ALTER GAMMA and or
BRIGHTNESS
CONRAST
SHARPNESS
IN BLITZ3D?
Access the pixel data somehow (lock?), modify it according to desired effect formula (, and unlock it?). No need to YELL
(Accessing device memory is usually done by "locking", but i''m not familiar with Blitz3D terminology on this).
-Nik
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement