# Latest

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

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

**Page:** 51

---

## [ninja build for simpleitk is stuck](https://discourse.itk.org/t/ninja-build-for-simpleitk-is-stuck/4184)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 0\
**Last updated:** [June 6, 2021, 5:29pm UTC](https://discourse.itk.org/t/ninja-build-for-simpleitk-is-stuck/4184 "2021-06-06T17:29:18Z")

</div>

Hi All, SimpleITK build.ninja for VM docker container linux is stuck after downloading external data SHA512/…stuck at \[898/3100\]building CXX Object code/BasicFilters/src/CMakeFiles/SimpleITK\_ITKImageGrid.dir/sitkTileIma…

---

## [SimpleITK installation in linux container](https://discourse.itk.org/t/simpleitk-installation-in-linux-container/4180)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 4:14pm UTC](https://discourse.itk.org/t/simpleitk-installation-in-linux-container/4180 "2021-06-04T16:14:39Z")

</div>

Hi All, I have tried to follow the getting started with SimpleITK in linux, I have now two folder SimpleITK, SimpleITK-build, I did run cmake …/SimpleITK/Superbuild/ from inside the SimpleITK-build, it is successfully d…

---

## [ImageRegistrationMethodv4 questions](https://discourse.itk.org/t/imageregistrationmethodv4-questions/4117)

<div class="topic-metadata">

**Author:** [@gcsharp](https://discourse.itk.org/u/gcsharp)\
**Replies:** 27\
**Last updated:** [June 3, 2021, 6:19pm UTC](https://discourse.itk.org/t/imageregistrationmethodv4-questions/4117 "2021-06-03T18:19:25Z")

</div>

Hi all. I have been investigating the ITK v4 registration framework, and have a few questions/comments for discussion. There seem to be some v3 functionality missing in v4. For example, no FRPROptimizer, no MutualInf…

---

## [Using SCIFIO for reading Whole Slide Images at different resolutions.](https://discourse.itk.org/t/using-scifio-for-reading-whole-slide-images-at-different-resolutions/4171)

<div class="topic-metadata">

**Author:** [@Jason\_Daniel](https://discourse.itk.org/u/Jason_Daniel)\
**Replies:** 2\
**Last updated:** [June 2, 2021, 2:19pm UTC](https://discourse.itk.org/t/using-scifio-for-reading-whole-slide-images-at-different-resolutions/4171 "2021-06-02T14:19:09Z")

</div>

Hi Everyone, I’m new to ITK and I am using SCIFIO to read in whole slide images from proprietary image formats: “.svs .vms .bif” etc. I want to know if it is possible to read the image in at a different resolution direct…

---

## [sitk.Resample returns empty image](https://discourse.itk.org/t/sitk-resample-returns-empty-image/4169)

<div class="topic-metadata">

**Author:** [@emirhan](https://discourse.itk.org/u/emirhan)\
**Replies:** 1\
**Last updated:** [June 2, 2021, 3:01pm UTC](https://discourse.itk.org/t/sitk-resample-returns-empty-image/4169 "2021-06-02T15:01:25Z")

</div>

I am trying to implement an atlas based segmentation model; however, when I resample after registration, I always get an image full of zeros. Registration function (input images are non empty images of size 240,240,155 …

---

## [ITK 5.2.0 has been released!](https://discourse.itk.org/t/itk-5-2-0-has-been-released/4165)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 6\
**Last updated:** [June 1, 2021, 1:23pm UTC](https://discourse.itk.org/t/itk-5-2-0-has-been-released/4165 "2021-06-01T13:23:43Z")

</div>

We are happy to announce the release of Insight Toolkit (ITK) 5.2.0! :tada: ITK is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and registration. ITK 5.2 is a featu…

---

## [How can I catch the registered slices in 'moving\_resampled' and save them in a folder?](https://discourse.itk.org/t/how-can-i-catch-the-registered-slices-in-moving-resampled-and-save-them-in-a-folder/4170)

<div class="topic-metadata">

**Author:** [@Aya\_Hassan](https://discourse.itk.org/u/Aya_Hassan)\
**Replies:** 2\
**Last updated:** [May 31, 2021, 2:56pm UTC](https://discourse.itk.org/t/how-can-i-catch-the-registered-slices-in-moving-resampled-and-save-them-in-a-folder/4170 "2021-05-31T14:56:18Z")

</div>

Hello Everyone, I have done registration between MRI and CT scans, and I wanna save the output of registered slices? import matplotlib.pyplot as plt import SimpleITK as sitk from ipywidgets import interact, fixed from …

---

## [Difficulties installing ITK4.10.0 as rusage be no longer used](https://discourse.itk.org/t/difficulties-installing-itk4-10-0-as-rusage-be-no-longer-used/4166)

<div class="topic-metadata">

**Author:** [@mausam](https://discourse.itk.org/u/mausam)\
**Replies:** 1\
**Last updated:** [May 28, 2021, 2:43pm UTC](https://discourse.itk.org/t/difficulties-installing-itk4-10-0-as-rusage-be-no-longer-used/4166 "2021-05-28T14:43:25Z")

</div>

I am trying to install itk4.10.0 version, However, I am getting the following error. I have attempted to google the answer but have not found anything. Any and all help would be very much appreciated! \*\*InsightToolkit-4…

---

## [RuntimeError: No suitable template parameter can be found](https://discourse.itk.org/t/runtimeerror-no-suitable-template-parameter-can-be-found/4159)

<div class="topic-metadata">

**Author:** [@nbob](https://discourse.itk.org/u/nbob)\
**Replies:** 14\
**Last updated:** [May 28, 2021, 1:32pm UTC](https://discourse.itk.org/t/runtimeerror-no-suitable-template-parameter-can-be-found/4159 "2021-05-28T13:32:43Z")

</div>

Hello, I am trying to replicate the code from this notebook ITK-Watershed to Label Bubbles | Kaggle for 3D watershed segmentation locally. It runs in the notebook, however, locally, itk.GetArrayFromImage(watershedOp) yi…

---

## [Isotropic resampling of a CT scan](https://discourse.itk.org/t/isotropic-resampling-of-a-ct-scan/4160)

<div class="topic-metadata">

**Author:** [@mattwarkentin](https://discourse.itk.org/u/mattwarkentin)\
**Replies:** 10\
**Last updated:** [May 27, 2021, 6:02pm UTC](https://discourse.itk.org/t/isotropic-resampling-of-a-ct-scan/4160 "2021-05-27T18:02:02Z")

</div>

Hi, I am working on resampling and interpolating some CT scans to have isotropic voxel spacing (\[1, 1, 1\]). I have tried two approaches that both execute without error, but I am not sure why the first approach looks odd…

---

## [ITKMontage double-conversion problem](https://discourse.itk.org/t/itkmontage-double-conversion-problem/4155)

<div class="topic-metadata">

**Author:** [@lambdamoses](https://discourse.itk.org/u/lambdamoses)\
**Replies:** 1\
**Last updated:** [May 25, 2021, 10:53pm UTC](https://discourse.itk.org/t/itkmontage-double-conversion-problem/4155 "2021-05-25T22:53:54Z")

</div>

I built ITK 5.2, pulled from GitHub, and built ITKMontage and the examples. It did build successfully. Then I tried to run ITKMontage’s example CompleteMontage. The ITKMontage examples come with a CMakeLists.txt. When I …

---

## [SimpleITK 2.1 Release Candidate 1](https://discourse.itk.org/t/simpleitk-2-1-release-candidate-1/4153)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [May 24, 2021, 8:18pm UTC](https://discourse.itk.org/t/simpleitk-2-1-release-candidate-1/4153 "2021-05-24T20:18:28Z")

</div>

Announcement Announcing the SimpleITK 2.1 Release Candidate 1! Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any compatibility problems. Installing SimpleITK C…

---

## [How to merge two 3D label images ?](https://discourse.itk.org/t/how-to-merge-two-3d-label-images/4149)

<div class="topic-metadata">

**Author:** [@Hugo](https://discourse.itk.org/u/Hugo)\
**Replies:** 4\
**Last updated:** [May 24, 2021, 5:30pm UTC](https://discourse.itk.org/t/how-to-merge-two-3d-label-images/4149 "2021-05-24T17:30:23Z")

</div>

I have two sources for labels on the same scan. img1 contains labels \[0, 1, 4\] and img2 contains labels \[0, 2, 3\]. Those two images are coregistered, and I’d like to transfer the labels from img2 to img1. So I have on…

---

## [Resample multimodality image mismatch](https://discourse.itk.org/t/resample-multimodality-image-mismatch/4151)

<div class="topic-metadata">

**Author:** [@AmericaBG](https://discourse.itk.org/u/AmericaBG)\
**Replies:** 1\
**Last updated:** [May 24, 2021, 1:22pm UTC](https://discourse.itk.org/t/resample-multimodality-image-mismatch/4151 "2021-05-24T13:22:58Z")

</div>

Hi! I’m trying to create a new 3D image from two medical images (stir=fixed image and axial 3d=moving image). This new image is wanted to be in the same space that the STIR image. I’ve tried with sitk.resampleimage. W…

---

## [Codes for registration framework for fast alignment of 2D and 3D](https://discourse.itk.org/t/codes-for-registration-framework-for-fast-alignment-of-2d-and-3d/4144)

<div class="topic-metadata">

**Author:** [@amitjaiswal](https://discourse.itk.org/u/amitjaiswal)\
**Replies:** 4\
**Last updated:** [May 22, 2021, 10:41am UTC](https://discourse.itk.org/t/codes-for-registration-framework-for-fast-alignment-of-2d-and-3d/4144 "2021-05-22T10:41:37Z")

</div>

Registration framework for fast alignment of 2D and 3D intra and inter-modality images using rigid or deformable transformations. Is the code available for the second example (animation) given at https://simpleitk.org/ …

---

## [How to distribute both debug and release binaries (windows)](https://discourse.itk.org/t/how-to-distribute-both-debug-and-release-binaries-windows/4139)

<div class="topic-metadata">

**Author:** [@sullivak](https://discourse.itk.org/u/sullivak)\
**Replies:** 4\
**Last updated:** [May 21, 2021, 2:52pm UTC](https://discourse.itk.org/t/how-to-distribute-both-debug-and-release-binaries-windows/4139 "2021-05-21T14:52:48Z")

</div>

What I would like to do is build ITK once, and then each member of the team can just copy the built version for building our projects linking to ITK, rather than everyone building locally. However I have not been able to…

---

## [Getting HU values after loading volume](https://discourse.itk.org/t/getting-hu-values-after-loading-volume/4142)

<div class="topic-metadata">

**Author:** [@anillspawar](https://discourse.itk.org/u/anillspawar)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 5:40pm UTC](https://discourse.itk.org/t/getting-hu-values-after-loading-volume/4142 "2021-05-20T17:40:49Z")

</div>

Do we need to convert pixel values to HU values after reading CT volumes using simpleITK. Code I am using for reading volume: reader = SimpleITK.ImageSeriesReader() filenamesDICOM = reader.GetGDCMSeriesFileNames(pathD…

---

## [Systematic kernel crash when using interpolator.Evaluate inside loop (python)](https://discourse.itk.org/t/systematic-kernel-crash-when-using-interpolator-evaluate-inside-loop-python/4121)

<div class="topic-metadata">

**Author:** [@Benjamin-Fouquet](https://discourse.itk.org/u/Benjamin-Fouquet)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 5:44pm UTC](https://discourse.itk.org/t/systematic-kernel-crash-when-using-interpolator-evaluate-inside-loop-python/4121 "2021-05-19T17:44:38Z")

</div>

Hello there, I just started to fiddle with itk at the lab. What I was trying to do is to fetch the texture of a nifti image and plug it to a corresponding mesh, interpolating a pixel intensity value as needed. Code look…

---

## [error building v5.1.1 for Mac Big Sur 11.2.3](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.itk.org/u/Christian)\
**Replies:** 7\
**Last updated:** [May 19, 2021, 2:56pm UTC](https://discourse.itk.org/t/error-building-v5-1-1-for-mac-big-sur-11-2-3/3959 "2021-05-19T14:56:30Z")

</div>

Hi Guys, I am getting this error when trying to build (I used the option Module\_ITKVtkGlue=ON) and make v5.1.1 for Mac Big Sur 11.2.3. \[ 40%\] Building CXX object Modules/Core/Common/src/CMakeFiles/ITKCommon.dir/itkFloa…

---

## [BSplineTransform object has no attribute SetCoefficientImages](https://discourse.itk.org/t/bsplinetransform-object-has-no-attribute-setcoefficientimages/4136)

<div class="topic-metadata">

**Author:** [@ctorti](https://discourse.itk.org/u/ctorti)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 7:13am UTC](https://discourse.itk.org/t/bsplinetransform-object-has-no-attribute-setcoefficientimages/4136 "2021-05-19T07:13:07Z")

</div>

I used SimpleITK v1.2 to perform a BSpline image registation. I used BSplineTransformInitializer to initialize the registration: MeshSize = \[NumControlPts\] \* MovIm.GetDimension() InitialTx = sitk.BSplineTransformIniti…

---

## [How to slim down ITK install based on required functions?](https://discourse.itk.org/t/how-to-slim-down-itk-install-based-on-required-functions/4134)

<div class="topic-metadata">

**Author:** [@AshishUthama](https://discourse.itk.org/u/AshishUthama)\
**Replies:** 10\
**Last updated:** [May 17, 2021, 6:12pm UTC](https://discourse.itk.org/t/how-to-slim-down-itk-install-based-on-required-functions/4134 "2021-05-17T18:12:19Z")

</div>

Hi I am trying to build ITK WITHOUT any of the IO modules. I cant seem to figure out the required cmake switches to do this. Lets say I only need registration functions: -DITKGroup\_Registration:BOOL=ON -DITK\_BUILD\_D…

---

## [Image format for exercise 1.7 Extracting Slices](https://discourse.itk.org/t/image-format-for-exercise-1-7-extracting-slices/4085)

<div class="topic-metadata">

**Author:** [@rohit\_inippully](https://discourse.itk.org/u/rohit_inippully)\
**Replies:** 3\
**Last updated:** [May 14, 2021, 2:28pm UTC](https://discourse.itk.org/t/image-format-for-exercise-1-7-extracting-slices/4085 "2021-05-14T14:28:56Z")

</div>

Hi, I am going through the guide for ITK. I am not sure which image file format I need to use for exercise 1.7 to extract a slice. Could anyone please advise? thank you.

---

## [ITK 5.2.0 with system HDF5 - condaforge](https://discourse.itk.org/t/itk-5-2-0-with-system-hdf5-condaforge/4130)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 3\
**Last updated:** [May 14, 2021, 1:03pm UTC](https://discourse.itk.org/t/itk-5-2-0-with-system-hdf5-condaforge/4130 "2021-05-14T13:03:45Z")

</div>

Hello, I am working on updating the conda-forge libitk package for ITK 5.2.0. The package uses the condo-forge hdf5 library instead of the ITK’s thirdparty HDF5 module. The compilation of ITK is fine. But when testing …

---

## [SimpleITK on Android](https://discourse.itk.org/t/simpleitk-on-android/4126)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.itk.org/u/hina-shah)\
**Replies:** 1\
**Last updated:** [May 13, 2021, 1:02pm UTC](https://discourse.itk.org/t/simpleitk-on-android/4126 "2021-05-13T13:02:13Z")

</div>

Hi All, We are looking into building a small app that reads ultrasound cines (basically dicom files) and processes them on mobile devices. It looks like SimpleITK has Java support, but I was wondering if there are any o…

---

## [Bilinear interpolation behavior SimpleITK](https://discourse.itk.org/t/bilinear-interpolation-behavior-simpleitk/4123)

<div class="topic-metadata">

**Author:** [@nhjnhjnhj](https://discourse.itk.org/u/nhjnhjnhj)\
**Replies:** 2\
**Last updated:** [May 12, 2021, 12:59pm UTC](https://discourse.itk.org/t/bilinear-interpolation-behavior-simpleitk/4123 "2021-05-12T12:59:07Z")

</div>

Hi, This code bilinear\_inter.py · GitHub compares how linear interpolation is implemented in opencv, pytorch and simpleitk libraries. The input array is: \[\[1, 2\], \[3, 4\]\] The output of this script is the following: …

---

## [Create a mask filling holes of the image](https://discourse.itk.org/t/create-a-mask-filling-holes-of-the-image/4116)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.itk.org/u/zandarina)\
**Replies:** 3\
**Last updated:** [May 11, 2021, 2:22pm UTC](https://discourse.itk.org/t/create-a-mask-filling-holes-of-the-image/4116 "2021-05-11T14:22:03Z")

</div>

Hello, I have a question, I want to remove the table of dicom files. For that, I do an “open” to remove the table and an “close” to fill the image as a mask. The problem comes with “close” to fill in the image with a bi…

---

## [bug or feature SLIC SuperPixel Segmentation?](https://discourse.itk.org/t/bug-or-feature-slic-superpixel-segmentation/4091)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 11\
**Last updated:** [May 11, 2021, 1:16pm UTC](https://discourse.itk.org/t/bug-or-feature-slic-superpixel-segmentation/4091 "2021-05-11T13:16:56Z")

</div>

I am trying to use the SLIC SuperPixel Segmentation algorithm in ITK. However, it seems to behave in a strange way, generating areas that contain pixel values with very high intensity variations (for instance the eye re…

---

## [Visualize registered images?](https://discourse.itk.org/t/visualize-registered-images/4114)

<div class="topic-metadata">

**Author:** [@Aya\_Hassan](https://discourse.itk.org/u/Aya_Hassan)\
**Replies:** 3\
**Last updated:** [May 10, 2021, 7:38pm UTC](https://discourse.itk.org/t/visualize-registered-images/4114 "2021-05-10T19:38:56Z")

</div>

I want to visualize the two registered images to show more details … How can I do that?

---

## [Faster debug exes in Visual Studio](https://discourse.itk.org/t/faster-debug-exes-in-visual-studio/4112)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 0\
**Last updated:** [May 10, 2021, 4:32pm UTC](https://discourse.itk.org/t/faster-debug-exes-in-visual-studio/4112 "2021-05-10T16:32:54Z")

</div>

Microsoft recently announced some important performance improvements for debug builds. I hope ITK-based applications will benefit from this a lot, as the difference between debug and release builds is an order of magnitu…

---

## [long run-time issues medical image registration](https://discourse.itk.org/t/long-run-time-issues-medical-image-registration/2811)

<div class="topic-metadata">

**Author:** [@moeez](https://discourse.itk.org/u/moeez)\
**Replies:** 26\
**Last updated:** [March 13, 2020, 9:12am UTC](https://discourse.itk.org/t/long-run-time-issues-medical-image-registration/2811 "2020-03-13T09:12:04Z")

</div>

Hello, I am a beginner at coding in python and using Simple ITK. I am doing a non-rigid registration of 2 set of CT from differents patients and I am facing severals issues… The first one is the error : “Failed to all…

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

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