I am trying to apply a tone curve to an image like it does in photoshop. You are able to create a separate curve for each of the RGB channels, but on the Core Image Framework you can pick one tone for the whole image using CIToneCurve.

Has anyone figured out a way to maybe chain these events together to be able to apply a different curve for each channel?

Any help is MUCH appreciated :)

有帮助吗?

解决方案

After researching this a lot the best solution I found was as CSSmith stated in the comments... To transition my app to using Brad Larson's GPUImage framework. It worked much faster and had much more capabilities than CIFilters.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top