matrix image processing in OpenGL CE

Posted by iHorse on Stack Overflow See other posts from Stack Overflow or by iHorse
Published on 2010-04-02T17:10:54Z Indexed on 2010/04/02 17:13 UTC
Read the original article Hit count: 276

Filed under:
|
|
|

im trying to create an image filter in OpenGL CE. currently I am trying to create a series of 4x4 matrices and multiply them together. then use glColorMask and glColor4f to adjust the image accordingly. I've been able to integrate hue rotation, saturation, and brightness. but i am having trouble adding contrast. thus far google hasn't been to helpful. I've found a few matrices but they don't seem to work. do you guys have any ideas?

© Stack Overflow or respective owner

Related posts about opengl

Related posts about matrix