# Latest

**URL:** https://discourse.itk.org/latest.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

---

## [Issue in ITK-RTK reconstruction with Shepp-Logan phantom](https://discourse.itk.org/t/issue-in-itk-rtk-reconstruction-with-shepp-logan-phantom/6464)

<div class="topic-metadata">

**Author:** [@Navami\_123](https://discourse.itk.org/u/Navami_123)\
**Replies:** 2\
**Last updated:** [February 24, 2024, 8:24am UTC](https://discourse.itk.org/t/issue-in-itk-rtk-reconstruction-with-shepp-logan-phantom/6464 "2024-02-24T08:24:04Z")

</div>

Hi, I was trying to do a comparative study between TIGRE and RTK for which I have extracted the Shepp-Logan Raw projection data from TIGRE and I am trying to reconstruct it in RTK. Initially I tried to read the raw data…

---

## [CMake Error when building ITKMontage wheel for aarch64](https://discourse.itk.org/t/cmake-error-when-building-itkmontage-wheel-for-aarch64/6452)

<div class="topic-metadata">

**Author:** [@John\_Bergelin](https://discourse.itk.org/u/John_Bergelin)\
**Replies:** 3\
**Last updated:** [February 23, 2024, 1:38pm UTC](https://discourse.itk.org/t/cmake-error-when-building-itkmontage-wheel-for-aarch64/6452 "2024-02-23T13:38:35Z")

</div>

Hi, I’m trying to compile and build an ITKMontage python3.9 wheel for aarch64 on a raspberry pi 4 using ITKPythonPackage as described here Prerequisites — ITKPythonPackage documentation I’ve checked out the release bra…

---

## [Set Image Direction from numpy array](https://discourse.itk.org/t/set-image-direction-from-numpy-array/844)

<div class="topic-metadata">

**Author:** [@nicoco](https://discourse.itk.org/u/nicoco)\
**Replies:** 25\
**Last updated:** [February 22, 2024, 1:18am UTC](https://discourse.itk.org/t/set-image-direction-from-numpy-array/844 "2024-02-22T01:18:35Z")

</div>

Hello, I’m struggling to use a numpy array in order to set the direction of an ITK Image using python bindings. My attempts: In \[8\]: image = itk.Image.New() In \[9\]: np\_dir = np.eye(2) In \[10\]: image.SetDirection(itk…

---

## [Measuring Aorta Diameter from centerline using ITK](https://discourse.itk.org/t/measuring-aorta-diameter-from-centerline-using-itk/6447)

<div class="topic-metadata">

**Author:** [@idinsmore1](https://discourse.itk.org/u/idinsmore1)\
**Replies:** 7\
**Last updated:** [February 21, 2024, 1:16am UTC](https://discourse.itk.org/t/measuring-aorta-diameter-from-centerline-using-itk/6447 "2024-02-21T01:16:44Z")

</div>

Hello! I’ve been trying to implement a python method for automatically measuring the aortic diameter from CT segmentations. I was previously trying to do this all in numpy/scipy, but I think I need the efficiency and th…

---

## [How can we achieve good results in affine registration for 3D CT images of the heart obtained from different people?](https://discourse.itk.org/t/how-can-we-achieve-good-results-in-affine-registration-for-3d-ct-images-of-the-heart-obtained-from-different-people/6458)

<div class="topic-metadata">

**Author:** [@Shima](https://discourse.itk.org/u/Shima)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 3:05pm UTC](https://discourse.itk.org/t/how-can-we-achieve-good-results-in-affine-registration-for-3d-ct-images-of-the-heart-obtained-from-different-people/6458 "2024-02-20T15:05:20Z")

</div>

Hi, I want to perform affine registration on 3D heart CT images obtained from different individuals. Firstly, I resampled all images to a uniform size of 111 and then cropped them to ensure the heart is centered and this…

---

## [itkwidgets CLI ConnectionRefusedError](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 11:07pm UTC](https://discourse.itk.org/t/itkwidgets-cli-connectionrefusederror/6450 "2024-02-19T23:07:05Z")

</div>

Greetings ITK community, I’m starting to tinker with itkwidgets (among other things) and trying the CLI like this: itkwidgets -i Lat\_Bisection.nrrd --verbose -b with the following results: /home/xys321/miniconda3/env…

---

## [zlib target defined issue when building with cpr](https://discourse.itk.org/t/zlib-target-defined-issue-when-building-with-cpr/6456)

<div class="topic-metadata">

**Author:** [@jilei-hao](https://discourse.itk.org/u/jilei-hao)\
**Replies:** 2\
**Last updated:** [February 19, 2024, 6:54pm UTC](https://discourse.itk.org/t/zlib-target-defined-issue-when-building-with-cpr/6456 "2024-02-19T18:54:01Z")

</div>

Hi, I’m building a project with ITK 5.4rc02 with cpr library and I’m getting following error during configuration: "CMake Error at /Users/tk/itk/installed/lib/cmake/ITK-5.4/ITKTargets.cmake:42 (message): Some (but not…

---

## [Building module wheel with an older manylinux image](https://discourse.itk.org/t/building-module-wheel-with-an-older-manylinux-image/6439)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 2\
**Last updated:** [February 16, 2024, 8:06am UTC](https://discourse.itk.org/t/building-module-wheel-with-an-older-manylinux-image/6439 "2024-02-16T08:06:54Z")

</div>

With this commit, ITKPythonPackage has upgraded the dockcross image tag, thus upgrading (among other things) GCC to version 12. Because Cuda 11 is not compatible with this gcc, I had to downgrade the image tag to have it…

---

## [Reading and writing of 5D images - a dimension disappears](https://discourse.itk.org/t/reading-and-writing-of-5d-images-a-dimension-disappears/6210)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.itk.org/u/cpinter)\
**Replies:** 28\
**Last updated:** [February 15, 2024, 9:21pm UTC](https://discourse.itk.org/t/reading-and-writing-of-5d-images-a-dimension-disappears/6210 "2024-02-15T21:21:17Z")

</div>

Hi all, We’re trying to enable 3D Slicer to read and write vector image sequences (displacement field or velocity field: 3D spatial + component + time = 5 dimensions) into a single file. The format of choice is NRRD, an…

---

## [Convert itk::PointSet to an triangular itk::Mesh](https://discourse.itk.org/t/convert-itk-pointset-to-an-triangular-itk-mesh/6440)

<div class="topic-metadata">

**Author:** [@HnHd](https://discourse.itk.org/u/HnHd)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 7:25pm UTC](https://discourse.itk.org/t/convert-itk-pointset-to-an-triangular-itk-mesh/6440 "2024-02-15T19:25:02Z")

</div>

Hello everyone, I have a 3D itk::PointSet that I need to save as an .stl file. My plan is to convert the PointSet into a mesh and then save it as an .stl file. However, I’m currently facing a challenge in defining the c…

---

## [sitk.ConnectedComponent is order deterministic?](https://discourse.itk.org/t/sitk-connectedcomponent-is-order-deterministic/6443)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 2:14pm UTC](https://discourse.itk.org/t/sitk-connectedcomponent-is-order-deterministic/6443 "2024-02-15T14:14:46Z")

</div>

Hello I try to understand is the order (int value) of connected components is always the same if we are executing algorithm on the same array? for reference description of connected components in simple Itk ConnectedCo…

---

## [Registratrion mpMRI prostate](https://discourse.itk.org/t/registratrion-mpmri-prostate/6442)

<div class="topic-metadata">

**Author:** [@Nathalie\_M](https://discourse.itk.org/u/Nathalie_M)\
**Replies:** 1\
**Last updated:** [February 15, 2024, 2:13pm UTC](https://discourse.itk.org/t/registratrion-mpmri-prostate/6442 "2024-02-15T14:13:34Z")

</div>

Hi, I would like to register a T2w image (640x640x23) with a DWI (and ADC) MR image (116x228x25) of the prostate. The latter has a different size as it has been acquired using zoom. Origin of both images are (0,0,0). I…

---

## [How to use the GetScalesOutput() method in MultiscaleHessianBasedMeasureImageFilter](https://discourse.itk.org/t/how-to-use-the-getscalesoutput-method-in-multiscalehessianbasedmeasureimagefilter/6433)

<div class="topic-metadata">

**Author:** [@Tomo](https://discourse.itk.org/u/Tomo)\
**Replies:** 4\
**Last updated:** [February 13, 2024, 3:40am UTC](https://discourse.itk.org/t/how-to-use-the-getscalesoutput-method-in-multiscalehessianbasedmeasureimagefilter/6433 "2024-02-13T03:40:34Z")

</div>

Hello, I am interested in applying a vesselness filter process to MRA images, referencing “Antiga, L. (2007). Generalizing vesselness with respect to dimensionality and shape. The Insight Journal.” I have written a scri…

---

## [Metal Artifact](https://discourse.itk.org/t/metal-artifact/6436)

<div class="topic-metadata">

**Author:** [@pratibha](https://discourse.itk.org/u/pratibha)\
**Replies:** 0\
**Last updated:** [February 12, 2024, 2:37am UTC](https://discourse.itk.org/t/metal-artifact/6436 "2024-02-12T02:37:39Z")

</div>

Hello, I just need to detect metal artifacts not reconstruct. Could you recommend any papers or resources where I could get an idea of this? In addition to metal artifacts, I have other artifacts on my data, such as alia…

---

## [Segmenting Non-Vascular Tubular Structures in MRI](https://discourse.itk.org/t/segmenting-non-vascular-tubular-structures-in-mri/6427)

<div class="topic-metadata">

**Author:** [@Miri\_Trope](https://discourse.itk.org/u/Miri_Trope)\
**Replies:** 3\
**Last updated:** [February 6, 2024, 7:48am UTC](https://discourse.itk.org/t/segmenting-non-vascular-tubular-structures-in-mri/6427 "2024-02-06T07:48:30Z")

</div>

Hello everyone, I’m interested in hearing your suggestions on how to segment a structure similar to the one in the attached image. This structure is part of a tubular shape captured from an axial view in an MRI image. It…

---

## [RTK reconstruction](https://discourse.itk.org/t/rtk-reconstruction/6424)

<div class="topic-metadata">

**Author:** [@skb](https://discourse.itk.org/u/skb)\
**Replies:** 4\
**Last updated:** [February 5, 2024, 7:35am UTC](https://discourse.itk.org/t/rtk-reconstruction/6424 "2024-02-05T07:35:25Z")

</div>

i build ITK5.2.1&RTK2.3 in C++,RTK’s demo FirstReconstruction can run normally，but when i modified it for my project ,it failed,The detailed error message is the range of reconstructed data is \[0.0,0.0\],and display it i…

---

## [ITK Python Image of itk.D Vectors For Composite Transform](https://discourse.itk.org/t/itk-python-image-of-itk-d-vectors-for-composite-transform/5122)

<div class="topic-metadata">

**Author:** [@josebouza](https://discourse.itk.org/u/josebouza)\
**Replies:** 7\
**Last updated:** [February 2, 2024, 6:59pm UTC](https://discourse.itk.org/t/itk-python-image-of-itk-d-vectors-for-composite-transform/5122 "2024-02-02T18:59:34Z")

</div>

Hello, I am trying to convert a numpy array to an image of type itk.Image\[itk.Vector\[itk.D,3\],3\] in python ITK. The issue is that most ITK filters do not support this type. I would rather avoid having to compile my own …

---

## [How to penalise non-rigid distortion when using groupwise registration](https://discourse.itk.org/t/how-to-penalise-non-rigid-distortion-when-using-groupwise-registration/6412)

<div class="topic-metadata">

**Author:** [@pedro](https://discourse.itk.org/u/pedro)\
**Replies:** 3\
**Last updated:** [January 31, 2024, 3:20pm UTC](https://discourse.itk.org/t/how-to-penalise-non-rigid-distortion-when-using-groupwise-registration/6412 "2024-01-31T15:20:04Z")

</div>

Hi, I need to register some cardiac MR data (10 grayscale 2D images with 256x96 pixels), and I am trying to avoid having to select a reference image by using a groupwise registration method. The current problem I am fac…

---

## [module 'SimpleITK' has no attribute 'GetDefaultParameterMap'](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-getdefaultparametermap/6422)

<div class="topic-metadata">

**Author:** [@jdoungchawee](https://discourse.itk.org/u/jdoungchawee)\
**Replies:** 1\
**Last updated:** [January 31, 2024, 1:49pm UTC](https://discourse.itk.org/t/module-simpleitk-has-no-attribute-getdefaultparametermap/6422 "2024-01-31T13:49:20Z")

</div>

I tried to do image registration which worked well before but after a while, I will get this error with the same code that worked before. Please anyone know what is the problem and how to fix it? Example of code: def r…

---

## [Failed to allocate memory Error](https://discourse.itk.org/t/failed-to-allocate-memory-error/1930)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 4\
**Last updated:** [January 30, 2024, 2:30pm UTC](https://discourse.itk.org/t/failed-to-allocate-memory-error/1930 "2024-01-30T14:30:12Z")

</div>

I was trying to execute the DeformableRegistration15.cxx on two brain CT images. Pixel Type is short. I get this error when i execute it. Please help me with thins.

---

## [Upsampling with SimpleITK](https://discourse.itk.org/t/upsampling-with-simpleitk/6383)

<div class="topic-metadata">

**Author:** [@clarkbab](https://discourse.itk.org/u/clarkbab)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 1:46pm UTC](https://discourse.itk.org/t/upsampling-with-simpleitk/6383 "2024-01-29T13:46:17Z")

</div>

Hi there, I’m running into an issue when upsampling an image with SimpleITK. I’ve created a simple grid to test my upsampling code, and my SimpleITK implementation seems to introduce some shift. Any ideas what I’m doing…

---

## [Convert3D - is it possible to rotate an image?](https://discourse.itk.org/t/convert3d-is-it-possible-to-rotate-an-image/6418)

<div class="topic-metadata">

**Author:** [@chlee](https://discourse.itk.org/u/chlee)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 1:42pm UTC](https://discourse.itk.org/t/convert3d-is-it-possible-to-rotate-an-image/6418 "2024-01-29T13:42:59Z")

</div>

Dear ITK community, I am frequently using Convert3D (c3d) which works most of my image processing tasks (and easy to construct a pipeline for parallel processing). One thing I am wondering is whether it has a functional…

---

## [\[itk-python\] Create an image with GPU](https://discourse.itk.org/t/itk-python-create-an-image-with-gpu/6414)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 13\
**Last updated:** [January 29, 2024, 10:04am UTC](https://discourse.itk.org/t/itk-python-create-an-image-with-gpu/6414 "2024-01-29T10:04:53Z")

</div>

I used pip to install itk5.4.0, and running some demo about RTK. There was normal when I running FirstReconstruction.py, but there was an error when running FirstCudaReconstruction.py. Both using itk.GPUImage and itk.RTK…

---

## [DRR grayvalue Incorrect](https://discourse.itk.org/t/drr-grayvalue-incorrect/6415)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 3\
**Last updated:** [January 29, 2024, 1:24am UTC](https://discourse.itk.org/t/drr-grayvalue-incorrect/6415 "2024-01-29T01:24:40Z")

</div>

I used rtk:: CudaForwardProjectionImageFilter to generate DRR, and I shifted the volume to the left. The grayscale value on the right side of the generated DRR is closer to the part that passes through the volume, but …

---

## [Use itk MorphologicalContourInterpolator](https://discourse.itk.org/t/use-itk-morphologicalcontourinterpolator/6417)

<div class="topic-metadata">

**Author:** [@koishi](https://discourse.itk.org/u/koishi)\
**Replies:** 0\
**Last updated:** [January 26, 2024, 9:33am UTC](https://discourse.itk.org/t/use-itk-morphologicalcontourinterpolator/6417 "2024-01-26T09:33:02Z")

</div>

I am a collage student studying vtk and itk. Now I have two slices of vtkImageData, what method or class can I use to transform these two vtkImageData to itk::image type \<unsigned , 3\> and put into MorphologicalContourIn…

---

## [Perspective transformation for binary images](https://discourse.itk.org/t/perspective-transformation-for-binary-images/2014)

<div class="topic-metadata">

**Author:** [@dgdgn](https://discourse.itk.org/u/dgdgn)\
**Replies:** 1\
**Last updated:** [January 25, 2024, 4:50pm UTC](https://discourse.itk.org/t/perspective-transformation-for-binary-images/2014 "2024-01-25T16:50:57Z")

</div>

I am trying to register two binary images. The fixed image is a planar shape, and the moving image comes from a camera image of the same shape but additionally has a perspective distortion due to the camera angle. Here i…

---

## [Key point registration!!Need help urgently!](https://discourse.itk.org/t/key-point-registration-need-help-urgently/6405)

<div class="topic-metadata">

**Author:** [@ljjiayou](https://discourse.itk.org/u/ljjiayou)\
**Replies:** 2\
**Last updated:** [January 25, 2024, 12:05am UTC](https://discourse.itk.org/t/key-point-registration-need-help-urgently/6405 "2024-01-25T00:05:47Z")

</div>

Need help urgently!! I have a pair of images, a CT image with a voxel size of 0.1250.1250.125 and an MRI image with a voxel size of 0.50.53. Given the coordinates of the four pairs of key points, how can I use these four…

---

## [How do you compose transforms after registration to perform resampling?](https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401)

<div class="topic-metadata">

**Author:** [@sdiebolt](https://discourse.itk.org/u/sdiebolt)\
**Replies:** 6\
**Last updated:** [January 23, 2024, 4:10pm UTC](https://discourse.itk.org/t/how-do-you-compose-transforms-after-registration-to-perform-resampling/6401 "2024-01-23T16:10:11Z")

</div>

I have a question that has already been asked at least twice (here and here) but got no explicit answer. Like their original authors, I’m struggling to understand how to compose the fixed initial, moving initial, and opt…

---

## [Coordinate conversion](https://discourse.itk.org/t/coordinate-conversion/6393)

<div class="topic-metadata">

**Author:** [@Ellen-D216](https://discourse.itk.org/u/Ellen-D216)\
**Replies:** 7\
**Last updated:** [January 23, 2024, 3:45pm UTC](https://discourse.itk.org/t/coordinate-conversion/6393 "2024-01-23T15:45:53Z")

</div>

I want to convert the image to a polar coordinate system, process it, and then convert it back to the Cartesian coordinate system. How can I do it with itkCartesianToPolarTransform and itkPolarToCartesianTransform? With …

---

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

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [January 22, 2024, 9:20pm UTC](https://discourse.itk.org/t/itk-5-4-release-candidate-2-available-for-testing/6404 "2024-01-22T21:20:45Z")

</div>

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

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

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