I don't know anything about Accelerate, other than it looks really difficult and isn't all that accelerated.
The documentation for vImage_Buffer provides several links to long-format descriptions that are more tutorials than examples.
Look at:
WWDC 2018 session 701 Using Accelerate and simd
WWDC 2019 session 718 Introducing Accelerate for Swift
WWDC 2014 session 703 What's new in the Accelerate Framework
WWDC 2013 session 713 The Accelerate Framework
There are some example that use these functions in:
WWDC 2020 Creating a game with scene understanding
WWDC 2018 Halftone descreening with 2D fast Fourier transform
WWDC 2018 Realtime video effects with vImage
WWDC 2013 Running with a snap
WWDC 2013 UIImageEffects
(sorry, can't find links for these last ones)
I'm currently working on a very similar app. I'm doing all this directly in Metal. For me, it seems more straightforward and more efficient. Be careful using high-level APIs like CGImage, UIImage, and CIImage. It's fine for small images and getting things up and running. But for this domain in particular, these APIs don't scale with the size of the images. Tiling is hard.
Topic:
UI Frameworks
SubTopic:
General
Tags: