Hey guys!
I have a monochrome image with 256 levels of grayscale. I want to map each level to a specific color and apply to the image to get a colored image as a result. How can I do it?
To be more precise here is the pair in Java 2D API that I need to find replacement for:
- http://java.sun.com/javase/6/docs/api/java/awt/image/LookupOp.html
- http://java.sun.com/javase/6/docs/api/java/awt/image/LookupTable.html
And here is the instruction of how it works in Java. I need to build the same under iPhone.
Thanks!