Draggin up old threads is good...
I ask this question because I am having success using vImage in the
Accelerate.Framework.
The very large arrays of which I speak are merely image data in
memory. I need to take one image and subtract it from another.
(imageDataA[i] - imageDataB[i] = imageDataC[c])
right now I just do it via indirection (pointers) in a for loop. The
images are in the range of 8 megapixels so the calculations are in the
millions per image (time many images)
Unfortunately this simple subtraction problem is as complicated as it
gets for this one part of the app.
The data comes to me from a camera as an imageData array. (unsigned
char) To use vDSP (as I understand) I would have to "vectorize" the
imageData array and then perform my simple math operation and then
translate it back into unsigned char.