[futurebasic] vImage Deconvolve change? (FB example)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 2012 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Tue, 18 Sep 2012 12:03:33 -0400

This fellow has put a vImage demo into public domain. He has wrapped several Accelerate sharpen and blur C functions into methods in an Objective-C class in an iPhone demo

While he isn't using Accelerate's deconvolve function, the way he has written the methods for other Accelerate functions should serve as a template for you to wrap your own convolve and deconvolve using Accelerate code. The nice thing is that you end up with Objective-C code that can be used in FB, iOS and Xcode for Mac. Don't be put off when you seen that these output UIImages because the underlying code applies the transformations to a CGImageRef which is converted into the UIImage. The entire demo can be found here:


Look at the UIImage+DSP.h and UIImage+DSP.m files to see how the Accelerate C code is wrapped into methods.

Also, I'm sure you're already familiar with: