# Latest

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

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

**Page:** 7

---

## [about the RTK circular projection geometric calibration](https://discourse.itk.org/t/about-the-rtk-circular-projection-geometric-calibration/7195)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 13\
**Last updated:** [February 19, 2025, 5:23am UTC](https://discourse.itk.org/t/about-the-rtk-circular-projection-geometric-calibration/7195 "2025-02-19T05:23:37Z")

</div>

I have a set of images of a phantom with steel balls, and I have extracted the coordinates of the steel balls. In total, there are 845 images, and I have tracked the coordinates of each steel ball. Currently, the known q…

---

## [About calculating FA(Fractional Anisotropy) with TensorRelativeAnisotropyImageFilter](https://discourse.itk.org/t/about-calculating-fa-fractional-anisotropy-with-tensorrelativeanisotropyimagefilter/7437)

<div class="topic-metadata">

**Author:** [@Pinyu\_Huang](https://discourse.itk.org/u/Pinyu_Huang)\
**Replies:** 0\
**Last updated:** [February 18, 2025, 8:07am UTC](https://discourse.itk.org/t/about-calculating-fa-fractional-anisotropy-with-tensorrelativeanisotropyimagefilter/7437 "2025-02-18T08:07:08Z")

</div>

Hi there, I tried to calculate FA and PDD for streamlines tractography with TensorRelativeAnisotropyImageFilter. And I basically follow the workflow in the website (ITK: Examples/Filtering/DiffusionTensor3DReconstructio…

---

## [TensorFractionalAnisotropyImageFilter calculate FA bigger than 1](https://discourse.itk.org/t/tensorfractionalanisotropyimagefilter-calculate-fa-bigger-than-1/7432)

<div class="topic-metadata">

**Author:** [@Pinyu\_Huang](https://discourse.itk.org/u/Pinyu_Huang)\
**Replies:** 4\
**Last updated:** [February 18, 2025, 1:42am UTC](https://discourse.itk.org/t/tensorfractionalanisotropyimagefilter-calculate-fa-bigger-than-1/7432 "2025-02-18T01:42:21Z")

</div>

I use TensorFractionalAnisotropyImageFilter to calculate FA for the DTI image. The code is: using Image3DType = itk::Image\<float, 3\> using FAFilterType = itk::TensorFractionalAnisotropyImageFilter\<TensorReconstructionFi…

---

## [Z spacing when saving dicom](https://discourse.itk.org/t/z-spacing-when-saving-dicom/7434)

<div class="topic-metadata">

**Author:** [@ilan](https://discourse.itk.org/u/ilan)\
**Replies:** 1\
**Last updated:** [February 14, 2025, 1:27pm UTC](https://discourse.itk.org/t/z-spacing-when-saving-dicom/7434 "2025-02-14T13:27:06Z")

</div>

Hi, I have image with -let’s say 88 frames. The spacing between frames is changing. It may be 0, 0.04, 0.02 etc. I know to save it correctly with pydicom in python code of course. I need help when savings it with itk. Ho…

---

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

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [February 13, 2025, 8:06pm UTC](https://discourse.itk.org/t/itk-5-4-2-has-been-released/7430 "2025-02-13T20:06:23Z")

</div>

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

---

## [Imagetovtkimagefilter update() blocks main thread for few seconds](https://discourse.itk.org/t/imagetovtkimagefilter-update-blocks-main-thread-for-few-seconds/7429)

<div class="topic-metadata">

**Author:** [@Manjunath\_AV](https://discourse.itk.org/u/Manjunath_AV)\
**Replies:** 0\
**Last updated:** [February 12, 2025, 6:47pm UTC](https://discourse.itk.org/t/imagetovtkimagefilter-update-blocks-main-thread-for-few-seconds/7429 "2025-02-12T18:47:18Z")

</div>

I am working with ITK and VTK to convert an itk::Image to a vtkImageData using the following code: typedef itk::ImageToVTKImageFilter ConverterType; typename ConverterType::Pointer converter = ConverterType::New(); co…

---

## [ITK training course in April 2025](https://discourse.itk.org/t/itk-training-course-in-april-2025/7427)

<div class="topic-metadata">

**Author:** [@rfenioux](https://discourse.itk.org/u/rfenioux)\
**Replies:** 0\
**Last updated:** [February 12, 2025, 2:42pm UTC](https://discourse.itk.org/t/itk-training-course-in-april-2025/7427 "2025-02-12T14:42:06Z")

</div>

Dear all, Kitware will be holding an online/onsite ITK training course for developers on April 7th 2024 in Lyon, France. This course will cover the following features of ITK : Overview/Architecture Segmentation Regis…

---

## [ElastixImageFilter() vs ImageRegistrationMethod()](https://discourse.itk.org/t/elastiximagefilter-vs-imageregistrationmethod/7416)

<div class="topic-metadata">

**Author:** [@Weng\_Yann\_Seow](https://discourse.itk.org/u/Weng_Yann_Seow)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 2:36pm UTC](https://discourse.itk.org/t/elastiximagefilter-vs-imageregistrationmethod/7416 "2025-02-10T14:36:24Z")

</div>

I would like to replace deprecated ElastixImageFilter method with the ImageRegistrationMethod method for registration. I am expecting both of these method can derive a similar resampled images, but in fact, ElastixImageF…

---

## [(BSpline) Point Registration slow](https://discourse.itk.org/t/bspline-point-registration-slow/7424)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 1\
**Last updated:** [February 6, 2025, 3:53pm UTC](https://discourse.itk.org/t/bspline-point-registration-slow/7424 "2025-02-06T15:53:08Z")

</div>

I am trying to register thorax “bones” (ribs, sternum, vertebrae, costal cartilages). As expected image registration gets stuck in local minima and confuses ribs/vertebrae. Therefore I am trying to use the pointset reg…

---

## [\[SOLVED\] Difficulty getting registration to work with mask on moving image](https://discourse.itk.org/t/solved-difficulty-getting-registration-to-work-with-mask-on-moving-image/7423)

<div class="topic-metadata">

**Author:** [@ebaudrez](https://discourse.itk.org/u/ebaudrez)\
**Replies:** 5\
**Last updated:** [February 6, 2025, 1:37pm UTC](https://discourse.itk.org/t/solved-difficulty-getting-registration-to-work-with-mask-on-moving-image/7423 "2025-02-06T13:37:06Z")

</div>

Update 6 February: I got this to work. I confirm the mask on the moving image works. Hello! I am having difficulty to get a registration with a mask on the moving image to work. I have attached the full code below, as w…

---

## [Writing and reading .tif metadata](https://discourse.itk.org/t/writing-and-reading-tif-metadata/7419)

<div class="topic-metadata">

**Author:** [@rhysgt](https://discourse.itk.org/u/rhysgt)\
**Replies:** 2\
**Last updated:** [February 4, 2025, 6:15pm UTC](https://discourse.itk.org/t/writing-and-reading-tif-metadata/7419 "2025-02-04T18:15:52Z")

</div>

I am reading an image with imread: out\_image = itk.imread(files\[0\], itk.UC) then changing adding metadata tags: out\_image\['TileWidth'\] = str(int(size\[0\])) out\_image\['Date\_start'\] = other\_image\['Date'\] When I run prin…

---

## [ITK vs PyTorch calculation for Mutual Information](https://discourse.itk.org/t/itk-vs-pytorch-calculation-for-mutual-information/7365)

<div class="topic-metadata">

**Author:** [@thanuja](https://discourse.itk.org/u/thanuja)\
**Replies:** 3\
**Last updated:** [January 31, 2025, 2:41pm UTC](https://discourse.itk.org/t/itk-vs-pytorch-calculation-for-mutual-information/7365 "2025-01-31T14:41:06Z")

</div>

Hi All, I’m calculating the mutual information metric value between two 3D images using ITK and PyTorch and getting two different values for the same bin size. The sample values are (ITK and Pytorch): 0.53140919429619…

---

## [Why is ITK running slower in C++ than in python?](https://discourse.itk.org/t/why-is-itk-running-slower-in-c-than-in-python/7394)

<div class="topic-metadata">

**Author:** [@LuOSS](https://discourse.itk.org/u/LuOSS)\
**Replies:** 4\
**Last updated:** [January 30, 2025, 7:55pm UTC](https://discourse.itk.org/t/why-is-itk-running-slower-in-c-than-in-python/7394 "2025-01-30T19:55:44Z")

</div>

I have written a small program in python where a combination of morphology, masking and gaussian filters are applied to a 3D image. It is made with numpy arrays and scipy functions but I thought to use a dedicated image …

---

## [Registration of MRI and Ultrasound volumes](https://discourse.itk.org/t/registration-of-mri-and-ultrasound-volumes/7410)

<div class="topic-metadata">

**Author:** [@Sanjith\_T](https://discourse.itk.org/u/Sanjith_T)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 6:55am UTC](https://discourse.itk.org/t/registration-of-mri-and-ultrasound-volumes/7410 "2025-01-28T06:55:41Z")

</div>

Hello Everyone, I’m new to registration and I want to register 3D ultrasound with 3D MRI from the BITE Dataset using ITK. Any insights on where to start or any examples would be very helpful. As the transformations with…

---

## [CMake Error: Windows platform errors with libitkminc2](https://discourse.itk.org/t/cmake-error-windows-platform-errors-with-libitkminc2/7402)

<div class="topic-metadata">

**Author:** [@Divital](https://discourse.itk.org/u/Divital)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 5:35pm UTC](https://discourse.itk.org/t/cmake-error-windows-platform-errors-with-libitkminc2/7402 "2025-01-27T17:35:00Z")

</div>

Hello, so i am building the ITK package in Julia language using BinaryBuilder.jl to wrap the I/O functions for Dicom and NIfti from the library in Julia. I have succeeded in the creation of the ITK\_jll package using Bina…

---

## [Cmake errors on windows platforms when trying to use ITK for wrapping in Julia.](https://discourse.itk.org/t/cmake-errors-on-windows-platforms-when-trying-to-use-itk-for-wrapping-in-julia/7396)

<div class="topic-metadata">

**Author:** [@hurt\_badly](https://discourse.itk.org/u/hurt_badly)\
**Replies:** 6\
**Last updated:** [January 27, 2025, 5:26pm UTC](https://discourse.itk.org/t/cmake-errors-on-windows-platforms-when-trying-to-use-itk-for-wrapping-in-julia/7396 "2025-01-27T17:26:07Z")

</div>

Hi everyone, I am not so proficient with cmake, and was wondering if anyone knows what could this be related to? NOTE : Error only for Windows platforms CMake Error at /workspace/destdir/lib/cmake/ITK-5.3/ITKTargets.cm…

---

## [CMake Error: Windows platform fail to find libitkminc2](https://discourse.itk.org/t/cmake-error-windows-platform-fail-to-find-libitkminc2/7400)

<div class="topic-metadata">

**Author:** [@hurt\_badly](https://discourse.itk.org/u/hurt_badly)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 10:30pm UTC](https://discourse.itk.org/t/cmake-error-windows-platform-fail-to-find-libitkminc2/7400 "2025-01-26T22:30:31Z")

</div>

Hello, I have build a binary JLL package in Julia for ITK, with the help of BinaryBuilder.jl, so that the ITK library shared binaries can be exposed in the Julia language. I have succeeded in creation of the ITK binary J…

---

## [Motion modeling in-between frames via deformation fields](https://discourse.itk.org/t/motion-modeling-in-between-frames-via-deformation-fields/6538)

<div class="topic-metadata">

**Author:** [@Darius\_Grazulis](https://discourse.itk.org/u/Darius_Grazulis)\
**Replies:** 8\
**Last updated:** [January 24, 2025, 6:32pm UTC](https://discourse.itk.org/t/motion-modeling-in-between-frames-via-deformation-fields/6538 "2025-01-24T18:32:28Z")

</div>

Hello, I would like to ask for some guidance on how it would be possible to use deformation fields acquired from groupwise (or pairwise) registration to model (interpolate/simulate) the motion in-between frames. Data t…

---

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

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [January 20, 2025, 4:12am UTC](https://discourse.itk.org/t/itk-5-4-0-has-been-released/7386 "2025-01-20T04:12:16Z")

</div>

ITK 5.4.0 Release Notes: ReadTheDocs Documentation We are happy to announce the Insight Toolkit (ITK) 5.4.0 is available for download! :tada: :clinking\_beer\_mugs: :partying\_face: ITK is an open-source, cross-platform too…

---

## [Adding read AND write for HTJ2K TransferSyntax to GDCM](https://discourse.itk.org/t/adding-read-and-write-for-htj2k-transfersyntax-to-gdcm/7329)

<div class="topic-metadata">

**Author:** [@dazzag](https://discourse.itk.org/u/dazzag)\
**Replies:** 6\
**Last updated:** [January 20, 2025, 4:15am UTC](https://discourse.itk.org/t/adding-read-and-write-for-htj2k-transfersyntax-to-gdcm/7329 "2025-01-20T04:15:56Z")

</div>

Hi, Are there any plans to add support for reading and writing of DICOM files pixels encoded with the suite of HTJ2k based transfer syntaxes. It looks like GDCMImageIO currently only supports JPEG, JPEG2000, JPEGLS and…

---

## [Can't compile RTK Python Wrapper - How do other ITK Modules address this exporting problem?](https://discourse.itk.org/t/cant-compile-rtk-python-wrapper-how-do-other-itk-modules-address-this-exporting-problem/5534)

<div class="topic-metadata">

**Author:** [@eric](https://discourse.itk.org/u/eric)\
**Replies:** 4\
**Last updated:** [January 19, 2025, 3:07pm UTC](https://discourse.itk.org/t/cant-compile-rtk-python-wrapper-how-do-other-itk-modules-address-this-exporting-problem/5534 "2025-01-19T15:07:31Z")

</div>

Hi Everyone, I hope this is the right place to have this discussion. I’ve been trying to compile RTK with Cuda and Python wrapping on windows for a while and the last time I tried, I was suggested to just disable the p…

---

## [ConnectedComponentImageFilter vs HardConnectedComponentImageFilter](https://discourse.itk.org/t/connectedcomponentimagefilter-vs-hardconnectedcomponentimagefilter/7379)

<div class="topic-metadata">

**Author:** [@SteveRobbins](https://discourse.itk.org/u/SteveRobbins)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 11:52pm UTC](https://discourse.itk.org/t/connectedcomponentimagefilter-vs-hardconnectedcomponentimagefilter/7379 "2025-01-17T23:52:31Z")

</div>

I’ve got a binary image (a thresholded head MR) for which I want to obtain the connected components. I see there are two filters that look plausible: ITK: itk::ConnectedComponentImageFilter\< TInputImage, TOutputImage,…

---

## [ITK Maintenance Hackathon, January 2025](https://discourse.itk.org/t/itk-maintenance-hackathon-january-2025/7378)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 1\
**Last updated:** [January 17, 2025, 5:33pm UTC](https://discourse.itk.org/t/itk-maintenance-hackathon-january-2025/7378 "2025-01-17T17:33:26Z")

</div>

The Insight Toolkit (ITK) is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and registration. The ITK Maintenance Hackathon aims to bring together ITK developers a…

---

## [projection images config](https://discourse.itk.org/t/projection-images-config/7380)

<div class="topic-metadata">

**Author:** [@langzhizhen](https://discourse.itk.org/u/langzhizhen)\
**Replies:** 11\
**Last updated:** [January 16, 2025, 1:38pm UTC](https://discourse.itk.org/t/projection-images-config/7380 "2025-01-16T13:38:41Z")

</div>

Hello. I’m currently performing a CT reconstruction using FDK. This process involves the setting of projection and the setting of reconstructed data. How should the origin, spacing and size of these two parts be set? Cur…

---

## [SimpleITK 2.4.1 Release](https://discourse.itk.org/t/simpleitk-2-4-1-release/7382)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [January 15, 2025, 3:45pm UTC](https://discourse.itk.org/t/simpleitk-2-4-1-release/7382 "2025-01-15T15:45:06Z")

</div>

Announcing the SimpleITK 2.4.1 Release! The release includes critical bug fixes and compilation issues including an update to ITK v5.4.2. Installing SimpleITK Complete instructions on getting started with SimpleITK inc…

---

## [Why doesn't ITK SwigInterface/igenerator.py just use SWIG \`%template\`?](https://discourse.itk.org/t/why-doesnt-itk-swiginterface-igenerator-py-just-use-swig-template/7377)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 4\
**Last updated:** [January 7, 2025, 4:27pm UTC](https://discourse.itk.org/t/why-doesnt-itk-swiginterface-igenerator-py-just-use-swig-template/7377 "2025-01-07T16:27:12Z")

</div>

In order to create a Python wrapping for ITK, Wrapping/Generators/SwigInterface/igenerator.py generates “itk\*.i” files for all wrapped ITK types. For example for itk::Size\<unsigned int\>, it generates a file named \<Bin\>\\I…

---

## [What are the requirements on DLLs for simpleITK](https://discourse.itk.org/t/what-are-the-requirements-on-dlls-for-simpleitk/7352)

<div class="topic-metadata">

**Author:** [@matt.m](https://discourse.itk.org/u/matt.m)\
**Replies:** 5\
**Last updated:** [December 31, 2024, 5:47pm UTC](https://discourse.itk.org/t/what-are-the-requirements-on-dlls-for-simpleitk/7352 "2024-12-31T17:47:14Z")

</div>

Hello, sorry if this is not the right place to ask this. I am attempting to write a program using SimpleITK (C#) that runs on our clinical machine using their API. The current process is that I create a class library th…

---

## [Update Coding Style for ITK](https://discourse.itk.org/t/update-coding-style-for-itk/2055)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 23\
**Last updated:** [December 21, 2024, 9:46am UTC](https://discourse.itk.org/t/update-coding-style-for-itk/2055 "2024-12-21T09:46:16Z")

</div>

Reference implementation to review/discuss Background This is primarily the start of a long process to evaluate how to simplify the burden of code formatting styles. The goal is to have at least one tool that can auto…

---

## [Issue with Importing DICOM Files in Slicer](https://discourse.itk.org/t/issue-with-importing-dicom-files-in-slicer/7345)

<div class="topic-metadata">

**Author:** [@rcabeza](https://discourse.itk.org/u/rcabeza)\
**Replies:** 8\
**Last updated:** [December 20, 2024, 4:25pm UTC](https://discourse.itk.org/t/issue-with-importing-dicom-files-in-slicer/7345 "2024-12-20T16:25:16Z")

</div>

Hello everyone, I am encountering an issue when importing DICOM files. I am working with ITK Python library version 5.4.0 and SimpleITK 2.4.0. I have previously asked this same question in 3DSlicer forum, because we are…

---

## [Using (Set/SetUse)ReferenceImage(...) for GridImageSource in ITK Python](https://discourse.itk.org/t/using-set-setuse-referenceimage-for-gridimagesource-in-itk-python/7353)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 6\
**Last updated:** [December 19, 2024, 2:20pm UTC](https://discourse.itk.org/t/using-set-setuse-referenceimage-for-gridimagesource-in-itk-python/7353 "2024-12-19T14:20:15Z")

</div>

Hello Everyone, When setting a reference image on a filter or a source in ITK, the intention is that the output properties such as size, spacing, direction will be obtained from the reference image — is this correct? S…

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

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