# \#itkv5

**URL:** https://discourse.itk.org/tag/itkv5/32.md

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

---

## [TriangleMeshToBinaryImageFilter In Python](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604)

<div class="topic-metadata">

**Author:** [@rogertrullo](https://discourse.itk.org/u/rogertrullo)\
**Replies:** 24\
**Last updated:** [July 10, 2024, 2:25am UTC](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604 "2024-07-10T02:25:00Z")

</div>

Hi, I’m trying to get a 3D binary image from a mesh stl file. I found an example in c++ using the TriangleMeshToBinaryImageFilter function. I was wondering if this function is available from the Python interface? Thanks…

---

## [Extract multiple 2D slices from a 3D volume.](https://discourse.itk.org/t/extract-multiple-2d-slices-from-a-3d-volume/5058)

<div class="topic-metadata">

**Author:** [@mzukovec](https://discourse.itk.org/u/mzukovec)\
**Replies:** 3\
**Last updated:** [June 13, 2022, 3:59pm UTC](https://discourse.itk.org/t/extract-multiple-2d-slices-from-a-3d-volume/5058 "2022-06-13T15:59:44Z")

</div>

Hi all. I can’t solve the image extraction error (invalidRequestedRegionError) if I try to extract 2 different slices using the same ExtractImageFilter from a given volume. In my program, I want to use a single Extract…

---

## [Extracting displacement fields from rigid registration](https://discourse.itk.org/t/extracting-displacement-fields-from-rigid-registration/4834)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 16\
**Last updated:** [April 14, 2022, 9:20am UTC](https://discourse.itk.org/t/extracting-displacement-fields-from-rigid-registration/4834 "2022-04-14T09:20:57Z")

</div>

Hello! Continuing the discussion from 3D image registration with Python and without SimpleITK: Once I have a registration, what is the best way to extract the deformation field (a.k.a. displacement field) with ITK Py…

---

## [Compiling TubeTK v1.1 or v1.0.0 with ITK 5.3rc03](https://discourse.itk.org/t/compiling-tubetk-v1-1-or-v1-0-0-with-itk-5-3rc03/4853)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 13\
**Last updated:** [April 12, 2022, 7:20pm UTC](https://discourse.itk.org/t/compiling-tubetk-v1-1-or-v1-0-0-with-itk-5-3rc03/4853 "2022-04-12T19:20:57Z")

</div>

Continuing the discussion from Compiling ~MinimalPathExtraction~ with ITK 5.2.1: Hello! (This is not a request for help) I’m getting this error with v1.1 (8cb12a20) and v1.0.0 of TubeTK. samu: file is missing and no…

---

## [Trying to access LabelGeometryImageFilter in ITK 5.2.1.post1 python package.](https://discourse.itk.org/t/trying-to-access-labelgeometryimagefilter-in-itk-5-2-1-post1-python-package/4538)

<div class="topic-metadata">

**Author:** [@LalithShiyam](https://discourse.itk.org/u/LalithShiyam)\
**Replies:** 5\
**Last updated:** [November 1, 2021, 7:38pm UTC](https://discourse.itk.org/t/trying-to-access-labelgeometryimagefilter-in-itk-5-2-1-post1-python-package/4538 "2021-11-01T19:38:14Z")

</div>

Dear ITK devs, Many thanks for creating such a solid tool. I am currently trying to migrate from SimpleITK to ITK python because of LabelGeometryImageFilter’s ability to calculate orientation as well. I would like to ca…

---

## [Segmentation of aorta using itk](https://discourse.itk.org/t/segmentation-of-aorta-using-itk/4101)

<div class="topic-metadata">

**Author:** [@priyanka](https://discourse.itk.org/u/priyanka)\
**Replies:** 3\
**Last updated:** [May 7, 2021, 6:26am UTC](https://discourse.itk.org/t/segmentation-of-aorta-using-itk/4101 "2021-05-07T06:26:18Z")

</div>

I’m new to this topic. Suggest me best method for segmenting aorta from the series of dicoms using itk C++.

---

## [ITK functions don't work properly when used inside Tensorflow data multiprocessing pipeline](https://discourse.itk.org/t/itk-functions-dont-work-properly-when-used-inside-tensorflow-data-multiprocessing-pipeline/3519)

<div class="topic-metadata">

**Author:** [@goncinious](https://discourse.itk.org/u/goncinious)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 1:22pm UTC](https://discourse.itk.org/t/itk-functions-dont-work-properly-when-used-inside-tensorflow-data-multiprocessing-pipeline/3519 "2021-03-05T13:22:20Z")

</div>

Description The code below implements a Tensorflow (TF) data pipeline that uses ITK functions for processing the inputs. It seems that ITK modules can’t be properly accessed when they’re wrapped in a Tensorflow py\_funct…

---

## [How to compare a slice and its next?](https://discourse.itk.org/t/how-to-compare-a-slice-and-its-next/3645)

<div class="topic-metadata">

**Author:** [@Enr\_Brunetti](https://discourse.itk.org/u/Enr_Brunetti)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 6:16pm UTC](https://discourse.itk.org/t/how-to-compare-a-slice-and-its-next/3645 "2020-11-23T18:16:35Z")

</div>

I have a series of CT slice and I want to compare these ones in the axial view, because I want to delete elements in the slice, that not appear in the following slices. Is there any function in ITK or OpenCV, that can pe…

---

## [A tool for Fuzzy connectedness Algorithm tool](https://discourse.itk.org/t/a-tool-for-fuzzy-connectedness-algorithm-tool/3577)

<div class="topic-metadata">

**Author:** [@Nayra\_Ahmed](https://discourse.itk.org/u/Nayra_Ahmed)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 4:30pm UTC](https://discourse.itk.org/t/a-tool-for-fuzzy-connectedness-algorithm-tool/3577 "2020-10-28T16:30:18Z")

</div>

I want to use fuzzy connectedness algorithm in my project, but I knew that it is patented code now , and has been removed from ITK about 10 years ago. So is there any tool that I can buy to use this algorithm through ?

---

## [Convert volume from voxels to mm^3 or cm^3](https://discourse.itk.org/t/convert-volume-from-voxels-to-mm-3-or-cm-3/3280)

<div class="topic-metadata">

**Author:** [@agatadefr](https://discourse.itk.org/u/agatadefr)\
**Replies:** 3\
**Last updated:** [July 13, 2020, 1:47pm UTC](https://discourse.itk.org/t/convert-volume-from-voxels-to-mm-3-or-cm-3/3280 "2020-07-13T13:47:32Z")

</div>

Hey Guys, I am quite new in ITK. I implemented using LabelGeometryImageFilter. I extracted label volumes. Output results are in voxels. I would like to convert to cc\`3 or mm^3. Could you help me how I can do that ? …

---

## [How to get pixels within a radius from a specific pixel?](https://discourse.itk.org/t/how-to-get-pixels-within-a-radius-from-a-specific-pixel/3243)

<div class="topic-metadata">

**Author:** [@aangelos28](https://discourse.itk.org/u/aangelos28)\
**Replies:** 5\
**Last updated:** [July 11, 2020, 9:29pm UTC](https://discourse.itk.org/t/how-to-get-pixels-within-a-radius-from-a-specific-pixel/3243 "2020-07-11T21:29:16Z")

</div>

Hello, I was wondering if there is a way to get the indices of pixels within a certain radius from a center pixel with a specific ID. itk::NeighborhoodIterator was the closest thing I found to this, but how can I use it…

---

## [Why is the first axis swapped in ITK versus SimpleITK?](https://discourse.itk.org/t/why-is-the-first-axis-swapped-in-itk-versus-simpleitk/3055)

<div class="topic-metadata">

**Author:** [@jonasteuwen](https://discourse.itk.org/u/jonasteuwen)\
**Replies:** 3\
**Last updated:** [May 15, 2020, 10:25am UTC](https://discourse.itk.org/t/why-is-the-first-axis-swapped-in-itk-versus-simpleitk/3055 "2020-05-15T10:25:08Z")

</div>

I want to read a DICOM series with ITK (5.1rc) and compare it with the SimpleITK version: def read\_dcm\_series\_sitk(files): file\_reader = sitk.ImageFileReader() file\_reader.SetFileName(str(files\[0\])) file\_rea…

---

## [How to configure beam characteristics such as filtration](https://discourse.itk.org/t/how-to-configure-beam-characteristics-such-as-filtration/2969)

<div class="topic-metadata">

**Author:** [@isuruwi](https://discourse.itk.org/u/isuruwi)\
**Replies:** 2\
**Last updated:** [April 20, 2020, 7:28pm UTC](https://discourse.itk.org/t/how-to-configure-beam-characteristics-such-as-filtration/2969 "2020-04-20T19:28:16Z")

</div>

I’m currently working on generating DRR image from 3D CT volumes. Is there a way to configure beam characteristics such as filtration ? That is for an example we use a 120kVp beam, and the filtration is given as 16.25m…

---

## [When we will see the ITK 5 stable release in Debian?](https://discourse.itk.org/t/when-we-will-see-the-itk-5-stable-release-in-debian/2580)

<div class="topic-metadata">

**Author:** [@ZSmain](https://discourse.itk.org/u/ZSmain)\
**Replies:** 2\
**Last updated:** [January 3, 2020, 7:12pm UTC](https://discourse.itk.org/t/when-we-will-see-the-itk-5-stable-release-in-debian/2580 "2020-01-03T19:12:48Z")

</div>

It’s known that Debian, the stable release will only ship stable releases of packages, but Its not there yet, not even in the testing release! Is there an official responsible for packaging ITK binaries and development …

---

## [After casting the ImageType to a new data type, ConnectedComponentImageFilter still raising " error: conversion from ‘itk::Concept::IsInteger\<float\>"](https://discourse.itk.org/t/after-casting-the-imagetype-to-a-new-data-type-connectedcomponentimagefilter-still-raising-error-conversion-from-itk-isinteger-float/2462)

<div class="topic-metadata">

**Author:** [@Sara\_Caffe](https://discourse.itk.org/u/Sara_Caffe)\
**Replies:** 2\
**Last updated:** [December 15, 2019, 4:55pm UTC](https://discourse.itk.org/t/after-casting-the-imagetype-to-a-new-data-type-connectedcomponentimagefilter-still-raising-error-conversion-from-itk-isinteger-float/2462 "2019-12-15T16:55:55Z")

</div>

I have defined the input ImageType as float and the OutputImageType for the ConnectedComponentImageFilter according to the link: typedef float PixelType; constexpr unsigned int Dimension=3; using ImageType=itk::Image\<Pi…

---

## [\[SOLVED\] Undefined reference to QuickView even with ITKVtkGlue added in target\_link\_libraries](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100)

<div class="topic-metadata">

**Author:** [@federico](https://discourse.itk.org/u/federico)\
**Replies:** 8\
**Last updated:** [November 7, 2019, 3:58am UTC](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100 "2019-11-07T03:58:31Z")

</div>

Hi, I am trying to open and display an image with QuickView, however the linker is unable to find QuickView::AddImage. CMakeFiles/viewer.dir/viewer.cc.o: In function \`main': viewer.cc:(.text+0x12d): undefined reference…

---

## [initial contour/surface as the zero level set](https://discourse.itk.org/t/initial-contour-surface-as-the-zero-level-set/751)

<div class="topic-metadata">

**Author:** [@Abdelkhalek\_Bakkari](https://discourse.itk.org/u/Abdelkhalek_Bakkari)\
**Replies:** 1\
**Last updated:** [March 9, 2018, 8:21pm UTC](https://discourse.itk.org/t/initial-contour-surface-as-the-zero-level-set/751 "2018-03-09T20:21:14Z")

</div>

Dear All, I am trying to adopt the eodesicActiveContourLevelSetImage Filter. However, I don’t know how to create the initial contour/surface using ITK and Qt. Could you please help me? Kind regards,

---

## [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…

---

## [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…
