# Engineering

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

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

**Page:** 18

---

## [double-conversion problem in vcpkg build](https://discourse.itk.org/t/double-conversion-problem-in-vcpkg-build/1486)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 3\
**Last updated:** [December 19, 2018, 2:19pm UTC](https://discourse.itk.org/t/double-conversion-problem-in-vcpkg-build/1486 "2018-12-19T14:19:25Z")

</div>

I just tried building ITK using vcpkg: vcpkg install itk\[vtk\]. It fails, boiling down to double-conversion.h trying to include double-conversion/utils.h and not finding it. Is this a problem in ITK or double-conversion, …

---

## [SimpleType m\_Var = initialValue;](https://discourse.itk.org/t/simpletype-m-var-initialvalue/651)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 9\
**Last updated:** [December 18, 2018, 9:24am UTC](https://discourse.itk.org/t/simpletype-m-var-initialvalue/651 "2018-12-18T09:24:29Z")

</div>

Should we move away from the practice that the member variables are initialized in the constructor, and rather move them to the declaration? At least for simple types. A “go to declaration” would also inform the programm…

---

## [Python wrapping of a member function template](https://discourse.itk.org/t/python-wrapping-of-a-member-function-template/1482)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 7:04pm UTC](https://discourse.itk.org/t/python-wrapping-of-a-member-function-template/1482 "2018-12-17T19:04:05Z")

</div>

What is the way to wrap a member function template? Is there any macro for it? If not, anybody has experience with swig for doing it --even manually? Pinging @fbudin An example of a template function I would like to wr…

---

## [Redhat: Compilers that do not support bool are not supported](https://discourse.itk.org/t/redhat-compilers-that-do-not-support-bool-are-not-supported/1474)

<div class="topic-metadata">

**Author:** [@Kim\_Han\_Thung](https://discourse.itk.org/u/Kim_Han_Thung)\
**Replies:** 1\
**Last updated:** [December 13, 2018, 5:42pm UTC](https://discourse.itk.org/t/redhat-compilers-that-do-not-support-bool-are-not-supported/1474 "2018-12-13T17:42:20Z")

</div>

Hi all, I encountered the following error when trying to build ITK. CMake Error at Modules/ThirdParty/VNL/src/vxl/config/cmake/config/VXLIntrospectionConfig.cmake:391 (message): Compilers that do not support bool are …

---

## [Intercepting an ImageIO Factory Read to modify data in the buffer](https://discourse.itk.org/t/intercepting-an-imageio-factory-read-to-modify-data-in-the-buffer/1461)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 2\
**Last updated:** [December 6, 2018, 8:40pm UTC](https://discourse.itk.org/t/intercepting-an-imageio-factory-read-to-modify-data-in-the-buffer/1461 "2018-12-06T20:40:35Z")

</div>

Continuing my work on the MINCIO code, I’ve realized that the coordinate system corrections I do to vectors in TransformMINC should really be happening right at file loading. My current implementation is this code: W…

---

## [Consistent Export Symbol Proceedures: Request for comment.](https://discourse.itk.org/t/consistent-export-symbol-proceedures-request-for-comment/1453)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 4\
**Last updated:** [December 2, 2018, 11:47pm UTC](https://discourse.itk.org/t/consistent-export-symbol-proceedures-request-for-comment/1453 "2018-12-02T23:47:52Z")

</div>

= Background Various early attempts to fix problems with dynamic\_casting seems to have resulted in various approaches to how exporting symbols is defined in macros. = My understanding We should constently use the pa…

---

## [PixelAccessor or NeighborhoodAccessor?](https://discourse.itk.org/t/pixelaccessor-or-neighborhoodaccessor/1441)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 8\
**Last updated:** [November 30, 2018, 8:10pm UTC](https://discourse.itk.org/t/pixelaccessor-or-neighborhoodaccessor/1441 "2018-11-30T20:10:42Z")

</div>

Last Tuesday I implemented another modern C++ range of iterators: ImageRange should support iterating over all pixels of an image buffer. (Still work in progress – WIP.) Now I wonder if I chose the right accessor to acc…

---

## [itk::NeighborhoodRange: a new class for efficient modern C++ style iteration](https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 76\
**Last updated:** [November 29, 2018, 9:17pm UTC](https://discourse.itk.org/t/itk-neighborhoodrange-a-new-class-for-efficient-modern-c-style-iteration/833 "2018-11-29T21:17:36Z")

</div>

Hereby I would like to draw your attention to a class (template) that I just submitted: ENH: Added NeighborhoodRange for efficient modern C++ style iteration. It aims to support modern C++ style iteration on a pixel neig…

---

## [Voxel wise multiplication of vector images and vector constants](https://discourse.itk.org/t/voxel-wise-multiplication-of-vector-images-and-vector-constants/1426)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 4\
**Last updated:** [November 26, 2018, 8:17pm UTC](https://discourse.itk.org/t/voxel-wise-multiplication-of-vector-images-and-vector-constants/1426 "2018-11-26T20:17:54Z")

</div>

I’m working on cleaning up the MINC support (IO and Transforms) in ITK, and my last step is to properly handle the MINC non-linear deformation files. The major change is to convert the coordinate system every single voxe…

---

## [Link issue with dynamic libraries](https://discourse.itk.org/t/link-issue-with-dynamic-libraries/1434)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 1\
**Last updated:** [November 26, 2018, 12:59am UTC](https://discourse.itk.org/t/link-issue-with-dynamic-libraries/1434 "2018-11-26T00:59:37Z")

</div>

Hi, Someone has (quite) recently reported on the RTK mailing list that RTK does not compile with ITK on the latest 4.13.1 release when shared libraries are used. I can reproduce the problem (with 4.12, 4.13 and 4.13.1) …

---

## [Mutex cleanup](https://discourse.itk.org/t/mutex-cleanup/1183)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 20\
**Last updated:** [November 23, 2018, 3:27pm UTC](https://discourse.itk.org/t/mutex-cleanup/1183 "2018-11-23T15:27:34Z")

</div>

Should we remove MutexLock and friends (MutexLockHolder, ConditionVariable), and replace them by C++11 equivalents (std::mutex, std::scoped\_lock, std::condition\_variable)? A bump in major version number coupled with a s…

---

## [Python library CMake variable names](https://discourse.itk.org/t/python-library-cmake-variable-names/1424)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 5\
**Last updated:** [November 22, 2018, 1:13am UTC](https://discourse.itk.org/t/python-library-cmake-variable-names/1424 "2018-11-22T01:13:58Z")

</div>

Folks, my CMake is showing the variables names PYTHON\_DEBUG\_LIBRARY and PYTHON\_LIBRARY\_DEBUG, which I find meaning pretty much the same thing or confusing at least. As far as I understand, the former is used by the VNL …

---

## [New for ITK 5.0: IndexRange, ZeroBasedIndexRange, ImageRegionIndexRange](https://discourse.itk.org/t/new-for-itk-5-0-indexrange-zerobasedindexrange-imageregionindexrange/1412)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 8\
**Last updated:** [November 20, 2018, 8:11pm UTC](https://discourse.itk.org/t/new-for-itk-5-0-indexrange-zerobasedindexrange-imageregionindexrange/1412 "2018-11-20T20:11:15Z")

</div>

FYI, Last weekend, @matt.mccormick merged the itk::Experimental::IndexRange template class that I proposed, making it available for ITK 5.0 :drum: :drum: :drum: IndexRange is a modern C++ range of iterators. It shoul…

---

## [Build error with SimpleFastMutexLock](https://discourse.itk.org/t/build-error-with-simplefastmutexlock/1393)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.itk.org/u/melrobin)\
**Replies:** 11\
**Last updated:** [November 18, 2018, 11:25pm UTC](https://discourse.itk.org/t/build-error-with-simplefastmutexlock/1393 "2018-11-18T23:25:10Z")

</div>

In trying to build I get this error in generating one particular XML file: \[ 33%\] Generating …/…/itkVnlForwardFFTImageFilter.xml /home/melrobin/packages/ITK/build/Wrapping/itkFFTWGlobalConfiguration.cxx:38:18: error: …

---

## [Build all Header files of ITK into python.](https://discourse.itk.org/t/build-all-header-files-of-itk-into-python/1228)

<div class="topic-metadata">

**Author:** [@Tirupathi\_Rao\_N](https://discourse.itk.org/u/Tirupathi_Rao_N)\
**Replies:** 6\
**Last updated:** [November 18, 2018, 12:37am UTC](https://discourse.itk.org/t/build-all-header-files-of-itk-into-python/1228 "2018-11-18T00:37:03Z")

</div>

Hello Everyone, I want to use ITK,VTK(ITKVTKGLUE) in my python code, but there is no such filter in ITK and VTK python. So I started building up all header files of ITK and VTK into python, while building it I’m having…

---

## [Neural Networks Examples](https://discourse.itk.org/t/neural-networks-examples/1408)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.itk.org/u/melrobin)\
**Replies:** 13\
**Last updated:** [November 14, 2018, 2:46pm UTC](https://discourse.itk.org/t/neural-networks-examples/1408 "2018-11-14T14:46:57Z")

</div>

I am trying to build the Neural Networks ITK example, but the compile fails because of a missing localMetaConfiguration.h. This requires the MetaIO package, but I do not see where this is an option to turn on in CMake, …

---

## [Ease transition to const-correct VerifyPreconditions](https://discourse.itk.org/t/ease-transition-to-const-correct-verifypreconditions/1399)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 6\
**Last updated:** [November 13, 2018, 4:26pm UTC](https://discourse.itk.org/t/ease-transition-to-const-correct-verifypreconditions/1399 "2018-11-13T16:26:37Z")

</div>

All the code which overrode VerifyPreconditions() and VerifyInputInformation() now fails to compile with an error message similar to this: 16\>c:\\misc\\bluequartz\\simpl\\source\\simplib\\itk\\itkinplaceimagetodream3ddatafilt…

---

## [Custom border extrapolation of ShapedImageNeighborhoodRange by ImageNeighborhoodPixelAccessPolicy](https://discourse.itk.org/t/custom-border-extrapolation-of-shapedimageneighborhoodrange-by-imageneighborhoodpixelaccesspolicy/879)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 33\
**Last updated:** [November 9, 2018, 10:28pm UTC](https://discourse.itk.org/t/custom-border-extrapolation-of-shapedimageneighborhoodrange-by-imageneighborhoodpixelaccesspolicy/879 "2018-11-09T22:28:50Z")

</div>

Hereby I would like explain the idea behind the patch I submitted last Saturday, ENH: Added ImageNeighborhoodPixelAccessPolicy for custom border extrapolation I guess you have seen, last week, the ShapedImageNeighborhoo…

---

## [GCC 6 7 vnl\_test\_math isinf failure](https://discourse.itk.org/t/gcc-6-7-vnl-test-math-isinf-failure/725)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 6\
**Last updated:** [November 8, 2018, 4:25pm UTC](https://discourse.itk.org/t/gcc-6-7-vnl-test-math-isinf-failure/725 "2018-11-08T16:25:50Z")

</div>

There is the following test failure on several builds: Test 185: isinf(ninf\_d) --\> \*\*FAILED\*\* I have traced this down to std::isinf returning “-1”, the C++11 standard specifies a…

---

## [New implementation of functor filter in OTB](https://discourse.itk.org/t/new-implementation-of-functor-filter-in-otb/1382)

<div class="topic-metadata">

**Author:** [@julien.michel](https://discourse.itk.org/u/julien.michel)\
**Replies:** 8\
**Last updated:** [October 30, 2018, 3:11pm UTC](https://discourse.itk.org/t/new-implementation-of-functor-filter-in-otb/1382 "2018-10-30T15:11:50Z")

</div>

Hi all, I am working on a new functor filter implementation in OTB, and feedbacks suggest that this is something that could be interesting for ITK. Basically you can use it very simply with any functor with operator() o…

---

## [Isotropic Wavelets](https://discourse.itk.org/t/isotropic-wavelets/1386)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.itk.org/u/melrobin)\
**Replies:** 4\
**Last updated:** [October 30, 2018, 4:53pm UTC](https://discourse.itk.org/t/isotropic-wavelets/1386 "2018-10-30T16:53:27Z")

</div>

In building the Wavelet Frequency Inverse test I encounter this problem: In file included from /home/melrobin/packages/ITK/Modules/Remote/IsotropicWavelets/test/itkWaveletFrequencyInverseTest.cxx:23:0: /home/melrobin/p…

---

## [Incomplete mangling of the GDCM OpenJPEG library](https://discourse.itk.org/t/incomplete-mangling-of-the-gdcm-openjpeg-library/1334)

<div class="topic-metadata">

**Author:** [@denis.p.shamonin](https://discourse.itk.org/u/denis.p.shamonin)\
**Replies:** 4\
**Last updated:** [October 30, 2018, 12:15pm UTC](https://discourse.itk.org/t/incomplete-mangling-of-the-gdcm-openjpeg-library/1334 "2018-10-30T12:15:52Z")

</div>

I recently found that your mangling of the OpenJPEG is incomplete. There are two OpenJPEG libraries in ITK: ITK\\Modules\\ThirdParty\\OpenJPEG\\src\\openjpeg ITK\\Modules\\ThirdParty\\GDCM\\src\\gdcm\\Utilities\\gdcmopenjpeg\\src\\l…

---

## [JPEG2000 and SWIG](https://discourse.itk.org/t/jpeg2000-and-swig/1385)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.itk.org/u/melrobin)\
**Replies:** 2\
**Last updated:** [October 30, 2018, 4:45am UTC](https://discourse.itk.org/t/jpeg2000-and-swig/1385 "2018-10-30T04:45:29Z")

</div>

I’m having a build problem from the GitHub site that I cannot get past: CMake Error at Wrapping/Generators/SwigInterface/CMakeLists.txt:377 (add\_dependencies): The dependency target “ITKIOJPEG2000Swig” of target “ITKRe…

---

## [Always use concept checks?](https://discourse.itk.org/t/always-use-concept-checks/1372)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 3\
**Last updated:** [October 26, 2018, 5:59pm UTC](https://discourse.itk.org/t/always-use-concept-checks/1372 "2018-10-26T17:59:33Z")

</div>

Should we remove option ITK\_USE\_CONCEPT\_CHECKING and always use concept checking in classes? Were there other use cases for this option besides inconsistent support in older compilers?

---

## [error building an external module: cannot open input file 'ITKCommon.lib'](https://discourse.itk.org/t/error-building-an-external-module-cannot-open-input-file-itkcommon-lib/1346)

<div class="topic-metadata">

**Author:** [@ebennink](https://discourse.itk.org/u/ebennink)\
**Replies:** 12\
**Last updated:** [October 15, 2018, 1:39pm UTC](https://discourse.itk.org/t/error-building-an-external-module-cannot-open-input-file-itkcommon-lib/1346 "2018-10-15T13:39:21Z")

</div>

Dear all, I am trying to build an external ITK module, but linking the new module to the ITK libraries fails. It appears that CMake added the dependent ITK libraries as ITKCommon.lib and ITKSpatialObjects.lib to the lin…

---

## [Expected nightly exotic having too old CMake](https://discourse.itk.org/t/expected-nightly-exotic-having-too-old-cmake/1308)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 4\
**Last updated:** [October 11, 2018, 9:29pm UTC](https://discourse.itk.org/t/expected-nightly-exotic-having-too-old-cmake/1308 "2018-10-11T21:29:41Z")

</div>

Folks, the dashmacmini5.kitware expected nightly exotic sites MacOSX10.7-clang build has an old CMake verison (3.2.1) that is preventing it from building. Anyone out there knowing claiming the machine/being able to upd…

---

## [advice on what to do with ongoing pull request](https://discourse.itk.org/t/advice-on-what-to-do-with-ongoing-pull-request/1341)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 11\
**Last updated:** [October 11, 2018, 4:50pm UTC](https://discourse.itk.org/t/advice-on-what-to-do-with-ongoing-pull-request/1341 "2018-10-11T16:50:47Z")

</div>

Dear All, I have a couple of commits, for which the code is more or less written, it is about bugfix in image io palette handling, and adding pallette write capabilities for tiff and png. The thing is I have no idea whe…

---

## [Test name length](https://discourse.itk.org/t/test-name-length/1326)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 9\
**Last updated:** [October 11, 2018, 12:59pm UTC](https://discourse.itk.org/t/test-name-length/1326 "2018-10-11T12:59:45Z")

</div>

Recently, length of test names have been getting out of hand. This is quite inconvenient for for viewing in the console, as all the lines are aligned based on the longest one. In practice this causes output line wrapping…

---

## [gerrit or pull request ?](https://discourse.itk.org/t/gerrit-or-pull-request/1342)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 3\
**Last updated:** [October 10, 2018, 1:32pm UTC](https://discourse.itk.org/t/gerrit-or-pull-request/1342 "2018-10-10T13:32:52Z")

</div>

It is unclear to me whether It is advised to push modification to gerrit or through pull request at this time of migration to github. Thanks in advance !

---

## [Problem loading dynamic library linked to ITK from a program also linked to ITK](https://discourse.itk.org/t/problem-loading-dynamic-library-linked-to-itk-from-a-program-also-linked-to-itk/1319)

<div class="topic-metadata">

**Author:** [@Baptiste](https://discourse.itk.org/u/Baptiste)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 9:02am UTC](https://discourse.itk.org/t/problem-loading-dynamic-library-linked-to-itk-from-a-program-also-linked-to-itk/1319 "2018-10-08T09:02:32Z")

</div>

Hello all, I am trying to load at runtime a dynamic library using ITK (let’s call it lib.so), within a program also linked to ITK. To do this, I am using : void\* handle = dlopen("lib.so", RTLD\_LOCAL | RTLD\_LAZY) but…

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

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