# Latest

**URL:** https://discourse.itk.org/latest.md?page=55

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

**Page:** 56

---

## [ITK 5.2 Release Candidate 2 available for testing](https://discourse.itk.org/t/itk-5-2-release-candidate-2-available-for-testing/3867)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 8:43pm UTC](https://discourse.itk.org/t/itk-5-2-release-candidate-2-available-for-testing/3867 "2021-02-15T20:43:42Z")

</div>

ITK 5.2 Release Candidate 2 Release Notes We are happy to announce the Insight Toolkit (ITK) 5.2 Release Candidate 2 is available for testing! :tada: ITK is an open-source, cross-platform toolkit for N-dimensional scient…

---

## [Watershed Output ...](https://discourse.itk.org/t/watershed-output/3866)

<div class="topic-metadata">

**Author:** [@Niklas](https://discourse.itk.org/u/Niklas)\
**Replies:** 2\
**Last updated:** [February 15, 2021, 6:53pm UTC](https://discourse.itk.org/t/watershed-output/3866 "2021-02-15T18:53:29Z")

</div>

I just started with ITK, sorry if question is silly. I’d like to apply the watershed transformation to a 3D float array (with euclidean distance transform). I do have the EDT and input this into the WatershedImageFilter.…

---

## [Bump minimum CMake version for 5.2?](https://discourse.itk.org/t/bump-minimum-cmake-version-for-5-2/3856)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 1\
**Last updated:** [February 12, 2021, 3:57pm UTC](https://discourse.itk.org/t/bump-minimum-cmake-version-for-5-2/3856 "2021-02-12T15:57:03Z")

</div>

A recent PR to update bundled HDF5 version implicitly increases minimum CMake version to 3.14 in the default configuration. ITK currently requires 3.10.2. Should we bump minimum CMake version? If so, should we go for CMa…

---

## [Resample to same origin, spacing and size as another image.](https://discourse.itk.org/t/resample-to-same-origin-spacing-and-size-as-another-image/3031)

<div class="topic-metadata">

**Author:** [@acambray](https://discourse.itk.org/u/acambray)\
**Replies:** 5\
**Last updated:** [February 12, 2021, 12:27pm UTC](https://discourse.itk.org/t/resample-to-same-origin-spacing-and-size-as-another-image/3031 "2021-02-12T12:27:06Z")

</div>

Hi, I have two nii images, which I load into SimpleITK on Python: 3D CT scan 3D Segmentation Mask (0s and 1s) The segmentation mask has the size of the minimum bounding box around the segmentation and therefore is mu…

---

## [Building SimpleITK as Shared Libs with System HDF5](https://discourse.itk.org/t/building-simpleitk-as-shared-libs-with-system-hdf5/3847)

<div class="topic-metadata">

**Author:** [@rds](https://discourse.itk.org/u/rds)\
**Replies:** 4\
**Last updated:** [February 11, 2021, 4:19pm UTC](https://discourse.itk.org/t/building-simpleitk-as-shared-libs-with-system-hdf5/3847 "2021-02-11T16:19:24Z")

</div>

Hello, I am trying to build SimpleITK ( branch master ) with a system version of HDF5 ( v1.10.5 ) I cloned ITK ( on branch master ), and successfully built it while linking to the system HDF5. When I try to configure…

---

## [Rotation Transform Errors](https://discourse.itk.org/t/rotation-transform-errors/3844)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 13\
**Last updated:** [February 11, 2021, 3:25pm UTC](https://discourse.itk.org/t/rotation-transform-errors/3844 "2021-02-11T15:25:01Z")

</div>

Hello, Everyone. I am performing a 3D multistage registration. 1st Stage is a Translation transform initiated with an identity transform. The second stage is a Rotation transform. It is pops up the following errors rig…

---

## [Compiling CTK with ITK activated fails.](https://discourse.itk.org/t/compiling-ctk-with-itk-activated-fails/3855)

<div class="topic-metadata">

**Author:** [@al-sabr](https://discourse.itk.org/u/al-sabr)\
**Replies:** 0\
**Last updated:** [February 10, 2021, 9:20pm UTC](https://discourse.itk.org/t/compiling-ctk-with-itk-activated-fails/3855 "2021-02-10T21:20:57Z")

</div>

Thread reference : https://github.com/commontk/CTK/issues/949

---

## [Is order of transforms in a composite transform reversed relative to transform order during registration?](https://discourse.itk.org/t/is-order-of-transforms-in-a-composite-transform-reversed-relative-to-transform-order-during-registration/3829)

<div class="topic-metadata">

**Author:** [@Roy123](https://discourse.itk.org/u/Roy123)\
**Replies:** 0\
**Last updated:** [February 3, 2021, 2:48pm UTC](https://discourse.itk.org/t/is-order-of-transforms-in-a-composite-transform-reversed-relative-to-transform-order-during-registration/3829 "2021-02-03T14:48:18Z")

</div>

Hi, I have a question regarding the sample code for composite registration found in the simple itk website (The Python code version): In that example the following steps took place in the following order: Affine t…

---

## [How to compile part of ITK integrated into another library?](https://discourse.itk.org/t/how-to-compile-part-of-itk-integrated-into-another-library/3824)

<div class="topic-metadata">

**Author:** [@al-sabr](https://discourse.itk.org/u/al-sabr)\
**Replies:** 66\
**Last updated:** [February 9, 2021, 10:53pm UTC](https://discourse.itk.org/t/how-to-compile-part-of-itk-integrated-into-another-library/3824 "2021-02-09T22:53:50Z")

</div>

Greetings to all! While trying to compile part of the source code from ITK in my project I am having the following errors: G:\\programming\\cplusplus\\CTK\\Libs\\mbilog\\itkOutputWindow.cxx(83,3): error C3861: 'GetPimplGloba…

---

## [ITK 5.1.2 Python XArray to image bug](https://discourse.itk.org/t/itk-5-1-2-python-xarray-to-image-bug/3760)

<div class="topic-metadata">

**Author:** [@Nick\_Rubert](https://discourse.itk.org/u/Nick_Rubert)\
**Replies:** 4\
**Last updated:** [February 9, 2021, 2:48pm UTC](https://discourse.itk.org/t/itk-5-1-2-python-xarray-to-image-bug/3760 "2021-02-09T14:48:03Z")

</div>

Hi message board, I’m trying to create a script in Python where I create a cine clip of a 3D volume. I want to make an itk image out of a 4D x array with data labels ‘x’, ‘y’, ‘z’, ‘t’. I made a simple script where I r…

---

## [Understanding Sort and Orientation via CosineValues](https://discourse.itk.org/t/understanding-sort-and-orientation-via-cosinevalues/3839)

<div class="topic-metadata">

**Author:** [@Akshay\_Goel](https://discourse.itk.org/u/Akshay_Goel)\
**Replies:** 5\
**Last updated:** [February 5, 2021, 9:31pm UTC](https://discourse.itk.org/t/understanding-sort-and-orientation-via-cosinevalues/3839 "2021-02-05T21:31:38Z")

</div>

Hello all, I am trying to further understand how itk handles sort. It seems like the foundation is calculating a normal vector in: Common/ExtendedGDCMSerieHelper.cxx cosines = ImageHelper::GetDirectionCosinesVa…

---

## [Usage of -- ImageSeriesReader\_GetGDCMSeriesFileNames](https://discourse.itk.org/t/usage-of-imageseriesreader-getgdcmseriesfilenames/3806)

<div class="topic-metadata">

**Author:** [@Akshay\_Goel](https://discourse.itk.org/u/Akshay_Goel)\
**Replies:** 9\
**Last updated:** [February 4, 2021, 9:02pm UTC](https://discourse.itk.org/t/usage-of-imageseriesreader-getgdcmseriesfilenames/3806 "2021-02-04T21:02:35Z")

</div>

Hello, Following up from my github post here. @zivy thanks so much for your helpful responses on the github thread. Pasting that below for reference Always use ImageSeriesReader\_GetGDCMSeriesFileNames as it returns t…

---

## [下载问题](https://discourse.itk.org/t/topic/3835)

<div class="topic-metadata">

**Author:** [@123456789](https://discourse.itk.org/u/123456789)\
**Replies:** 1\
**Last updated:** [February 4, 2021, 3:07pm UTC](https://discourse.itk.org/t/topic/3835 "2021-02-04T15:07:41Z")

</div>

请问一下InsightApplications在哪下载，官网页面没有找到呢

---

## [Need to find/replace all #include with new path which doesn’t fit with old path](https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820)

<div class="topic-metadata">

**Author:** [@al-sabr](https://discourse.itk.org/u/al-sabr)\
**Replies:** 1\
**Last updated:** [February 1, 2021, 6:46pm UTC](https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820 "2021-02-01T18:46:42Z")

</div>

Greetings! I am trying to extract an important part of ITK which is used from MITK and the mbilog module and the Blueberry framework and integrate that part inside of CTK. So up until now I was successful in taking mbi…

---

## [No LineIterator class in itk/Python?](https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823)

<div class="topic-metadata">

**Author:** [@Tuelle](https://discourse.itk.org/u/Tuelle)\
**Replies:** 1\
**Last updated:** [February 2, 2021, 4:56pm UTC](https://discourse.itk.org/t/no-lineiterator-class-in-itk-python/3823 "2021-02-02T16:56:48Z")

</div>

I want to use the functionality of the LineIterator class (https://itk.org/Doxygen/html/classitk\_1\_1LineIterator.html) in itk with Python (not simple-itk). However, the class seems to be not available in the itk namespac…

---

## [ITK compilation options for PythonWrapper](https://discourse.itk.org/t/itk-compilation-options-for-pythonwrapper/3798)

<div class="topic-metadata">

**Author:** [@Stephan\_Hahn1](https://discourse.itk.org/u/Stephan_Hahn1)\
**Replies:** 5\
**Last updated:** [February 2, 2021, 10:08am UTC](https://discourse.itk.org/t/itk-compilation-options-for-pythonwrapper/3798 "2021-02-02T10:08:19Z")

</div>

Hi everyone, I am using the hessian\_recursive\_gaussian\_image\_filter method from ITK wrapper in python. But I am facing 2 related problems: My IO pipeline is based on SITK and I am transforming SITK to ITK using this t…

---

## [Saving ITKWidgets settings](https://discourse.itk.org/t/saving-itkwidgets-settings/3821)

<div class="topic-metadata">

**Author:** [@dchen](https://discourse.itk.org/u/dchen)\
**Replies:** 3\
**Last updated:** [February 1, 2021, 8:58pm UTC](https://discourse.itk.org/t/saving-itkwidgets-settings/3821 "2021-02-01T20:58:34Z")

</div>

How can I save and restore the transfer function in ITKWidgets? After I’ve fiddled with the transfer function widgets, I’d like to be able to save the rendering state so that I can restore and share the visualization.

---

## [ITK 5.2 Release Candidate 1 available for testing](https://discourse.itk.org/t/itk-5-2-release-candidate-1-available-for-testing/3810)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 4:47pm UTC](https://discourse.itk.org/t/itk-5-2-release-candidate-1-available-for-testing/3810 "2021-01-29T16:47:19Z")

</div>

We are happy to announce the Insight Toolkit (ITK) 5.2 Release Candidate 1 is available for testing! :tada: ITK is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and r…

---

## [Embarcadero RAD C ++ Studio 10.2.3 Tokyo Architec + ITK + VTK?](https://discourse.itk.org/t/embarcadero-rad-c-studio-10-2-3-tokyo-architec-itk-vtk/1142)

<div class="topic-metadata">

**Author:** [@Armando](https://discourse.itk.org/u/Armando)\
**Replies:** 3\
**Last updated:** [January 31, 2021, 11:25pm UTC](https://discourse.itk.org/t/embarcadero-rad-c-studio-10-2-3-tokyo-architec-itk-vtk/1142 "2021-01-31T23:25:16Z")

</div>

Is it possible to use Embarcadero RAD C ++ Studio 10.2.3 Tokyo Architec to build applications using ITK e and VTK? Is there a place where you explain how to do it? For ITK and VTK they always refer to compile it and use …

---

## [Mutual Information Metric in Registration](https://discourse.itk.org/t/mutual-information-metric-in-registration/3812)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.itk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 8\
**Last updated:** [January 31, 2021, 9:30pm UTC](https://discourse.itk.org/t/mutual-information-metric-in-registration/3812 "2021-01-31T21:30:23Z")

</div>

Dear All, If I do a registration between two equal/same images. And the result be a perfect match. What will be the final value of the metric? With Mutual Information metric. Thanks, Luís Gonçalves

---

## [Can not get dicom tag](https://discourse.itk.org/t/can-not-get-dicom-tag/3814)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [January 31, 2021, 7:22pm UTC](https://discourse.itk.org/t/can-not-get-dicom-tag/3814 "2021-01-31T19:22:11Z")

</div>

I want to read a dicom tag, and the code is: import SimpleITK as sitk reader = sitk.ImageFileReader() reader.SetFileName(path) reader.LoadPrivateTagsOn() reader.ReadImageInformation() val = reader.GetMetaData('0040|9225…

---

## [itk and gpu computation](https://discourse.itk.org/t/itk-and-gpu-computation/3800)

<div class="topic-metadata">

**Author:** [@pierrectl](https://discourse.itk.org/u/pierrectl)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 10:38pm UTC](https://discourse.itk.org/t/itk-and-gpu-computation/3800 "2021-01-29T22:38:28Z")

</div>

Hello everybody, I browsed through the forum in order to find if some itk pipelines such as registration processes can be computed by the gpu of my computer. I saw this topic from 2017: https://discourse.itk.org/t/is-it…

---

## [\[itk-python\] Wrap ITK MatchCardinalityImageToImageMetric](https://discourse.itk.org/t/itk-python-wrap-itk-matchcardinalityimagetoimagemetric/3208)

<div class="topic-metadata">

**Author:** [@bdepalle](https://discourse.itk.org/u/bdepalle)\
**Replies:** 7\
**Last updated:** [January 29, 2021, 7:40pm UTC](https://discourse.itk.org/t/itk-python-wrap-itk-matchcardinalityimagetoimagemetric/3208 "2021-01-29T19:40:59Z")

</div>

Hi everyone, I have been using ITK in the past and I recently started a python project. In this project I would like to use the MatchCardinalityImageToImageMetric metric. However, the metric has not been ported yet to p…

---

## [How to read points and radius info of .vtk file into ITK program](https://discourse.itk.org/t/how-to-read-points-and-radius-info-of-vtk-file-into-itk-program/3339)

<div class="topic-metadata">

**Author:** [@Henco](https://discourse.itk.org/u/Henco)\
**Replies:** 8\
**Last updated:** [January 29, 2021, 7:37pm UTC](https://discourse.itk.org/t/how-to-read-points-and-radius-info-of-vtk-file-into-itk-program/3339 "2021-01-29T19:37:47Z")

</div>

Hi all, My goal is to register 2d/3d vessel networks. The first step I’ve done is to use the VMTK module in slicer to segment out and calculate the radii of each centerline point. This saves as a .vtk file. However, whi…

---

## [Image type for an ITK image from numpy array](https://discourse.itk.org/t/image-type-for-an-itk-image-from-numpy-array/2348)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.itk.org/u/hina-shah)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 7:32pm UTC](https://discourse.itk.org/t/image-type-for-an-itk-image-from-numpy-array/2348 "2021-01-29T19:32:41Z")

</div>

Here’s a piece of code I’m trying to run using pydicom and itk (using pydicom for a better dicom tag extraction since itk was failing to get some tags). ds = pydicom.read\_file(file\_path) np\_image = ds.pixel\_array itk…

---

## [fail to build itk 5.1.1 with gcc 10 on ArchLinux](https://discourse.itk.org/t/fail-to-build-itk-5-1-1-with-gcc-10-on-archlinux/3571)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.itk.org/u/hubutui)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 7:28pm UTC](https://discourse.itk.org/t/fail-to-build-itk-5-1-1-with-gcc-10-on-archlinux/3571 "2021-01-29T19:28:20Z")

</div>

According to this post, building itk 5.1.1 with gcc 10 is supported now. However, I failed to build it on ArchLinux, gcc 10.2.0. My cmake configuration: cmake -B build -S "ITK-5.1.1" \\ -DBUILD\_TESTING=OFF \\ -DBUILD…

---

## [Kdtree returned indices and distances](https://discourse.itk.org/t/kdtree-returned-indices-and-distances/3809)

<div class="topic-metadata">

**Author:** [@aestebanlansaque](https://discourse.itk.org/u/aestebanlansaque)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 11:04am UTC](https://discourse.itk.org/t/kdtree-returned-indices-and-distances/3809 "2021-01-29T11:04:53Z")

</div>

Good morning everyone, I am using itk::Statistics::KdTreeGenerator::KdTree in order to find correspondences but it looks like distances are not sorted and always one value is 0 (which might be true for few vertices). F…

---

## [Problem compiling project: error ld with -lproxTV](https://discourse.itk.org/t/problem-compiling-project-error-ld-with-lproxtv/3711)

<div class="topic-metadata">

**Author:** [@fonsocm](https://discourse.itk.org/u/fonsocm)\
**Replies:** 7\
**Last updated:** [January 28, 2021, 10:48pm UTC](https://discourse.itk.org/t/problem-compiling-project-error-ld-with-lproxtv/3711 "2021-01-28T22:48:07Z")

</div>

Hi. I am compiling a project with ITK 5.1.2 over KDE Neon (based on Ubuntu 20.04 LTS) and I obtain the error: /usr/bin/ld: cannot find -lproxTV. However, if I go to ./itk/lib there is libitkproxTV-5.1.a. And ITK compile…

---

## [Missing methods](https://discourse.itk.org/t/missing-methods/3795)

<div class="topic-metadata">

**Author:** [@Brumeux](https://discourse.itk.org/u/Brumeux)\
**Replies:** 6\
**Last updated:** [January 28, 2021, 9:51pm UTC](https://discourse.itk.org/t/missing-methods/3795 "2021-01-28T21:51:55Z")

</div>

Hello, I am trying to use sitk with Unity (C#). I have added the native and managed dll to my project. I tried to follow the fundamental concepts here https://simpleitk.readthedocs.io/en/master/fundamentalConcepts.html …

---

## [Why does my worker memory limit not increase?](https://discourse.itk.org/t/why-does-my-worker-memory-limit-not-increase/3804)

<div class="topic-metadata">

**Author:** [@joeykleingers](https://discourse.itk.org/u/joeykleingers)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 2:55pm UTC](https://discourse.itk.org/t/why-does-my-worker-memory-limit-not-increase/3804 "2021-01-28T14:55:36Z")

</div>

I am a Dask newbie trying out the Dask.distributed library, and I would like to create a Client with the worker memory limit set to 4 GB. After some Googling around, I wrote the following code in a Jupyter notebook: fr…

[Previous page](https://discourse.itk.org/latest.md?page=54)

[Next page](https://discourse.itk.org/latest.md?page=56)
