This is not possible, though you could just produce an image
representing the exponent and feed that as an input image to your
custom blur.
.xX
On Oct 23, 2007, at 6:01 PM, Daniel D'Errico wrote:
Agonies abound folks
The original MATLAB code has a gaussian blur whose value changes
based on pixel, so I thought I could this by using a core image
kernel to figure out the calculations, then feed the exponent of
the E term to the radius input of the gaussian blur.
No such luck.
I can do the required calculations. I use image only to determine
what value the euclidean distance map function will return. the
division, rounding and multiplying all are more or less ok.
I cannot output the exp term. Kernels only output images.
so I turned my sorry fate over to a Javascript block but wait!!
How will I get an image into javascript so I can get the coordinates
of the day ( as samplercoords does in kernels )?
Thats my question. Is there any way either inside a javascript
block to determine the coords of the current pixel or outside a
java block by having a patch send me the current coords?
any help is appreciated.
--dan
_______________________________________________
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/asabatelli%40apple.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
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]