# Latest

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

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

**Page:** 14

---

## [Rigister two differences maginification image](https://discourse.itk.org/t/rigister-two-differences-maginification-image/6602)

<div class="topic-metadata">

**Author:** [@Ali](https://discourse.itk.org/u/Ali)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 9:40pm UTC](https://discourse.itk.org/t/rigister-two-differences-maginification-image/6602 "2024-04-26T21:40:48Z")

</div>

Hello everyone, I am currently working on project, where i want to register 2 images of different magnification One image is low resolution (10um). The other image is image of the part section but with a much higher re…

---

## [ApproximateSignedDistanceMapImageFilter does not support any pixel type](https://discourse.itk.org/t/approximatesigneddistancemapimagefilter-does-not-support-any-pixel-type/6594)

<div class="topic-metadata">

**Author:** [@M-Puig](https://discourse.itk.org/u/M-Puig)\
**Replies:** 1\
**Last updated:** [April 25, 2024, 12:51pm UTC](https://discourse.itk.org/t/approximatesigneddistancemapimagefilter-does-not-support-any-pixel-type/6594 "2024-04-25T12:51:20Z")

</div>

Hi, I am trying to compute a distance map on a binary 3d shape, using ApproximateSignedDistanceMapImageFilter. I tried the following code def get\_radius\_map(mask): dist\_filter = sitk.ApproximateSignedDistanceMapIm…

---

## [Writing color DICOM images with GDCMImageIO](https://discourse.itk.org/t/writing-color-dicom-images-with-gdcmimageio/2202)

<div class="topic-metadata">

**Author:** [@zivy](https://discourse.itk.org/u/zivy)\
**Replies:** 8\
**Last updated:** [April 24, 2024, 11:31pm UTC](https://discourse.itk.org/t/writing-color-dicom-images-with-gdcmimageio/2202 "2024-04-24T23:31:25Z")

</div>

I encountered some challenges writing color DICOM images to file using GDCMImageIO. The current implementation of the GDCMImageIO assumes three channel images have a photometric interpretation value of RGB, see here. I …

---

## [Install package itk 5](https://discourse.itk.org/t/install-package-itk-5/6591)

<div class="topic-metadata">

**Author:** [@Michael\_M](https://discourse.itk.org/u/Michael_M)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 8:06pm UTC](https://discourse.itk.org/t/install-package-itk-5/6591 "2024-04-24T20:06:05Z")

</div>

Hello, I can install itk 5 via the longer process of cloning the repository and building it from scratch using cmake. However, i wanted to shorten and simplify the process by just downloading the package as described h…

---

## [Visualize Images at each Pyramid Level](https://discourse.itk.org/t/visualize-images-at-each-pyramid-level/6497)

<div class="topic-metadata">

**Author:** [@kenrickmoke](https://discourse.itk.org/u/kenrickmoke)\
**Replies:** 1\
**Last updated:** [April 24, 2024, 7:54pm UTC](https://discourse.itk.org/t/visualize-images-at-each-pyramid-level/6497 "2024-04-24T19:54:59Z")

</div>

Heya Itk-Team, how can i visualize the downsampled\\smooted images at each level of the pyramid for image registration, here i am mostly interested in the fixed image. Im using itk-elastix for python. Best wishes …

---

## [itkwidgets & jupyterlab](https://discourse.itk.org/t/itkwidgets-jupyterlab/5384)

<div class="topic-metadata">

**Author:** [@martin.genet](https://discourse.itk.org/u/martin.genet)\
**Replies:** 10\
**Last updated:** [April 24, 2024, 7:45pm UTC](https://discourse.itk.org/t/itkwidgets-jupyterlab/5384 "2024-04-24T19:45:32Z")

</div>

Hello, Trying to get itkwidgets to run within Jupyter Lab. I am running JupyterLab 3.4.7, itk 5.3rc04.post3, itkwidgets 1.0a12, everything installed smoothly, but when I try running the example notebooks, I am only gett…

---

## [transfer syntax conversion](https://discourse.itk.org/t/transfer-syntax-conversion/6593)

<div class="topic-metadata">

**Author:** [@George\_Z](https://discourse.itk.org/u/George_Z)\
**Replies:** 0\
**Last updated:** [April 24, 2024, 5:22pm UTC](https://discourse.itk.org/t/transfer-syntax-conversion/6593 "2024-04-24T17:22:30Z")

</div>

Hello, I was wondering if ITK support conversion of jpeg2000 to Little Endian? I humbly wish to consider The below transfer syntaxes: JPEG Baseline (1.2.840.10008.1.2.4.50) JPEG Extended (1.2.840.10008.1.2.4.51) JPE…

---

## [ITK 5.4 Release Candidate 4: ALL THE DICOMs](https://discourse.itk.org/t/itk-5-4-release-candidate-4-all-the-dicoms/6592)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [April 24, 2024, 4:50pm UTC](https://discourse.itk.org/t/itk-5-4-release-candidate-4-all-the-dicoms/6592 "2024-04-24T16:50:20Z")

</div>

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

---

## [kernel crash or died](https://discourse.itk.org/t/kernel-crash-or-died/6589)

<div class="topic-metadata">

**Author:** [@Noorollah\_Khajvand](https://discourse.itk.org/u/Noorollah_Khajvand)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 1:51pm UTC](https://discourse.itk.org/t/kernel-crash-or-died/6589 "2024-04-22T13:51:01Z")

</div>

I installed itk-elastix and after I imported it and read Dicom images, it worked correctly. But, when I’m using itk.ParameterObject.New() or any other function the kernel crashed or died without any errors. Also, it happ…

---

## [SimpleITK-SimpleElastix- can't install different release versions](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272)

<div class="topic-metadata">

**Author:** [@edelarosa](https://discourse.itk.org/u/edelarosa)\
**Replies:** 5\
**Last updated:** [April 22, 2024, 6:50am UTC](https://discourse.itk.org/t/simpleitk-simpleelastix-cant-install-different-release-versions/6272 "2024-04-22T06:50:37Z")

</div>

Hello, I am trying to download SimpleITK-SImpleElastix 2.0.0rc2.dev910 from SimpleITK-SimpleElastix · PyPI using pip, but the following error appears: ERROR: Could not find a version that satisfies the requirement Sim…

---

## [ITK ERROR: CUDA ERROR: out of memory](https://discourse.itk.org/t/itk-error-cuda-error-out-of-memory/6583)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 4\
**Last updated:** [April 19, 2024, 12:51am UTC](https://discourse.itk.org/t/itk-error-cuda-error-out-of-memory/6583 "2024-04-19T00:51:35Z")

</div>

My data size is 5.03G with type uint16. When use FDK to reconstrunction the data type will cast into float, so my data size is 10.04G. And my output size set to 1.31G. According to this setting to reconstructing data by …

---

## [How to preprocess diffusion MRI?](https://discourse.itk.org/t/how-to-preprocess-diffusion-mri/6581)

<div class="topic-metadata">

**Author:** [@Sunita\_Patel](https://discourse.itk.org/u/Sunita_Patel)\
**Replies:** 2\
**Last updated:** [April 18, 2024, 10:19am UTC](https://discourse.itk.org/t/how-to-preprocess-diffusion-mri/6581 "2024-04-18T10:19:19Z")

</div>

Dear SITK-users How to preprocess diffusion MRI DICOM images? So far we have been using publicly available processed DWI nifti file and the given .bvec and .bval files. Now, we would like to do preprocessing from DICOM …

---

## [ITK Affine transform doesn't translate the image as expected](https://discourse.itk.org/t/itk-affine-transform-doesnt-translate-the-image-as-expected/6584)

<div class="topic-metadata">

**Author:** [@Erezke](https://discourse.itk.org/u/Erezke)\
**Replies:** 0\
**Last updated:** [April 18, 2024, 5:45am UTC](https://discourse.itk.org/t/itk-affine-transform-doesnt-translate-the-image-as-expected/6584 "2024-04-18T05:45:40Z")

</div>

Hi I am trying to translate a DICOM image using an affine transform to a new position, but when I compare the centers of both images (before/after) it seems like the image did not move. Following is the code I use: ...…

---

## [\[Question\] Python not found during compilation](https://discourse.itk.org/t/question-python-not-found-during-compilation/6580)

<div class="topic-metadata">

**Author:** [@Suzaku](https://discourse.itk.org/u/Suzaku)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 1:03pm UTC](https://discourse.itk.org/t/question-python-not-found-during-compilation/6580 "2024-04-17T13:03:15Z")

</div>

Hi, I’m trying to compile SimpleITK with SimpleElastix in a ubuntu 20.04.6 LTS system. I’ve used the following command as suggested in the documentation: git clone GitHub - SimpleITK/SimpleITK: SimpleITK: a layer built o…

---

## [Fill small holes in the segmentation label image](https://discourse.itk.org/t/fill-small-holes-in-the-segmentation-label-image/6575)

<div class="topic-metadata">

**Author:** [@G\_Y](https://discourse.itk.org/u/G_Y)\
**Replies:** 6\
**Last updated:** [April 16, 2024, 2:16pm UTC](https://discourse.itk.org/t/fill-small-holes-in-the-segmentation-label-image/6575 "2024-04-16T14:16:01Z")

</div>

Hi all, I have done a Sitk.MorphologicalWatershed to my image and got a label image, I find there are some small segments of one or two pixels, or like this little “cross”: What would be the best filter/way to fill th…

---

## [Landmark Image Registration of Images with different Resolutions](https://discourse.itk.org/t/landmark-image-registration-of-images-with-different-resolutions/6573)

<div class="topic-metadata">

**Author:** [@luviku](https://discourse.itk.org/u/luviku)\
**Replies:** 2\
**Last updated:** [April 16, 2024, 7:16am UTC](https://discourse.itk.org/t/landmark-image-registration-of-images-with-different-resolutions/6573 "2024-04-16T07:16:24Z")

</div>

Hello everyone, I am a beginner so please forgive me if this is a basic question. I am working on registering Spectralis SLO images with OCT-A images. I am using landmarks to identify points on vessels, which correlate …

---

## [Failed to import SimpleITK in Python following its installation through miniconda on Win11-x64](https://discourse.itk.org/t/failed-to-import-simpleitk-in-python-following-its-installation-through-miniconda-on-win11-x64/6460)

<div class="topic-metadata">

**Author:** [@ms-hashemi](https://discourse.itk.org/u/ms-hashemi)\
**Replies:** 4\
**Last updated:** [April 15, 2024, 3:35pm UTC](https://discourse.itk.org/t/failed-to-import-simpleitk-in-python-following-its-installation-through-miniconda-on-win11-x64/6460 "2024-04-15T15:35:28Z")

</div>

Hi everyone, I would like to work with SimpleITK in Python. It seems that it has been installed successfully via miniconda on my Win11-x64 system, but when I try to import it in the interactive environment of Python, I …

---

## [Challenges with itk.simple.SimpleITKPINVOKE+SWIGExceptionHelper in Unity il2cpp Final Build](https://discourse.itk.org/t/challenges-with-itk-simple-simpleitkpinvoke-swigexceptionhelper-in-unity-il2cpp-final-build/6566)

<div class="topic-metadata">

**Author:** [@Anton\_Smirnov](https://discourse.itk.org/u/Anton_Smirnov)\
**Replies:** 1\
**Last updated:** [April 15, 2024, 1:38pm UTC](https://discourse.itk.org/t/challenges-with-itk-simple-simpleitkpinvoke-swigexceptionhelper-in-unity-il2cpp-final-build/6566 "2024-04-15T13:38:39Z")

</div>

Good day, esteemed forum members! I am developing an application on Unity il2cpp and am using the SimpleITK library, compiled through SuperBuild for C#. Everything works perfectly in the Unity editor, but during the fin…

---

## [Sitk C# Scale Image Up](https://discourse.itk.org/t/sitk-c-scale-image-up/6561)

<div class="topic-metadata">

**Author:** [@G\_Y](https://discourse.itk.org/u/G_Y)\
**Replies:** 4\
**Last updated:** [April 12, 2024, 2:22pm UTC](https://discourse.itk.org/t/sitk-c-scale-image-up/6561 "2024-04-12T14:22:30Z")

</div>

Hi all, I want to scale up an image twice as big using Sitk C#: var img = Sitk.ReadImage(file); var scale = new ScaleTransform(2, new VectorDouble(2) { 0.5, 0.5 }); var imageScaled = Sitk.Resample(img, scale, Interpolat…

---

## [Copy headers / metadata between segmentations of different resolutions](https://discourse.itk.org/t/copy-headers-metadata-between-segmentations-of-different-resolutions/6558)

<div class="topic-metadata">

**Author:** [@Cristobal\_Rodero](https://discourse.itk.org/u/Cristobal_Rodero)\
**Replies:** 1\
**Last updated:** [April 9, 2024, 7:28pm UTC](https://discourse.itk.org/t/copy-headers-metadata-between-segmentations-of-different-resolutions/6558 "2024-04-09T19:28:37Z")

</div>

I have a coarse segmentation that I smooth, and the smoothing techniques overwrites the header. I want to retrieve the original one but I have had no success so far. The headers are \_, coarse\_header = nrrd.re…

---

## [SpatialObject.IsInsideInWorldSpace(point) much faster now!](https://discourse.itk.org/t/spatialobject-isinsideinworldspace-point-much-faster-now/6425)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 3\
**Last updated:** [April 9, 2024, 8:27am UTC](https://discourse.itk.org/t/spatialobject-isinsideinworldspace-point-much-faster-now/6425 "2024-04-09T08:27:33Z")

</div>

:tada: For your information, we have just achieved a significant performance improvement! With the latest ITK master branch revision (commit PERF: Make \`m\_ObjectToWorldTransformInverse-\>TransformPoint\` non-virtual · Ins…

---

## [ITK Image Direction vs DICOM Image Orientation (Patient)](https://discourse.itk.org/t/itk-image-direction-vs-dicom-image-orientation-patient/6364)

<div class="topic-metadata">

**Author:** [@aditya](https://discourse.itk.org/u/aditya)\
**Replies:** 3\
**Last updated:** [April 9, 2024, 7:47am UTC](https://discourse.itk.org/t/itk-image-direction-vs-dicom-image-orientation-patient/6364 "2024-04-09T07:47:25Z")

</div>

I am working with a directory containing sagittal DICOM images. Here is how I obtain Image Orientation (DICOM tag 0020,0037) using pydicom. from pydicom import dcmread import os dcm\_dir = r"path/to/dicom/dir/sagittal\_a…

---

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

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 9\
**Last updated:** [April 8, 2024, 5:51pm UTC](https://discourse.itk.org/t/how-to-build-itk-5-3-0-with-python-bindings-in-linux/6544 "2024-04-08T17:51:18Z")

</div>

Hello. I would like to know if someone can help me to build ITK 5.3.0 with Python bindings in Linux. The idea is to have a reproducible build, which implies that downloading the binary packages is not an option. Thank yo…

---

## [Support ROI projection to isocenter?](https://discourse.itk.org/t/support-roi-projection-to-isocenter/6555)

<div class="topic-metadata">

**Author:** [@zhangyx007](https://discourse.itk.org/u/zhangyx007)\
**Replies:** 1\
**Last updated:** [April 7, 2024, 6:24pm UTC](https://discourse.itk.org/t/support-roi-projection-to-isocenter/6555 "2024-04-07T18:24:05Z")

</div>

ITK support ROI projection to isocenter? if support, which example can help me？ thanks。

---

## [How to do registration and resampling of T1W 3D image and the tumor mask with MNI152 template?](https://discourse.itk.org/t/how-to-do-registration-and-resampling-of-t1w-3d-image-and-the-tumor-mask-with-mni152-template/6549)

<div class="topic-metadata">

**Author:** [@Sunita\_Patel](https://discourse.itk.org/u/Sunita_Patel)\
**Replies:** 7\
**Last updated:** [April 5, 2024, 6:34pm UTC](https://discourse.itk.org/t/how-to-do-registration-and-resampling-of-t1w-3d-image-and-the-tumor-mask-with-mni152-template/6549 "2024-04-05T18:34:34Z")

</div>

Dear forum members, We have T1W 3D image and its tumor mask of shape 240 x 240 x 155. Now we want to register both image and mask to MNI152 template. MNI152 (mni\_icbm152\_t1\_nlin\_asym\_09a) shape is 197 x 233 x 189. We ar…

---

## [ITK functions need more documentation](https://discourse.itk.org/t/itk-functions-need-more-documentation/5817)

<div class="topic-metadata">

**Author:** [@imranmuet](https://discourse.itk.org/u/imranmuet)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 12:41pm UTC](https://discourse.itk.org/t/itk-functions-need-more-documentation/5817 "2024-04-03T12:41:57Z")

</div>

Dear All: I am new in this field and implementing a registration code. But when I search Simple ITK documentation, I find it unfriendly for complete beginners. For example, when I search online to understand the code \`s…

---

## [Local RLEImage compiling errors with ITK5.4](https://discourse.itk.org/t/local-rleimage-compiling-errors-with-itk5-4/6533)

<div class="topic-metadata">

**Author:** [@jilei-hao](https://discourse.itk.org/u/jilei-hao)\
**Replies:** 9\
**Last updated:** [March 29, 2024, 1:35pm UTC](https://discourse.itk.org/t/local-rleimage-compiling-errors-with-itk5-4/6533 "2024-03-29T13:35:03Z")

</div>

Hi @dzenanz, I’m compiling ITK-SNAP with ITK 5.4-rc.2 and start getting following errors from this line. Similar errors also occur when using ImageFileWriter and ImageAlgorithm etc. with RLEImage. The project is still …

---

## [How do you access the "Modality" metadata from the MHA header?](https://discourse.itk.org/t/how-do-you-access-the-modality-metadata-from-the-mha-header/6547)

<div class="topic-metadata">

**Author:** [@nicoco](https://discourse.itk.org/u/nicoco)\
**Replies:** 1\
**Last updated:** [March 28, 2024, 6:46pm UTC](https://discourse.itk.org/t/how-do-you-access-the-modality-metadata-from-the-mha-header/6547 "2024-03-28T18:46:35Z")

</div>

Some MHAs contain a “Modality” tag, which seems to be treated differently than other keys. How do we access it? Some sort of MWE: \> cat /tmp/test.mha ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMS…

---

## [Trying to understand fundamentals (how registration works with two objects in one image)](https://discourse.itk.org/t/trying-to-understand-fundamentals-how-registration-works-with-two-objects-in-one-image/6031)

<div class="topic-metadata">

**Author:** [@CrownMella](https://discourse.itk.org/u/CrownMella)\
**Replies:** 9\
**Last updated:** [March 21, 2024, 2:16pm UTC](https://discourse.itk.org/t/trying-to-understand-fundamentals-how-registration-works-with-two-objects-in-one-image/6031 "2024-03-21T14:16:42Z")

</div>

Hi, I’ve only recently started working with image registration and I just don’t get the step by step process of how it works. Let’s say I have two grayscale images: 1st image, a circle (1) and a square (2) on left side …

---

## [Differences after applying forward & inverse transform](https://discourse.itk.org/t/differences-after-applying-forward-inverse-transform/6536)

<div class="topic-metadata">

**Author:** [@Mckay42](https://discourse.itk.org/u/Mckay42)\
**Replies:** 2\
**Last updated:** [March 21, 2024, 5:54am UTC](https://discourse.itk.org/t/differences-after-applying-forward-inverse-transform/6536 "2024-03-21T05:54:18Z")

</div>

Hi all, I started using sitk a while ago and hope to use it for registration tasks in my project. While playing around with it, I tried to apply a simple Euler3D transform to my image and revert it with the the inverse…

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

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