Core Image: From CIImage to Metal and Beyond | raywenderlich.com

Core Image is an oft-overlooked first-party framework on Apple platforms for the efficient processing of images and videos. It includes a wide range of built-in filters, as well as the ability to build your own custom filters using Metal. Discover how to integrate Core Image into your own apps, and how the optimized image processing can save your users time and battery life. Learn how to perform real-time video processing, and how you can extend Core Image by implementing your own custom filters directly in Metal.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5428948-core-image-from-ciimage-to-metal-and-beyond

Hey Sam, good timing with the tutorial. It’s nice to dig in the CI pipeline, been meaning to do it for a few years now. Good work only the introductory tutorial.

Hi @peter.suwara

I hope that you enjoy the rest of the course too, and find some uses for CoreImage in your work.

sam

I was just trying to move a bunch of CPU image manipulation code to GPU and looking for a way to do that with Metal shaders + textures for a Core ML solution.

This was a perfect match :+1:

1 Like

So happy to hear it. Glad it was useful, and best of luck with your project.

sam

Hi I wanted to follow this pro course, I have a few questions if you can help?.
In this tutorial, is there a way to add multiple filters on live camera??

Hi @niraj0107

Yes, absolutely! The first part of the course takes a look at how filters work, and how to chain them together (i.e. adding multiple filters).

The final part of the course shows how to add filters to a live camera image, and show it on the screen.

The section about creating Metal filters probably won’t be applicable to you, but shows how you can extend the built-in filters with your own custom ones.

Hope that helps—good luck!

sam