# Fix Image Resolutions and number of slices of CT images to fit with pet image

**URL:** <https://discourse.slicer.org/t/fix-image-resolutions-and-number-of-slices-of-ct-images-to-fit-with-pet-image/24772>\
**Category:** Support\
**Tags:** python, resample, petct\
**Created:** [August 15, 2022, 7:18pm UTC](https://discourse.slicer.org/t/fix-image-resolutions-and-number-of-slices-of-ct-images-to-fit-with-pet-image/24772 "2022-08-15T19:18:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![morgenmuesli](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/morgenmuesli/32/16315_2.png) [@morgenmuesli](https://discourse.slicer.org/u/morgenmuesli)\
**Post date:** [August 15, 2022, 7:18pm UTC](https://discourse.slicer.org/t/fix-image-resolutions-and-number-of-slices-of-ct-images-to-fit-with-pet-image/24772/1 "2022-08-15T19:18:28Z")

</div>

Hello, I am a total beginner with 3d Slicer so please excuse me and feel free to direct me to the appropriate page if the question is trivial.  
I’ve got a Dataset of labeled PET/CT Volumes, where there are Full Body PET and low dose CT Volume and high dose CT Volume of the breast areas which I want to use as training data.

The problem is that the resolution of the PET Data is 200x200x619 and shows the whole body while the resolution of the high-dose CT Data is 512x512x278.

The Volumes are pre-registered by the segmentation author but I need that the resolution of both volumes to be equal.

How can I do this in 3d Slicer and how can I automate it to preprocess the whole dataset.

Thanks for your advice.

Cheers Christoph

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 23, 2022, 6:42pm UTC](https://discourse.slicer.org/t/fix-image-resolutions-and-number-of-slices-of-ct-images-to-fit-with-pet-image/24772/2 "2022-08-23T18:42:01Z")

</div>

If you didn’t already figure this out, you can use the Resample Image (BRAINS) module for this task.
