spatial smoothing

Hi,
I would like to apply a gaussian blur to my image but it's not clear to me where to find the
matrix of pixel values for my image. For example, if I use DrawLine to draw in an
offscreen window, how do I operate on those pixels to create a blurred line? thanks

jack
>Hi,
>I would like to apply a gaussian blur to my image but it's not clear
>to me where to find the
>matrix of pixel values for my image. For example, if I use DrawLine
>to draw in an
>offscreen window, how do I operate on those pixels to create a
>blurred line? thanks
>
>jack
>

dear jack

MATLAB can't do anything directly to the window. Use
x=SCREEN(w,'GetImage',...) to copy the image to a MATLAB array. Use
MATLAB to blur the array x. Then use SCREEN(w,'PutImage',x) to copy
the array into the window.

Note that PutImage allows you to expand the image and i seem to
recall that we made it possible to ask that the image be expanded by
Quickdraw with interpolation, which is a kind of blur. this gives you
less control, but can be very fast.

best

denis