Pad volume to match reference image

Operating system: Win10
Slicer version: 4.11.20200930

Basically, I have a set of abdominal CTs, all of which have a full volume and one that is cropped to a VOI (volume of interest), see below screenshot of compared volumes.

What I want to do is to pad the VOI volume so that it corresponds exactly to the size of the full volume, adding zeros in the superior and inferior of the VOI. I have found how to to this with segmentations, but not with grey-scale volumes. … Is there such a feature in Slicer?

You can resample (including any padding or cropping) an image using one of the image resampling modules. For example, using “Resample Scalar/Vector/DWI Volume”. Choose the full volume as “Reference volume”. You can set background voxel value in Advanced resampling parameters / Default pixel value.

1 Like

It worked straight away. Thank you!

1 Like