CIColorMap

Hello,


I would like to use CIColorMap filter.

I am using it but the results are not that one I would execpt to be.


It takes 2 parameters


InputImage - what is quite clear and

inputGradientImage - which makes me a bit confusing


I could find some examples but I would like to know the algoritm how this filter works like.


Can I change 2 or 3 colors and once.

I don't exaclty understand why I need gradiet image if I would like to chane one color for another.

And when the color in this gragient image begins wnd where it ends.


Regards

Peter

Replies

I have the same doubt. Apple's documentation is always like this, only writing APIs, without detailed explanations and examples.