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@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hiddenThis email sent to
email@hidden