# \#interpolator

**URL:** https://discourse.itk.org/tag/interpolator/40.md

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

---

## [how to speed up resample interpolator?](https://discourse.itk.org/t/how-to-speed-up-resample-interpolator/5026)

<div class="topic-metadata">

**Author:** [@Bugmaker](https://discourse.itk.org/u/Bugmaker)\
**Replies:** 1\
**Last updated:** [May 31, 2022, 3:31am UTC](https://discourse.itk.org/t/how-to-speed-up-resample-interpolator/5026 "2022-05-31T03:31:44Z")

</div>

When i use BsplineInterpolator to resample my nifit file(315x512x512) to (369X663x663), it takes almost 20 min, that is too low. how can i to speed up this? cpu: i5-4590 3.3ghz The following is my resample code: typ…

---

## [Image quality after registration](https://discourse.itk.org/t/image-quality-after-registration/4947)

<div class="topic-metadata">

**Author:** [@Moha\_data](https://discourse.itk.org/u/Moha_data)\
**Replies:** 4\
**Last updated:** [May 2, 2022, 5:35pm UTC](https://discourse.itk.org/t/image-quality-after-registration/4947 "2022-05-02T17:35:04Z")

</div>

Hello, I applied affine registration to images, and the result shows that images are successfully registered. However, when I compare the fixed image with the registered moving image, I can see that the fixed image is b…

---

## [Resampling images - LinearInterpolateImageFunction](https://discourse.itk.org/t/resampling-images-linearinterpolateimagefunction/4887)

<div class="topic-metadata">

**Author:** [@tabro](https://discourse.itk.org/u/tabro)\
**Replies:** 1\
**Last updated:** [March 28, 2022, 3:14pm UTC](https://discourse.itk.org/t/resampling-images-linearinterpolateimagefunction/4887 "2022-03-28T15:14:45Z")

</div>

Hi, I’m trying to resample a CT (nifti) of non-isotropic spacing to have isotropic spacing of (0.5, 0.5, 0.5), no rescaling. I’m using the code below. The output is an array of the desired size but consists of almost on…

---

## [SimpleITK ScaleTransform understanding](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313)

<div class="topic-metadata">

**Author:** [@Theoretialperson](https://discourse.itk.org/u/Theoretialperson)\
**Replies:** 2\
**Last updated:** [August 5, 2021, 7:37pm UTC](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313 "2021-08-05T19:37:20Z")

</div>

I want to scale a 3D image by some factor, and I was expecting that the scale factor in ScaleTransform would give me a zoomed-out image when the scale factor is smaller than 1.0. Unfortunately this is not the case. I get…

---

## [InterpolateImageFunction of templated PixelType](https://discourse.itk.org/t/interpolateimagefunction-of-templated-pixeltype/1729)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 3\
**Last updated:** [April 2, 2019, 4:26pm UTC](https://discourse.itk.org/t/interpolateimagefunction-of-templated-pixeltype/1729 "2019-04-02T16:26:34Z")

</div>

Hello, if I want to use an ImageInterpolatorFunction (Linear or NearestNeighbor) for an image with PixelType that can be either scalar or a vector. The PixelType is determined at compile time because the function templ…

---

## [How can I get an interpolated value "between" voxels?](https://discourse.itk.org/t/how-can-i-get-an-interpolated-value-between-voxels/1535)

<div class="topic-metadata">

**Author:** [@Alessandro](https://discourse.itk.org/u/Alessandro)\
**Replies:** 6\
**Last updated:** [January 23, 2019, 5:32pm UTC](https://discourse.itk.org/t/how-can-i-get-an-interpolated-value-between-voxels/1535 "2019-01-23T17:32:08Z")

</div>

Hello, I have a 3D image in raw format, the .mhd file is similar to this one: ObjectType = Image NDims = 3 ElementSpacing = 0.031473 0.031473 0.031473 DimSize = 100 100 100 ElementType = MET\_SHORT ElementDataFile = pha…

---

## [Which Interpolator to Resample Image and its segmentation Mask](https://discourse.itk.org/t/which-interpolator-to-resample-image-and-its-segmentation-mask/689)

<div class="topic-metadata">

**Author:** [@Jsphine](https://discourse.itk.org/u/Jsphine)\
**Replies:** 4\
**Last updated:** [February 20, 2018, 3:12pm UTC](https://discourse.itk.org/t/which-interpolator-to-resample-image-and-its-segmentation-mask/689 "2018-02-20T15:12:44Z")

</div>

Dear community, I have a set of CT images and their masks (segmentations). What I want to do is to rotate/resample them without losing the correspondence between the image and the mask. Using the LinearInterpolator yie…
