ios - Core Image Filters to apply Curves to each RGB channel separately

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 :)

1 Answer

  1. Nicholas- Reply

    2019-11-13

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>