[vtkusers] Question about image resampling

Pankaj Daga deluded.soul at gmail.com
Mon Oct 30 09:52:13 EST 2006


Hi everyone,

I do some oeprations on an image and then I need to save a resulting image.
Now to generate the resulting image, I use the output from vtkImageReslice
which has changed the image dimensions according to the output spacing and
output extent parameters. However, I want to save the resulting image with
the same size as the input image.

Does anyone know what is the best way to resample the output image and
convert it to the same image dimensions as the input image? Some code
snippet would be really appreciated.

Best wishes,
P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061030/303c87b3/attachment.htm>


More information about the vtkusers mailing list