Kendall Helmstetter Gelner
Veteran Member
If you use a number of libraries that make use of the GPU, it's pretty easy to integrate. GPUImage is on such example for the Mac, which is directly tailored to images.Direct 3d libraries support this. The work for GPU is not that trivial to do right. I don't you can do th std lib on gpu you are mentioning.Really SPP only has to worry about two platforms, Mac and Windows. On the Mac side I'm pretty sure just replacing a lot of stdlib calls to math functions with the Mac accelerated versions (which use the GPU as appropriate) would give it quite a boost, never mind really re-working the entire conversion process to fully work with the GPU.I bet a lot the so called matrix math Foveon needs to do would dramatically accelerate with GPU use. I realize GPU support is not trivial given the different platforms and configurations but it would sure speed it up if done well.
Not as sure what libraries Windows has that automatically move matrix calculations to the GPU...
GPUImage
GPUImage is a BSD-licensed iOS library that lets you apply GPU-accelerated filters and other effects to images, live camera video, and movies. If you’re not careful, you may well end up creating a camera app by the end of the article.
Then there's Appel's own lower level Accelerate framework, which is lower level but can speed up basic operations like matrix multiplication or transformation.
Most (about half) of the processing time for Quattro images appears to be in a form of bilateral filter, if you run time profiling tools against it. The GPU is flatlined, no activity, while all cores are maxxed out.. the GPU would help a ton there.
--
---> Kendall
Galleries by Kendall Gelner
www.pbase.com
Galleries by The Sigma Users Group Galleries
www.pbase.com