Don't know if it's any help in your case but notice that you can insert a filter at the linear stage via the kCIInputLinearSpaceFilter
option
Topic:
Programming Languages
SubTopic:
Swift
Tags: