# Latest

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

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

**Page:** 13

---

## [SimpleITK Euler3D transform, problem with output size/resampling](https://discourse.itk.org/t/simpleitk-euler3d-transform-problem-with-output-size-resampling/4387)

<div class="topic-metadata">

**Author:** [@MMdeB](https://discourse.itk.org/u/MMdeB)\
**Replies:** 7\
**Last updated:** [May 29, 2024, 1:45am UTC](https://discourse.itk.org/t/simpleitk-euler3d-transform-problem-with-output-size-resampling/4387 "2024-05-29T01:45:10Z")

</div>

Hi there, I’m trying to rotate a 3D volume using the Euler3D transform. For this, I first used the code below, but I found that the image size does not change if the image is rotated, which is explainable since I use in…

---

## [SimpleElastix, do not store intermediate transform file](https://discourse.itk.org/t/simpleelastix-do-not-store-intermediate-transform-file/6664)

<div class="topic-metadata">

**Author:** [@l.mejivar](https://discourse.itk.org/u/l.mejivar)\
**Replies:** 0\
**Last updated:** [May 28, 2024, 11:23am UTC](https://discourse.itk.org/t/simpleelastix-do-not-store-intermediate-transform-file/6664 "2024-05-28T11:23:46Z")

</div>

Hello, I am registering some images using the method below. Everything works fine, except that for some reason, there is a file called TransformParameters.0.txt that is being created in the same directory where I run my…

---

## [Using SplitComponentsImageFilter to split by dimension](https://discourse.itk.org/t/using-splitcomponentsimagefilter-to-split-by-dimension/6603)

<div class="topic-metadata">

**Author:** [@cpinter](https://discourse.itk.org/u/cpinter)\
**Replies:** 2\
**Last updated:** [May 27, 2024, 9:17am UTC](https://discourse.itk.org/t/using-splitcomponentsimagefilter-to-split-by-dimension/6603 "2024-05-27T09:17:04Z")

</div>

Hi all, I’m trying to use the SplitComponentsImageFilter class to split a 5D image (component + 3D spatial + time) by time, and I’m getting a compilation error when I try to build a very simple test. For context, this …

---

## [Floating point issue in mhd header file](https://discourse.itk.org/t/floating-point-issue-in-mhd-header-file/6643)

<div class="topic-metadata">

**Author:** [@fool2nd](https://discourse.itk.org/u/fool2nd)\
**Replies:** 8\
**Last updated:** [May 25, 2024, 6:25pm UTC](https://discourse.itk.org/t/floating-point-issue-in-mhd-header-file/6643 "2024-05-25T18:25:27Z")

</div>

Hi, I ran into a problem when writing an image to mhd/raw file. Here’s the code snippet. import SimpleITK as sitk image = sitk.ReadImage(‘image.mhd’) print(image.GetSpacing()) (0.002, 0.002, 0.002) image.SetSpacin…

---

## [My roten recipe to build ITK 5.4rc04 with ITKElastix and other modules with Python in Linux](https://discourse.itk.org/t/my-roten-recipe-to-build-itk-5-4rc04-with-itkelastix-and-other-modules-with-python-in-linux/6663)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 0\
**Last updated:** [May 25, 2024, 2:20pm UTC](https://discourse.itk.org/t/my-roten-recipe-to-build-itk-5-4rc04-with-itkelastix-and-other-modules-with-python-in-linux/6663 "2024-05-25T14:20:58Z")

</div>

Hi. I just want to share how I was able to build ITK with some modules, including ITKElastix with Python 3.12. The attachment has the instructions, versions of source code, versions of running software and compilation lo…

---

## [How to reshape 4D .nii image](https://discourse.itk.org/t/how-to-reshape-4d-nii-image/6655)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 4\
**Last updated:** [May 23, 2024, 3:22pm UTC](https://discourse.itk.org/t/how-to-reshape-4d-nii-image/6655 "2024-05-23T15:22:50Z")

</div>

I have a .nii image of size 30, 28, 256, 256. I want to reshape it to 256, 256, 28, 30. I tried converting to numpy array and then using sitk.GetImageFromArray(). However, the size of the resulting image is 256, 256, 28.…

---

## [Non axis aligned orientation in real world data?](https://discourse.itk.org/t/non-axis-aligned-orientation-in-real-world-data/6639)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)\
**Replies:** 6\
**Last updated:** [May 21, 2024, 7:26pm UTC](https://discourse.itk.org/t/non-axis-aligned-orientation-in-real-world-data/6639 "2024-05-21T19:26:01Z")

</div>

Hello from your experience is it happening that direction cosine matrix is not axis aligned for studies like CT PET MRI . I mean when orientation is not RAS or LPS … can not be summarized in 3 letter code because it is o…

---

## [Convert Itk Mesh to VtK Polydata](https://discourse.itk.org/t/convert-itk-mesh-to-vtk-polydata/6564)

<div class="topic-metadata">

**Author:** [@NahomKidane](https://discourse.itk.org/u/NahomKidane)\
**Replies:** 5\
**Last updated:** [May 21, 2024, 12:34pm UTC](https://discourse.itk.org/t/convert-itk-mesh-to-vtk-polydata/6564 "2024-05-21T12:34:11Z")

</div>

Hello, Is there a way to convert ITKMesh to vtkpolydata? I see ITKMeshToPolyData, but that converts ITKMesh to ITKPolydata.

---

## [Howto: Submit patches for 5.4.1](https://discourse.itk.org/t/howto-submit-patches-for-5-4-1/6651)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 0\
**Last updated:** [May 21, 2024, 10:37am UTC](https://discourse.itk.org/t/howto-submit-patches-for-5-4-1/6651 "2024-05-21T10:37:42Z")

</div>

ITK v5.4.0 has been tagged! :label: We have a new release-5.4 branch. :rocket: Patches intended for future 5.4 patch releases (5.4.1, etc) should be branched from here and a pull-request created against this branch: B…

---

## [ITKElastix: SetNumberOfThreads() segfaults with bspline parameter map](https://discourse.itk.org/t/itkelastix-setnumberofthreads-segfaults-with-bspline-parameter-map/6650)

<div class="topic-metadata">

**Author:** [@Pieter-VB](https://discourse.itk.org/u/Pieter-VB)\
**Replies:** 2\
**Last updated:** [May 21, 2024, 9:06am UTC](https://discourse.itk.org/t/itkelastix-setnumberofthreads-segfaults-with-bspline-parameter-map/6650 "2024-05-21T09:06:08Z")

</div>

When increasing the number of threads (\> 1) of the itk.ElastixRegistrationMethod, the registration method segfaults when using the bspline default parameter map. This already fails with the given example: bspline exampl…

---

## [Improving Observer Design Implementation for itk::Object.](https://discourse.itk.org/t/improving-observer-design-implementation-for-itk-object/6645)

<div class="topic-metadata">

**Author:** [@Piyush\_Aggarwal](https://discourse.itk.org/u/Piyush_Aggarwal)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 4:02pm UTC](https://discourse.itk.org/t/improving-observer-design-implementation-for-itk-object/6645 "2024-05-20T16:02:34Z")

</div>

Hello, everyone. I work with ITK at my day job. Upon inspection into the header of itkObject, I noticed there is a const API available for AddObserver but not for RemoveObserver. Since both APIs internally just call the …

---

## [Registration of two sequence images of 2d each](https://discourse.itk.org/t/registration-of-two-sequence-images-of-2d-each/6641)

<div class="topic-metadata">

**Author:** [@sivanschwartz](https://discourse.itk.org/u/sivanschwartz)\
**Replies:** 1\
**Last updated:** [May 20, 2024, 1:12pm UTC](https://discourse.itk.org/t/registration-of-two-sequence-images-of-2d-each/6641 "2024-05-20T13:12:32Z")

</div>

Hi all, I am new to SimpleITK, and will appreciate any tips for how to start to deal with my issue: I have a data of 2 images from brain scan, with slightly different depth (one image is from Zi depth of the brain, and…

---

## [Is itk.js support "StreamingImageFilter"?](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605)

<div class="topic-metadata">

**Author:** [@Mohammed\_AboArab](https://discourse.itk.org/u/Mohammed_AboArab)\
**Replies:** 2\
**Last updated:** [May 20, 2024, 10:52am UTC](https://discourse.itk.org/t/is-itk-js-support-streamingimagefilter/6605 "2024-05-20T10:52:35Z")

</div>

Hello, I am currently working on 3D volume rendering using vtk.js and itk.js. I encountered an issue when rendering a large-sized dataset, which is related to MemoryAllocationError. After some investigation, I discovere…

---

## [Read different series of dicom](https://discourse.itk.org/t/read-different-series-of-dicom/6251)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.itk.org/u/Xoz)\
**Replies:** 8\
**Last updated:** [May 20, 2024, 4:13am UTC](https://discourse.itk.org/t/read-different-series-of-dicom/6251 "2024-05-20T04:13:43Z")

</div>

Hi everyone, I’ve got an issue when loading some dicom files using itk-wasm, in the past I load the uploaded files through readImageDICOMFileSeries, it worked fine when there is just a single serie. But some of the dic…

---

## [How to filter dicom images using a kernel?](https://discourse.itk.org/t/how-to-filter-dicom-images-using-a-kernel/6610)

<div class="topic-metadata">

**Author:** [@dbtruong](https://discourse.itk.org/u/dbtruong)\
**Replies:** 1\
**Last updated:** [May 19, 2024, 9:11pm UTC](https://discourse.itk.org/t/how-to-filter-dicom-images-using-a-kernel/6610 "2024-05-19T21:11:33Z")

</div>

Hello everyone, I use itk.js for some web image processing functionality. How to filter dicom images using itk.js? Thanks.

---

## [Anyone compiled ITK withTBB on Mac OSX x86](https://discourse.itk.org/t/anyone-compiled-itk-withtbb-on-mac-osx-x86/6525)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 5\
**Last updated:** [May 19, 2024, 9:08pm UTC](https://discourse.itk.org/t/anyone-compiled-itk-withtbb-on-mac-osx-x86/6525 "2024-05-19T21:08:20Z")

</div>

I made a pull request for condo-forge to build ITK v5.4rc02. There are some build errors related to TBB, and C++17. I believe 5.4 will be the first release with c++17 as the requirement. In file included from $PREFIX/in…

---

## [Getting Started/installation](https://discourse.itk.org/t/getting-started-installation/6596)

<div class="topic-metadata">

**Author:** [@Arnaud](https://discourse.itk.org/u/Arnaud)\
**Replies:** 5\
**Last updated:** [May 19, 2024, 3:13pm UTC](https://discourse.itk.org/t/getting-started-installation/6596 "2024-05-19T15:13:43Z")

</div>

Hi all, I have a “could not find any instance of Visual Studio” error upon clicking “Configure” in CMake. I have zero knowledge about ITK/RTK yet apart from the ITKSoftwareGuide book1 that i started reading. I do alre…

---

## [libITKCommon-5.3.so.1: cannot open shared object file: No such file or directory](https://discourse.itk.org/t/libitkcommon-5-3-so-1-cannot-open-shared-object-file-no-such-file-or-directory/6637)

<div class="topic-metadata">

**Author:** [@Divital](https://discourse.itk.org/u/Divital)\
**Replies:** 4\
**Last updated:** [May 18, 2024, 4:45pm UTC](https://discourse.itk.org/t/libitkcommon-5-3-so-1-cannot-open-shared-object-file-no-such-file-or-directory/6637 "2024-05-18T16:45:16Z")

</div>

Hi, I have been trying to build the SimpleITK-2.2.0.tar.gz with the help of gcc-8.1 on a julia language based sandboxed environment (alpine linux, using BinaryBuilder.jl), i use the following the build\_tarball.jl script …

---

## [DICOM cerebral arteries image](https://discourse.itk.org/t/dicom-cerebral-arteries-image/6635)

<div class="topic-metadata">

**Author:** [@rfrank](https://discourse.itk.org/u/rfrank)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 8:30pm UTC](https://discourse.itk.org/t/dicom-cerebral-arteries-image/6635 "2024-05-17T20:30:04Z")

</div>

Hi, Looking for anonymized DICOM CT images of cerebral arteries… nrrd or mha also ok. If anyone knows a source, please let me know. Thanks

---

## [How to get intermediate transform parameter?](https://discourse.itk.org/t/how-to-get-intermediate-transform-parameter/6631)

<div class="topic-metadata">

**Author:** [@Vidya](https://discourse.itk.org/u/Vidya)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 5:57am UTC](https://discourse.itk.org/t/how-to-get-intermediate-transform-parameter/6631 "2024-05-14T05:57:31Z")

</div>

Hi, I am following the example DeformableRegistration12 : ITK: Examples/RegistrationITKv4/DeformableRegistration12.cxx , to register two images. Is there any way to get the intermediate transform parameters or intermedi…

---

## [ImageSeriesReader for dicom series and PixelIDValue of sitkFloat64](https://discourse.itk.org/t/imageseriesreader-for-dicom-series-and-pixelidvalue-of-sitkfloat64/6630)

<div class="topic-metadata">

**Author:** [@Ervis](https://discourse.itk.org/u/Ervis)\
**Replies:** 4\
**Last updated:** [May 13, 2024, 1:38pm UTC](https://discourse.itk.org/t/imageseriesreader-for-dicom-series-and-pixelidvalue-of-sitkfloat64/6630 "2024-05-13T13:38:01Z")

</div>

I have a strange question ( it may very well be from my lack of understanding) so thank you in advance I am using SimpleITK-2.3.0-CSharp-win64-x64 to read and manipulate MR images . I have an MR series with the followi…

---

## [Stacking Z dimension images using SimpleITK](https://discourse.itk.org/t/stacking-z-dimension-images-using-simpleitk/6623)

<div class="topic-metadata">

**Author:** [@sleepingcat4](https://discourse.itk.org/u/sleepingcat4)\
**Replies:** 26\
**Last updated:** [May 13, 2024, 1:04pm UTC](https://discourse.itk.org/t/stacking-z-dimension-images-using-simpleitk/6623 "2024-05-13T13:04:59Z")

</div>

I’m trying to stack multiple Z dimension images where the images are taken in XYZ axis. (Images are in .tiff format) I want those 2D images to create a 3D Volume. I was tinkering with SimpleITK on Python, I got some res…

---

## [How to build ITKElastix with ITK 5.3.0 with Python bindings in Linux?](https://discourse.itk.org/t/how-to-build-itkelastix-with-itk-5-3-0-with-python-bindings-in-linux/6625)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 8\
**Last updated:** [May 11, 2024, 12:32pm UTC](https://discourse.itk.org/t/how-to-build-itkelastix-with-itk-5-3-0-with-python-bindings-in-linux/6625 "2024-05-11T12:32:18Z")

</div>

Continuing the discussion from Update remote module in ITK: Continuing the discussion from how to build ITK 5.3.0 with Python bindings in Linux?: Hello. I am trying to build ITKElastix offline from source with ITK 5.3…

---

## [Binary segmentation dilation in mm](https://discourse.itk.org/t/binary-segmentation-dilation-in-mm/6628)

<div class="topic-metadata">

**Author:** [@tanres](https://discourse.itk.org/u/tanres)\
**Replies:** 1\
**Last updated:** [May 10, 2024, 9:41pm UTC](https://discourse.itk.org/t/binary-segmentation-dilation-in-mm/6628 "2024-05-10T21:41:44Z")

</div>

I am looking to perform dilation of a binary segmentation by a certain mm radius. E.g., dilate the segmentation of the lung by 5-10mm, so I can use it as a registration mask to focus image registration. Is the kernel rad…

---

## [rotation of both image and landmarks issue](https://discourse.itk.org/t/rotation-of-both-image-and-landmarks-issue/6620)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)\
**Replies:** 10\
**Last updated:** [May 9, 2024, 6:13pm UTC](https://discourse.itk.org/t/rotation-of-both-image-and-landmarks-issue/6620 "2024-05-09T18:13:47Z")

</div>

Hello I try to rotate an image and landmarks , around image center. I tried resampling landmarks boh by resample physical point and manually using rotation matrix (I would prefer to stic with second solution as I need to…

---

## [How to retrieve meta-data of HDF5 Dataset?](https://discourse.itk.org/t/how-to-retrieve-meta-data-of-hdf5-dataset/6619)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 7:41pm UTC](https://discourse.itk.org/t/how-to-retrieve-meta-data-of-hdf5-dataset/6619 "2024-05-07T19:41:10Z")

</div>

Hello, I have a 3D brain image (MR) in .mat format. I have used the following code to access the image data. import SimpleITK as sitk import numpy as np import h5py f = h5py.File('MR.mat','r') data\_value = f\['Data1\_an…

---

## [Registration Algorithm or Evolution Optimizer Not Deterministic](https://discourse.itk.org/t/registration-algorithm-or-evolution-optimizer-not-deterministic/6597)

<div class="topic-metadata">

**Author:** [@Michael\_M](https://discourse.itk.org/u/Michael_M)\
**Replies:** 7\
**Last updated:** [May 3, 2024, 1:18pm UTC](https://discourse.itk.org/t/registration-algorithm-or-evolution-optimizer-not-deterministic/6597 "2024-05-03T13:18:03Z")

</div>

Hi, I am following the example registration11 found here: ITK: Examples/RegistrationITKv3/ImageRegistration11.cxx Everything works, except the results are not deterministic. When I run it multiple times, I am getting …

---

## [TotalSegmentator segmentations and radiomics features for 126K+ CT scans](https://discourse.itk.org/t/totalsegmentator-segmentations-and-radiomics-features-for-126k-ct-scans/6615)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.itk.org/u/fedorov)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 6:09pm UTC](https://discourse.itk.org/t/totalsegmentator-segmentations-and-radiomics-features-for-126k-ct-scans/6615 "2024-05-02T18:09:51Z")

</div>

The announcement below is reposted from Imaging Data Commons forum post here: New in IDC v18: TotalSegmentator segmentations and radiomics features for NLST CTs - Announcements - Imaging Data Commons IDC data release v…

---

## [CT and PET coregistration with alternating results](https://discourse.itk.org/t/ct-and-pet-coregistration-with-alternating-results/5691)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 4\
**Last updated:** [May 1, 2024, 1:26pm UTC](https://discourse.itk.org/t/ct-and-pet-coregistration-with-alternating-results/5691 "2024-05-01T13:26:14Z")

</div>

Hello everyone, I am a bit confused about the registration results I got from performing a rigid alignment between a CT and a PET (of the same subject, which makes it even more confusing for me). I can run it once and g…

---

## [Problem with registration](https://discourse.itk.org/t/problem-with-registration/6600)

<div class="topic-metadata">

**Author:** [@Sunita\_Patel](https://discourse.itk.org/u/Sunita_Patel)\
**Replies:** 3\
**Last updated:** [April 29, 2024, 3:54pm UTC](https://discourse.itk.org/t/problem-with-registration/6600 "2024-04-29T15:54:53Z")

</div>

Dear ITK Team, Q.1) We are doing registration and visualize using gui.RegistrationPointDataAquisition(), it is showing the fixed and moving images. When we click on any point in the images it shows that point correctly …

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

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