Am 18.09.2009 um 02:10 schrieb Chris Wood:
Here's a good challenge: fourier transform an image inside QC.
Preferably at decent speed. Including a quick filter of some sort,
and the inverse transform to get the image back.
Very interesting for me, too!
The FFT methods I've come across so far involve multiple passes on
the image, and swapping between two buffers.. I guess this might
possibly be doable using a CI filter and a bit of javascript magic
in the filter function.
Good idea! The "butterflies" done by GLSLang, the stages by JavaScript.
Maybe it's possible to do the reordering (bit-reversed addressing) in
a filter, too.
They also seem to need two output channels for each input, which
could be more of an issue.
Uhm? Maybe you mean the real/imaginary parts? (Though, the input has
them, too.)
Should be easy: we could abuse the color channels, since the transform
will always be done separately for individual color components.
And why not then abuse the color channels (we have 4!) for the swap
buffers, too?
Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]