# \#resample

**URL:** https://discourse.slicer.org/tag/resample/39.md

[Latest](https://discourse.slicer.org/latest.md) · [Categories](https://discourse.slicer.org/categories.md) · [Tags](https://discourse.slicer.org/tags.md)

---

## [Controlling Volume Reslice Driver to follow 5DOF inplane view of tool](https://discourse.slicer.org/t/controlling-volume-reslice-driver-to-follow-5dof-inplane-view-of-tool/44712)

<div class="topic-metadata">

**Author:** [@ruffsl](https://discourse.slicer.org/u/ruffsl)\
**Replies:** 4\
**Last updated:** [October 10, 2025, 11:09pm UTC](https://discourse.slicer.org/t/controlling-volume-reslice-driver-to-follow-5dof-inplane-view-of-tool/44712 "2025-10-10T23:09:06Z")

</div>

I’d like show a 5DOF inplane view of needle using the Volume Reslice Driver extension, with the 6th DOF rotation locked in alignment with respect to a canonical axis in the global RAS reference frame, providing a more gr…

---

## [Unexpected behavior in Transforms Module and IGT ResliceDriver](https://discourse.slicer.org/t/unexpected-behavior-in-transforms-module-and-igt-reslicedriver/42828)

<div class="topic-metadata">

**Author:** [@sfrisken](https://discourse.slicer.org/u/sfrisken)\
**Replies:** 8\
**Last updated:** [May 30, 2025, 8:22pm UTC](https://discourse.slicer.org/t/unexpected-behavior-in-transforms-module-and-igt-reslicedriver/42828 "2025-05-30T20:22:02Z")

</div>

When tracking two instruments using the Brainlab system and OpenIGTLink: OpenIGT link transfers transforms for both instruments from BrainLab to Slicer as expected As long as only one instrument is ever visible at a ti…

---

## [Beginner question: Resample scalar volume giving enlarged image size](https://discourse.slicer.org/t/beginner-question-resample-scalar-volume-giving-enlarged-image-size/42550)

<div class="topic-metadata">

**Author:** [@Chamini](https://discourse.slicer.org/u/Chamini)\
**Replies:** 5\
**Last updated:** [April 15, 2025, 12:12am UTC](https://discourse.slicer.org/t/beginner-question-resample-scalar-volume-giving-enlarged-image-size/42550 "2025-04-15T00:12:08Z")

</div>

Hi all, I used the ‘Resample Scalar Volume’ module to change the resolution of my dataset. However, the output volume has much higher dimensions than the original. How can I maintain the same image dimensions while only …

---

## [Beginner Question: Save a resampled data set](https://discourse.slicer.org/t/beginner-question-save-a-resampled-data-set/42459)

<div class="topic-metadata">

**Author:** [@Chamini](https://discourse.slicer.org/u/Chamini)\
**Replies:** 8\
**Last updated:** [April 8, 2025, 4:18am UTC](https://discourse.slicer.org/t/beginner-question-save-a-resampled-data-set/42459 "2025-04-08T04:18:16Z")

</div>

Hi Everyone, I’m new to 3D slicer. I wanted to resample a scanned data set which is in png format. After resampling, when I tried to save the data set in my folder in png format, only the first slice is saved there. What…

---

## [New origin after resampling](https://discourse.slicer.org/t/new-origin-after-resampling/40157)

<div class="topic-metadata">

**Author:** [@sebquetin](https://discourse.slicer.org/u/sebquetin)\
**Replies:** 14\
**Last updated:** [November 15, 2024, 5:56am UTC](https://discourse.slicer.org/t/new-origin-after-resampling/40157 "2024-11-15T05:56:42Z")

</div>

Hello, I would like to ask about 3D slicer coordinate system. I understand from Coordinate systems — 3D Slicer documentation that the origin is in the middle of the first (corner) voxel. However, after resampling, the o…

---

## [Registration of anisotropic whole-body CTs on isotropic femur CTs](https://discourse.slicer.org/t/registration-of-anisotropic-whole-body-cts-on-isotropic-femur-cts/40086)

<div class="topic-metadata">

**Author:** [@nikkos](https://discourse.slicer.org/u/nikkos)\
**Replies:** 5\
**Last updated:** [December 11, 2024, 4:58pm UTC](https://discourse.slicer.org/t/registration-of-anisotropic-whole-body-cts-on-isotropic-femur-cts/40086 "2024-12-11T16:58:28Z")

</div>

The following data are available: Low-resolution, anisotropic whole-body CTs (1 x 1 x 0.7 mm) High-resolution, isotropic CTs of the femur (0.08 x 0.08 x 0.08 mm) We want to register the whole-body CT to the femur CT a…

---

## [Resample Modules](https://discourse.slicer.org/t/resample-modules/40280)

<div class="topic-metadata">

**Author:** [@benedettabottelli](https://discourse.slicer.org/u/benedettabottelli)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 12:53pm UTC](https://discourse.slicer.org/t/resample-modules/40280 "2024-11-20T12:53:03Z")

</div>

Which is the difference between the Resample Scalar volume module and the Resample scalar/vector/DWI volume module? when do I use one rather than the other?

---

## [Cannot segment after using Transforms and Resample Scalar/vectorDWI Volume modules](https://discourse.slicer.org/t/cannot-segment-after-using-transforms-and-resample-scalar-vectordwi-volume-modules/39134)

<div class="topic-metadata">

**Author:** [@Stuart](https://discourse.slicer.org/u/Stuart)\
**Replies:** 2\
**Last updated:** [September 29, 2024, 4:30pm UTC](https://discourse.slicer.org/t/cannot-segment-after-using-transforms-and-resample-scalar-vectordwi-volume-modules/39134 "2024-09-29T16:30:46Z")

</div>

I reoriented a skull using the Transforms module and then Resample Scalar/Vector/DWI Volume module. The resulting volume is properly oriented but I cannot segment it. Here are copies of how I set up the Resample page as …

---

## [Using Resample Scalar/Vector/DWI Volume in python](https://discourse.slicer.org/t/using-resample-scalar-vector-dwi-volume-in-python/38271)

<div class="topic-metadata">

**Author:** [@lord\_bubbacub](https://discourse.slicer.org/u/lord_bubbacub)\
**Replies:** 3\
**Last updated:** [September 8, 2024, 6:05pm UTC](https://discourse.slicer.org/t/using-resample-scalar-vector-dwi-volume-in-python/38271 "2024-09-08T18:05:23Z")

</div>

Resample Scalar/Vector/DWI Volume — 3D Slicer documentation Hi I’m trying to automate use of the resamplescalarvectordwivolume using python in the slicer console. My operation involves rescaling a ct based volume to matc…

---

## [Nasal Cavity Segmentation](https://discourse.slicer.org/t/nasal-cavity-segmentation/38219)

<div class="topic-metadata">

**Author:** [@Arash1](https://discourse.slicer.org/u/Arash1)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 8:27pm UTC](https://discourse.slicer.org/t/nasal-cavity-segmentation/38219 "2024-09-04T20:27:23Z")

</div>

Hello I wanted to ask for advice on nasal cavity segmentation. (turbinates and sinuses). I have my CT Scan dataset and have resampled it, which has helped a lot. Using the threshold, level tracing, paint, erase, and l…

---

## [Low resolution when importing an STL segmentation](https://discourse.slicer.org/t/low-resolution-when-importing-an-stl-segmentation/37715)

<div class="topic-metadata">

**Author:** [@ludoludo](https://discourse.slicer.org/u/ludoludo)\
**Replies:** 1\
**Last updated:** [August 5, 2024, 8:45pm UTC](https://discourse.slicer.org/t/low-resolution-when-importing-an-stl-segmentation/37715 "2024-08-05T20:45:02Z")

</div>

Hey! I have a Nifti volume with the following dimensions: 588 x 734 x 1095, with an isometric resolution of 0.033 mm. I’ve got an STL (or OBJ) file that represents a segmentation I’ve already made. I’d like to convert…

---

## [Reorient MPR slice for 2d segmentation](https://discourse.slicer.org/t/reorient-mpr-slice-for-2d-segmentation/36724)

<div class="topic-metadata">

**Author:** [@rxl](https://discourse.slicer.org/u/rxl)\
**Replies:** 8\
**Last updated:** [July 1, 2024, 2:19pm UTC](https://discourse.slicer.org/t/reorient-mpr-slice-for-2d-segmentation/36724 "2024-07-01T14:19:56Z")

</div>

I was searching for a way to resample a volume in the orientation of multiplanar reformation (using 3d Slicer’s “interactive slice intersections” feature), with the goal of creating a 2d segmentation that lives in 1 slic…

---

## ["Constrain points to surface" feature ](https://discourse.slicer.org/t/constrain-points-to-surface-feature/36632)

<div class="topic-metadata">

**Author:** [@taylorfisher](https://discourse.slicer.org/u/taylorfisher)\
**Replies:** 2\
**Last updated:** [June 9, 2024, 11:14pm UTC](https://discourse.slicer.org/t/constrain-points-to-surface-feature/36632 "2024-06-09T23:14:36Z")

</div>

Operating system: 3D Slicer Slicer version: 5.6.1 Expected behavior: My colleague has an older version of 3D slicer. In Markups → Resample section he has an option of “constrain points to surface” Actual behavior: I c…

---

## [Resampling in the direction where labelmap spans only one slice](https://discourse.slicer.org/t/resampling-in-the-direction-where-labelmap-spans-only-one-slice/30789)

<div class="topic-metadata">

**Author:** [@msahin](https://discourse.slicer.org/u/msahin)\
**Replies:** 1\
**Last updated:** [July 26, 2023, 10:47am UTC](https://discourse.slicer.org/t/resampling-in-the-direction-where-labelmap-spans-only-one-slice/30789 "2023-07-26T10:47:37Z")

</div>

Hi everyone, I am working on extracting radiomics features from MR images. In my dataset, some ROIs span only a single slice. On imageoperations.py I read a comment saying “Do not resample in those directions where labe…

---

## [Resample Image completed with error](https://discourse.slicer.org/t/resample-image-completed-with-error/26973)

<div class="topic-metadata">

**Author:** [@lolamartinalonso](https://discourse.slicer.org/u/lolamartinalonso)\
**Replies:** 1\
**Last updated:** [December 29, 2022, 4:13pm UTC](https://discourse.slicer.org/t/resample-image-completed-with-error/26973 "2022-12-29T16:13:37Z")

</div>

Hi all, After applying the landmark registration, I continue with the module of Resample image to finally get the new volume registrated by applying the Transform file obtained through the registration. But it gives me…

---

## [Fix Image Resolutions and number of slices of CT images to fit with pet image](https://discourse.slicer.org/t/fix-image-resolutions-and-number-of-slices-of-ct-images-to-fit-with-pet-image/24772)

<div class="topic-metadata">

**Author:** [@morgenmuesli](https://discourse.slicer.org/u/morgenmuesli)\
**Replies:** 1\
**Last updated:** [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 "2022-08-23T18:42:01Z")

</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 …

---

## [slicer resamples data by itself](https://discourse.slicer.org/t/slicer-resamples-data-by-itself/23176)

<div class="topic-metadata">

**Author:** [@Berkay](https://discourse.slicer.org/u/Berkay)\
**Replies:** 5\
**Last updated:** [June 17, 2022, 2:22pm UTC](https://discourse.slicer.org/t/slicer-resamples-data-by-itself/23176 "2022-06-17T14:22:54Z")

</div>

Dear all, Data I’m trying to use is in “nii.gz” format and it includes axial data. Normally it has 21 slices in total. After loading data using “data loading” module, program shows maybe 100 slices. When I check proper…

---

## [Resample volume with unregular spacing](https://discourse.slicer.org/t/resample-volume-with-unregular-spacing/21559)

<div class="topic-metadata">

**Author:** [@LaurennLam](https://discourse.slicer.org/u/LaurennLam)\
**Replies:** 4\
**Last updated:** [January 24, 2022, 2:16pm UTC](https://discourse.slicer.org/t/resample-volume-with-unregular-spacing/21559 "2022-01-24T14:16:50Z")

</div>

Hi everyone, I’m trying to resampled a volume with an unregular spacing along Z axis. I followed this post but I encountered issue when resampling. Here are the steps I followed: Loading dicom volume as dicomVolume …

---

## [Script for resampling scalar volumes](https://discourse.slicer.org/t/script-for-resampling-scalar-volumes/20717)

<div class="topic-metadata">

**Author:** [@nthach17](https://discourse.slicer.org/u/nthach17)\
**Replies:** 1\
**Last updated:** [November 22, 2021, 9:52am UTC](https://discourse.slicer.org/t/script-for-resampling-scalar-volumes/20717 "2021-11-22T09:52:45Z")

</div>

Hello, I’m new to the developer aspect of 3D Slicer and would like to compile a Python script for resampling batch of scalar volumes. While looking at the documentation for the ResampleVolume module, Modules:ResampleVol…

---

## [Transform & Resample Contours/RTStructures?](https://discourse.slicer.org/t/transform-resample-contours-rtstructures/18594)

<div class="topic-metadata">

**Author:** [@MichaelCHL](https://discourse.slicer.org/u/MichaelCHL)\
**Replies:** 7\
**Last updated:** [July 12, 2021, 3:31pm UTC](https://discourse.slicer.org/t/transform-resample-contours-rtstructures/18594 "2021-07-12T15:31:51Z")

</div>

Hi all, I am new to 3D Slicer :smiley:. For a project I am working on, I need to transform some CT scans alongside with the contours from Eclipse and reimport them back into Eclipse afterwards. To read the contours (RTS…

---

## [saveNode doesn't work properly](https://discourse.slicer.org/t/savenode-doesnt-work-properly/16308)

<div class="topic-metadata">

**Author:** [@user20s](https://discourse.slicer.org/u/user20s)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 3:00pm UTC](https://discourse.slicer.org/t/savenode-doesnt-work-properly/16308 "2021-03-02T15:00:59Z")

</div>

Operating system: Linux Ubuntu 18.04.5 LTS Slicer version: 4.11.20210226-linux-amd64 Expected behavior: saving a nifti file using saveNode Actual behavior: not saving Hi all, I have a code written in python which sho…

---

## [Resample Image (BRAIN)](https://discourse.slicer.org/t/resample-image-brain/13736)

<div class="topic-metadata">

**Author:** [@zahiraabdala](https://discourse.slicer.org/u/zahiraabdala)\
**Replies:** 5\
**Last updated:** [September 29, 2020, 1:45pm UTC](https://discourse.slicer.org/t/resample-image-brain/13736 "2020-09-29T13:45:31Z")

</div>

Hi everyone, I need to know how Resample Image (BRAIN) module works. I use it and its works very well but I need more information about the functionality. I was looking for more information but I only found this link and…

---

## [Apply a smooth dense deformation](https://discourse.slicer.org/t/apply-a-smooth-dense-deformation/11117)

<div class="topic-metadata">

**Author:** [@labixin](https://discourse.slicer.org/u/labixin)\
**Replies:** 4\
**Last updated:** [September 18, 2020, 2:43pm UTC](https://discourse.slicer.org/t/apply-a-smooth-dense-deformation/11117 "2020-09-18T14:43:58Z")

</div>

Hi all, I need to do the data augmentation used by the 3-D Unet work (paper link): “Besides rotation, scaling and gray value augmentation, we apply a smooth dense deformation field on both data and ground truth labels. …

---

## [Resampling a volume and Image Spacing](https://discourse.slicer.org/t/resampling-a-volume-and-image-spacing/12066)

<div class="topic-metadata">

**Author:** [@Deepa](https://discourse.slicer.org/u/Deepa)\
**Replies:** 6\
**Last updated:** [June 17, 2020, 5:13pm UTC](https://discourse.slicer.org/t/resampling-a-volume-and-image-spacing/12066 "2020-06-17T17:13:42Z")

</div>

Hi All, I have got a volume with the following dimensions 1702 x1678 x 251. I want to reduce the resolution in xy direction and leave z unaltered. May I know which module can be used to do the above? I’ve checked t…

---

## [Using resampling cli in python script](https://discourse.slicer.org/t/using-resampling-cli-in-python-script/11918)

<div class="topic-metadata">

**Author:** [@1116](https://discourse.slicer.org/u/1116)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 12:46pm UTC](https://discourse.slicer.org/t/using-resampling-cli-in-python-script/11918 "2020-06-09T12:46:18Z")

</div>

I’m new with 3d slicer cli, using this code , I get a volume with Image dimensions (0,0,0) please tell me what’s wrong with this code thank you!

---

## [Resize 3d volume](https://discourse.slicer.org/t/resize-3d-volume/11767)

<div class="topic-metadata">

**Author:** [@1116](https://discourse.slicer.org/u/1116)\
**Replies:** 2\
**Last updated:** [May 30, 2020, 12:02am UTC](https://discourse.slicer.org/t/resize-3d-volume/11767 "2020-05-30T00:02:41Z")

</div>

If i want to resize 3d volume 256 x 256 x 26 to 184 x 220 x 26 , is it right to use Resample Sacalar/Vector/DWI Volume module? The Original volumes spacing is 1.25 x 1.25 x 4 The reason to resize 3d volume is that I…

---

## [Perform bulk resamples with python](https://discourse.slicer.org/t/perform-bulk-resamples-with-python/5561)

<div class="topic-metadata">

**Author:** [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Replies:** 2\
**Last updated:** [January 29, 2019, 4:05pm UTC](https://discourse.slicer.org/t/perform-bulk-resamples-with-python/5561 "2019-01-29T16:05:25Z")

</div>

I would like to perform a bulk resampling on several volumes, each volume has another associated who is the reference. I can use the module Resample Image (BRAINS) to do this, but since they are several ones and it is ju…

---

## [Resampling a Labelmap Volume](https://discourse.slicer.org/t/resampling-a-labelmap-volume/5545)

<div class="topic-metadata">

**Author:** [@stevenagl12](https://discourse.slicer.org/u/stevenagl12)\
**Replies:** 2\
**Last updated:** [January 29, 2019, 1:48am UTC](https://discourse.slicer.org/t/resampling-a-labelmap-volume/5545 "2019-01-29T01:48:41Z")

</div>

How can I resample a binary labelmap volume to an image origin of \[0,0,0\] and an image spacing of \[1,1,1\] that preserves the labelmap classes in the volume output? Is there a way to do this programmatically?

---

## [Volume Reslicing slow insome cases](https://discourse.slicer.org/t/volume-reslicing-slow-insome-cases/5436)

<div class="topic-metadata">

**Author:** [@mcfly3001](https://discourse.slicer.org/u/mcfly3001)\
**Replies:** 1\
**Last updated:** [January 27, 2019, 1:26pm UTC](https://discourse.slicer.org/t/volume-reslicing-slow-insome-cases/5436 "2019-01-27T13:26:01Z")

</div>

Hi everyone, I am using slicer to visualize a tracked tool in the MPR planes and found some performance issues where the framerate drops down to ~13 FPS. Using Slicer 4.10, I load the CT-Chest volume, add a coordinate s…

---

## [Single .dcm data loading and 3D model](https://discourse.slicer.org/t/single-dcm-data-loading-and-3d-model/5399)

<div class="topic-metadata">

**Author:** [@Giulia](https://discourse.slicer.org/u/Giulia)\
**Replies:** 0\
**Last updated:** [January 17, 2019, 3:46pm UTC](https://discourse.slicer.org/t/single-dcm-data-loading-and-3d-model/5399 "2019-01-17T15:46:30Z")

</div>

Operating system: Windows 10 Slicer version: 4.10.1 Expected behavior: Create an accurate 3D model from a serie of single .dcm files from MRI Actual behavior: can’t load the files in the DCM folder (displays 0 patient…

[Next page](https://discourse.slicer.org/tag/resample/39.md?match_all_tags=true&page=1&tags%5B%5D=resample)
