# Engineering

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

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

**Page:** 5

---

## [Transform physical point refactoring](https://discourse.itk.org/t/transform-physical-point-refactoring/5928)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 4\
**Last updated:** [May 16, 2023, 4:19pm UTC](https://discourse.itk.org/t/transform-physical-point-refactoring/5928 "2023-05-16T16:19:22Z")

</div>

I was trying to refactor Ultrasound remote module to avoid nodiscard warnings, only to end up with non-compiling code. The error messages are below. @Niels\_Dekker I assume that some recent transform physical point overlo…

---

## [wasi-build-debug debugging InputsOutputs.wasi.wasm using lldb14](https://discourse.itk.org/t/wasi-build-debug-debugging-inputsoutputs-wasi-wasm-using-lldb14/5897)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [May 9, 2023, 9:43am UTC](https://discourse.itk.org/t/wasi-build-debug-debugging-inputsoutputs-wasi-wasm-using-lldb14/5897 "2023-05-09T09:43:07Z")

</div>

@matt.mccormick Hi, I am having a lot of problems with watershed Segmentation even now with wasi build. I will explain this in my next message, I did try to debug a wasi-build-debug of InputsOutputs.wasi.wasm module a…

---

## [Only the first image was used for RTK reconstruction](https://discourse.itk.org/t/only-the-first-image-was-used-for-rtk-reconstruction/5923)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [May 8, 2023, 8:15pm UTC](https://discourse.itk.org/t/only-the-first-image-was-used-for-rtk-reconstruction/5923 "2023-05-08T20:15:26Z")

</div>

Regarding the RTK reconstruction, only the first image was used. I used the images collected by our device for CBCT reconstruction, but I still couldn’t obtain the correct results. I found that all the images in the reco…

---

## [How to build python module?](https://discourse.itk.org/t/how-to-build-python-module/5925)

<div class="topic-metadata">

**Author:** [@nnzzll](https://discourse.itk.org/u/nnzzll)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 2:04pm UTC](https://discourse.itk.org/t/how-to-build-python-module/5925 "2023-05-08T14:04:54Z")

</div>

I need to use ITKTwoProjectionRegistration with python3.9, however, the binary wheel from pypi only support for python\<=3.8. So I tried to build it myself following this tutorial I have successfully download docker then…

---

## [About GPU Version Compilation of RTK](https://discourse.itk.org/t/about-gpu-version-compilation-of-rtk/5905)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 8\
**Last updated:** [May 5, 2023, 2:43pm UTC](https://discourse.itk.org/t/about-gpu-version-compilation-of-rtk/5905 "2023-05-05T14:43:02Z")

</div>

Recently, I have been learning RTK, and there are no issues with the CPU version compilation. However, after installing Cuda, I marked RTK in the cmake option\_ USE\_ CUDA, I can’t compile it anymore. I am sure Cuda has be…

---

## [Node Emscripten for watershed segmentation, unexpected pixel type](https://discourse.itk.org/t/node-emscripten-for-watershed-segmentation-unexpected-pixel-type/5915)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 9:17pm UTC](https://discourse.itk.org/t/node-emscripten-for-watershed-segmentation-unexpected-pixel-type/5915 "2023-05-01T21:17:55Z")

</div>

@matt.mccormick Hi, I have following cxx code which does watershed segmentation, wasi is working now, but the node, inspect debugging, etc. not working, I have build node-emscripten debug, and node-inspect, node-emscri…

---

## [How to get properly-typed second input for BinaryGeneratorImageFilter?](https://discourse.itk.org/t/how-to-get-properly-typed-second-input-for-binarygeneratorimagefilter/5902)

<div class="topic-metadata">

**Author:** [@SteveRobbins](https://discourse.itk.org/u/SteveRobbins)\
**Replies:** 4\
**Last updated:** [April 28, 2023, 4:34pm UTC](https://discourse.itk.org/t/how-to-get-properly-typed-second-input-for-binarygeneratorimagefilter/5902 "2023-04-28T16:34:01Z")

</div>

I’m working with ITK 5.2.1. I created a 2-input filter that subclasses BinaryGeneratorImageFilter. It is instantiated with three separate template types: BinaryGeneratorImageFilter\<TIn1, TIn2, Tout\>. Inside my filter, …

---

## [itkzlib-ng on windows name mangling](https://discourse.itk.org/t/itkzlib-ng-on-windows-name-mangling/5898)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 3\
**Last updated:** [April 28, 2023, 2:07pm UTC](https://discourse.itk.org/t/itkzlib-ng-on-windows-name-mangling/5898 "2023-04-28T14:07:13Z")

</div>

I am building SimpleITK on vanilla Conda with the ITK third party zlib library. Other libraries are coming from conda and appear to use the Conda zlib library. I am seeing the following linking error on windows: ITKTest…

---

## [Why is it normal for the SheppLogan created through rtk to have particularly low contrast](https://discourse.itk.org/t/why-is-it-normal-for-the-shepplogan-created-through-rtk-to-have-particularly-low-contrast/5904)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [April 28, 2023, 8:05am UTC](https://discourse.itk.org/t/why-is-it-normal-for-the-shepplogan-created-through-rtk-to-have-particularly-low-contrast/5904 "2023-04-28T08:05:01Z")

</div>

using DSLType = rtk::DrawSheppLoganFilter\<OutputImageType, OutputImageType\>; DSLType::Pointer dsl2 = DSLType::New(); dsl2-\>InPlaceOff(); dsl2-\>SetInput(tomographySource-\>GetOutput()); dsl2-\>Update();

---

## [how to build watershed segmentation using itk-wasm](https://discourse.itk.org/t/how-to-build-watershed-segmentation-using-itk-wasm/5894)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 8:36pm UTC](https://discourse.itk.org/t/how-to-build-watershed-segmentation-using-itk-wasm/5894 "2023-04-24T20:36:27Z")

</div>

@matt.mccormick Hi, I already appreciate your help matt. I have a big question about build watershed segmentation in itk-wasm/emscripten(JS). i did manage to get the wasi-build working and segmented several png images…

---

## [itk-wasm debugging example problem](https://discourse.itk.org/t/itk-wasm-debugging-example-problem/5870)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 7\
**Last updated:** [April 24, 2023, 8:25pm UTC](https://discourse.itk.org/t/itk-wasm-debugging-example-problem/5870 "2023-04-24T20:25:59Z")

</div>

@matt.mccormick , Hi matt, I have been reading about the WebAssembly and emscripten to understand how ITK-WASM works for last two months. two months ago I got stuck in build watershed segmentation 2d for node.js, it si…

---

## [Check that two images are at the same physical location](https://discourse.itk.org/t/check-that-two-images-are-at-the-same-physical-location/5883)

<div class="topic-metadata">

**Author:** [@arobert01](https://discourse.itk.org/u/arobert01)\
**Replies:** 1\
**Last updated:** [April 20, 2023, 2:04pm UTC](https://discourse.itk.org/t/check-that-two-images-are-at-the-same-physical-location/5883 "2023-04-20T14:04:03Z")

</div>

Hello, In itkImageToImageFilter the method VerifyInputInformation check that all the inputs are in the same physical location. When filters do not expect all input images to be at the same physical location, this method…

---

## [About RTK use](https://discourse.itk.org/t/about-rtk-use/5866)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 6\
**Last updated:** [April 14, 2023, 12:59am UTC](https://discourse.itk.org/t/about-rtk-use/5866 "2023-04-14T00:59:04Z")

</div>

I would like to use the RTK library. I have downloaded some CBCT raw data from Varian. Which programs should I refer to to write my reconstruction “hello world”?

---

## [How to build ImageRegistration8 example with ITK-WASM?](https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800)

<div class="topic-metadata">

**Author:** [@David\_SAMSONOFF](https://discourse.itk.org/u/David_SAMSONOFF)\
**Replies:** 33\
**Last updated:** [April 13, 2023, 7:14pm UTC](https://discourse.itk.org/t/how-to-build-imageregistration8-example-with-itk-wasm/5800 "2023-04-13T19:14:28Z")

</div>

Hello, I’m trying to compile the example ImageRegistration8.cxx for WebAssembly without success. I have followed the tutorial in https://wasm.itk.org/tutorial/inputs\_outputs and it works correctly. However, when I follo…

---

## [Error with ITKMinimalPathExtraction](https://discourse.itk.org/t/error-with-itkminimalpathextraction/5853)

<div class="topic-metadata">

**Author:** [@DVigneault](https://discourse.itk.org/u/DVigneault)\
**Replies:** 2\
**Last updated:** [April 5, 2023, 9:16pm UTC](https://discourse.itk.org/t/error-with-itkminimalpathextraction/5853 "2023-04-05T21:16:43Z")

</div>

All– I’ve been having a bit of trouble with the ITKMinimalPathExtraction remote module \[1\]. In the code below, I create a simple axis-aligned cylinder (foreground 1, background 0), and put my starting and ending points…

---

## [Unable to get DICOM SQ tags from simpleITK series reader metadata keys](https://discourse.itk.org/t/unable-to-get-dicom-sq-tags-from-simpleitk-series-reader-metadata-keys/2321)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 8\
**Last updated:** [April 1, 2023, 12:36pm UTC](https://discourse.itk.org/t/unable-to-get-dicom-sq-tags-from-simpleitk-series-reader-metadata-keys/2321 "2023-04-01T12:36:35Z")

</div>

Hi, I am I read a dicom series using series reader. I wanted to read dicom metadata but I could not see metadata keys that further has collection of dicom tags in it. As an example I wish to read 0054|0016 which further …

---

## [Include additional files in itk external module python wheels](https://discourse.itk.org/t/include-additional-files-in-itk-external-module-python-wheels/5794)

<div class="topic-metadata">

**Author:** [@Stephen\_Aylward](https://discourse.itk.org/u/Stephen_Aylward)\
**Replies:** 7\
**Last updated:** [March 30, 2023, 7:45pm UTC](https://discourse.itk.org/t/include-additional-files-in-itk-external-module-python-wheels/5794 "2023-03-30T19:45:07Z")

</div>

The new scripts for building external modules are amazing! What is the magic to include additional files in a python wheel for an external module using the new scripts? For example, if I have a project directory itkFO…

---

## [Wrapping Deformable Mesh](https://discourse.itk.org/t/wrapping-deformable-mesh/5823)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 4:59pm UTC](https://discourse.itk.org/t/wrapping-deformable-mesh/5823 "2023-03-23T16:59:44Z")

</div>

Hi, I’d like to use python supported itkDeformableSimplexMesh3DGradientConstraintForceFilter, itkDeformableSimplexMesh3DFilter, itkDeformableSimplexMesh3DBalloonForceFilter in ITK 5.2.1. I try to add CMakeLists.txt and w…

---

## [Trying to delete object with non-zero reference count.](https://discourse.itk.org/t/trying-to-delete-object-with-non-zero-reference-count/5807)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 10\
**Last updated:** [March 22, 2023, 6:10pm UTC](https://discourse.itk.org/t/trying-to-delete-object-with-non-zero-reference-count/5807 "2023-03-22T18:10:40Z")

</div>

When my program exits, the title appears. Does it represent my memory leak？

---

## [ITK: ResampleImageFilter and ImageFileWriter compatible with dask?](https://discourse.itk.org/t/itk-resampleimagefilter-and-imagefilewriter-compatible-with-dask/5710)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 6\
**Last updated:** [March 8, 2023, 5:07pm UTC](https://discourse.itk.org/t/itk-resampleimagefilter-and-imagefilewriter-compatible-with-dask/5710 "2023-03-08T17:07:49Z")

</div>

Hello everyone, I hope that’s the correct category. I wanted to ask if someone can give me a hint or info on if ITK’s ResampleImageFilter and ImageFileWriter are compatible with dask and if someone has tested that so f…

---

## [How to use Cuberille module with vcpkg](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813)

<div class="topic-metadata">

**Author:** [@daniel\_123](https://discourse.itk.org/u/daniel_123)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 2:10pm UTC](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813 "2023-03-20T14:10:45Z")

</div>

Hi I am using ITK in a C++ project. I manage my dependencies with vcpkg. However, I do not manage to get the itk Cuberille remote module through vcpgk. How can I download, build, and use the Cuberille module with vcpkg? …

---

## [D:\\ITK5.3\\release\\bin\\ITKCommon-5.3.dll”。Module generated without symbols](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 8\
**Last updated:** [March 14, 2023, 2:48pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803 "2023-03-14T14:48:22Z")

</div>

Why is there no debug symbol in the debug library I compiled?

---

## [Is there a method to stop the registration process early?](https://discourse.itk.org/t/is-there-a-method-to-stop-the-registration-process-early/5791)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 1:01am UTC](https://discourse.itk.org/t/is-there-a-method-to-stop-the-registration-process-early/5791 "2023-03-14T01:01:02Z")

</div>

I want to stop the registration process early,but I’m not sure how.

---

## [itk5.3 debug version can not read dicom serices image](https://discourse.itk.org/t/itk5-3-debug-version-can-not-read-dicom-serices-image/5790)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 2:14am UTC](https://discourse.itk.org/t/itk5-3-debug-version-can-not-read-dicom-serices-image/5790 "2023-03-10T02:14:19Z")

</div>

InsightToolkit-5.3rc04 this is my version,Is it the problem of itk library,The release version is OK.I also tried version 5.2. Debug is normal, but release is not. This makes me confused.

---

## [How to Debug WebAssembly Pipelines in Your Web Browser](https://discourse.itk.org/t/how-to-debug-webassembly-pipelines-in-your-web-browser/5788)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 9:28pm UTC](https://discourse.itk.org/t/how-to-debug-webassembly-pipelines-in-your-web-browser/5788 "2023-03-08T21:28:32Z")

</div>

By: Matt McCormick , Mary Elise Dedicke , Jean-Christophe Fillion-Robin , Will Schroeder Did you know that your web browser comes bundled with extremely powerful development tools? Modern web browsers are the foundatio…

---

## [Errors building CastXML and Python wrapping on Windows](https://discourse.itk.org/t/errors-building-castxml-and-python-wrapping-on-windows/5775)

<div class="topic-metadata">

**Author:** [@bdeldri](https://discourse.itk.org/u/bdeldri)\
**Replies:** 12\
**Last updated:** [March 6, 2023, 3:25pm UTC](https://discourse.itk.org/t/errors-building-castxml-and-python-wrapping-on-windows/5775 "2023-03-06T15:25:16Z")

</div>

I’m trying to build ITK 5.3.0 and RTK on Windows using CMake and Visual Studio, but am running into a number of errors like this: |Error|MSB8066|Custom build for ‘C:\\dev\\build\\InsightToolkit-5.3.0\\CMakeFiles\\9b223592ee…

---

## [is itk：：invoke Must single thread ？](https://discourse.itk.org/t/is-itk-invoke-must-single-thread/5770)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [March 5, 2023, 7:45am UTC](https://discourse.itk.org/t/is-itk-invoke-must-single-thread/5770 "2023-03-05T07:45:36Z")

</div>

I have a ui, and then a registration module. I start a thread in the registration module. When the registration ends, I invoke an event to be handled by the ui, but there are always some error messages.

---

## [Extending ITK for C++ and Python: Build and Test ITK External Modules in a GitHub Action](https://discourse.itk.org/t/extending-itk-for-c-and-python-build-and-test-itk-external-modules-in-a-github-action/5781)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 6:02pm UTC](https://discourse.itk.org/t/extending-itk-for-c-and-python-build-and-test-itk-external-modules-in-a-github-action/5781 "2023-03-03T18:02:57Z")

</div>

By: Tom Birdsong, Matt McCormick , Lucas Gandel, Simon Rit , Jean-Christophe Fillion-Robin, Stephen Aylward Medical imaging is an ever-changing domain, with technological advances introducing exciting new data and proce…

---

## [About itk image format conversion](https://discourse.itk.org/t/about-itk-image-format-conversion/5780)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 1:45pm UTC](https://discourse.itk.org/t/about-itk-image-format-conversion/5780 "2023-03-03T13:45:13Z")

</div>

I am now completing the interface of a registration module, but the images given to me by others are many sequence images in gdcm format. How can I convert these images into the format available for registration.

---

## [On the error of an itk image pointer assignment](https://discourse.itk.org/t/on-the-error-of-an-itk-image-pointer-assignment/5733)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 0\
**Last updated:** [February 21, 2023, 10:58am UTC](https://discourse.itk.org/t/on-the-error-of-an-itk-image-pointer-assignment/5733 "2023-02-21T10:58:14Z")

</div>

When I pass the itk image between the two classes, random errors will occur in the assignment. Sometimes the code can run normally, sometimes errors will occur, and access conflicts will occur. itkimage=myReader-\>GetItk…

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

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