# Uncategorized

**URL:** https://discourse.itk.org/c/uncategorized/1.md

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

---

## [Getting started with Discourse](https://discourse.itk.org/t/getting-started-with-discourse/22)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 20\
**Last updated:** [September 25, 2017, 9:37pm UTC](https://discourse.itk.org/t/getting-started-with-discourse/22 "2017-09-25T21:37:56Z")

</div>

To receive updates about new software releases and major events, sign-in with email, GitHub, or Google. After logging in, a new question can be posted by selecting a category and clicking on \[NewTopic\] button found in t…

---

## [Welcome to the ITK discussion forum!](https://discourse.itk.org/t/welcome-to-the-itk-discussion-forum/8)

<div class="topic-metadata">

**Author:** [@system](https://discourse.itk.org/u/system)\
**Replies:** 0\
**Last updated:** [September 12, 2017, 11:29pm UTC](https://discourse.itk.org/t/welcome-to-the-itk-discussion-forum/8 "2017-09-12T23:29:26Z")

</div>

Welcome to the ITK discussion forum! The Insight Toolkit (ITK) is an open-source, cross-platform library for multidimensional image analysis. This forum is a place to discuss image analysis with ITK. This includes the p…

---

## [Is ITK vulnerable to gdcm CVE-2026-3650 memory consumption issue?](https://discourse.itk.org/t/is-itk-vulnerable-to-gdcm-cve-2026-3650-memory-consumption-issue/7748)

<div class="topic-metadata">

**Author:** [@dclunie](https://discourse.itk.org/u/dclunie)\
**Replies:** 4\
**Last updated:** [April 16, 2026, 8:13pm UTC](https://discourse.itk.org/t/is-itk-vulnerable-to-gdcm-cve-2026-3650-memory-consumption-issue/7748 "2026-04-16T20:13:34Z")

</div>

https://www.cve.org/CVERecord?id=CVE-2026-3650

---

## [error in sitkFlipImageFiler.h (120) and sitkGridImageSource.h (245) in Basic Filters](https://discourse.itk.org/t/error-in-sitkflipimagefiler-h-120-and-sitkgridimagesource-h-245-in-basic-filters/7743)

<div class="topic-metadata">

**Author:** [@jsemeda](https://discourse.itk.org/u/jsemeda)\
**Replies:** 3\
**Last updated:** [April 6, 2026, 6:30pm UTC](https://discourse.itk.org/t/error-in-sitkflipimagefiler-h-120-and-sitkgridimagesource-h-245-in-basic-filters/7743 "2026-04-06T18:30:31Z")

</div>

getting this error in both header files Element ‘1’: conversion from ‘int’ to ‘bool’ requires a narrowing conversion I would like to know if I should be using the ITK header files from within the SITK code, or from the…

---

## [Moving data from VTK to ITK: issue in memory management](https://discourse.itk.org/t/moving-data-from-vtk-to-itk-issue-in-memory-management/7740)

<div class="topic-metadata">

**Author:** [@Boris38](https://discourse.itk.org/u/Boris38)\
**Replies:** 4\
**Last updated:** [March 31, 2026, 2:35pm UTC](https://discourse.itk.org/t/moving-data-from-vtk-to-itk-issue-in-memory-management/7740 "2026-03-31T14:35:30Z")

</div>

Hello everyone, I was advised to post this topic here. But the initial issue is here: Moving data from VTK to ITK: issue in memory management - Support - VTK I use ITK (5.4.4) and VTK (9.5.2) in my code. I use some VTK…

---

## [How to best handle itk::Math::Absolute](https://discourse.itk.org/t/how-to-best-handle-itk-absolute/7724)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 2\
**Last updated:** [March 5, 2026, 2:13pm UTC](https://discourse.itk.org/t/how-to-best-handle-itk-absolute/7724 "2026-03-05T14:13:02Z")

</div>

The recent PR 5802 has triggered a bunch of new warnings in RTK because “std::abs() returns the absolute value in the same type as the input, itk::Math::Absolute() returns the absolute value in the unsigned equivalent o…

---

## [angle constrain](https://discourse.itk.org/t/angle-constrain/7718)

<div class="topic-metadata">

**Author:** [@Chat\_Gpt](https://discourse.itk.org/u/Chat_Gpt)\
**Replies:** 3\
**Last updated:** [March 2, 2026, 1:37pm UTC](https://discourse.itk.org/t/angle-constrain/7718 "2026-03-02T13:37:06Z")

</div>

Hi, Is it possible to constrain the rotational angles in Euler3DTransform? If so then what is the way for imposing lower and upper bounds on rotational angles within an Euler3DTransform object during a registration proc…

---

## [build fails on Windows 64](https://discourse.itk.org/t/build-fails-on-windows-64/7706)

<div class="topic-metadata">

**Author:** [@jsemeda](https://discourse.itk.org/u/jsemeda)\
**Replies:** 17\
**Last updated:** [February 12, 2026, 10:08pm UTC](https://discourse.itk.org/t/build-fails-on-windows-64/7706 "2026-02-12T22:08:25Z")

</div>

I am trying to build sitk on Windows 64 but the build fails. Using cmake for windows it generates only utility projects. I can see some libraries have been built, but no generated header files. The file “SimpleITKBasicFi…

---

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

---

## [SimpleITK CompositeTransform versus antsApplyTransform -- Order Documentation Wrong?](https://discourse.itk.org/t/simpleitk-compositetransform-versus-antsapplytransform-order-documentation-wrong/7700)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 0\
**Last updated:** [January 13, 2026, 3:38pm UTC](https://discourse.itk.org/t/simpleitk-compositetransform-versus-antsapplytransform-order-documentation-wrong/7700 "2026-01-13T15:38:25Z")

</div>

The SimpleITK transform documentation and examples states: This appears to be the same as the documentation for antsApplyTransforms: An identity transform is pushed onto the transformation stack. Each new transfor…

---

## [CMakelists.txt file question](https://discourse.itk.org/t/cmakelists-txt-file-question/7685)

<div class="topic-metadata">

**Author:** [@ogdenk](https://discourse.itk.org/u/ogdenk)\
**Replies:** 7\
**Last updated:** [December 23, 2025, 9:09pm UTC](https://discourse.itk.org/t/cmakelists-txt-file-question/7685 "2025-12-23T21:09:06Z")

</div>

Hi all. I am a casual user of ITK, and haven’t used it in a few years. When I recently set it up again, I found that the original CMakelists.txt file I had previously used didn’t work any more in CMake. This is a smal…

---

## [What happened to the Insight Journal?](https://discourse.itk.org/t/what-happened-to-the-insight-journal/7679)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 3\
**Last updated:** [December 16, 2025, 8:33pm UTC](https://discourse.itk.org/t/what-happened-to-the-insight-journal/7679 "2025-12-16T20:33:14Z")

</div>

For many articles, I can’t access the PDF, for others, the source and data, and for others, the article page is completely missing, even though it does show up in a search. (I’ve opened issues for all of this). Is there…

---

## [Tuning Optimizer(s) for almost-aligned images](https://discourse.itk.org/t/tuning-optimizer-s-for-almost-aligned-images/7676)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 12\
**Last updated:** [December 16, 2025, 1:55pm UTC](https://discourse.itk.org/t/tuning-optimizer-s-for-almost-aligned-images/7676 "2025-12-16T13:55:42Z")

</div>

Hi all, I’m trying to understand how to tune the optimizer for aligning almost-aligned images, in this case adjacent frames in a time-series. I’m having a terrible time tuning the optimizer learning rates and estimates…

---

## [What is the default center of rotation for an Euler3DTransform?](https://discourse.itk.org/t/what-is-the-default-center-of-rotation-for-an-euler3dtransform/7677)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 2\
**Last updated:** [December 7, 2025, 4:33pm UTC](https://discourse.itk.org/t/what-is-the-default-center-of-rotation-for-an-euler3dtransform/7677 "2025-12-07T16:33:24Z")

</div>

If i do not use a transform initializer for a registration, what will be the center of rotation?

---

## [Correlation value from ITK Montage](https://discourse.itk.org/t/correlation-value-from-itk-montage/7666)

<div class="topic-metadata">

**Author:** [@rhysgt](https://discourse.itk.org/u/rhysgt)\
**Replies:** 1\
**Last updated:** [November 18, 2025, 7:58pm UTC](https://discourse.itk.org/t/correlation-value-from-itk-montage/7666 "2025-11-18T19:58:40Z")

</div>

Is there any way to access correlation value for each tile pair from a TileMontage object? Ultimately, I would like to show these visually for the overlapped region between each neighbouring tile pair so that I can easil…

---

## [Why I am getting below error while Simple-ITK Build using SuperBuild?](https://discourse.itk.org/t/why-i-am-getting-below-error-while-simple-itk-build-using-superbuild/7661)

<div class="topic-metadata">

**Author:** [@Shabina](https://discourse.itk.org/u/Shabina)\
**Replies:** 2\
**Last updated:** [November 13, 2025, 7:42am UTC](https://discourse.itk.org/t/why-i-am-getting-below-error-while-simple-itk-build-using-superbuild/7661 "2025-11-13T07:42:25Z")

</div>

\[ 6%\] Built target SuperBuildSimpleITKSourceReal \[ 8%\] Generating uv/bin/uv \[ 26%\] Built target ITK \[ 26%\] Built target SuperBuildSimpleITKSource \[ 43%\] Built target PCRE2 \[ 60%\] Built target Swig \[ 63%\] Creating…

---

## [How to use itk.cast\_image\_filter (in Python)?](https://discourse.itk.org/t/how-to-use-itk-cast-image-filter-in-python/7638)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 1\
**Last updated:** [September 22, 2025, 11:45am UTC](https://discourse.itk.org/t/how-to-use-itk-cast-image-filter-in-python/7638 "2025-09-22T11:45:01Z")

</div>

When I try this: # Here deformation\_field is of type itk.Image\[itk.Vector\[itk.F, 2\], 2\]. deformation\_field\_d = itk.cast\_image\_filter(deformation\_field, ttype=itk.Image\[itk.Vector\[itk.D, 2\], 2\]) I get this error: File …

---

## [Does the itk:: GDCMSeriesFileNames:: SetInputDirectory function support Chinese paths as parameters?](https://discourse.itk.org/t/does-the-itk-gdcmseriesfilenames-setinputdirectory-function-support-chinese-paths-as-parameters/7625)

<div class="topic-metadata">

**Author:** [@fuqiangqiang1](https://discourse.itk.org/u/fuqiangqiang1)\
**Replies:** 1\
**Last updated:** [August 28, 2025, 12:59pm UTC](https://discourse.itk.org/t/does-the-itk-gdcmseriesfilenames-setinputdirectory-function-support-chinese-paths-as-parameters/7625 "2025-08-28T12:59:37Z")

</div>

When I am using the itk:: GDCMSeriesFileNames:: SetInputDirectory function, the parameters passed contain Chinese, and then using the itk:: GDCMSeriesFileNames::GetIputFileNames function cannot obtain the dicom sequence …

---

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

---

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

---

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

---

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

---

## [Closed form invertible displacement field function for testing toy problems](https://discourse.itk.org/t/closed-form-invertible-displacement-field-function-for-testing-toy-problems/7481)

<div class="topic-metadata">

**Author:** [@reox](https://discourse.itk.org/u/reox)\
**Replies:** 3\
**Last updated:** [March 29, 2025, 9:04am UTC](https://discourse.itk.org/t/closed-form-invertible-displacement-field-function-for-testing-toy-problems/7481 "2025-03-29T09:04:35Z")

</div>

I need to test some algorithm which does some inversion and interpolation of an image transformation using the displacement field. To get some baseline numbers, I would like to test it on a displacement field transforma…

---

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

---

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

---

## [Convert a narrow-band level set into a "full-band" level set](https://discourse.itk.org/t/convert-a-narrow-band-level-set-into-a-full-band-level-set/7311)

<div class="topic-metadata">

**Author:** [@tossin](https://discourse.itk.org/u/tossin)\
**Replies:** 6\
**Last updated:** [November 22, 2024, 5:18pm UTC](https://discourse.itk.org/t/convert-a-narrow-band-level-set-into-a-full-band-level-set/7311 "2024-11-22T17:18:04Z")

</div>

Hey all, I have a narrow-band level set segmentation created from an ITK/VTK-based package (VMTK). However, I’d like to convert this narrow-band level set into a full-band, e.g., get a full distance field from the inte…

---

## [ITK Python pyinstaller issue](https://discourse.itk.org/t/itk-python-pyinstaller-issue/1520)

<div class="topic-metadata">

**Author:** [@sshamekhi](https://discourse.itk.org/u/sshamekhi)\
**Replies:** 6\
**Last updated:** [November 22, 2024, 7:25am UTC](https://discourse.itk.org/t/itk-python-pyinstaller-issue/1520 "2024-11-22T07:25:57Z")

</div>

Dear all I am using ITKPython, My codes are working well in PyCharm with \*.py format but after making a standalone \*.exe file via PyInstaller some errors occure as follow: Traceback (most recent call last): File “RSG…

---

## [When is the official 5.4.0 Release coming?](https://discourse.itk.org/t/when-is-the-official-5-4-0-release-coming/6654)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 5\
**Last updated:** [November 14, 2024, 5:41pm UTC](https://discourse.itk.org/t/when-is-the-official-5-4-0-release-coming/6654 "2024-11-14T17:41:00Z")

</div>

I googled around a bit for the release schedule for ITK and came up with: But nothing really past that. We are patiently waiting for both the 5.4.0 official release and the anaconda packages that go with it so that we…

---

## [Interpolate BSpline transform to region of interest](https://discourse.itk.org/t/interpolate-bspline-transform-to-region-of-interest/7301)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 3\
**Last updated:** [November 14, 2024, 4:56pm UTC](https://discourse.itk.org/t/interpolate-bspline-transform-to-region-of-interest/7301 "2024-11-14T16:56:18Z")

</div>

I would like to fine-tune a BSpline transform in a region of interest. Since I already have a coarse bspline for the whole MRI, I would like to interpolate this transform to the region of interest (I don’t really care ab…

---

## [How should one set the output origin when resampling an image?](https://discourse.itk.org/t/how-should-one-set-the-output-origin-when-resampling-an-image/7307)

<div class="topic-metadata">

**Author:** [@sebquet](https://discourse.itk.org/u/sebquet)\
**Replies:** 4\
**Last updated:** [November 14, 2024, 5:56am UTC](https://discourse.itk.org/t/how-should-one-set-the-output-origin-when-resampling-an-image/7307 "2024-11-14T05:56:38Z")

</div>

Hello, I would like to know how to set the output origin when resampling a volume to a different spacing. I understand from Fundamental Concepts — SimpleITK 2.4.0 documentation that in SITK the origin is in the middle o…

[Next page](https://discourse.itk.org/c/uncategorized/1.md?page=1)
