# Engineering

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

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

**Page:** 4

---

## [Multi-threads registration reproducibility](https://discourse.itk.org/t/multi-threads-registration-reproducibility/4030)

<div class="topic-metadata">

**Author:** [@Nil](https://discourse.itk.org/u/Nil)\
**Replies:** 17\
**Last updated:** [March 11, 2024, 3:08pm UTC](https://discourse.itk.org/t/multi-threads-registration-reproducibility/4030 "2024-03-11T15:08:15Z")

</div>

I already asked this question on the ANTs project and they told me to ask here. Yes, I have found the ANTs wiki page that explains why the registration is not reproducible. I’m already using a seed. The results are nea…

---

## [Tip of the day: How to sync your pull request branch with the master branch](https://discourse.itk.org/t/tip-of-the-day-how-to-sync-your-pull-request-branch-with-the-master-branch/6491)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 3\
**Last updated:** [March 5, 2024, 2:09pm UTC](https://discourse.itk.org/t/tip-of-the-day-how-to-sync-your-pull-request-branch-with-the-master-branch/6491 "2024-03-05T14:09:05Z")

</div>

Before pushing a local branch, it’s usually recommended to synchronize the branch with the latest revision of the main branch (the master branch, in the ITK git). While working on my local feature-branch, I often found m…

---

## [How to generate a .seg.nrrd file out of multiple STL files using Python?](https://discourse.itk.org/t/how-to-generate-a-seg-nrrd-file-out-of-multiple-stl-files-using-python/6484)

<div class="topic-metadata">

**Author:** [@Dzemal](https://discourse.itk.org/u/Dzemal)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 7:18am UTC](https://discourse.itk.org/t/how-to-generate-a-seg-nrrd-file-out-of-multiple-stl-files-using-python/6484 "2024-03-02T07:18:45Z")

</div>

Hi together, I’ve asked this question also in the Slicer forum and got some help but nevertheless I also want to ask here, maybe there is a another way to implement this issue. I’m trying to write a code snippet in Pyt…

---

## [zlib target defined issue when building with cpr](https://discourse.itk.org/t/zlib-target-defined-issue-when-building-with-cpr/6456)

<div class="topic-metadata">

**Author:** [@jilei-hao](https://discourse.itk.org/u/jilei-hao)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 6:54pm UTC](https://discourse.itk.org/t/zlib-target-defined-issue-when-building-with-cpr/6456 "2024-02-19T18:54:01Z")

</div>

Hi, I’m building a project with ITK 5.4rc02 with cpr library and I’m getting following error during configuration: "CMake Error at /Users/tk/itk/installed/lib/cmake/ITK-5.4/ITKTargets.cmake:42 (message): Some (but not…

---

## [Use itk MorphologicalContourInterpolator](https://discourse.itk.org/t/use-itk-morphologicalcontourinterpolator/6417)

<div class="topic-metadata">

**Author:** [@koishi](https://discourse.itk.org/u/koishi)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 9:33am UTC](https://discourse.itk.org/t/use-itk-morphologicalcontourinterpolator/6417 "2024-01-26T09:33:02Z")

</div>

I am a collage student studying vtk and itk. Now I have two slices of vtkImageData, what method or class can I use to transform these two vtkImageData to itk::image type \<unsigned , 3\> and put into MorphologicalContourIn…

---

## [Inconsistent results using SimpleITK ChangeLabelLabelMap](https://discourse.itk.org/t/inconsistent-results-using-simpleitk-changelabellabelmap/6392)

<div class="topic-metadata">

**Author:** [@drusmanbashir](https://discourse.itk.org/u/drusmanbashir)\
**Replies:** 1\
**Last updated:** [January 16, 2024, 2:32pm UTC](https://discourse.itk.org/t/inconsistent-results-using-simpleitk-changelabellabelmap/6392 "2024-01-16T14:32:28Z")

</div>

Hi I use SimpleITK python, and this is issue is specific to the python wrapper. I frequently use loops to create remapping dictionary for labelmaps. However, I get an error from ITK :slight\_smile: in method 'ChangeLab…

---

## [ITK 5.3.0 / 5.4rc build errors Shared libs / Python Wrappings / ITKVtkGlue / VS 2022 Win11](https://discourse.itk.org/t/itk-5-3-0-5-4rc-build-errors-shared-libs-python-wrappings-itkvtkglue-vs-2022-win11/6327)

<div class="topic-metadata">

**Author:** [@Sophonet](https://discourse.itk.org/u/Sophonet)\
**Replies:** 8\
**Last updated:** [January 13, 2024, 10:35am UTC](https://discourse.itk.org/t/itk-5-3-0-5-4rc-build-errors-shared-libs-python-wrappings-itkvtkglue-vs-2022-win11/6327 "2024-01-13T10:35:22Z")

</div>

Hi everyone, unfortunately I cannot build ITK 5.3.0 (after fixing the castxml problem Errors building CastXML and Python wrapping on Windows - #13 by dzenanz) or 5.4rc1 with python wrappings. Problems: ITKOptimizersv…

---

## [itk.imread of dicom images with dtype int16](https://discourse.itk.org/t/itk-imread-of-dicom-images-with-dtype-int16/6388)

<div class="topic-metadata">

**Author:** [@alireza\_samadi](https://discourse.itk.org/u/alireza_samadi)\
**Replies:** 6\
**Last updated:** [January 12, 2024, 3:11pm UTC](https://discourse.itk.org/t/itk-imread-of-dicom-images-with-dtype-int16/6388 "2024-01-12T15:11:08Z")

</div>

Hi all In my project I am trying to register two sets of images. When I read my moving image which is a T1 MR Quantitative Map , using DICOM reader \[pydicom.dcmread\] , the image is loaded correctly as below: \[note tha…

---

## [is there have 2d-3d registration example？](https://discourse.itk.org/t/is-there-have-2d-3d-registration-example/6385)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 0\
**Last updated:** [January 8, 2024, 9:10am UTC](https://discourse.itk.org/t/is-there-have-2d-3d-registration-example/6385 "2024-01-08T09:10:16Z")

</div>

is there have 2d-3d registration example？I found an example of registering two 2D images with a 3D image on the forum, but I couldn’t find an example of registering a 2D image with a 3D image.

---

## [How to use rtkCudaIterativeFDKConeBeamReconstructionFilter and rtkParkerShortScanImageFilter together](https://discourse.itk.org/t/how-to-use-rtkcudaiterativefdkconebeamreconstructionfilter-and-rtkparkershortscanimagefilter-together/6367)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 6\
**Last updated:** [December 29, 2023, 11:15am UTC](https://discourse.itk.org/t/how-to-use-rtkcudaiterativefdkconebeamreconstructionfilter-and-rtkparkershortscanimagefilter-together/6367 "2023-12-29T11:15:58Z")

</div>

How to use rtkCudaIterativeFDKConeBeamReconstructionFilter and rtkParkerShortScanImageFilter together

---

## [HTML file with itk and vtk to render meshes](https://discourse.itk.org/t/html-file-with-itk-and-vtk-to-render-meshes/6361)

<div class="topic-metadata">

**Author:** [@Oddone-Scatena](https://discourse.itk.org/u/Oddone-Scatena)\
**Replies:** 1\
**Last updated:** [December 18, 2023, 3:20pm UTC](https://discourse.itk.org/t/html-file-with-itk-and-vtk-to-render-meshes/6361 "2023-12-18T15:20:31Z")

</div>

Hello, I am building an itk vtk web application. I am new to .js. Is there something wrong with my code? Thank you \<!DOCTYPE html\> \<html lang="en"\> \<head\> \<meta charset="UTF-8"\> \<meta http-equiv="X-UA-Compatib…

---

## [VCPKG Support](https://discourse.itk.org/t/vcpkg-support/6334)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 10\
**Last updated:** [December 5, 2023, 6:34pm UTC](https://discourse.itk.org/t/vcpkg-support/6334 "2023-12-05T18:34:22Z")

</div>

Are there plans to support VCPKG with ITK releases, in that will the ITK developers be submitting PRs to the VCPKG repository to update the ITK that is included in VCPKG? The current version is 5.3.0RC2 along with 5.2.1 …

---

## [How to disable GDCM functionality](https://discourse.itk.org/t/how-to-disable-gdcm-functionality/6330)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 6\
**Last updated:** [December 4, 2023, 6:14pm UTC](https://discourse.itk.org/t/how-to-disable-gdcm-functionality/6330 "2023-12-04T18:14:47Z")

</div>

I am struggling with building ITK 5.3.0 with vcpkg. Is there a way to globally disable the GDCM functionality? Our application does not use it and it is causing issues in the build where GDCM\_CMAKE\_INSTALL\_PREFIX is not …

---

## [Error Compiling ITK 5.3.0](https://discourse.itk.org/t/error-compiling-itk-5-3-0/6333)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 5\
**Last updated:** [December 2, 2023, 6:37pm UTC](https://discourse.itk.org/t/error-compiling-itk-5-3-0/6333 "2023-12-02T18:37:54Z")

</div>

We have some C++ software that was compiling fine against ITK 5.2.1. In an effort to get up to date I am trying to compile against ITK 5.3.0 using Visual Studio 17 2022. I am getting the following compile error. FAILED:…

---

## [Build error with g++ 13.2](https://discourse.itk.org/t/build-error-with-g-13-2/6317)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.itk.org/u/codeling)\
**Replies:** 3\
**Last updated:** [November 28, 2023, 7:34am UTC](https://discourse.itk.org/t/build-error-with-g-13-2/6317 "2023-11-28T07:34:53Z")

</div>

Just tried building ITK 5.4rc1 with g++ 13.2.1 on Fedora 39 (I erroneously reported clang 17 before, which I thought the build was using, but the compiler didn’t get set properly, the build was actually running with g++)…

---

## [ITK and Gpu processing](https://discourse.itk.org/t/itk-and-gpu-processing/6319)

<div class="topic-metadata">

**Author:** [@Mahdiye\_Imanpanah](https://discourse.itk.org/u/Mahdiye_Imanpanah)\
**Replies:** 2\
**Last updated:** [November 27, 2023, 3:08pm UTC](https://discourse.itk.org/t/itk-and-gpu-processing/6319 "2023-11-27T15:08:13Z")

</div>

Hello everyone. I use itk c++ and simpleitk c# for my projects. I see GPU-related questions in the forum of itk, but I can’t find the best way to use it. I can not see information about this in the ItkSoftwareGuid, Do…

---

## [Reading Dicom sequence data with SimpleITK](https://discourse.itk.org/t/reading-dicom-sequence-data-with-simpleitk/2877)

<div class="topic-metadata">

**Author:** [@jonasteuwen](https://discourse.itk.org/u/jonasteuwen)\
**Replies:** 14\
**Last updated:** [October 31, 2023, 7:41am UTC](https://discourse.itk.org/t/reading-dicom-sequence-data-with-simpleitk/2877 "2023-10-31T07:41:50Z")

</div>

When reading mammography images there are several Dicom tags relevant to be able to display the image correctly as described in the dicom standard. These are stored in the VOILUTFunction and VOILUTSequence. The first is …

---

## [Writing a nrrd segmentation file in SimpleITK](https://discourse.itk.org/t/writing-a-nrrd-segmentation-file-in-simpleitk/3903)

<div class="topic-metadata">

**Author:** [@Diego\_C](https://discourse.itk.org/u/Diego_C)\
**Replies:** 13\
**Last updated:** [October 24, 2023, 3:55pm UTC](https://discourse.itk.org/t/writing-a-nrrd-segmentation-file-in-simpleitk/3903 "2023-10-24T15:55:09Z")

</div>

Hi! How can I save my connected components to a nrrd segmentation file that I can visualize in Slicer? Thanks, Diego

---

## [where itk-wasm tutorial, itk-wasm labeling, registration, etc are moved?](https://discourse.itk.org/t/where-itk-wasm-tutorial-itk-wasm-labeling-registration-etc-are-moved/6246)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 2\
**Last updated:** [October 13, 2023, 1:12pm UTC](https://discourse.itk.org/t/where-itk-wasm-tutorial-itk-wasm-labeling-registration-etc-are-moved/6246 "2023-10-13T13:12:48Z")

</div>

@matt.mccormick hi, i have been out in webassembly world for couple of months and now i am back and all my links to itk-wasm , tutorial and etc. are gone and removed, could you please tell me where are they moved? BR …

---

## [Using an image as a mask](https://discourse.itk.org/t/using-an-image-as-a-mask/3921)

<div class="topic-metadata">

**Author:** [@Diego\_C](https://discourse.itk.org/u/Diego_C)\
**Replies:** 8\
**Last updated:** [October 4, 2023, 11:31pm UTC](https://discourse.itk.org/t/using-an-image-as-a-mask/3921 "2023-10-04T23:31:51Z")

</div>

Hi! I want to retrieve the original intensities of image but only if the voxel is 1 in the foreground mask My code looks like this: # compute foreground image # ------------------------------------- bg\_data = sitk.Get…

---

## [RegionOfInterestImageFilter preserving indices](https://discourse.itk.org/t/regionofinterestimagefilter-preserving-indices/6228)

<div class="topic-metadata">

**Author:** [@GeorgeStetten](https://discourse.itk.org/u/GeorgeStetten)\
**Replies:** 8\
**Last updated:** [October 3, 2023, 1:50pm UTC](https://discourse.itk.org/t/regionofinterestimagefilter-preserving-indices/6228 "2023-10-03T13:50:53Z")

</div>

I am using RegionOfInterestImageFilter and want to preserve the indices of the original image in the resampled image. The default seems to be that the sampled region starts at (0,0,0). I have tried roiFilter-\>SetRegio…

---

## [SimpleITK and Python 3.11](https://discourse.itk.org/t/simpleitk-and-python-3-11/6234)

<div class="topic-metadata">

**Author:** [@Wallesss](https://discourse.itk.org/u/Wallesss)\
**Replies:** 18\
**Last updated:** [September 29, 2023, 2:01pm UTC](https://discourse.itk.org/t/simpleitk-and-python-3-11/6234 "2023-09-29T14:01:03Z")

</div>

Hello, the SimpleITK 1.2.4 library does not connect to the project and the error keeps appearing: ModuleNotFoundError: no module named ‘simpleitk.\_simpleitk’. Python version is 3.11. Spyder version is 5.4. When using the…

---

## [Pip install locally built ITK remote module?](https://discourse.itk.org/t/pip-install-locally-built-itk-remote-module/6191)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 1\
**Last updated:** [September 12, 2023, 11:24am UTC](https://discourse.itk.org/t/pip-install-locally-built-itk-remote-module/6191 "2023-09-12T11:24:38Z")

</div>

Hi I am developing tools for my workflows using ITK remote modules. To test these from Python I have so far used the wheels generated by the CI (github action), or eventually from PyPI. Unfortunately, this no longer wo…

---

## [ITK build Error in itk::ShapedNeighborhoodIterator](https://discourse.itk.org/t/itk-build-error-in-itk-shapedneighborhooditerator/4861)

<div class="topic-metadata">

**Author:** [@Astha](https://discourse.itk.org/u/Astha)\
**Replies:** 20\
**Last updated:** [August 9, 2023, 5:09am UTC](https://discourse.itk.org/t/itk-build-error-in-itk-shapedneighborhooditerator/4861 "2023-08-09T05:09:47Z")

</div>

Hello all, We have created a DLL project to perform pre-processing operation and morphological operation on dicom data. After that, we wrote an application project to use this generated DLL to perform all operations. I…

---

## [Min and max required CMake versions being defined but not re-used](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 12:24am UTC](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112 "2023-08-01T00:24:04Z")

</div>

Hi, I’ve noticed that in the top-level CMakeLists.txt we are defining some min and max bounds for the required CMake versions, mainly labeled as having to do with CMake policies: https://github.com/InsightSoftwareConso…

---

## [Trouble with External Module Tests](https://discourse.itk.org/t/trouble-with-external-module-tests/6098)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 5:07am UTC](https://discourse.itk.org/t/trouble-with-external-module-tests/6098 "2023-07-28T05:07:13Z")

</div>

I want to upgrade my external module to use the new re-usable github actions before adding a new filter. However, I am having trouble with the baseline data. first I was storing the data in the git repository (as in …

---

## [run wasm module in web browser google chrom (Applying Debugging to RGBImage.cxx)](https://discourse.itk.org/t/run-wasm-module-in-web-browser-google-chrom-applying-debugging-to-rgbimage-cxx/5930)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 10:55pm UTC](https://discourse.itk.org/t/run-wasm-module-in-web-browser-google-chrom-applying-debugging-to-rgbimage-cxx/5930 "2023-07-27T22:55:19Z")

</div>

@matt.mccormick Hi, I am trying to finalize all knowledge i have collecting in last couple months about webassembly c++ and build wasm modules to run on webassembly platform. wasi/node/web browser/debugging. the proje…

---

## [itk-wasm toolchain c++ debug symbols](https://discourse.itk.org/t/itk-wasm-toolchain-c-debug-symbols/5945)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 9:19pm UTC](https://discourse.itk.org/t/itk-wasm-toolchain-c-debug-symbols/5945 "2023-07-27T21:19:17Z")

</div>

Hi everyone I have a simple question about itk-wasm. Have anybody managed to build debug version of itk example into c++ using itk-wasm toolchain for both wasi/emscripten/browser? My ecosystem is as follows: Node.js …

---

## [watershed segmentation wasi](https://discourse.itk.org/t/watershed-segmentation-wasi/5329)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [July 27, 2023, 9:07pm UTC](https://discourse.itk.org/t/watershed-segmentation-wasi/5329 "2023-07-27T21:07:28Z")

</div>

@matt.mccormick Hi mat, I fixed it. I know now why you did the following: npx itk-wasm -b wasi-build run morphological.wasi.wasm -- -- VisibleWomanEyeSlice.png WatershedSegmentation1Output1.png we dont need any optio…

---

## [Speed Discrepancy between ITK and SimpleITK](https://discourse.itk.org/t/speed-discrepancy-between-itk-and-simpleitk/6070)

<div class="topic-metadata">

**Author:** [@JRopers](https://discourse.itk.org/u/JRopers)\
**Replies:** 7\
**Last updated:** [July 23, 2023, 11:22pm UTC](https://discourse.itk.org/t/speed-discrepancy-between-itk-and-simpleitk/6070 "2023-07-23T23:22:42Z")

</div>

Hello again! I am currently working on registration of CT images. Originally, I ran rigid registration in SimpleITK and this was quite fast for each iteration. Overall, the registration process finished after a couple …

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

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