# Engineering

**URL:** https://discourse.itk.org/c/engineering/6.md?page=1

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

**Page:** 2

---

## [Supressing/eliminating python wrapping warnings](https://discourse.itk.org/t/supressing-eliminating-python-wrapping-warnings/7616)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 4\
**Last updated:** [August 21, 2025, 4:18am UTC](https://discourse.itk.org/t/supressing-eliminating-python-wrapping-warnings/7616 "2025-08-21T04:18:59Z")

</div>

Hi, I’ve been using a custom build of ITK (v5.4.2) with python wrapping for some time. We also happen to wrap some extra types, image and vector dimensions as part of the build, i.e., When initialising the library f…

---

## [Not able to get RTK speedups on GPU](https://discourse.itk.org/t/not-able-to-get-rtk-speedups-on-gpu/7507)

<div class="topic-metadata">

**Author:** [@whitaker](https://discourse.itk.org/u/whitaker)\
**Replies:** 11\
**Last updated:** [July 28, 2025, 9:24pm UTC](https://discourse.itk.org/t/not-able-to-get-rtk-speedups-on-gpu/7507 "2025-07-28T21:24:47Z")

</div>

Hi. I am using RTK to do iterative reconstruction. Everything seems to be working, except when trying to run things on the GPU. Everything compiles fine and it runs. However, when the GPU-compiled programs run, they …

---

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

---

## [\`long double\` support for ImageIO, MeshIO pixels?](https://discourse.itk.org/t/long-double-support-for-imageio-meshio-pixels/7570)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 16\
**Last updated:** [July 2, 2025, 4:17pm UTC](https://discourse.itk.org/t/long-double-support-for-imageio-meshio-pixels/7570 "2025-07-02T16:17:49Z")

</div>

Should ITK’s ImageIO and MeshIO both support long double as a possible type for pixel components? The IOComponent enum class has an enumerator for long double, named LDOUBLE, at ITK/Modules/Core/Common/include/itkCommonE…

---

## [Distance map process is very memory expensive](https://discourse.itk.org/t/distance-map-process-is-very-memory-expensive/7587)

<div class="topic-metadata">

**Author:** [@Limz](https://discourse.itk.org/u/Limz)\
**Replies:** 2\
**Last updated:** [July 1, 2025, 3:06pm UTC](https://discourse.itk.org/t/distance-map-process-is-very-memory-expensive/7587 "2025-07-01T15:06:16Z")

</div>

Hi, I am using SimpleITK to compute distance map of a volume of 3Go on my machine of 16Go of RAM. But i am getting crash saying “Failed to allocate memory for image”. I tested the maurer and daniels functions. Is there…

---

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

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Improper wrapping of ImageFunction::IsInsideBuffer?](https://discourse.itk.org/t/improper-wrapping-of-imagefunction-isinsidebuffer/7495)

<div class="topic-metadata">

**Author:** [@acoussat](https://discourse.itk.org/u/acoussat)\
**Replies:** 4\
**Last updated:** [April 16, 2025, 4:05pm UTC](https://discourse.itk.org/t/improper-wrapping-of-imagefunction-isinsidebuffer/7495 "2025-04-16T16:05:34Z")

</div>

Dear ITK community, I am currently trying to use ImageFunction::IsInsideBuffer from within a Python script. My environment runs Python 3.12.0 and ITK 5.4.3 installed directly from Pypi. As can be seen from the documen…

---

## [Cannot compile ITK with Python wrappings on Fedora 41 with gcc 14.2.1](https://discourse.itk.org/t/cannot-compile-itk-with-python-wrappings-on-fedora-41-with-gcc-14-2-1/7436)

<div class="topic-metadata">

**Author:** [@acoussat](https://discourse.itk.org/u/acoussat)\
**Replies:** 5\
**Last updated:** [March 28, 2025, 7:15pm UTC](https://discourse.itk.org/t/cannot-compile-itk-with-python-wrappings-on-fedora-41-with-gcc-14-2-1/7436 "2025-03-28T19:15:50Z")

</div>

Dear ITK community, I am trying to compile ITK with Python wrappings locally on my machine. I run Fedora Linux 41 with GCC version 14.2.1. I simply run cmake -DITK\_WRAP\_PYTHON=ON ../ITK, where ../ITK is the path to ITK…

---

## [Cmake issue with minc](https://discourse.itk.org/t/cmake-issue-with-minc/6496)

<div class="topic-metadata">

**Author:** [@mborish](https://discourse.itk.org/u/mborish)\
**Replies:** 3\
**Last updated:** [March 18, 2025, 5:47pm UTC](https://discourse.itk.org/t/cmake-issue-with-minc/6496 "2025-03-18T17:47:54Z")

</div>

Hello, I’ve recently followed the instructions on ITK’s page to install it via vcpkg. I’ve included the necessary commands: find\_package(ITK REQUIRED) and ${ITK\_LIBRARIES} in my target link. However, I get a linking er…

---

## [Undefined Behaviour in ImageToImageMetricv4](https://discourse.itk.org/t/undefined-behaviour-in-imagetoimagemetricv4/7460)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 1\
**Last updated:** [March 15, 2025, 12:33am UTC](https://discourse.itk.org/t/undefined-behaviour-in-imagetoimagemetricv4/7460 "2025-03-15T00:33:21Z")

</div>

There is a note here ITK/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4.hxx at master · InsightSoftwareConsortium/ITK · GitHub that ImageToImageMetricv4 does not allocate the virtual image to save memory.…

---

## [Build ITK Wasm not yet possible from official InsightSoftwareConsortium/ITK trunk?](https://discourse.itk.org/t/build-itk-wasm-not-yet-possible-from-official-insightsoftwareconsortium-itk-trunk/7381)

<div class="topic-metadata">

**Author:** [@Sophonet](https://discourse.itk.org/u/Sophonet)\
**Replies:** 6\
**Last updated:** [February 27, 2025, 6:48pm UTC](https://discourse.itk.org/t/build-itk-wasm-not-yet-possible-from-official-insightsoftwareconsortium-itk-trunk/7381 "2025-02-27T18:48:30Z")

</div>

Hi all, maybe a question for @matt.mccormick: Is there a reason that compiling ITK for wasm using emscripten is not possible from the main ITK repository InsightSoftwareConsortium/ITK? There is an ITK-Wasm repository w…

---

## [install error](https://discourse.itk.org/t/install-error/7414)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.itk.org/u/codeling)\
**Replies:** 4\
**Last updated:** [February 24, 2025, 3:52pm UTC](https://discourse.itk.org/t/install-error/7414 "2025-02-24T15:52:48Z")

</div>

In a github action for building our project (which requires ITK), I’m getting a strange error trying to install ITK 5.4: CMake Error at Modules/ThirdParty/HDF5/src/itkhdf5/hl/c++/src/cmake\_install.cmake:55 (file): fil…

---

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

---

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

---

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

---

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

---

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

---

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

---

## [Could Someone Give me Advice on Optimizing Image Resampling in ITK for Large Datasets?](https://discourse.itk.org/t/could-someone-give-me-advice-on-optimizing-image-resampling-in-itk-for-large-datasets/7354)

<div class="topic-metadata">

**Author:** [@roberrttt](https://discourse.itk.org/u/roberrttt)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 8:03pm UTC](https://discourse.itk.org/t/could-someone-give-me-advice-on-optimizing-image-resampling-in-itk-for-large-datasets/7354 "2024-12-17T20:03:57Z")

</div>

Hello there, I am currently working on a project involving the processing of high resolution medical images; and I have run into some performance concerns when resampling large datasets using ITK. Specifically; I am usi…

[Previous page](https://discourse.itk.org/c/engineering/6.md)

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