Hiya, I KNOW I've asked about this in several previous posts, but I'm STILL confused...
Here's what I want to do in my multipass CIFilter: 1. Create an image 1/4 the size of the original input image 2. Apply a blur kernel function (which obviously involves sampling from pixels other than the current working pixel) to the resized image 3. Resize the resized image back to the dimensions of the original input 4. Composite the image from the last step on top of the original input image. What I want to know is: Is it actually possible to do all this in a single CIFilter patch? Currently I'm using just the blur pass on it's own, and resizing the image before feeding it into the filter. When I apply the blur effect (in this case the x-axis component of a separable x/y blur) I get black bars at the left and right of the image. The size of the output image, as reported by the info popup when I hover the mouse over the output, is identical to that of the input image, but the actual image has been squashed on the x-axis, creating the black bars at the sides. I'm assuming the width of the black bars is related to the x-axis offset of the outermost taps. How can I prevent these black bars from appearing, and ensure the blurred image is not distorted and remains the same size? Should I clamp the blur taps to the bounds of the input image, can I manipulate the DOD/ROI to stop this happening, or do I need to use another crop and affine transform to get rid of the black bars as a post-process? It's important to the final step that the final blurred image 'fits' on top of the original image. In terms of the resizing operations, is there any special JavaScript code I need to use to ensure this works correctly? Sorry for the long post, but I'm afraid I'm (once again) finding this whole area horribly confusing. a|x http://machinesdontcare.wordpress.com _______________________________________________ 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]

