# Engineering

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

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

**Page:** 12

---

## [SimpleITK - connecting to other image processing libraries](https://discourse.itk.org/t/simpleitk-connecting-to-other-image-processing-libraries/3491)

<div class="topic-metadata">

**Author:** [@haesleinhuepf](https://discourse.itk.org/u/haesleinhuepf)\
**Replies:** 5\
**Last updated:** [September 29, 2020, 6:22pm UTC](https://discourse.itk.org/t/simpleitk-connecting-to-other-image-processing-libraries/3491 "2020-09-29T18:22:14Z")

</div>

Hey all, @blowekamp @matt.mccormick first of all congrats to the developers for the SimpleITK 2.0 release! :partying\_face: I was just exploring it from Java and I’m wondering how to pipe pixels from another source int…

---

## [Accelerators via executors in ITK](https://discourse.itk.org/t/accelerators-via-executors-in-itk/3456)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 1\
**Last updated:** [September 25, 2020, 3:34pm UTC](https://discourse.itk.org/t/accelerators-via-executors-in-itk/3456 "2020-09-25T15:34:48Z")

</div>

I have seen that Facebook (Niebler et al.) published an implementation about executors recently: libunifex. I heard about executors from @matt.mccormick, I was thinking about the steps that ITK would need to implement t…

---

## [itk.js: readImageDICOMFile(Series): wrong componentType with itk.js 13.1.3](https://discourse.itk.org/t/itk-js-readimagedicomfile-series-wrong-componenttype-with-itk-js-13-1-3/3477)

<div class="topic-metadata">

**Author:** [@Athius](https://discourse.itk.org/u/Athius)\
**Replies:** 2\
**Last updated:** [September 24, 2020, 2:13pm UTC](https://discourse.itk.org/t/itk-js-readimagedicomfile-series-wrong-componenttype-with-itk-js-13-1-3/3477 "2020-09-24T14:13:49Z")

</div>

Hi, I tried to load a MRI DICOM series using readImageDICOMFileSeries in javascript. For this, I start from the itk-read-dicom example and update the itk package to the last version (13.1.3) and modify the line: return…

---

## [Was itk::simple::AdaptiveHistogramEqualizationImageFilter ever multi-threaded?](https://discourse.itk.org/t/was-itk-adaptivehistogramequalizationimagefilter-ever-multi-threaded/3424)

<div class="topic-metadata">

**Author:** [@gfleishman](https://discourse.itk.org/u/gfleishman)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 1:39pm UTC](https://discourse.itk.org/t/was-itk-adaptivehistogramequalizationimagefilter-ever-multi-threaded/3424 "2020-09-02T13:39:10Z")

</div>

Would like to run this filter on some real big images: ~ 8K x 10K x 2K voxels. Have a cluster and can multi-thread as much as necessary. Per: https://itk.org/pipermail/community/2015-October/010010.html, was this filte…

---

## [Managing memory in VTKImageToImageFilter](https://discourse.itk.org/t/managing-memory-in-vtkimagetoimagefilter/3401)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 10:44am UTC](https://discourse.itk.org/t/managing-memory-in-vtkimagetoimagefilter/3401 "2020-08-19T10:44:07Z")

</div>

I am sharing my recent experience with VTKImageToImageFilter. I have a function poly\_data\_to\_binary\_image that creates an image from an input vtkPolyData, and using an input ITK image as a reference for dimensions and m…

---

## [How to enable nifti2 library](https://discourse.itk.org/t/how-to-enable-nifti2-library/3397)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 3\
**Last updated:** [August 18, 2020, 2:26pm UTC](https://discourse.itk.org/t/how-to-enable-nifti2-library/3397 "2020-08-18T14:26:24Z")

</div>

I would like to try using nifti2 library, but if I set USE\_NIFTI2\_CODE then it gets reverted to USE\_NIFTI2\_CODE=OFF in this line: Is this intentional?

---

## [Adapt 2D/3D two image registration for one image](https://discourse.itk.org/t/adapt-2d-3d-two-image-registration-for-one-image/3394)

<div class="topic-metadata">

**Author:** [@Henco](https://discourse.itk.org/u/Henco)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 2:09pm UTC](https://discourse.itk.org/t/adapt-2d-3d-two-image-registration-for-one-image/3394 "2020-08-14T14:09:23Z")

</div>

Hi all, I’m attempting to adapt the TwoProjectionRegistration module to work with only one X-ray. I’ve changed “itkTwoProjectionImageRegistrationMethod.h” with “itkImageRegistrationMethod.h” and “itkNormalizedCorrelatio…

---

## [itkwidgets in Dash app](https://discourse.itk.org/t/itkwidgets-in-dash-app/3284)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 4\
**Last updated:** [July 16, 2020, 11:57am UTC](https://discourse.itk.org/t/itkwidgets-in-dash-app/3284 "2020-07-16T11:57:23Z")

</div>

Hi, I’m just wondering if it may be possible to host an itkwidgets control within a dash web app? This would be the perfect viz tool for my current work. I have only the most basic node.js experience but it appears tha…

---

## [Adding custom metadata during a filtering pipeline](https://discourse.itk.org/t/adding-custom-metadata-during-a-filtering-pipeline/3261)

<div class="topic-metadata">

**Author:** [@Steve\_Moore](https://discourse.itk.org/u/Steve_Moore)\
**Replies:** 2\
**Last updated:** [July 15, 2020, 2:59am UTC](https://discourse.itk.org/t/adding-custom-metadata-during-a-filtering-pipeline/3261 "2020-07-15T02:59:49Z")

</div>

Hi I have a situation where I need to create some custom filters (derived from an itk::ImageToImageFilter) that modify an input image, but I also want to keep track of some metadata generated by one filter (e.g: a std::…

---

## [Compiler flags not passed down to external modules?](https://discourse.itk.org/t/compiler-flags-not-passed-down-to-external-modules/3249)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 1\
**Last updated:** [July 14, 2020, 4:44pm UTC](https://discourse.itk.org/t/compiler-flags-not-passed-down-to-external-modules/3249 "2020-07-14T16:44:26Z")

</div>

Hi all, My cdash submission here has some -Wmissing-braces warnings: https://open.cdash.org/viewBuildError.php?type=1&buildid=6624748 But that’s odd because I pass -Wno-missing-braces: https://open.cdash.org/viewNote…

---

## [ITK 4.13.2 build creates 4.13.1 libs](https://discourse.itk.org/t/itk-4-13-2-build-creates-4-13-1-libs/3270)

<div class="topic-metadata">

**Author:** [@warfield](https://discourse.itk.org/u/warfield)\
**Replies:** 3\
**Last updated:** [July 14, 2020, 4:03pm UTC](https://discourse.itk.org/t/itk-4-13-2-build-creates-4-13-1-libs/3270 "2020-07-14T16:03:52Z")

</div>

When I build the InsightToolkit 4.13.2 release, the libraries that are created are labelled version 4.13.1. Any idea what is going wrong ?

---

## [No progress reporting in ITK5](https://discourse.itk.org/t/no-progress-reporting-in-itk5/2630)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 37\
**Last updated:** [July 8, 2020, 5:08pm UTC](https://discourse.itk.org/t/no-progress-reporting-in-itk5/2630 "2020-07-08T17:08:06Z")

</div>

ITK5 is great for many reasons but users started to complain that 3D Slicer hangs because all they see that image processing filters are stuck at 0% (e.g., https://discourse.slicer.org/t/bilateral-filter-not-working/9797…

---

## [ITK4 cannot read ITK5 .h5 transform files](https://discourse.itk.org/t/itk4-cannot-read-itk5-h5-transform-files/3264)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 2\
**Last updated:** [July 4, 2020, 3:37pm UTC](https://discourse.itk.org/t/itk4-cannot-read-itk5-h5-transform-files/3264 "2020-07-04T15:37:47Z")

</div>

It seems that simple AffineTransform\_double\_3\_3 saved with ITK 5.1 in HDF format cannot be loaded with ITK 4.13. Here is an example file: https://github.com/vinkirk/public/raw/master/Xfm\_acpc.h5 Is this intentional? Do…

---

## [question about metric setter](https://discourse.itk.org/t/question-about-metric-setter/3251)

<div class="topic-metadata">

**Author:** [@pierrectl](https://discourse.itk.org/u/pierrectl)\
**Replies:** 5\
**Last updated:** [July 3, 2020, 6:42am UTC](https://discourse.itk.org/t/question-about-metric-setter/3251 "2020-07-03T06:42:49Z")

</div>

Hi everyone, I went through itkMeanSquaresImageToImageMetric.hxx file, and I was wondering what is the effect of changing this-\>SetUseAllPixels(true) to this-\>SetUseAllPixels(false)? Thank you in advance for your r…

---

## [Cmake finding wrong compiler in my ITK project but finds correct compiler in ITK library?](https://discourse.itk.org/t/cmake-finding-wrong-compiler-in-my-itk-project-but-finds-correct-compiler-in-itk-library/3220)

<div class="topic-metadata">

**Author:** [@rcatwood](https://discourse.itk.org/u/rcatwood)\
**Replies:** 10\
**Last updated:** [June 24, 2020, 3:06pm UTC](https://discourse.itk.org/t/cmake-finding-wrong-compiler-in-my-itk-project-but-finds-correct-compiler-in-itk-library/3220 "2020-06-24T15:06:04Z")

</div>

Hi, This problem did not happen several weeks ago but it happens now. I am at a large installation with lots of linux workstations administered centrally. The choice of the administratiors is that all workstations hav…

---

## [vcpkg Problems](https://discourse.itk.org/t/vcpkg-problems/3151)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 8\
**Last updated:** [June 18, 2020, 8:59am UTC](https://discourse.itk.org/t/vcpkg-problems/3151 "2020-06-18T08:59:44Z")

</div>

Hello, I’ve just tried to move my main project over to vcpkg. I’ve had two problems. First is that the $ITK\_LIBRARIES variable appears to be set incorrectly. It ends up being: ITK\_LIBRARIES="ITKLabelMap;ITKCommon;ITKS…

---

## [AttributeError: module 'SimpleITK' has no attribute 'CompositeTransform'](https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-compositetransform/3188)

<div class="topic-metadata">

**Author:** [@prms](https://discourse.itk.org/u/prms)\
**Replies:** 2\
**Last updated:** [June 18, 2020, 5:53am UTC](https://discourse.itk.org/t/attributeerror-module-simpleitk-has-no-attribute-compositetransform/3188 "2020-06-18T05:53:32Z")

</div>

I’ve been using SimpleITK 1.2.4 and trying out the notebooks. In the notebook, I am getting the error AttributeError: module 'SimpleITK' has no attribute 'CompositeTransform' Is this some version mismatch issue or am I …

---

## [BUG: module 'TubeTK' has no attribute 'swig'](https://discourse.itk.org/t/bug-module-tubetk-has-no-attribute-swig/2947)

<div class="topic-metadata">

**Author:** [@TaoH](https://discourse.itk.org/u/TaoH)\
**Replies:** 11\
**Last updated:** [June 17, 2020, 6:24pm UTC](https://discourse.itk.org/t/bug-module-tubetk-has-no-attribute-swig/2947 "2020-06-17T18:24:33Z")

</div>

Hello, Thanks for your effort for InsightToolkit-5.1rc3! And I have installed tubetk with pip install itk-tubetk. The bug was reported when I tested the example ConvertTubesToImage.ipynb How can I handle the problem…

---

## [Build pip wheel from existing source tree with ITKPythonPackage](https://discourse.itk.org/t/build-pip-wheel-from-existing-source-tree-with-itkpythonpackage/3187)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 5\
**Last updated:** [June 17, 2020, 1:30am UTC](https://discourse.itk.org/t/build-pip-wheel-from-existing-source-tree-with-itkpythonpackage/3187 "2020-06-17T01:30:30Z")

</div>

Hi, I’ve searched but couldn’t find any answer matching what I’m after. I’ve created a suite of docker containers, dash web apps, back-end processing services, clara framework workflows, jupyterlab servers which all us…

---

## [\[itk-python\] BlockMatchingImageFilter usage problem](https://discourse.itk.org/t/itk-python-blockmatchingimagefilter-usage-problem/3122)

<div class="topic-metadata">

**Author:** [@totoro3y](https://discourse.itk.org/u/totoro3y)\
**Replies:** 6\
**Last updated:** [June 10, 2020, 2:32pm UTC](https://discourse.itk.org/t/itk-python-blockmatchingimagefilter-usage-problem/3122 "2020-06-10T14:32:23Z")

</div>

Hello everyone, I am trying to use BlockMatchingImageFilter to do block matching. I refered to the c++ example match feature points (https://itk.org/Doxygen/html/SphinxExamples\_2src\_2Registration\_2Common\_2MatchFeaturePo…

---

## [MetaImage: ITK does not consider ElementToIntensityFunctionSlope/Offset](https://discourse.itk.org/t/metaimage-itk-does-not-consider-elementtointensityfunctionslope-offset/3148)

<div class="topic-metadata">

**Author:** [@Sophonet](https://discourse.itk.org/u/Sophonet)\
**Replies:** 7\
**Last updated:** [June 9, 2020, 6:04am UTC](https://discourse.itk.org/t/metaimage-itk-does-not-consider-elementtointensityfunctionslope-offset/3148 "2020-06-09T06:04:12Z")

</div>

Hi list, when reading DICOM images with ITK, rescaleIntercept / Slope is forcefully applied. MetaImage provides similar tags (ElementToIntensityFunctionSlope/Offset), but currently, they are ignored and they don’t even …

---

## [Visibility Settings](https://discourse.itk.org/t/visibility-settings/596)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 7\
**Last updated:** [June 3, 2020, 7:15pm UTC](https://discourse.itk.org/t/visibility-settings/596 "2020-06-03T19:15:02Z")

</div>

Hi, On a fresh checkout of v4.13.0, on High Sierra using the system compiler & Ninja, I am getting the following at the end of my build: \[2181/2181\] Linking CXX executable bin/itkTestDriver ld: warning: direct access i…

---

## [How Simpleitk calculate the gain factor and the approximation gradient for stochastic gradient descent?](https://discourse.itk.org/t/how-simpleitk-calculate-the-gain-factor-and-the-approximation-gradient-for-stochastic-gradient-descent/3123)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 12:41pm UTC](https://discourse.itk.org/t/how-simpleitk-calculate-the-gain-factor-and-the-approximation-gradient-for-stochastic-gradient-descent/3123 "2020-05-27T12:41:19Z")

</div>

Hi, I as looking for how to use stochastic gradient descent and I found that it can be done by setting MetricSamplingStrategyType as RANDOM and that the adaptative gain factor can be done by setting EstimateLearningRateT…

---

## [windows builds using msys2 - threading issues](https://discourse.itk.org/t/windows-builds-using-msys2-threading-issues/2648)

<div class="topic-metadata">

**Author:** [@richard.beare](https://discourse.itk.org/u/richard.beare)\
**Replies:** 3\
**Last updated:** [May 15, 2020, 11:02am UTC](https://discourse.itk.org/t/windows-builds-using-msys2-threading-issues/2648 "2020-05-15T11:02:48Z")

</div>

Hi, Moving some long running work to discourse after discussion with @dzenanz … My question is how to enable TBB under msys2. Detailed context below. The error I see when enabling the TBB module is about the location …

---

## [2 errors when trying to build Unity+MagicLeap plugin](https://discourse.itk.org/t/2-errors-when-trying-to-build-unity-magicleap-plugin/3066)

<div class="topic-metadata">

**Author:** [@Henco](https://discourse.itk.org/u/Henco)\
**Replies:** 10\
**Last updated:** [May 14, 2020, 10:09pm UTC](https://discourse.itk.org/t/2-errors-when-trying-to-build-unity-magicleap-plugin/3066 "2020-05-14T22:09:49Z")

</div>

I’m trying to create a native plugin that uses the Insight Toolkit in a Unity scene on a MagicLeap headset. I’ve built my library binaries with CMake and I’ve also used CMake to build a plugin that works inside the Unity…

---

## [How to see itk current code coverage](https://discourse.itk.org/t/how-to-see-itk-current-code-coverage/2217)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 4\
**Last updated:** [May 13, 2020, 9:29pm UTC](https://discourse.itk.org/t/how-to-see-itk-current-code-coverage/2217 "2020-05-13T21:29:21Z")

</div>

Hello, I can’t find a way to see the current coverage of itk, file per file… I’m sure I’m missing something, any help ? Thanks, Y.

---

## [how to modify a metric in itk](https://discourse.itk.org/t/how-to-modify-a-metric-in-itk/2929)

<div class="topic-metadata">

**Author:** [@pierrectl](https://discourse.itk.org/u/pierrectl)\
**Replies:** 28\
**Last updated:** [May 11, 2020, 12:37pm UTC](https://discourse.itk.org/t/how-to-modify-a-metric-in-itk/2929 "2020-05-11T12:37:59Z")

</div>

Hello everyone, I currently use itk in my project and I need to modify the metric of one of my registration between two 3d images. Is there an efficient way to implement my custom metric (in cpp)? Thank you in advance …

---

## [itk::FileOutputWindow](https://discourse.itk.org/t/itk-fileoutputwindow/3045)

<div class="topic-metadata">

**Author:** [@HsuehWen](https://discourse.itk.org/u/HsuehWen)\
**Replies:** 6\
**Last updated:** [May 11, 2020, 3:51am UTC](https://discourse.itk.org/t/itk-fileoutputwindow/3045 "2020-05-11T03:51:53Z")

</div>

I’m using ITK 5.0.0, I use itk::FileOutputWindow to log the warning messages by typedef itk::FileOutputWindow myFileOutputWindow; myFileOutputWindow::Pointer window = myFileOutputWindow::New(); window-\>SetFileName(“C…

---

## [Additional python types for ITK remote/external modules](https://discourse.itk.org/t/additional-python-types-for-itk-remote-external-modules/2509)

<div class="topic-metadata">

**Author:** [@LucasGandel](https://discourse.itk.org/u/LucasGandel)\
**Replies:** 7\
**Last updated:** [May 8, 2020, 8:32am UTC](https://discourse.itk.org/t/additional-python-types-for-itk-remote-external-modules/2509 "2020-05-08T08:32:56Z")

</div>

ITK python wrapping infrastructure allows external/remote modules to extend the available types for a specific class. This has been heavily used when wrapping RTK for python, so that rtk python packages work with the pi…

---

## [Store Images in a Vector and then Average it](https://discourse.itk.org/t/store-images-in-a-vector-and-then-average-it/3027)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 8:50pm UTC](https://discourse.itk.org/t/store-images-in-a-vector-and-then-average-it/3027 "2020-05-04T20:50:50Z")

</div>

Hey Guys, I am generating vector images (3 images) iteratively and I would like to know how I can store those images into a vector, or array, of images, and average those 3 images to save only the final averaged one. T…

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

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