# \#python

**URL:** https://discourse.itk.org/tag/python/4.md

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

---

## [ITK 5.4.7 has been released! Expanded Image IO, Faster DTI, and Reliable Builds](https://discourse.itk.org/t/itk-5-4-7-has-been-released-expanded-image-io-faster-dti-and-reliable-builds/7787)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [August 10, 2026, 7:07pm UTC](https://discourse.itk.org/t/itk-5-4-7-has-been-released-expanded-image-io-faster-dti-and-reliable-builds/7787 "2026-08-10T19:07:47Z")

</div>

We are pleased to announce the release of ITK 5.4.7! ITK 5.4.7 is a maintenance release focused on image IO capabilities, computational performance, build reliability, and packaging resilience for this cross-platform, o…

---

## [Registation of two vascular images using Python Simple ITK](https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766)

<div class="topic-metadata">

**Author:** [@anatolejimenez](https://discourse.itk.org/u/anatolejimenez)\
**Replies:** 1\
**Last updated:** [May 22, 2026, 12:51pm UTC](https://discourse.itk.org/t/registation-of-two-vascular-images-using-python-simple-itk/7766 "2026-05-22T12:51:09Z")

</div>

Hi, I would like to register two vascular images of the same modality but with different dynamics. I played a lot with the image registration metrics (correlation, mutual information and correlation) with optimizer grad…

---

## [SimpleITK 3.0.0 Beta 1](https://discourse.itk.org/t/simpleitk-3-0-0-beta-1/7767)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [May 22, 2026, 12:45pm UTC](https://discourse.itk.org/t/simpleitk-3-0-0-beta-1/7767 "2026-05-22T12:45:41Z")

</div>

Announcing the SimpleITK 3.0.0b1 Beta Release! This beta release is a major milestone for SimpleITK 3.0, featuring new functionality and improvements including experimental integration of SimpleElastix into the binary d…

---

## [SimpleITK 2.5.5 Release](https://discourse.itk.org/t/simpleitk-2-5-5-release/7765)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [May 14, 2026, 6:10pm UTC](https://discourse.itk.org/t/simpleitk-2-5-5-release/7765 "2026-05-14T18:10:51Z")

</div>

Announcing the SimpleITK 2.5.5 Release! Release Highlights SimpleITK in R on the Windows operating system is available! SimpleITK 2.5.5 is the first official release to support building SimpleITK with R wrapping for a…

---

## [ITK 5.4.6 has been released! Performance, Stability, and Security](https://discourse.itk.org/t/itk-5-4-6-has-been-released-performance-stability-and-security/7756)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [May 1, 2026, 8:41pm UTC](https://discourse.itk.org/t/itk-5-4-6-has-been-released-performance-stability-and-security/7756 "2026-05-01T20:41:18Z")

</div>

We are pleased to announce the release of ITK 5.4.6! ITK 5.4.6 is a maintenance release focused on performance improvements, security fixes, and platform compatibility for this cross-platform, open-source toolkit suppor…

---

## [Reorganize RemoteModules for reduced maintenance burden](https://discourse.itk.org/t/reorganize-remotemodules-for-reduced-maintenance-burden/7753)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 3\
**Last updated:** [April 16, 2026, 12:51am UTC](https://discourse.itk.org/t/reorganize-remotemodules-for-reduced-maintenance-burden/7753 "2026-04-16T00:51:16Z")

</div>

RFC: Consolidating remote modules into hierarchical category repos Tracking issue: ENH: Consolidate remote modules into hierarchical category repos · Issue #6060 · InsightSoftwareConsortium/ITK · GitHub ITK currently ma…

---

## [ITK 6.0 Beta 2 has been released!](https://discourse.itk.org/t/itk-6-0-beta-2-has-been-released/7738)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [March 25, 2026, 4:11pm UTC](https://discourse.itk.org/t/itk-6-0-beta-2-has-been-released/7738 "2026-03-25T16:11:40Z")

</div>

We are excited to announce the second beta release of ITK 6.0! This release introduces modern CMake module targets — a major build system modernization that makes it easier than ever to link ITK into your projects. Along…

---

## [SimpleITK 3.0.0 Alpha 3](https://discourse.itk.org/t/simpleitk-3-0-0-alpha-3/7733)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 5\
**Last updated:** [March 19, 2026, 10:10am UTC](https://discourse.itk.org/t/simpleitk-3-0-0-alpha-3/7733 "2026-03-19T10:10:54Z")

</div>

Release Notes for SimpleITK v3.0.0 Alpha Release 3 This is the third Alpha Release of SimpleITK 3.0. It covers changes since v3.0.0a1 (September 2025), including v3.0.0a2. Significant work has been done on the Python pa…

---

## [python SimpleITK and parallelism](https://discourse.itk.org/t/python-simpleitk-and-parallelism/7678)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 4\
**Last updated:** [January 30, 2026, 3:15pm UTC](https://discourse.itk.org/t/python-simpleitk-and-parallelism/7678 "2026-01-30T15:15:28Z")

</div>

Following up on Running optimizer in parallel - #7 by blowekamp I wanted to ask ask about the interaction between python parallelism and SimpleITK. I’ve successfully wrapped the calls I need from SimpleITK in concurrent…

---

## [Query on Regularization with BSplineTransform and GradientDescent in SimpleITK](https://discourse.itk.org/t/query-on-regularization-with-bsplinetransform-and-gradientdescent-in-simpleitk/7690)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 4\
**Last updated:** [January 5, 2026, 4:17pm UTC](https://discourse.itk.org/t/query-on-regularization-with-bsplinetransform-and-gradientdescent-in-simpleitk/7690 "2026-01-05T16:17:06Z")

</div>

Hello everyone, I am currently working with SimpleITK for image registration, specifically employing sitk.BSplineTransform and the SetOptimizerAsGradientDescent optimizer. I’ve been reviewing a Python example that demo…

---

## [Different Rotation Matrices between Euler3DTransform and Scipy Rotation](https://discourse.itk.org/t/different-rotation-matrices-between-euler3dtransform-and-scipy-rotation/4273)

<div class="topic-metadata">

**Author:** [@Floowey](https://discourse.itk.org/u/Floowey)\
**Replies:** 6\
**Last updated:** [December 25, 2025, 7:20am UTC](https://discourse.itk.org/t/different-rotation-matrices-between-euler3dtransform-and-scipy-rotation/4273 "2025-12-25T07:20:45Z")

</div>

Hello, I’m trying to rotate sections of my images according to certain orientations. However, I noticed some discrepancies between the rotations of the Euler3DTransform object and scipy.spatial.transform.Rotation when g…

---

## [ITK/RTK config and build to use CudaBackProjectionImageFilter python wrapper](https://discourse.itk.org/t/itk-rtk-config-and-build-to-use-cudabackprojectionimagefilter-python-wrapper/7658)

<div class="topic-metadata">

**Author:** [@jshenNT](https://discourse.itk.org/u/jshenNT)\
**Replies:** 9\
**Last updated:** [December 4, 2025, 4:49pm UTC](https://discourse.itk.org/t/itk-rtk-config-and-build-to-use-cudabackprojectionimagefilter-python-wrapper/7658 "2025-12-04T16:49:00Z")

</div>

Hello, I’m new to ITK/RTK and currently working on a project where we want to use RTK’s reconstruction functionality, specifically CudaFDKBackProjectionImageFilter. However, due to my limited experience with ITK/RTK, I…

---

## [ITK 5.4.5 has been released! Onboarding AI Agents](https://discourse.itk.org/t/itk-5-4-5-has-been-released-onboarding-ai-agents/7670)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [November 24, 2025, 9:00pm UTC](https://discourse.itk.org/t/itk-5-4-5-has-been-released-onboarding-ai-agents/7670 "2025-11-24T21:00:32Z")

</div>

We are pleased to announce the release of ITK 5.4.5! ITK 5.4.5 is a maintenance release focused on critical bug fixes, improved documentation, and platform support, while introducing AI agent onboarding to assist in pro…

---

## [ITK 6.0 Beta 1 has been released!](https://discourse.itk.org/t/itk-6-0-beta-1-has-been-released/7651)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [October 29, 2025, 9:10pm UTC](https://discourse.itk.org/t/itk-6-0-beta-1-has-been-released/7651 "2025-10-29T21:10:36Z")

</div>

We are excited to announce the first beta release of ITK 6.0! This major version update marks a significant leap forward in the toolkit’s evolution, focusing on code modernization, cleanup, and enhanced performance. As a…

---

## [Overlaying Structures on CT Images in Axial, Coronal, and Sagittal Views](https://discourse.itk.org/t/overlaying-structures-on-ct-images-in-axial-coronal-and-sagittal-views/7647)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 3\
**Last updated:** [October 21, 2025, 1:40pm UTC](https://discourse.itk.org/t/overlaying-structures-on-ct-images-in-axial-coronal-and-sagittal-views/7647 "2025-10-21T13:40:45Z")

</div>

Hello everyone, I am working on displaying CT images in the axial, coronal, and sagittal planes, along with dose maps and RTSTRUCT contours. While the CT and dose images are displayed correctly, I am having trouble over…

---

## [Build Error: LNK1169 when building ITK with RTK Python wrappers on Windows](https://discourse.itk.org/t/build-error-lnk1169-when-building-itk-with-rtk-python-wrappers-on-windows/7635)

<div class="topic-metadata">

**Author:** [@gaoweilin](https://discourse.itk.org/u/gaoweilin)\
**Replies:** 9\
**Last updated:** [September 21, 2025, 8:04pm UTC](https://discourse.itk.org/t/build-error-lnk1169-when-building-itk-with-rtk-python-wrappers-on-windows/7635 "2025-09-21T20:04:03Z")

</div>

I am encountering a linker error (LNK1169) while trying to build the ITK Python wrappers for the Reconstruction Toolkit (RTK). The build fails to generate the itk\_RTKPython.pyd file. I have tried several common troublesh…

---

## [volume regularization using ITK](https://discourse.itk.org/t/volume-regularization-using-itk/7594)

<div class="topic-metadata">

**Author:** [@Eva\_Monclus\_Lahoya](https://discourse.itk.org/u/Eva_Monclus_Lahoya)\
**Replies:** 4\
**Last updated:** [September 19, 2025, 8:29pm UTC](https://discourse.itk.org/t/volume-regularization-using-itk/7594 "2025-09-19T20:29:29Z")

</div>

Hello, I’m working on a Python application that uses ITK, and I’m looking for guidance on how to regularize or resample a 3D volume when the slice spacing is not uniform—i.e., the distance between slices varies througho…

---

## [SimpleITK 3.0.0 Alpha 1](https://discourse.itk.org/t/simpleitk-3-0-0-alpha-1/7637)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [September 19, 2025, 4:10pm UTC](https://discourse.itk.org/t/simpleitk-3-0-0-alpha-1/7637 "2025-09-19T16:10:44Z")

</div>

Release Notes for SimpleITK v3.0.0 Alpha Release 1 This is an initial Alpha Release of a major version change of SimpleITK. Please test the new building infrastructure, the package binaries, and report and issues encount…

---

## [Dice Coefficient Calculation in Python](https://discourse.itk.org/t/dice-coefficient-calculation-in-python/7628)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 2\
**Last updated:** [September 11, 2025, 9:01am UTC](https://discourse.itk.org/t/dice-coefficient-calculation-in-python/7628 "2025-09-11T09:01:10Z")

</div>

Hello everyone, I’m trying to compute the Dice coefficient using a Python script. To implement this, I have used ideas and code from the following links: “SimpleITK-Notebooks/Python/34\_Segmentation\_Evaluation.ipynb at…

---

## [ITK 5.4.4 has been released!](https://discourse.itk.org/t/itk-5-4-4-has-been-released/7565)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 4\
**Last updated:** [September 10, 2025, 3:33pm UTC](https://discourse.itk.org/t/itk-5-4-4-has-been-released/7565 "2025-09-10T15:33:06Z")

</div>

We are pleased to announce the release of ITK 5.4.4, a maintenance update delivering critical improvements while maintaining API stability. This is latest maintenance update for this cross-platform, open-source toolkit s…

---

## [Registration of CT Images with Large Organ Deformations](https://discourse.itk.org/t/registration-of-ct-images-with-large-organ-deformations/7627)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 1\
**Last updated:** [September 2, 2025, 7:49pm UTC](https://discourse.itk.org/t/registration-of-ct-images-with-large-organ-deformations/7627 "2025-09-02T19:49:17Z")

</div>

Hello everyone, I have two CT images that I want to register together. One is from external beam radiotherapy (EBRT), and the other is from brachytherapy. Before registration, I harmonized both images by making their Or…

---

## [Unifying CT Images Geometry and Cropping to Common ROI](https://discourse.itk.org/t/unifying-ct-images-geometry-and-cropping-to-common-roi/7614)

<div class="topic-metadata">

**Author:** [@blue\_sky](https://discourse.itk.org/u/blue_sky)\
**Replies:** 3\
**Last updated:** [August 25, 2025, 5:11pm UTC](https://discourse.itk.org/t/unifying-ct-images-geometry-and-cropping-to-common-roi/7614 "2025-08-25T17:11:31Z")

</div>

Hi everyone, I am currently working on a medical image processing task that involves the registration of five CT image series for a single patient. My dataset consists of: One CT scan acquired during an External Radiot…

---

## [Run python test by the CI](https://discourse.itk.org/t/run-python-test-by-the-ci/7597)

<div class="topic-metadata">

**Author:** [@axel\_garcia](https://discourse.itk.org/u/axel_garcia)\
**Replies:** 3\
**Last updated:** [July 18, 2025, 2:02pm UTC](https://discourse.itk.org/t/run-python-test-by-the-ci/7597 "2025-07-18T14:02:41Z")

</div>

Hello, I’m working on the CudaCommon remote module and need an efficient way to test Python packages from generated wheels in our CI pipeline. Current options have limitations: The first approach with itk\_python\_add\_tes…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [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…

---

## [ITK 5.4.3 has been released!](https://discourse.itk.org/t/itk-5-4-3-has-been-released/7489)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [April 2, 2025, 3:27pm UTC](https://discourse.itk.org/t/itk-5-4-3-has-been-released/7489 "2025-04-02T15:27:07Z")

</div>

We are pleased to announce the release of ITK 5.4.3, the latest maintenance update for this cross-platform, open-source toolkit supporting N-dimensional scientific image analysis with spatially-aware algorithms. :tada: …

---

## [Points are not transformed correctly when using BSplineTransform](https://discourse.itk.org/t/points-are-not-transformed-correctly-when-using-bsplinetransform/7483)

<div class="topic-metadata">

**Author:** [@lukasz-migas](https://discourse.itk.org/u/lukasz-migas)\
**Replies:** 4\
**Last updated:** [March 31, 2025, 8:38am UTC](https://discourse.itk.org/t/points-are-not-transformed-correctly-when-using-bsplinetransform/7483 "2025-03-31T08:38:35Z")

</div>

Hi, I am looking for a bit of advice (or information on where I am going wrong) with regard to applying transformation to an image and coordinating points from GeoJSON. I have a composite transform consisting of 5 tran…

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