Matching Voxels After Registration

Hi,

I have two registered CT images that I’m trying to register to an MRI image. The CT images have matching matrices but they are different to the MRI image.

After successfully registering one of them with ANTs, the registered image and the MRI image have the same matrix sizes. However, when I apply the transform to the second CT image, the images are well registered but the matrix size is unchanged. It seems like it should be trivial to downsample the second CT image so it matches the matrix of the other two images but I cannot figure out how.

Any advice?

Thanks,
Yonni