# Latest

**URL:** https://discourse.itk.org/latest.md?page=4

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

**Page:** 5

---

## [Helper Function itk.tile\_image\_filter Correct Usage to Convert a 2D Slice to 3D Image](https://discourse.itk.org/t/helper-function-itk-tile-image-filter-correct-usage-to-convert-a-2d-slice-to-3d-image/7586)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 2\
**Last updated:** [June 30, 2025, 3:25pm UTC](https://discourse.itk.org/t/helper-function-itk-tile-image-filter-correct-usage-to-convert-a-2d-slice-to-3d-image/7586 "2025-06-30T15:25:45Z")

</div>

I have used itk::ImageFilter\<itk::Image\<unsigned char, 2\>, itk::Image\<unsigned char, 3\>\> in C++ to convert a 2D slice to 3D volume in the past. I’m trying to achieve the same ends with itk.tile\_image\_filter with ITK Pyt…

---

## [reading and writng a dicom image](https://discourse.itk.org/t/reading-and-writng-a-dicom-image/3992)

<div class="topic-metadata">

**Author:** [@sarbabi](https://discourse.itk.org/u/sarbabi)\
**Replies:** 7\
**Last updated:** [June 26, 2025, 9:59pm UTC](https://discourse.itk.org/t/reading-and-writng-a-dicom-image/3992 "2025-06-26T21:59:06Z")

</div>

Hi, In the following simple piece of code I’m trying to read a DICOM image as sitkImage and its tags as a python dictionary. then I call another function to write that image in another location with the same tags readin…

---

## [SimpleITK build error on windows](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574)

<div class="topic-metadata">

**Author:** [@Limz](https://discourse.itk.org/u/Limz)\
**Replies:** 4\
**Last updated:** [June 26, 2025, 2:06pm UTC](https://discourse.itk.org/t/simpleitk-build-error-on-windows/7574 "2025-06-26T14:06:15Z")

</div>

Hi Guys, Iam new in ITK, And I am having issues for building the SimpleITK on windows using cmake-gui as explained on the webside and using SimpleITK/SuperBuild. After generating the visual studio solution, I run ALL\_B…

---

## [applying the matrix of deformable registration to another file](https://discourse.itk.org/t/applying-the-matrix-of-deformable-registration-to-another-file/7578)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 4\
**Last updated:** [June 25, 2025, 6:37pm UTC](https://discourse.itk.org/t/applying-the-matrix-of-deformable-registration-to-another-file/7578 "2025-06-25T18:37:01Z")

</div>

Hi everyone I have two DICOM CT images (CT1, CT2) (Matrix size: 512,512,111) that I want to register them with B spline deformable registration. I have also exported a RT dose file (RT2) (Matrix size:100,61,1) from the …

---

## [Vector type single channel image](https://discourse.itk.org/t/vector-type-single-channel-image/7575)

<div class="topic-metadata">

**Author:** [@Franciska](https://discourse.itk.org/u/Franciska)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 1:09pm UTC](https://discourse.itk.org/t/vector-type-single-channel-image/7575 "2025-06-25T13:09:54Z")

</div>

I have a dicom image thats shape is (1136, 852, 1) and PixelID is ‘vector of 8-bit unsigned integer’ . I want to cast this to float32 but as I can not cast vector type to simple float, following online advice I tried: …

---

## [Guidance Needed on Using ITK for Custom Image Registration Pipeline](https://discourse.itk.org/t/guidance-needed-on-using-itk-for-custom-image-registration-pipeline/7576)

<div class="topic-metadata">

**Author:** [@Daisy](https://discourse.itk.org/u/Daisy)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 1:54pm UTC](https://discourse.itk.org/t/guidance-needed-on-using-itk-for-custom-image-registration-pipeline/7576 "2025-06-25T13:54:09Z")

</div>

Hi everyone, I’m currently working on a medical imaging project that involves aligning a series of 3D MRI scans with a reference image for longitudinal analysis. I’ve been exploring ITK as the primary library to handle …

---

## [Elastix WeightedCombinationTransform](https://discourse.itk.org/t/elastix-weightedcombinationtransform/7568)

<div class="topic-metadata">

**Author:** [@Sylvester\_Wu](https://discourse.itk.org/u/Sylvester_Wu)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 4:14pm UTC](https://discourse.itk.org/t/elastix-weightedcombinationtransform/7568 "2025-06-23T16:14:45Z")

</div>

Hi Everyone, I’m very new to ITK and elastix. I have a set of 2-channel images of Tetraspeck fiducial beads in green and far red fluorescence and would like to register the two channels relative to each other for subseq…

---

## [rtkiterativefdk CUDA error](https://discourse.itk.org/t/rtkiterativefdk-cuda-error/5913)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 11\
**Last updated:** [June 16, 2025, 5:39am UTC](https://discourse.itk.org/t/rtkiterativefdk-cuda-error/5913 "2025-06-16T05:39:29Z")

</div>

D:\\ITKRTK\\RTK-2.4.1\\utilities\\ITKCudaCommon\\src\\itkCudaDataManager.cxx:177 @ unknown : Cuda Error : an illegal memory access was encountered ExceptionObject caught with itk::WriteImage(IFDKOutputPointer, args\_info.outpu…

---

## [Patches for ITK 5.4.4](https://discourse.itk.org/t/patches-for-itk-5-4-4/7563)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [June 9, 2025, 12:43am UTC](https://discourse.itk.org/t/patches-for-itk-5-4-4/7563 "2025-06-09T00:43:58Z")

</div>

Hi folks, The next patch (bugfix) release, ITK 5.4.4, is coming up. Patches currently staged on the Git release-5.4 branch are: Ariouz (1): ENH: Add Graalpy Support Bradley Lowekamp (3): BUG: GDCM destroy…

---

## [Edge cases of DICOMOrient](https://discourse.itk.org/t/edge-cases-of-dicomorient/7559)

<div class="topic-metadata">

**Author:** [@ahulist](https://discourse.itk.org/u/ahulist)\
**Replies:** 2\
**Last updated:** [June 5, 2025, 11:22pm UTC](https://discourse.itk.org/t/edge-cases-of-dicomorient/7559 "2025-06-05T23:22:39Z")

</div>

I’m using SimpleITK’s DICOMOrient to reorient a stack of DICOM slices. When I read files as a simple list (instead of using ImageSeriesReader), SITK only uses the first slice’s Origin/Spacing and infers the rest on the f…

---

## [Writing a bunch of 3D Images (Nifti Format) into one whole 4D Image.](https://discourse.itk.org/t/writing-a-bunch-of-3d-images-nifti-format-into-one-whole-4d-image/7558)

<div class="topic-metadata">

**Author:** [@Seun](https://discourse.itk.org/u/Seun)\
**Replies:** 10\
**Last updated:** [June 5, 2025, 9:01pm UTC](https://discourse.itk.org/t/writing-a-bunch-of-3d-images-nifti-format-into-one-whole-4d-image/7558 "2025-06-05T21:01:03Z")

</div>

Hello everyone, I was wondering if anyone could help point me in the right direction. I have a bunch of itk::Image\<type, 3\> 3D images that I would like to combine into a single 4D file written out using itk::NiftiIma…

---

## [Shall we start using C++17 at the master branch?](https://discourse.itk.org/t/shall-we-start-using-c-17-at-the-master-branch/5828)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 36\
**Last updated:** [May 28, 2025, 11:29pm UTC](https://discourse.itk.org/t/shall-we-start-using-c-17-at-the-master-branch/5828 "2025-05-28T23:29:49Z")

</div>

In the last few days, I prepared a pull request to upgrade the ITK master branch to C++17, with help from @dzenanz and @mihail.isakov Please check: PR #3969 ENH: Upgrade ITK from C++14 to C++17 by N-Dekker · Pull Request…

---

## [Best Practices for Custom Image Filters in ITK with Multi-Threading Support](https://discourse.itk.org/t/best-practices-for-custom-image-filters-in-itk-with-multi-threading-support/7547)

<div class="topic-metadata">

**Author:** [@Kelvin](https://discourse.itk.org/u/Kelvin)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 3:33pm UTC](https://discourse.itk.org/t/best-practices-for-custom-image-filters-in-itk-with-multi-threading-support/7547 "2025-05-28T15:33:09Z")

</div>

Hello everyone, I’m currently working on developing a custom image filter in ITK for a research project, and I’m hoping to get some guidance on best practices, especially when it comes to performance and thread safety. …

---

## [Brain extraction - CT angiograms](https://discourse.itk.org/t/brain-extraction-ct-angiograms/7545)

<div class="topic-metadata">

**Author:** [@malar563](https://discourse.itk.org/u/malar563)\
**Replies:** 4\
**Last updated:** [May 28, 2025, 2:35pm UTC](https://discourse.itk.org/t/brain-extraction-ct-angiograms/7545 "2025-05-28T14:35:00Z")

</div>

Hi, I would like to automatically extract the brain from CT angiograms using a Python script. I have tested the WrapSolidify extension in 3D Slicer, and it works well (see screenshot). My questions are : 1 - How can I …

---

## [Is the rescale slope the same for all dicom in one sery?](https://discourse.itk.org/t/is-the-rescale-slope-the-same-for-all-dicom-in-one-sery/7546)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [May 28, 2025, 2:08pm UTC](https://discourse.itk.org/t/is-the-rescale-slope-the-same-for-all-dicom-in-one-sery/7546 "2025-05-28T14:08:47Z")

</div>

Let’s say, one sery has 100 dicom files. Is the rescale slope (0028, 1053) must the same for all 100 dicom file? Or it may be different for dicom files in one sery? Any suggestion is appreciated~~~

---

## [After running Update(), the RTK memory is not release](https://discourse.itk.org/t/after-running-update-the-rtk-memory-is-not-release/7543)

<div class="topic-metadata">

**Author:** [@langzhizhen](https://discourse.itk.org/u/langzhizhen)\
**Replies:** 3\
**Last updated:** [May 28, 2025, 3:07am UTC](https://discourse.itk.org/t/after-running-update-the-rtk-memory-is-not-release/7543 "2025-05-28T03:07:41Z")

</div>

Hello, I built a rtk class using python and then wrapped the forward() and FDKbackward(). When I was doing forward and backward, I noticed that the memory usage was rising. I used python’s memory\_profiler tool to analyze…

---

## [Does ITK-5.3 OrientImageFilter bugs on windows?](https://discourse.itk.org/t/does-itk-5-3-orientimagefilter-bugs-on-windows/7540)

<div class="topic-metadata">

**Author:** [@Divital](https://discourse.itk.org/u/Divital)\
**Replies:** 1\
**Last updated:** [May 27, 2025, 1:14pm UTC](https://discourse.itk.org/t/does-itk-5-3-orientimagefilter-bugs-on-windows/7540 "2025-05-27T13:14:08Z")

</div>

I am wrapping some functions from the ITK-5.3 library in Julia, and i have the following C++ defined wrappers, specifically I have a function that takes an image and reorients the image into LPS orientation, (the filter …

---

## [RTK training - June 13 in Lyon (France)](https://discourse.itk.org/t/rtk-training-june-13-in-lyon-france/7490)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 4\
**Last updated:** [May 26, 2025, 7:37am UTC](https://discourse.itk.org/t/rtk-training-june-13-in-lyon-france/7490 "2025-05-26T07:37:20Z")

</div>

Dear (current or potential) RTK users, It is our pleasure to invite you to an in-person RTK training on Friday June 13 2025 in Lyon (France) at the Marie Curie library. This training targets both new users who want to…

---

## [SimilarityIndexImageFilter (Beginner question)](https://discourse.itk.org/t/similarityindeximagefilter-beginner-question/7524)

<div class="topic-metadata">

**Author:** [@Mikko\_Pyysalo](https://discourse.itk.org/u/Mikko_Pyysalo)\
**Replies:** 2\
**Last updated:** [May 25, 2025, 6:40pm UTC](https://discourse.itk.org/t/similarityindeximagefilter-beginner-question/7524 "2025-05-25T18:40:23Z")

</div>

Dear community, I tried to compute the similarity of two binary labelmap volumes (pixel type unsigned char) in 3D Slicer Simple filters SimilarityIndexImageFilter. There comes an error message: Wrong number or type of …

---

## [Jacobian coordinate system in itkDisplacementFieldTransform vs itkDisplacementFieldJacobianDeterminantFilter](https://discourse.itk.org/t/jacobian-coordinate-system-in-itkdisplacementfieldtransform-vs-itkdisplacementfieldjacobiandeterminantfilter/7522)

<div class="topic-metadata">

**Author:** [@cookpa](https://discourse.itk.org/u/cookpa)\
**Replies:** 3\
**Last updated:** [May 21, 2025, 6:56pm UTC](https://discourse.itk.org/t/jacobian-coordinate-system-in-itkdisplacementfieldtransform-vs-itkdisplacementfieldjacobiandeterminantfilter/7522 "2025-05-21T18:56:30Z")

</div>

I’ve been working on fixing problems in ANTs tensor / vector coordinates lately, which has led me to look at the local Jacobian calculations. I am trying to better understand how the coordinate system of Jacobians work i…

---

## [ITK-snap cannot load DICOM](https://discourse.itk.org/t/itk-snap-cannot-load-dicom/4351)

<div class="topic-metadata">

**Author:** [@Won\_Chul\_Chung](https://discourse.itk.org/u/Won_Chul_Chung)\
**Replies:** 9\
**Last updated:** [May 21, 2025, 6:25pm UTC](https://discourse.itk.org/t/itk-snap-cannot-load-dicom/4351 "2025-05-21T18:25:02Z")

</div>

Hello, I am relatively new to python and itk. I originally started with MicroCT scan images with .tif extension. (single series, about 500 “slices”) I then transformed the slices into DICOM series using simpleitk func…

---

## [File reader for "ITK-SnAP Label Description File"?](https://discourse.itk.org/t/file-reader-for-itk-snap-label-description-file/7525)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 6\
**Last updated:** [May 16, 2025, 7:19pm UTC](https://discourse.itk.org/t/file-reader-for-itk-snap-label-description-file/7525 "2025-05-16T19:19:58Z")

</div>

Hi all, Does ITK itself have a reader class for “ITK-SnAP Label Description File” files? Or does only ITK-SnAP have such a reader? Thanks, Sean

---

## [ITKConfig.cmake problems](https://discourse.itk.org/t/itkconfig-cmake-problems/7520)

<div class="topic-metadata">

**Author:** [@Gio](https://discourse.itk.org/u/Gio)\
**Replies:** 3\
**Last updated:** [May 13, 2025, 6:21pm UTC](https://discourse.itk.org/t/itkconfig-cmake-problems/7520 "2025-05-13T18:21:49Z")

</div>

Hi all, I’m an absolute beginner :smiling\_face\_with\_tear:, trying to install “antspyx”, that require ITK. I’ve build ITK with CMake in Windows 11, now I’ve just one folder that i named “ITKbinaries” in C:/Users/giorg/bi…

---

## [Use an external SPM Displacement Field in SimpleITK to translate a point from the source MRI to the output MRI: Annotations not matching](https://discourse.itk.org/t/use-an-external-spm-displacement-field-in-simpleitk-to-translate-a-point-from-the-source-mri-to-the-output-mri-annotations-not-matching/7518)

<div class="topic-metadata">

**Author:** [@miaomiaomiao](https://discourse.itk.org/u/miaomiaomiao)\
**Replies:** 2\
**Last updated:** [May 13, 2025, 1:22pm UTC](https://discourse.itk.org/t/use-an-external-spm-displacement-field-in-simpleitk-to-translate-a-point-from-the-source-mri-to-the-output-mri-annotations-not-matching/7518 "2025-05-13T13:22:57Z")

</div>

Hello community, I have made point annotations in original MRIs and used SPM CAT12 to register the MRIs. Now I want to transform the points into the registered MRIs using SimpleITK. SPM CAT12 gives me a DisplacementFiel…

---

## [Should we be using "scheduler\_affinity" for default number of threads?](https://discourse.itk.org/t/should-we-be-using-scheduler-affinity-for-default-number-of-threads/7278)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 8\
**Last updated:** [May 12, 2025, 12:33pm UTC](https://discourse.itk.org/t/should-we-be-using-scheduler-affinity-for-default-number-of-threads/7278 "2025-05-12T12:33:14Z")

</div>

The current way to get the default number of threads ( if not envs are set) is to look at the hardware: This has not been a good default when ITK is used in a docker container ( where the default become the number of c…

---

## [DICOMOrient Voxel Data Permutations/Flips in SimpleITK](https://discourse.itk.org/t/dicomorient-voxel-data-permutations-flips-in-simpleitk/7516)

<div class="topic-metadata">

**Author:** [@ahulist](https://discourse.itk.org/u/ahulist)\
**Replies:** 2\
**Last updated:** [May 12, 2025, 4:03am UTC](https://discourse.itk.org/t/dicomorient-voxel-data-permutations-flips-in-simpleitk/7516 "2025-05-12T04:03:52Z")

</div>

Hi all, I’m working with a DICOM processing pipeline where I use sitk.DICOMOrient(image, "LPS") to reorient an original series. Later, I need to revert this lps\_oriented\_image back to match the exact voxel data order an…

---

## [Get Jacobian wrt to Position for BSplineTransform](https://discourse.itk.org/t/get-jacobian-wrt-to-position-for-bsplinetransform/7504)

<div class="topic-metadata">

**Author:** [@reox](https://discourse.itk.org/u/reox)\
**Replies:** 7\
**Last updated:** [May 10, 2025, 12:53am UTC](https://discourse.itk.org/t/get-jacobian-wrt-to-position-for-bsplinetransform/7504 "2025-05-10T00:53:08Z")

</div>

As far as I can tell, the function ComputeJacobianWithRespectToPosition is not implemented for BSplineTransform (as it is for DisplacementFieldTransform) but only ComputeJacobianWithRespectToParameters, for example using…

---

## [Proposal to Deprecate macOS Intel Support in ITK 6 (Retain in ITK 5)](https://discourse.itk.org/t/proposal-to-deprecate-macos-intel-support-in-itk-6-retain-in-itk-5/7510)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [April 28, 2025, 1:32pm UTC](https://discourse.itk.org/t/proposal-to-deprecate-macos-intel-support-in-itk-6-retain-in-itk-5/7510 "2025-04-28T13:32:52Z")

</div>

Proposal Deprecate macOS Intel (x86\_64) support in ITK 6, while maintaining it in ITK 5 as a long-term support (LTS) release. This aligns with Apple’s phased sunsetting of Intel Macs and industry-wide shifts toward Apple…

---

## [Scaling Problems with LandmarkBasedTransformInitializer](https://discourse.itk.org/t/scaling-problems-with-landmarkbasedtransforminitializer/7503)

<div class="topic-metadata">

**Author:** [@Rextorian](https://discourse.itk.org/u/Rextorian)\
**Replies:** 2\
**Last updated:** [April 25, 2025, 4:45pm UTC](https://discourse.itk.org/t/scaling-problems-with-landmarkbasedtransforminitializer/7503 "2025-04-25T16:45:39Z")

</div>

Hi, I am a little bit confused about the results I get from the LandmarkBasedTransformInitializer in combination with the similarity Transform. Lets say I have to sets of landmarks (points\_a and points\_b) where points\_…

---

## [Reading in vector volume from NRRD with variable scalar component count](https://discourse.itk.org/t/reading-in-vector-volume-from-nrrd-with-variable-scalar-component-count/7485)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.itk.org/u/cpinter)\
**Replies:** 12\
**Last updated:** [April 24, 2025, 12:45pm UTC](https://discourse.itk.org/t/reading-in-vector-volume-from-nrrd-with-variable-scalar-component-count/7485 "2025-04-24T12:45:35Z")

</div>

Hi all, I’d like to read an NRRD volume that looks like this: type: int dimension: 4 space: right-anterior-superior sizes: 26 102 102 61 kinds: list domain domain domain I have this code that is supposed to do the re…

[Previous page](https://discourse.itk.org/latest.md?page=3)

[Next page](https://discourse.itk.org/latest.md?page=5)
