# Engineering

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

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

**Page:** 16

---

## [FixedImageRegionType is private in itkImageToImageMetric.h](https://discourse.itk.org/t/fixedimageregiontype-is-private-in-itkimagetoimagemetric-h/2054)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 1\
**Last updated:** [July 17, 2019, 1:50pm UTC](https://discourse.itk.org/t/fixedimageregiontype-is-private-in-itkimagetoimagemetric-h/2054 "2019-07-17T13:50:55Z")

</div>

Is there any reason why the FixedImageRegionType m\_FixedImageRegion in itkImageToImageMetric.h is private and not protected?

---

## [ItkVtkGlue Java](https://discourse.itk.org/t/itkvtkglue-java/2052)

<div class="topic-metadata">

**Author:** [@zilu](https://discourse.itk.org/u/zilu)\
**Replies:** 3\
**Last updated:** [July 16, 2019, 6:31pm UTC](https://discourse.itk.org/t/itkvtkglue-java/2052 "2019-07-16T18:31:46Z")

</div>

Hello everyone, I have a couple of questions regarding ItkVtkGlue and Java. I tried to compile ITK 4.13.1 and VTK 8.2.0 enabling the Module\_ITKVTKGlue=ON on Windows 10 Pro 64bit and VisualStudio 2017 community. When I …

---

## [How to avoid rebuilding ITK by azure CI at the GitHub of another project (elastix)?](https://discourse.itk.org/t/how-to-avoid-rebuilding-itk-by-azure-ci-at-the-github-of-another-project-elastix/2002)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 11\
**Last updated:** [July 12, 2019, 2:13pm UTC](https://discourse.itk.org/t/how-to-avoid-rebuilding-itk-by-azure-ci-at-the-github-of-another-project-elastix/2002 "2019-07-12T14:13:44Z")

</div>

Our image registration toolkit elastix is being built with a specific tagged version of ITK5 (actually v5.0.0), at https://dev.azure.com/kaspermarstal/Elastix/\_build/results?buildId=458 As you see, a Windows build of el…

---

## [Casting images](https://discourse.itk.org/t/casting-images/2037)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 1\
**Last updated:** [July 11, 2019, 9:09pm UTC](https://discourse.itk.org/t/casting-images/2037 "2019-07-11T21:09:50Z")

</div>

What is the difference between RescaleIntensityImageFilter and CastImageFilter classes?

---

## [Effect of image processing algorithms on pixel intensity and HU index of DICOM?](https://discourse.itk.org/t/effect-of-image-processing-algorithms-on-pixel-intensity-and-hu-index-of-dicom/2032)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 1\
**Last updated:** [July 10, 2019, 4:13pm UTC](https://discourse.itk.org/t/effect-of-image-processing-algorithms-on-pixel-intensity-and-hu-index-of-dicom/2032 "2019-07-10T16:13:03Z")

</div>

Hi everyone, As I understand: HU = CTnumber \* Slope + intercept. The two values are slope and intercept, in turn, takes the tag (0028, 1053) and the tag (0028, 1052), using ITK. When displayed, the pixel intensity is …

---

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

<div class="topic-metadata">

**Author:** [@shinavn](https://discourse.itk.org/u/shinavn)\
**Replies:** 4\
**Last updated:** [July 9, 2019, 5:21pm UTC](https://discourse.itk.org/t/new-implementation-of-functor-filter-in-otb/2024 "2019-07-09T17:21:54Z")

</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…

---

## [Combining probing of pixel values with streaming](https://discourse.itk.org/t/combining-probing-of-pixel-values-with-streaming/2010)

<div class="topic-metadata">

**Author:** [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)\
**Replies:** 5\
**Last updated:** [July 5, 2019, 12:57pm UTC](https://discourse.itk.org/t/combining-probing-of-pixel-values-with-streaming/2010 "2019-07-05T12:57:31Z")

</div>

Hi! How would I have to adjust the code of my CLI probeCoords to employ streaming? It just loads an image and reports the pixel values for some specific indices and is based on https://itk.org/Doxygen/html/Examples\_2Dat…

---

## [(API) Specify image channels](https://discourse.itk.org/t/api-specify-image-channels/2009)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 9\
**Last updated:** [July 3, 2019, 6:34pm UTC](https://discourse.itk.org/t/api-specify-image-channels/2009 "2019-07-03T18:34:44Z")

</div>

How can I specify image channels. I have created image object. using ImageType = itk::Image\< uint8\_t, 2 \>; ImageType::Pointer image = ImageType::New(); ImageType::SizeType size; size\[0…

---

## [swig error after upgrading to 5.0](https://discourse.itk.org/t/swig-error-after-upgrading-to-5-0/1933)

<div class="topic-metadata">

**Author:** [@Jianxu\_Chen](https://discourse.itk.org/u/Jianxu_Chen)\
**Replies:** 1\
**Last updated:** [June 26, 2019, 8:42pm UTC](https://discourse.itk.org/t/swig-error-after-upgrading-to-5-0/1933 "2019-06-26T20:42:11Z")

</div>

itk\_seed = itk.GetImageFromArray(init\_levelset.astype(np.float32)) InternalImageType = itk.Image\[itk.F, 3\] geodesicActiveContour = itk.GeodesicActiveContourLevelSetImageFilter\[InternalImageType,InternalImageType,itk.F\]…

---

## [Annoying Vulnerability E-Mail](https://discourse.itk.org/t/annoying-vulnerability-e-mail/1981)

<div class="topic-metadata">

**Author:** [@bill.lorensen](https://discourse.itk.org/u/bill.lorensen)\
**Replies:** 2\
**Last updated:** [June 20, 2019, 11:29pm UTC](https://discourse.itk.org/t/annoying-vulnerability-e-mail/1981 "2019-06-20T23:29:35Z")

</div>

Folks, I’ve been getting an annoying e-mail for a while about a vulnerability dependency. This link describes it Vulnerability. Am I the only one getting this? Bill

---

## [SetInitialDisplacementField not working properly for MultiResolutionPDEDeformableRegistration](https://discourse.itk.org/t/setinitialdisplacementfield-not-working-properly-for-multiresolutionpdedeformableregistration/979)

<div class="topic-metadata">

**Author:** [@adjuric](https://discourse.itk.org/u/adjuric)\
**Replies:** 1\
**Last updated:** [June 5, 2019, 6:02am UTC](https://discourse.itk.org/t/setinitialdisplacementfield-not-working-properly-for-multiresolutionpdedeformableregistration/979 "2019-06-05T06:02:40Z")

</div>

I’m attempting to perform diffeomorphic demons registration of two images using the corresponding filter and the MultiResolutionPDEDeformableRegistration class. I compute an affine transform of the the two images beforeh…

---

## [PhotometricInterpretation](https://discourse.itk.org/t/photometricinterpretation/1837)

<div class="topic-metadata">

**Author:** [@Dominik\_Szczerba](https://discourse.itk.org/u/Dominik_Szczerba)\
**Replies:** 8\
**Last updated:** [May 24, 2019, 10:01am UTC](https://discourse.itk.org/t/photometricinterpretation/1837 "2019-05-24T10:01:59Z")

</div>

Reading a compressed DICOM series I have an assertion failing at itkAssertInDebugAndIgnoreInReleaseMacro( pixeltype\_debug == pixeltype ); If I run in a Release mode (NDEBUG) I get my file read all right, I have no prob…

---

## [ITKv5 Streaming/ImageSinc Impact](https://discourse.itk.org/t/itkv5-streaming-imagesinc-impact/1903)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 8\
**Last updated:** [May 21, 2019, 6:02pm UTC](https://discourse.itk.org/t/itkv5-streaming-imagesinc-impact/1903 "2019-05-21T18:02:40Z")

</div>

This sounds like it is related to my recent changes. Please let me know if there is anything I can do to help with the problem you have encountered.

---

## [Error in calling SpeedFunctionToPathFilter() in python interfaces](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848)

<div class="topic-metadata">

**Author:** [@jaylee](https://discourse.itk.org/u/jaylee)\
**Replies:** 3\
**Last updated:** [May 21, 2019, 4:34am UTC](https://discourse.itk.org/t/error-in-calling-speedfunctiontopathfilter-in-python-interfaces/1848 "2019-05-21T04:34:37Z")

</div>

Hi, all I have tried to call the function which is vessel centerline function ‘SpeedFunctionToPathFilter()’ with itk python interfaces, but dump error occurred when it was called. Would you mind to tell how correct or …

---

## [module 'SimpleITK' has no attribute 'LabelSetDilateImageFilter' despite using version 1.2.0](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-labelsetdilateimagefilter-despite-using-version-1-2-0/1880)

<div class="topic-metadata">

**Author:** [@abertelsen](https://discourse.itk.org/u/abertelsen)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 9:18am UTC](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-labelsetdilateimagefilter-despite-using-version-1-2-0/1880 "2019-05-16T09:18:23Z")

</div>

Hello everyone, First of all, greeting to all of you as this is my first question on ITK’s Discourse. What I wanted to ask is the following: I want to use the LabelSetDilateImageFilter class in Python (version 3.7.2) w…

---

## [link error (LNK2019)](https://discourse.itk.org/t/link-error-lnk2019/1865)

<div class="topic-metadata">

**Author:** [@eninyo](https://discourse.itk.org/u/eninyo)\
**Replies:** 2\
**Last updated:** [May 14, 2019, 5:06pm UTC](https://discourse.itk.org/t/link-error-lnk2019/1865 "2019-05-14T17:06:21Z")

</div>

hi, i get the following error: ofstd.lib(ofstd.obj):-1: error: LNK2019: unresolved external symbol NetWkstaUserGetInfo referenced in function “public: static class OFString \_\_cdecl OFStandard::getUserName(void)” (?getU…

---

## [Any way to test .wrap files without compiling?](https://discourse.itk.org/t/any-way-to-test-wrap-files-without-compiling/1841)

<div class="topic-metadata">

**Author:** [@Ujhik](https://discourse.itk.org/u/Ujhik)\
**Replies:** 3\
**Last updated:** [May 10, 2019, 9:40pm UTC](https://discourse.itk.org/t/any-way-to-test-wrap-files-without-compiling/1841 "2019-05-10T21:40:01Z")

</div>

Compiling is a lot of time even compiling only the modified module, so detecting an error in a .wrap file when trying to change python wrappers is a pain. Is there any way to test .wrap files without compiling? If not,…

---

## [Adding parallel compression to MetaIO](https://discourse.itk.org/t/adding-parallel-compression-to-metaio/1835)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 14\
**Last updated:** [May 8, 2019, 8:55pm UTC](https://discourse.itk.org/t/adding-parallel-compression-to-metaio/1835 "2019-05-08T20:55:34Z")

</div>

As discussed earlier, I want to add parallel compression to MetaIO and NRRD. As NRRD is bundled with other stuff and ITK’s version is not up to date, I plan to work on MetaIO first. I checked PIGZ, Mark Adler’s tool for…

---

## [Module test with arguments](https://discourse.itk.org/t/module-test-with-arguments/1740)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 2\
**Last updated:** [May 8, 2019, 8:40am UTC](https://discourse.itk.org/t/module-test-with-arguments/1740 "2019-05-08T08:40:38Z")

</div>

Hello, I wonder how to add arguments to test cases for different purposes. Not just data but other flags or arguments. After inspection of some ITK test files and the related CMakeLists.txt my guess is that i just need …

---

## [Possibly incorrect files / file placement in install directory](https://discourse.itk.org/t/possibly-incorrect-files-file-placement-in-install-directory/1794)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 10:12pm UTC](https://discourse.itk.org/t/possibly-incorrect-files-file-placement-in-install-directory/1794 "2019-05-06T22:12:28Z")

</div>

Hi all, With bug #424 fixed (thanks!), I’ve been able to build ITK master for the first time in months. I noticed a few weird things after installing it: the root of the install folder contains a file “vcl\_compiler\_…

---

## [Should updateLargestPossibleRegion re-read image](https://discourse.itk.org/t/should-updatelargestpossibleregion-re-read-image/1817)

<div class="topic-metadata">

**Author:** [@finetjul](https://discourse.itk.org/u/finetjul)\
**Replies:** 2\
**Last updated:** [April 29, 2019, 2:29pm UTC](https://discourse.itk.org/t/should-updatelargestpossibleregion-re-read-image/1817 "2019-04-29T14:29:20Z")

</div>

Hi, I would like to know if the following behavior is expected: I instantiate an image reader (from disk) I configure and update() the reader to read a file I delete the file on disk used by the reader I call UpdateLa…

---

## [Parallelize itk::ImageSeriesReader (ITK 4.12)](https://discourse.itk.org/t/parallelize-itk-imageseriesreader-itk-4-12/1745)

<div class="topic-metadata">

**Author:** [@svg](https://discourse.itk.org/u/svg)\
**Replies:** 22\
**Last updated:** [April 17, 2019, 1:46pm UTC](https://discourse.itk.org/t/parallelize-itk-imageseriesreader-itk-4-12/1745 "2019-04-17T13:46:48Z")

</div>

Hi I am currently working on a project that imports multiple DICOM files in one sitting. this results in some rather lengthy read times. My problem is that I have been unsuccessful in using multiple threads for reading …

---

## [Are sitk Numpy array indices zxy in physical or voxel orientation?](https://discourse.itk.org/t/are-sitk-numpy-array-indices-zxy-in-physical-or-voxel-orientation/1767)

<div class="topic-metadata">

**Author:** [@Roulbac](https://discourse.itk.org/u/Roulbac)\
**Replies:** 2\
**Last updated:** [April 10, 2019, 2:59pm UTC](https://discourse.itk.org/t/are-sitk-numpy-array-indices-zxy-in-physical-or-voxel-orientation/1767 "2019-04-10T14:59:12Z")

</div>

Hi, I need to get axial, coronal and sagital slices for any image. I thought for some time that the indices of numpy arrays from images are in ijk so i needed to do some reorienting though i just came to the conclusion…

---

## [SimpleITK add filter / module](https://discourse.itk.org/t/simpleitk-add-filter-module/1750)

<div class="topic-metadata">

**Author:** [@Gustavo\_Tajes\_Genga](https://discourse.itk.org/u/Gustavo_Tajes_Genga)\
**Replies:** 5\
**Last updated:** [April 9, 2019, 3:09pm UTC](https://discourse.itk.org/t/simpleitk-add-filter-module/1750 "2019-04-09T15:09:28Z")

</div>

Hi all, I have a very simple ITK pipeline wrote some time ago that reads a dicom serie and generate a mesh, based in this example: bool VtkGenerator::generate() { using PixelType = unsigned short; constexpr unsigned in…

---

## [Image Registration with Pseudo-Random Sampling throws exception randomly (maybe bug)](https://discourse.itk.org/t/image-registration-with-pseudo-random-sampling-throws-exception-randomly-maybe-bug/1513)

<div class="topic-metadata">

**Author:** [@HsuehWen](https://discourse.itk.org/u/HsuehWen)\
**Replies:** 29\
**Last updated:** [April 9, 2019, 1:12pm UTC](https://discourse.itk.org/t/image-registration-with-pseudo-random-sampling-throws-exception-randomly-maybe-bug/1513 "2019-04-09T13:12:51Z")

</div>

Hi all, It will take a lot of words to describe the issue. But I think it might be a bug. Thank you for your time reading this. Let me first specify the functions I used. I’m doing image registration, translation fir…

---

## [Build ITK 5.0 in Windows](https://discourse.itk.org/t/build-itk-5-0-in-windows/1748)

<div class="topic-metadata">

**Author:** [@sandroqueiros](https://discourse.itk.org/u/sandroqueiros)\
**Replies:** 13\
**Last updated:** [April 8, 2019, 4:24pm UTC](https://discourse.itk.org/t/build-itk-5-0-in-windows/1748 "2019-04-08T16:24:08Z")

</div>

Hi, I have been trying to build ITK 5.0 (rc1 or master) in Windows with BUILD\_SHARED\_LIBS selected (to generate ITK dlls, as I’ve done for previous releases - e.g., 4.12.0), but without success. My setup is: Windows 8.…

---

## [ITKIOScanco module](https://discourse.itk.org/t/itkioscanco-module/1727)

<div class="topic-metadata">

**Author:** [@mihail.isakov](https://discourse.itk.org/u/mihail.isakov)\
**Replies:** 2\
**Last updated:** [April 5, 2019, 8:18pm UTC](https://discourse.itk.org/t/itkioscanco-module/1727 "2019-04-05T20:18:36Z")

</div>

---

## [how to apply kernel in ConvolutionImageFilter](https://discourse.itk.org/t/how-to-apply-kernel-in-convolutionimagefilter/1741)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.itk.org/u/siaeleni)\
**Replies:** 4\
**Last updated:** [April 3, 2019, 7:53pm UTC](https://discourse.itk.org/t/how-to-apply-kernel-in-convolutionimagefilter/1741 "2019-04-03T19:53:40Z")

</div>

Hello, I want to apply an image (kernel) to an input Image, but I am not sure how can I apply that correctly. I have attached the sample of my code here: #include “itkImageFileReader.h” #include “itkImageFileWriter.…

---

## [Cannot open source file "itkMultiScaleHessianBasedMeasureImageFilter.h"](https://discourse.itk.org/t/cannot-open-source-file-itkmultiscalehessianbasedmeasureimagefilter-h/1726)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.itk.org/u/siaeleni)\
**Replies:** 9\
**Last updated:** [April 2, 2019, 8:14pm UTC](https://discourse.itk.org/t/cannot-open-source-file-itkmultiscalehessianbasedmeasureimagefilter-h/1726 "2019-04-02T20:14:45Z")

</div>

Hello, I get an error in Visual Studio 2017 when I am trying to include itkMultiScaleHessianBasedMeasureImageFilter header file. When I try to build the solution I get the following error Thanks in advance, Helen

---

## [Convolution Filter 3d Image](https://discourse.itk.org/t/convolution-filter-3d-image/1730)

<div class="topic-metadata">

**Author:** [@siaeleni](https://discourse.itk.org/u/siaeleni)\
**Replies:** 1\
**Last updated:** [April 2, 2019, 4:23pm UTC](https://discourse.itk.org/t/convolution-filter-3d-image/1730 "2019-04-02T16:23:13Z")

</div>

Hello, I want to filter my 3d Image with a kernel(9x9x9 for example). What is the best function to use for this? ConvolutionImageFilter? Thanks a lot for your help, Eleni

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

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