Resample all images in the database to the same voxel size
<p>I have 3 dicom stacks of size <code>512x512x133, 512x512x155 and 512x512x277</code>. I would like to resample all the stack to make the sizes <code>512x512x277, 512x512x277 and 512x512x277</code>. How to do that?</p>

<p>I know I can do resampling using slice thickness and pixel spacing. But that would not ensure same number of slices in each cases.</p>