This is actually an Objective-C question. I'm trying to implement a way to loop through pixels and map the colors to "curve" data.
I was wondering the easiest way to do this. Is there a prewritten algorithm for curves anywhere? I don't want a graphical curve grid, I just need data (maybe a matrix with the "points" in it?)
Thanks in advance :D