# Engineering

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

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

**Page:** 15

---

## [SCIFIO java version limitations](https://discourse.itk.org/t/scifio-java-version-limitations/2383)

<div class="topic-metadata">

**Author:** [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)\
**Replies:** 9\
**Last updated:** [November 8, 2019, 1:19pm UTC](https://discourse.itk.org/t/scifio-java-version-limitations/2383 "2019-11-08T13:19:20Z")

</div>

After an upgrade to Debian-10 (Buster) we can no longer process image formats with ITK that need SCIFIO (bioformats). Even though ITK-5.0.1 is newly compiled after the upgrade we get: File: /opt/compilation/ITK\_build/Mo…

---

## [readImageDICOMFileSeries() reports 'filepath is undefined' on browser console](https://discourse.itk.org/t/readimagedicomfileseries-reports-filepath-is-undefined-on-browser-console/2374)

<div class="topic-metadata">

**Author:** [@dtucker61](https://discourse.itk.org/u/dtucker61)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 12:40am UTC](https://discourse.itk.org/t/readimagedicomfileseries-reports-filepath-is-undefined-on-browser-console/2374 "2019-11-05T00:40:29Z")

</div>

I’m new to Javascript and ITK. I started by cloning the ITK-JS repository, and am working thru the examples. My objective – from my browser, to read all of the images in a directory (an MR series) into a single ITK imag…

---

## [what does this-\>ProcessObject::SetNthInput() mean?](https://discourse.itk.org/t/what-does-this-processobject-setnthinput-mean/2355)

<div class="topic-metadata">

**Author:** [@ruokuanwu](https://discourse.itk.org/u/ruokuanwu)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:38pm UTC](https://discourse.itk.org/t/what-does-this-processobject-setnthinput-mean/2355 "2019-10-29T13:38:38Z")

</div>

I’m reading a simple code to know how itk work.https://itk.org/ITKExamples/src/Filtering/ImageGrid/ShrinkImage/Documentation.html. When I look for what the ‘shrinkFilter-\>SetInput(image)’ method calls, I found something…

---

## [Use ITK5.0.1 for my project which was developed based on ITK4.2 before](https://discourse.itk.org/t/use-itk5-0-1-for-my-project-which-was-developed-based-on-itk4-2-before/2352)

<div class="topic-metadata">

**Author:** [@Yixun\_Liu](https://discourse.itk.org/u/Yixun_Liu)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:18am UTC](https://discourse.itk.org/t/use-itk5-0-1-for-my-project-which-was-developed-based-on-itk4-2-before/2352 "2019-10-29T01:18:16Z")

</div>

Hi All, I would like to build ITK5.0.1 using VS2017 on Windows 10 and use it for my project which was developed on ITK4.2 before. I think I need to enable ITK4 in the CMake setting, right? Also, I used VTK5.8 in my pr…

---

## [help with bogus "pre-commit hook failure"](https://discourse.itk.org/t/help-with-bogus-pre-commit-hook-failure/2350)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 9\
**Last updated:** [October 26, 2019, 1:34pm UTC](https://discourse.itk.org/t/help-with-bogus-pre-commit-hook-failure/2350 "2019-10-26T13:34:26Z")

</div>

Hi all, I’m trying to submit a simple one line patch, but committing gives me: \[attr\]our-c-style whitespace=tab-in-indent,no-lf-at-eof hooks.style=KWStyle,clangformat not allowed: ./.gitattributes:31 \[attr\]our-c-sty…

---

## [Does ITK expose API for getting DICOM from remote source like PACS ?](https://discourse.itk.org/t/does-itk-expose-api-for-getting-dicom-from-remote-source-like-pacs/2340)

<div class="topic-metadata">

**Author:** [@Phong\_Tran](https://discourse.itk.org/u/Phong_Tran)\
**Replies:** 2\
**Last updated:** [October 21, 2019, 4:42pm UTC](https://discourse.itk.org/t/does-itk-expose-api-for-getting-dicom-from-remote-source-like-pacs/2340 "2019-10-21T16:42:51Z")

</div>

Hi All, Does ITK expose API for getting DICOM from remote source like PACS ? And is there a module that read DICOM from remote ? Thanks

---

## [ITK Python Wrapping error: void value not ignored as it ought to be](https://discourse.itk.org/t/itk-python-wrapping-error-void-value-not-ignored-as-it-ought-to-be/948)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 13\
**Last updated:** [October 19, 2019, 7:55am UTC](https://discourse.itk.org/t/itk-python-wrapping-error-void-value-not-ignored-as-it-ought-to-be/948 "2019-10-19T07:55:06Z")

</div>

Building in debug mode from master. First time encountered here: Wrapping/Generators/Python/PyBase/ITKPyBasePython.cpp: In function ‘void init\_ITKPyBasePython()’: Wrapping/Generators/Python/PyBase/ITKPyBasePython.cpp:3…

---

## [Precompiled headers (PCH) in ITK](https://discourse.itk.org/t/precompiled-headers-pch-in-itk/2318)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 2\
**Last updated:** [October 16, 2019, 9:33pm UTC](https://discourse.itk.org/t/precompiled-headers-pch-in-itk/2318 "2019-10-16T21:33:14Z")

</div>

CMake 3.16.0 adds support for creating targets with precompiled headers. I wasn’t familiar with this term, but we have had discussions about instantiating templates to reduce the compile time of the library. It seems p…

---

## [Memory Leak in Image Registration using SimpleITK](https://discourse.itk.org/t/memory-leak-in-image-registration-using-simpleitk/2324)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 5\
**Last updated:** [October 15, 2019, 4:49pm UTC](https://discourse.itk.org/t/memory-leak-in-image-registration-using-simpleitk/2324 "2019-10-15T16:49:44Z")

</div>

Hi, I’m getting an Error when I try to increase the number of control points in the Image Registration using B-Splines. The error I got is: terminate called after throwing an instance of ‘itk::ExceptionObject’ what():…

---

## [Denoising filter on 64 bit Float pixel type image](https://discourse.itk.org/t/denoising-filter-on-64-bit-float-pixel-type-image/2306)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 4\
**Last updated:** [October 13, 2019, 10:36pm UTC](https://discourse.itk.org/t/denoising-filter-on-64-bit-float-pixel-type-image/2306 "2019-10-13T22:36:26Z")

</div>

Hi Team, I am getting below error when I try to get intensity statistics for labelled image. The pixel type for segmented image is 32-bit unsigned integer. I am using SLIC algo on base image with following type: pixel …

---

## [Hardware configuration guidelines for image analysis problems using segmentation and machine learning](https://discourse.itk.org/t/hardware-configuration-guidelines-for-image-analysis-problems-using-segmentation-and-machine-learning/2322)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 2\
**Last updated:** [October 13, 2019, 7:26pm UTC](https://discourse.itk.org/t/hardware-configuration-guidelines-for-image-analysis-problems-using-segmentation-and-machine-learning/2322 "2019-10-13T19:26:48Z")

</div>

Hi, Are there guidelines on choice of hardware configuration to be made based on image segmentation problem using simple ITK and machine learning algos? Does all ITK filters execute the algorithm routines on GPU by defa…

---

## [fatal: 'ITK/Modules/ThirdParty/GDCM/work/extract' is a missing but already registered worktree;](https://discourse.itk.org/t/fatal-itk-modules-thirdparty-gdcm-work-extract-is-a-missing-but-already-registered-worktree/2305)

<div class="topic-metadata">

**Author:** [@mathieu.malaterre](https://discourse.itk.org/u/mathieu.malaterre)\
**Replies:** 3\
**Last updated:** [October 7, 2019, 2:30pm UTC](https://discourse.itk.org/t/fatal-itk-modules-thirdparty-gdcm-work-extract-is-a-missing-but-already-registered-worktree/2305 "2019-10-07T14:30:54Z")

</div>

Hi there, I am trying to update GDCM module, and I have tried a naive: $ cd ~/ITK.git/Modules/ThirdParty/GDCM $ ./UpdateFromUpstream.sh But this fails with: Cloning into '/home/mmalaterre/workspace/ITK-upstream/Modul…

---

## [missing nifti support for writing aux\_file meta data](https://discourse.itk.org/t/missing-nifti-support-for-writing-aux-file-meta-data/2261)

<div class="topic-metadata">

**Author:** [@zivy](https://discourse.itk.org/u/zivy)\
**Replies:** 1\
**Last updated:** [October 7, 2019, 1:28pm UTC](https://discourse.itk.org/t/missing-nifti-support-for-writing-aux-file-meta-data/2261 "2019-10-07T13:28:51Z")

</div>

Hi all, For some reason the ability to set the aux\_file meta-data for nifti files is not available. I expected the ITK writer to get the value from the meta-data dictionary but that is commented out. I assume there is a…

---

## [Undefined Reference error in using simpleitk in C++](https://discourse.itk.org/t/undefined-reference-error-in-using-simpleitk-in-c/2293)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 8\
**Last updated:** [October 4, 2019, 4:37pm UTC](https://discourse.itk.org/t/undefined-reference-error-in-using-simpleitk-in-c/2293 "2019-10-04T16:37:39Z")

</div>

I installed the simpleitk in my ubuntu 16.04 as described in this link (Building simpleITK) and I’m trying to use with QT creator. The problem is that I’m getting lots of undefined reference error, but I included ALL the…

---

## [How to process only few slices of a 3D dicom image](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 6\
**Last updated:** [September 30, 2019, 1:43pm UTC](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233 "2019-09-30T13:43:27Z")

</div>

Hi All, I have a use case where given a 3D dicom image, I wish to apply for the filters only on selected slices. For example if 3D image has depth of 52 slices I want to apply Segmentation filters only from slice number…

---

## [CurvatureFlowImageFilter difference in Mac and in Lunux](https://discourse.itk.org/t/curvatureflowimagefilter-difference-in-mac-and-in-lunux/2257)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 7:50pm UTC](https://discourse.itk.org/t/curvatureflowimagefilter-difference-in-mac-and-in-lunux/2257 "2019-09-26T19:50:42Z")

</div>

Hi everyone. I am using CurvatureFlowImageFilter and this return different images for 16 bit images on Mac vs on Linux. The same for MinMaxCurvatureFlowImageFilter. Thank you, Hrach

---

## [ImageRange - a range of iterators to the pixels of an image](https://discourse.itk.org/t/imagerange-a-range-of-iterators-to-the-pixels-of-an-image/1455)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 20\
**Last updated:** [September 26, 2019, 5:03pm UTC](https://discourse.itk.org/t/imagerange-a-range-of-iterators-to-the-pixels-of-an-image/1455 "2019-09-26T17:03:28Z")

</div>

Last weekend, @hjmjohnson merged another C++ range class (template) that I proposed into the master branch: itk::Experimental::ImageRange\<TImage\> Thanks also to @matt.mccormick , @dzenanz, @phcerdan for your help and …

---

## [convert .mha data to .mnc data](https://discourse.itk.org/t/convert-mha-data-to-mnc-data/2230)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 8:11pm UTC](https://discourse.itk.org/t/convert-mha-data-to-mnc-data/2230 "2019-09-24T20:11:08Z")

</div>

Using diffeomorphic demons registration I need to do registration for brain images. This is the code which I am working on https://github.com/BIC-MNI/EZminc. I need to give input in .mnc format. Can someone suggest me ho…

---

## [Wrapping array of booleans](https://discourse.itk.org/t/wrapping-array-of-booleans/2236)

<div class="topic-metadata">

**Author:** [@acoussat](https://discourse.itk.org/u/acoussat)\
**Replies:** 4\
**Last updated:** [September 23, 2019, 6:55pm UTC](https://discourse.itk.org/t/wrapping-array-of-booleans/2236 "2019-09-23T18:55:35Z")

</div>

Hi! I am currently working on wrapping an RTK filter which has a bool \* property along with a setter. The wrapped filter properly compiles but the method, when called from a Python script, produces an error (something l…

---

## [ITK5 crashes on older CPUs](https://discourse.itk.org/t/itk5-crashes-on-older-cpus/2250)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 16\
**Last updated:** [September 23, 2019, 7:08pm UTC](https://discourse.itk.org/t/itk5-crashes-on-older-cpus/2250 "2019-09-23T19:08:36Z")

</div>

Since we updated 3D Slicer to use ITK5, we got multiple error reports on Windows and Linux that the application crashes at startup in GDCM due to illegal instruction. Windows: Displayed to user in popup The applicatio…

---

## [Need to add support for GCC 9 in vcl\_compiler.h on Fedora 30](https://discourse.itk.org/t/need-to-add-support-for-gcc-9-in-vcl-compiler-h-on-fedora-30/2232)

<div class="topic-metadata">

**Author:** [@mhough](https://discourse.itk.org/u/mhough)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 10:54pm UTC](https://discourse.itk.org/t/need-to-add-support-for-gcc-9-in-vcl-compiler-h-on-fedora-30/2232 "2019-09-08T22:54:35Z")

</div>

/home/mhough/Downloads/SimpleITK-build/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl\_compiler.h:101:4: error: #error “Dunno about this gcc” 101 | # error “Dunno about this gcc” | ^~~~~ Adding an additional elseif for…

---

## [use sitk::cast() function to convert image resulted in crashed](https://discourse.itk.org/t/use-sitk-cast-function-to-convert-image-resulted-in-crashed/2222)

<div class="topic-metadata">

**Author:** [@TechLee](https://discourse.itk.org/u/TechLee)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 11:35am UTC](https://discourse.itk.org/t/use-sitk-cast-function-to-convert-image-resulted-in-crashed/2222 "2019-09-07T11:35:56Z")

</div>

sitk::Image fixed; olderPath\[0\] = QFileDialog::getExistingDirectory(this, tr("Choose Ref dicom folder"), preFolder, QFileDialog::DontUseNativeDialog | QFileDialog::ShowDirsOnly); if (folderPath\[0\].isEmpty()) { r…

---

## [Add a parallel compression method to NRRD and/or MetaImage?](https://discourse.itk.org/t/add-a-parallel-compression-method-to-nrrd-and-or-metaimage/696)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 35\
**Last updated:** [September 5, 2019, 1:29pm UTC](https://discourse.itk.org/t/add-a-parallel-compression-method-to-nrrd-and-or-metaimage/696 "2019-09-05T13:29:13Z")

</div>

It used to be faster to write compressed images, due to compression being faster than hard disk transfer rates. Not any more! Solid state disks are now pretty fast, which makes (single-threaded) compression the bottlenec…

---

## [ITK module - Pypi to conda](https://discourse.itk.org/t/itk-module-pypi-to-conda/1982)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 4\
**Last updated:** [August 26, 2019, 9:52pm UTC](https://discourse.itk.org/t/itk-module-pypi-to-conda/1982 "2019-08-26T21:52:28Z")

</div>

I’m looking for an advice regarding the production of a conda package from Pypi for itk-rtk. Is there anyone else producing conda packages for ITK modules? If yes, is it easy once you have pypi modules? Where would advis…

---

## [Building ITK with BUILD\_SHARED\_LIBS flag ON](https://discourse.itk.org/t/building-itk-with-build-shared-libs-flag-on/2176)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 7\
**Last updated:** [August 20, 2019, 5:04pm UTC](https://discourse.itk.org/t/building-itk-with-build-shared-libs-flag-on/2176 "2019-08-20T17:04:16Z")

</div>

I’m trying to build ITK 5.0.1 on Ubuntu with BUILD\_SHARED\_LIBS flag ON. I successfully configure and generate. I create appropriate .so files in cmake\_install\_prefix directory. But when I try to simple HelloWorld proje…

---

## [Linker errors building ITK 5.0.1 shared libs with ITKIODCMTK enabled](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 3\
**Last updated:** [August 16, 2019, 2:46pm UTC](https://discourse.itk.org/t/linker-errors-building-itk-5-0-1-shared-libs-with-itkiodcmtk-enabled/2141 "2019-08-16T14:46:22Z")

</div>

When I compile ITK 5.0.1 on Windows (VS 2015 x64, BUILD\_SHARED\_LIBS=ON, Module\_ITKIODCMTK=ON, otherwise default configuration) I get linker errors (see attached log file). I searched for those symbols, but found stuff re…

---

## [How to include help files (HTMLDefines.h, MyApp.hhc, MyApp.hhk, MyApp.hhp) in the binary directory to get MyApp.chm help file in VS2013?](https://discourse.itk.org/t/how-to-include-help-files-htmldefines-h-myapp-hhc-myapp-hhk-myapp-hhp-in-the-binary-directory-to-get-myapp-chm-help-file-in-vs2013/2128)

<div class="topic-metadata">

**Author:** [@Armando](https://discourse.itk.org/u/Armando)\
**Replies:** 5\
**Last updated:** [August 7, 2019, 9:28pm UTC](https://discourse.itk.org/t/how-to-include-help-files-htmldefines-h-myapp-hhc-myapp-hhk-myapp-hhp-in-the-binary-directory-to-get-myapp-chm-help-file-in-vs2013/2128 "2019-08-07T21:28:24Z")

</div>

Hi. I have a project in VS2013 and I want to include ITK and VTK libraries using CMake. I configured my CMakeList.txt to include the files of source code of my application. But, I do not know how to make compile the hel…

---

## [Decimating a Mesh with Associated Cell Data](https://discourse.itk.org/t/decimating-a-mesh-with-associated-cell-data/2072)

<div class="topic-metadata">

**Author:** [@DVigneault](https://discourse.itk.org/u/DVigneault)\
**Replies:** 3\
**Last updated:** [July 24, 2019, 5:43am UTC](https://discourse.itk.org/t/decimating-a-mesh-with-associated-cell-data/2072 "2019-07-24T05:43:08Z")

</div>

All– I’m getting some non-intuitive behavior (I don’t feel confident calling it a bug) when decimating a mesh which has point and cell data assigned. Say that I assign point data and cell data to a coarse mesh, and the…

---

## [List of supported Visual Studio versions](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 9\
**Last updated:** [July 22, 2019, 3:58pm UTC](https://discourse.itk.org/t/list-of-supported-visual-studio-versions/2059 "2019-07-22T15:58:54Z")

</div>

Somebody asked me about where to find list of Visual Studio versions that ITK is supposed to work with. Very suprisingly, I could not find an up-to-date list. These are the closest that I’ve found (by searching for itk …

---

## [sitk.GetImageFromArray Unsupported number of dimesions specified by size:](https://discourse.itk.org/t/sitk-getimagefromarray-unsupported-number-of-dimesions-specified-by-size/2077)

<div class="topic-metadata">

**Author:** [@bionick87](https://discourse.itk.org/u/bionick87)\
**Replies:** 0\
**Last updated:** [July 22, 2019, 1:22pm UTC](https://discourse.itk.org/t/sitk-getimagefromarray-unsupported-number-of-dimesions-specified-by-size/2077 "2019-07-22T13:22:12Z")

</div>

when I try to open any file type .nii or nii.gz I get the same error: in GetImageFromArray(arr, isVector) 3442 3443 # SimpleITK throws an exception if the image dimension is not supported -\> 3444 img = Image( sha…

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

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