# Engineering

**URL:** https://discourse.itk.org/c/engineering/6.md

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

---

## [About the Engineering category](https://discourse.itk.org/t/about-the-engineering-category/19)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0

</div>

Software engineering questions related to installation, building, testing, API, architecture, etc.

---

## [unable to build static libs](https://discourse.itk.org/t/unable-to-build-static-libs/7788)

<div class="topic-metadata">

**Author:** [@jsemeda](https://discourse.itk.org/u/jsemeda)\
**Replies:** 5\
**Last updated:** [September 10, 2026, 7:14pm UTC](https://discourse.itk.org/t/unable-to-build-static-libs/7788 "2026-09-10T19:14:45Z")

</div>

when building SITK using superbuild on windows10-64 I keep ending up with dynamic libs no matter what I do. I tried editing all cmakelists files to set shared libs to 0 but that did not do anuting. I added a line in the …

---

## [Updating Slicer's ITK to v6?](https://discourse.itk.org/t/updating-slicers-itk-to-v6/7758)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 8\
**Last updated:** [August 22, 2026, 11:55pm UTC](https://discourse.itk.org/t/updating-slicers-itk-to-v6/7758 "2026-08-22T23:55:37Z")

</div>

Has anyone started this? I am willing to give it try, but I want to avoid duplication of effort. My main motivation is adding .vti support to Slicer, which was recently added to ITK via PR 6032. Tagging people who might…

---

## [Could ITK drop ITK\_USE\_64BITS\_IDS and just do SizeValueType = std::size\_t?](https://discourse.itk.org/t/could-itk-drop-itk-use-64bits-ids-and-just-do-sizevaluetype-std-size-t/2053)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 8\
**Last updated:** [August 21, 2026, 11:47am UTC](https://discourse.itk.org/t/could-itk-drop-itk-use-64bits-ids-and-just-do-sizevaluetype-std-size-t/2053 "2026-08-21T11:47:47Z")

</div>

It appears quite hard to fully support 64-bit memory address space (including images of more than 4 GB), in ITK source code. On many places, it appears that a 64-bit “size” or offset value is converted to 32-bit (dependi…

---

## [Proposal: Aliases of \`itk.D\`, \`itk.US\`, \`itk.SLL\`, ... for specific sizes of numeric types](https://discourse.itk.org/t/proposal-aliases-of-itk-d-itk-us-itk-sll-for-specific-sizes-of-numeric-types/7792)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 1\
**Last updated:** [August 19, 2026, 2:42pm UTC](https://discourse.itk.org/t/proposal-aliases-of-itk-d-itk-us-itk-sll-for-specific-sizes-of-numeric-types/7792 "2026-08-19T14:42:26Z")

</div>

The ITK Python package allows specifying the pixel type of an image by passing an itkCType object, for example itk.D for the C type double, itk.US for unsigned short and itk.SLL for signed long long. As in itk.Image\[itk…

---

## [Should ITK offer a supported way to read DICOM tags and sequences? (four downstreams have vendored itk::DCMTKFileReader)](https://discourse.itk.org/t/should-itk-offer-a-supported-way-to-read-dicom-tags-and-sequences-four-downstreams-have-vendored-itk-dcmtkfilereader/7791)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 3\
**Last updated:** [August 18, 2026, 7:47pm UTC](https://discourse.itk.org/t/should-itk-offer-a-supported-way-to-read-dicom-tags-and-sequences-four-downstreams-have-vendored-itk-dcmtkfilereader/7791 "2026-08-18T19:47:38Z")

</div>

While fixing a Windows link failure in BRAINSTools, I found the same vendored copy of itk::DCMTKFileReader in four independent projects, all of them in namespace itk with ITK’s original class names. Three are actively m…

---

## [NRRD module settings hidden in cmake?](https://discourse.itk.org/t/nrrd-module-settings-hidden-in-cmake/7770)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 1\
**Last updated:** [June 5, 2026, 8:22pm UTC](https://discourse.itk.org/t/nrrd-module-settings-hidden-in-cmake/7770 "2026-06-05T20:22:09Z")

</div>

Hi all, Normally when I want to enable an ITK module, I go in ccmake (or CMake.app), turn on advanced mode, and search for the module name. I tried this just now searching for NRRD and found nothing. Is that expected? T…

---

## [~8x slower registration with itk-elastix Python API vs elastix CLI — minimal reproducible example](https://discourse.itk.org/t/8x-slower-registration-with-itk-elastix-python-api-vs-elastix-cli-minimal-reproducible-example/7736)

<div class="topic-metadata">

**Author:** [@NicoKiaru](https://discourse.itk.org/u/NicoKiaru)\
**Replies:** 39\
**Last updated:** [June 5, 2026, 7:14pm UTC](https://discourse.itk.org/t/8x-slower-registration-with-itk-elastix-python-api-vs-elastix-cli-minimal-reproducible-example/7736 "2026-06-05T19:14:41Z")

</div>

Disclaimer: this is a \[crosspost from image.sc\]( ~8x slower registration with itk-elastix Python API vs elastix CLI — minimal reproducible example - Usage & Issues - Image.sc Forum ) Hi all, I’m integrating itk-elastix…

---

## [itkpng issue](https://discourse.itk.org/t/itkpng-issue/7769)

<div class="topic-metadata">

**Author:** [@Rosie](https://discourse.itk.org/u/Rosie)\
**Replies:** 0\
**Last updated:** [June 3, 2026, 10:46am UTC](https://discourse.itk.org/t/itkpng-issue/7769 "2026-06-03T10:46:57Z")

</div>

Compilation error occurred when I try to use the itkpng: include\\ITK-5.4\\itkpng/png.h(329,13): fatal error C1083: Cannot open include file: ‘pnglibconf.h’: No such file or directory There is indeed no pnglibconf.h fi…

---

## [Proposal: Hard-fork vnl inside ITK and end upstream-vxl tracking](https://discourse.itk.org/t/proposal-hard-fork-vnl-inside-itk-and-end-upstream-vxl-tracking/7761)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 2\
**Last updated:** [May 10, 2026, 10:36pm UTC](https://discourse.itk.org/t/proposal-hard-fork-vnl-inside-itk-and-end-upstream-vxl-tracking/7761 "2026-05-10T22:36:48Z")

</div>

TL;DR ITK’s use of vxl is narrow, concentrated, and already well past the point where co-maintaining a synced copy with vxl/vxl upstream provides reciprocal value. I’m proposing we: Deprecate and then remove ITK\_USE\_…

---

## [Eigen's role in ITK](https://discourse.itk.org/t/eigens-role-in-itk/7760)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 1\
**Last updated:** [May 10, 2026, 6:18pm UTC](https://discourse.itk.org/t/eigens-role-in-itk/7760 "2026-05-10T18:18:49Z")

</div>

There is an ongoing discussion about Eigen’s role in ITK, its current use, future use, and updating-related problems. Feel free to pitch in, at this GitHub issue.

---

## [Proposal: drop ITKAnalyzeObjectMap remote module from ITK](https://discourse.itk.org/t/proposal-drop-itkanalyzeobjectmap-remote-module-from-itk/7757)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 0\
**Last updated:** [May 4, 2026, 8:32pm UTC](https://discourse.itk.org/t/proposal-drop-itkanalyzeobjectmap-remote-module-from-itk/7757 "2026-05-04T20:32:24Z")

</div>

The ITK maintainers are proposing to drop the AnalyzeObjectLabelMap remote module from the ITK source tree. PR #6207 removes the Modules/Remote/AnalyzeObjectLabelMap.remote.cmake declaration so the module will no longe…

---

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

---

## [Template class already defined when using ITK TestDriver](https://discourse.itk.org/t/template-class-already-defined-when-using-itk-testdriver/3807)

<div class="topic-metadata">

**Author:** [@LucasGandel](https://discourse.itk.org/u/LucasGandel)\
**Replies:** 3\
**Last updated:** [April 14, 2026, 2:22pm UTC](https://discourse.itk.org/t/template-class-already-defined-when-using-itk-testdriver/3807 "2026-04-14T14:22:26Z")

</div>

We are facing redefinition issues when using the ITK TestDriver approach for testing the RTK remote module (following a previous discussion here). When linking the TestDriver executable to the RTK test libs, the MSVC li…

---

## [Path length limitation in Windows lifted](https://discourse.itk.org/t/path-length-limitation-in-windows-lifted/545)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 15\
**Last updated:** [April 14, 2026, 12:19pm UTC](https://discourse.itk.org/t/path-length-limitation-in-windows-lifted/545 "2026-04-14T12:19:36Z")

</div>

With a recent version of Windows 10, paths longer than 260 characters can be enabled. But we need to account for that possibility in ITK in order to take advantage of it.

---

## [std::mdspan interface for images](https://discourse.itk.org/t/std-mdspan-interface-for-images/7742)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 0\
**Last updated:** [April 2, 2026, 7:51pm UTC](https://discourse.itk.org/t/std-mdspan-interface-for-images/7742 "2026-04-02T19:51:10Z")

</div>

I know we can’t require C++23 anytime soon, but std::mdspan is quite relevant feature for ITK. Are there any thoughts about how to best exploit it, once we are able to rely on it?

---

## [Greptile](https://discourse.itk.org/t/greptile/7737)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 6\
**Last updated:** [March 26, 2026, 1:38pm UTC](https://discourse.itk.org/t/greptile/7737 "2026-03-26T13:38:26Z")

</div>

I got an email from Greptile: Greptile lets you add custom rules to enforce your organization’s preferences, coding standards and best practices automatically across pull requests. You can configure them in two way…

---

## [libminc build error](https://discourse.itk.org/t/libminc-build-error/7723)

<div class="topic-metadata">

**Author:** [@gregsharp](https://discourse.itk.org/u/gregsharp)\
**Replies:** 4\
**Last updated:** [March 5, 2026, 7:34pm UTC](https://discourse.itk.org/t/libminc-build-error/7723 "2026-03-05T19:34:08Z")

</div>

Hi all, I’m trying to build ITK 5.4.5 (stable) from source on Debian Forky. Any idea the cause for this error? \[ 93%\] Building C object Modules/ThirdParty/MINC/src/libminc/CMakeFiles/itkminc2.dir/libcommon/ParseArgv.c…

---

## [Intermittent SIGSEGV in SignedMaurerDistanceMap](https://discourse.itk.org/t/intermittent-sigsegv-in-signedmaurerdistancemap/7714)

<div class="topic-metadata">

**Author:** [@e\_s](https://discourse.itk.org/u/e_s)\
**Replies:** 8\
**Last updated:** [February 25, 2026, 5:54pm UTC](https://discourse.itk.org/t/intermittent-sigsegv-in-signedmaurerdistancemap/7714 "2026-02-25T17:54:01Z")

</div>

Hello Everyone. I am experiencing an intermittent Segmentation Fault while using the itk::simple::SignedMaurerDistanceMap() function. Environment SimpleITK 2.4 (ITK 5.4), Ubuntu 24 with intel oneAPI 2025.1 (icpx) comp…

---

## [Proposing \`ImageConstIterator::ComputeIndex()\`, a clearer alternative to GetIndex()](https://discourse.itk.org/t/proposing-imageconstiterator-computeindex-a-clearer-alternative-to-getindex/7711)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 5\
**Last updated:** [February 13, 2026, 11:38pm UTC](https://discourse.itk.org/t/proposing-imageconstiterator-computeindex-a-clearer-alternative-to-getindex/7711 "2026-02-13T23:38:48Z")

</div>

Of course, I very much encourage using the new iterator ranges, introduced with ITK 5 (ImageBufferRange, ImageRegionRange, ShapedImageNeighborhoodRange, IndexRange). But I have to admit that “traditional” ITK iterators l…

---

## [A static variable in itkNiftiImageIO.cxx](https://discourse.itk.org/t/a-static-variable-in-itkniftiimageio-cxx/7698)

<div class="topic-metadata">

**Author:** [@Liming\_Zhou](https://discourse.itk.org/u/Liming_Zhou)\
**Replies:** 3\
**Last updated:** [February 12, 2026, 11:48am UTC](https://discourse.itk.org/t/a-static-variable-in-itkniftiimageio-cxx/7698 "2026-02-12T11:48:39Z")

</div>

static std::string prev; if (prev != this-\>GetFileName()) { #if defined(ITK\_USE\_VERY\_VERBOSE\_NIFTI\_DEBUGGING) DumpNiftiHeader(this-\>GetFileName()); #endif prev = this-\>GetFileName(); } this “prev” useless maybe, d…

---

## [Compilation failed: ITKDeprecatedTestDriver.exe](https://discourse.itk.org/t/compilation-failed-itkdeprecatedtestdriver-exe/7681)

<div class="topic-metadata">

**Author:** [@Rosie](https://discourse.itk.org/u/Rosie)\
**Replies:** 7\
**Last updated:** [December 19, 2025, 1:22am UTC](https://discourse.itk.org/t/compilation-failed-itkdeprecatedtestdriver-exe/7681 "2025-12-19T01:22:37Z")

</div>

Dear developer, It is failed when I try to compile the test driver of ITKDeprecated module. The error message is as follows. C:\\ITK\\Modules\\Compatibility\\Deprecated\\include\\itkTreeIteratorBase.hxx(238,30): error C2039:…

---

## [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-SNAP 4.4.0 – “Access Denied” Error During Local Server Python Package Setup](https://discourse.itk.org/t/itk-snap-4-4-0-access-denied-error-during-local-server-python-package-setup/7668)

<div class="topic-metadata">

**Author:** [@Pranathi\_Induri](https://discourse.itk.org/u/Pranathi_Induri)\
**Replies:** 1\
**Last updated:** [November 21, 2025, 5:35pm UTC](https://discourse.itk.org/t/itk-snap-4-4-0-access-denied-error-during-local-server-python-package-setup/7668 "2025-11-21T17:35:49Z")

</div>

Hi everyone, I faced an issue while setting up the Local Server in ITK-SNAP 4.4. When I clicked “Setup Python Packages”, the installation failed with an “Access denied” error related to files inside the auto-created dls…

---

## [Would like to compile the ITK without external third-party libraries](https://discourse.itk.org/t/would-like-to-compile-the-itk-without-external-third-party-libraries/7632)

<div class="topic-metadata">

**Author:** [@Rosie](https://discourse.itk.org/u/Rosie)\
**Replies:** 35\
**Last updated:** [October 24, 2025, 8:14am UTC](https://discourse.itk.org/t/would-like-to-compile-the-itk-without-external-third-party-libraries/7632 "2025-10-24T08:14:22Z")

</div>

Dear developers, I’m attempting to compile all possible ITK target without external third-party libraries. I’m not sure if it will NOT compile all modules that depend on external third-party libraries when I set the ITK…

---

## [Link what you include?](https://discourse.itk.org/t/link-what-you-include/7639)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 0\
**Last updated:** [September 22, 2025, 4:00pm UTC](https://discourse.itk.org/t/link-what-you-include/7639 "2025-09-22T16:00:54Z")

</div>

Has anyone used link-what-you-include tool? Can anyone estimate the effort needed to apply it to ITK? It could be a nice way to keep dependencies between modules and files clean and up to date.

---

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

---

## [If I want to use rtkLagCorrectionImageFilterfor correction, are there any materials I can refer to?](https://discourse.itk.org/t/if-i-want-to-use-rtklagcorrectionimagefilterfor-correction-are-there-any-materials-i-can-refer-to/7630)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [September 15, 2025, 3:37pm UTC](https://discourse.itk.org/t/if-i-want-to-use-rtklagcorrectionimagefilterfor-correction-are-there-any-materials-i-can-refer-to/7630 "2025-09-15T15:37:23Z")

</div>

If I want to use rtkLagCorrectionImageFilter for correction, are there any materials I can refer to?How can I obtain the parameters for: -a, --rates=FLOAT Lag rates (a0, a1, a2, a3) -c, --coefficients=FLOAT Lag coeffic…

---

## [Is there a complete example to use itk::CartesianToPolarTransform to transform an image?](https://discourse.itk.org/t/is-there-a-complete-example-to-use-itk-cartesiantopolartransform-to-transform-an-image/7623)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 5\
**Last updated:** [September 1, 2025, 7:09am UTC](https://discourse.itk.org/t/is-there-a-complete-example-to-use-itk-cartesiantopolartransform-to-transform-an-image/7623 "2025-09-01T07:09:39Z")

</div>

I want to complete the task of removing ring artifacts. I also came across the FourierStripeArtifactImageFilter class, but I failed at the previous step—I am unable to convert the Cartesian coordinate system image to a p…

---

## [RTK 2.7 + CUDA 12.3 Compiled with CUDA Enabled but Using CPU Filter (FDKConeBeamReconstructionFilterinstead of CudaFDKConeBeamReconstructionFilter)](https://discourse.itk.org/t/rtk-2-7-cuda-12-3-compiled-with-cuda-enabled-but-using-cpu-filter-fdkconebeamreconstructionfilterinstead-of-cudafdkconebeamreconstructionfilter/7617)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 3\
**Last updated:** [August 24, 2025, 1:14am UTC](https://discourse.itk.org/t/rtk-2-7-cuda-12-3-compiled-with-cuda-enabled-but-using-cpu-filter-fdkconebeamreconstructionfilterinstead-of-cudafdkconebeamreconstructionfilter/7617 "2025-08-24T01:14:32Z")

</div>

I compiled ITK 5.4.3 and RTK 2.7.0 with CUDA 12.3 support (NVIDIA driver updated). Build confirmation: • RTK\_USE\_CUDA=ONin CMake • RTK\_USE\_CUDAmacro defined in code • No errors during compilation, RTKCudalibrari…

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