문제

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