[Insight-users] ImageToImageFilter

Gwenaël Guillard gwenael.guillard@enst-bretagne.fr
Mon, 02 Dec 2002 18:27:49 +0100


Hi,

I would like to use ImageToImageFilter to compute things in an image and
have a new image.
I use SetInput(), do my computation but I don't know how to get the
output image in order to do a SetPixel() and then use this new/modified
image with the GetOutput() method of the filter.

When I'm using ImageToImageFilter->GetOutput()->SetPixel(index,value).,
it compiles but does not run. It says memory "can't be writen".

Thanks,

Gwenael