How to resize a 3D image

You should not modify the scale of the transform, you want identity transform. What you need to modify is the size and spacing of the output_size_image. Also take a look at a previous discussion:

1 Like