# Engineering

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

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

**Page:** 23

---

## [vnl\_sparse\_matrix IO](https://discourse.itk.org/t/vnl-sparse-matrix-io/618)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 3\
**Last updated:** [January 25, 2018, 2:37pm UTC](https://discourse.itk.org/t/vnl-sparse-matrix-io/618 "2018-01-25T14:37:53Z")

</div>

Hi, I’d like to create a vnl\_sparse\_matrix and to write it down to disk. However, it does not seem possible. When including vnl/io/vnl\_io\_sparse\_matrix.h, I get the following error fatal error: ‘vsl/vsl\_binary\_io.h’ f…

---

## [OSX\_DEPLOYMENT\_TARGET 10.9 or later required with ITKv5](https://discourse.itk.org/t/osx-deployment-target-10-9-or-later-required-with-itkv5/616)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 6\
**Last updated:** [January 23, 2018, 5:50pm UTC](https://discourse.itk.org/t/osx-deployment-target-10-9-or-later-required-with-itkv5/616 "2018-01-23T17:50:43Z")

</div>

Hi folks, If you do not build macOS binaries for distribution that target compatibility with older OS versions, you can ignore this thread. As a consequence of the C++11 requirement of ITKv5, macOS builds that specify O…

---

## [Are we satisfied with ITK namespaces?](https://discourse.itk.org/t/are-we-satisfied-with-itk-namespaces/609)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 3\
**Last updated:** [January 22, 2018, 6:06pm UTC](https://discourse.itk.org/t/are-we-satisfied-with-itk-namespaces/609 "2018-01-22T18:06:01Z")

</div>

Folks, due to a recent issue reported to the ITK Software Guide project, I’ve investigated the use/appearance of nested namespaces in ITK. I’ve identified the following list of namespaces: Accessor Algorithm Concept D…

---

## [DVMeshNoise remote module fork and redirection](https://discourse.itk.org/t/dvmeshnoise-remote-module-fork-and-redirection/604)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 4\
**Last updated:** [January 20, 2018, 9:19am UTC](https://discourse.itk.org/t/dvmeshnoise-remote-module-fork-and-redirection/604 "2018-01-20T09:19:20Z")

</div>

Folks, I’ve realized that the DVMeshNoise remote module that @DVigneault contributed with has the following GitHub address in ITK’s remote modules: However, that seems to be redirecting to: @DVigneault’s IJ submiss…

---

## [GitHub status CDash link now available for ITK module repositories](https://discourse.itk.org/t/github-status-cdash-link-now-available-for-itk-module-repositories/598)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 7\
**Last updated:** [January 18, 2018, 7:27am UTC](https://discourse.itk.org/t/github-status-cdash-link-now-available-for-itk-module-repositories/598 "2018-01-18T07:27:07Z")

</div>

When creating an ITK external module on GitHub with the ITKModuleTemplate, configuration for free continuous integration testing services are provided. This includes a CTest script that reports the results of a CircleCI …

---

## [ITKv5 N4BiasFieldCorrection regression](https://discourse.itk.org/t/itkv5-n4biasfieldcorrection-regression/579)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 5\
**Last updated:** [January 16, 2018, 2:44pm UTC](https://discourse.itk.org/t/itkv5-n4biasfieldcorrection-regression/579 "2018-01-16T14:44:04Z")

</div>

I have noticed on the SimpleITK dashboard compiled against ITKv5, master, the N4BiasFieldCorrectionImageFilter test failing: https://open.cdash.org/testDetails.php?test=616394668&build=5213037 The parameters used are p…

---

## [Factory Registration Managers](https://discourse.itk.org/t/factory-registration-managers/573)

<div class="topic-metadata">

**Author:** [@tim-evain](https://discourse.itk.org/u/tim-evain)\
**Replies:** 4\
**Last updated:** [January 9, 2018, 3:37pm UTC](https://discourse.itk.org/t/factory-registration-managers/573 "2018-01-09T15:37:42Z")

</div>

Hello everyone, Since I always use CMake to get ITK into my own projects, I get the itk(Transform/Image)IOFactoryRegisterManager.h files that are generated during the process. I’m now on a project without CMake, and I …

---

## [FFTWComplexToComplexFFTImageFilter linker error: undefined reference to GenerateInputRequestedRegion()](https://discourse.itk.org/t/fftwcomplextocomplexfftimagefilter-linker-error-undefined-reference-to-generateinputrequestedregion/567)

<div class="topic-metadata">

**Author:** [@Pierrick](https://discourse.itk.org/u/Pierrick)\
**Replies:** 4\
**Last updated:** [January 4, 2018, 2:07pm UTC](https://discourse.itk.org/t/fftwcomplextocomplexfftimagefilter-linker-error-undefined-reference-to-generateinputrequestedregion/567 "2018-01-04T14:07:01Z")

</div>

Hi All, I’ve been trying to use the FFTWComplexToComplexFFTImageFilter filter, but get linker errors: CMakeFiles/TestFFTW.dir/TestFFTW.cxx.o:(.rodata.\_ZTVN3itk30ComplexToComplexFFTImageFilterINS\_5ImageISt7complexIfELj3…

---

## [Reading an dicom series without the pallete](https://discourse.itk.org/t/reading-an-dicom-series-without-the-pallete/553)

<div class="topic-metadata">

**Author:** [@swetha.bsharma](https://discourse.itk.org/u/swetha.bsharma)\
**Replies:** 0\
**Last updated:** [December 26, 2017, 11:02am UTC](https://discourse.itk.org/t/reading-an-dicom-series-without-the-pallete/553 "2017-12-26T11:02:09Z")

</div>

Hi All, I have a dicom series with the following tags with bits allocated -16 ,bits stored-12 , High bit -11,PixelRepresentation-0,Photometricinterpresentation- PALLETE\_COLOR. I want to read it as gray image without a…

---

## [Gerrit not working properly at the moment](https://discourse.itk.org/t/gerrit-not-working-properly-at-the-moment/550)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 1\
**Last updated:** [December 23, 2017, 8:13pm UTC](https://discourse.itk.org/t/gerrit-not-working-properly-at-the-moment/550 "2017-12-23T20:13:57Z")

</div>

It should be resolved after Christmas, if not before.

---

## [Deadlock with fftw, shared libs and Windows](https://discourse.itk.org/t/deadlock-with-fftw-shared-libs-and-windows/494)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 19\
**Last updated:** [December 22, 2017, 4:02pm UTC](https://discourse.itk.org/t/deadlock-with-fftw-shared-libs-and-windows/494 "2017-12-22T16:02:49Z")

</div>

Hi, I have a deadlock at the end of my programs when I use FFTW, shared libs and MSVC. You can see it here: http://my.cdash.org/viewTest.php?onlyfailed&buildid=1335053. Note that I don’t have this problem under linux: …

---

## [Problem in reading 16 bit image](https://discourse.itk.org/t/problem-in-reading-16-bit-image/536)

<div class="topic-metadata">

**Author:** [@swetha.bsharma](https://discourse.itk.org/u/swetha.bsharma)\
**Replies:** 5\
**Last updated:** [December 21, 2017, 3:29pm UTC](https://discourse.itk.org/t/problem-in-reading-16-bit-image/536 "2017-12-21T15:29:34Z")

</div>

Hi All, I am trying to read a 16 bit dicom series which has values ranging from 0- 4095. The below code is the one I am using for reading the pixel values. typedef unsigned short PixelType; const int Dim…

---

## [gTest compile errors](https://discourse.itk.org/t/gtest-compile-errors/499)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 12\
**Last updated:** [December 20, 2017, 1:19pm UTC](https://discourse.itk.org/t/gtest-compile-errors/499 "2017-12-20T13:19:56Z")

</div>

With the most recent Visual Studio 2017 updates (version 15.5.1, and maybe one or two back), gtest and gtest\_main fail to compile (error and warning messages bellow). @blowekamp Does ITK’s copy of GoogleTest need to be u…

---

## [MetaIO precision](https://discourse.itk.org/t/metaio-precision/539)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 8\
**Last updated:** [December 18, 2017, 6:15pm UTC](https://discourse.itk.org/t/metaio-precision/539 "2017-12-18T18:15:32Z")

</div>

---

## [Cleaning up the dashboard](https://discourse.itk.org/t/cleaning-up-the-dashboard/504)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 5\
**Last updated:** [December 13, 2017, 6:10pm UTC](https://discourse.itk.org/t/cleaning-up-the-dashboard/504 "2017-12-13T18:10:45Z")

</div>

I reported the dynamic analysis reporting failure on CDash’s GitHub here. We can use this topic for other dashboard-related discussion.

---

## [warning: dynamic exception specifications are deprecated in C++11](https://discourse.itk.org/t/warning-dynamic-exception-specifications-are-deprecated-in-c-11/470)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 41\
**Last updated:** [December 8, 2017, 10:25am UTC](https://discourse.itk.org/t/warning-dynamic-exception-specifications-are-deprecated-in-c-11/470 "2017-12-08T10:25:00Z")

</div>

Hi, I get this warning with gcc 7.2.1, see http://my.cdash.org/viewBuildError.php?type=1&buildid=1330451 I don’t understand the code generating it so I don’t know how to fix it. Any suggestion? Simon

---

## [SetupForDevelopment.sh: ambiguous argument 'FETCH\_HEAD': both revision and filename](https://discourse.itk.org/t/setupfordevelopment-sh-ambiguous-argument-fetch-head-both-revision-and-filename/479)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 1\
**Last updated:** [December 2, 2017, 2:50pm UTC](https://discourse.itk.org/t/setupfordevelopment-sh-ambiguous-argument-fetch-head-both-revision-and-filename/479 "2017-12-02T14:50:02Z")

</div>

I’ve just tried to run ./Utilities/SetupForDevelopment.sh, and it errors out with the following: Setting up git hooks... Initialized empty Git repository in /Users/sean/external/ITK/.git/.git/ Pulling the hooks... remot…

---

## [GDCM Needs updating (20171120)](https://discourse.itk.org/t/gdcm-needs-updating-20171120/439)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 7\
**Last updated:** [December 1, 2017, 2:00pm UTC](https://discourse.itk.org/t/gdcm-needs-updating-20171120/439 "2017-12-01T14:00:17Z")

</div>

CMake Deprecation Warning at Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/CMakeLists.txt:3 (cmake\_policy): The OLD behavior for policy CMP0022 will be removed from a future version of CMake. The cmake-policies(…

---

## [Why is const\_cast used inside filters?](https://discourse.itk.org/t/why-is-const-cast-used-inside-filters/462)

<div class="topic-metadata">

**Author:** [@Besler](https://discourse.itk.org/u/Besler)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 1:51pm UTC](https://discourse.itk.org/t/why-is-const-cast-used-inside-filters/462 "2017-12-01T13:51:12Z")

</div>

The ITK Software Guide (Book 1) has an example of a creating a composition filter. In the GenerateData method, a const\_cast is used to cast a pointer to const data into a pointer to data. This is done for the input image…

---

## [Watershed filter: casting issue](https://discourse.itk.org/t/watershed-filter-casting-issue/469)

<div class="topic-metadata">

**Author:** [@Bipul\_Tarafdar](https://discourse.itk.org/u/Bipul_Tarafdar)\
**Replies:** 2\
**Last updated:** [November 30, 2017, 9:28pm UTC](https://discourse.itk.org/t/watershed-filter-casting-issue/469 "2017-11-30T21:28:23Z")

</div>

Hi, Is there a way to cast the itk::WatershedImageFilter\< TInputImage \> filter to a itk::ImageToImageFilter\< TInputImage, TOutputImage \> type? where TInputImage = TOutputImage = itk::Image\<float, 3u\> All the other fil…

---

## [Return type relying on template-dependant value?](https://discourse.itk.org/t/return-type-relying-on-template-dependant-value/450)

<div class="topic-metadata">

**Author:** [@tim-evain](https://discourse.itk.org/u/tim-evain)\
**Replies:** 2\
**Last updated:** [November 22, 2017, 8:33pm UTC](https://discourse.itk.org/t/return-type-relying-on-template-dependant-value/450 "2017-11-22T20:33:45Z")

</div>

Hello everyone ! I try to create my own itk filter based on the ImageToImageFilter. Following the guideline, we could access to the run-time image dimension with TInputImage::ImageDimension or with the help of the itkSe…

---

## [ThreadPool hanging in DLLs](https://discourse.itk.org/t/threadpool-hanging-in-dlls/426)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 6\
**Last updated:** [November 22, 2017, 7:52pm UTC](https://discourse.itk.org/t/threadpool-hanging-in-dlls/426 "2017-11-22T19:52:42Z")

</div>

Johan discovered that ThreadPool causes the program to always hang on Windows if ITK is compiled as shared libraries. After trying to deal with it over the last few days, I created a MWE which does not depend on ITK and e…

---

## [More Threading issue](https://discourse.itk.org/t/more-threading-issue/438)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 7\
**Last updated:** [November 21, 2017, 6:31pm UTC](https://discourse.itk.org/t/more-threading-issue/438 "2017-11-21T18:31:23Z")

</div>

The server I am working on has 2 socket with 44 physical cores configured to run with hyper-threading. My general experience with hyper-threading is: It does not hurt the through put, and some times the feature does imp…

---

## [How to apply ITK in DirectX HLSL?](https://discourse.itk.org/t/how-to-apply-itk-in-directx-hlsl/441)

<div class="topic-metadata">

**Author:** [@J\_J](https://discourse.itk.org/u/J_J)\
**Replies:** 3\
**Last updated:** [November 21, 2017, 4:02pm UTC](https://discourse.itk.org/t/how-to-apply-itk-in-directx-hlsl/441 "2017-11-21T16:02:38Z")

</div>

Good morning, I wonder if anyone try to apply ITK to DirectX shader wth HLSL? Really appreciate any tips :slight\_smile: JJ

---

## [Rationale for metaObject.cxx: m\_DoublePrecision = 6;](https://discourse.itk.org/t/rationale-for-metaobject-cxx-m-doubleprecision-6/305)

<div class="topic-metadata">

**Author:** [@mathieu.malaterre](https://discourse.itk.org/u/mathieu.malaterre)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 8:24am UTC](https://discourse.itk.org/t/rationale-for-metaobject-cxx-m-doubleprecision-6/305 "2017-11-21T08:24:44Z")

</div>

When writing double array as meta image, one can generally see the following: $ head -15 input.mha ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = False TransformMatrix = 1…

---

## [PrintSelf() for use in debugger](https://discourse.itk.org/t/printself-for-use-in-debugger/432)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.itk.org/u/ihnorton)\
**Replies:** 2\
**Last updated:** [November 20, 2017, 4:24pm UTC](https://discourse.itk.org/t/printself-for-use-in-debugger/432 "2017-11-20T16:24:30Z")

</div>

Please consider adding an overload to ::PrintSelf() which defaults to one of the standard output streams and does not require an ostream reference. As far as I can tell \[1, 2\], the current signature PrintSelf (std::ostr…

---

## [What is m\_Associate?](https://discourse.itk.org/t/what-is-m-associate/427)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 1\
**Last updated:** [November 17, 2017, 8:12pm UTC](https://discourse.itk.org/t/what-is-m-associate/427 "2017-11-17T20:12:23Z")

</div>

I’m modifying the neighborhood cross correlation metric (itkv4). There are some lines like: this -\>m\_Associate-\>GetMovingTransform() in the metric class. It looks through m\_Associate the metric can call the functions in…

---

## [Dashboard cleanup](https://discourse.itk.org/t/dashboard-cleanup/425)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 5\
**Last updated:** [November 15, 2017, 8:28pm UTC](https://discourse.itk.org/t/dashboard-cleanup/425 "2017-11-15T20:28:31Z")

</div>

ShapeLabelMapFixture.3D\_T2x2x2\_Spacing test has been failing for a while now. Can we fix it? @blowekamp If I remember correctly, you were the last fiddling with it. Is this still on your to-do list?

---

## [ProcessObject NumberOfThreads](https://discourse.itk.org/t/processobject-numberofthreads/416)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 2\
**Last updated:** [November 15, 2017, 3:38pm UTC](https://discourse.itk.org/t/processobject-numberofthreads/416 "2017-11-15T15:38:07Z")

</div>

@dzenanz I suspect this side effect has to do with the recent threading changes. It appears that I can not longer control the global default number of threads with the current ITK master: Blockquote In \[1\]: import Sim…

---

## [Need help to fix some -Wunused-template dashboard warnings](https://discourse.itk.org/t/need-help-to-fix-some-wunused-template-dashboard-warnings/357)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 6\
**Last updated:** [November 8, 2017, 6:11pm UTC](https://discourse.itk.org/t/need-help-to-fix-some-wunused-template-dashboard-warnings/357 "2017-11-08T18:11:43Z")

</div>

Hi all, Any C++ experts out there that could help fix these 2 warnings: ITK/Modules/Core/Common/include/itkMath.h:524:1: warning: unused function template ‘AlmostEqualsScalarComparer’ \[-Wunused-template\] AlmostEqualsS…

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

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