Hi everyone,<br><br>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.
<br><br>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.<br><br>Best wishes,<br>P<br>