# Uncategorized

**URL:** https://discourse.itk.org/c/uncategorized/1.md?page=1

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

**Page:** 2

---

## [Functional Interface (Python) to itk::ExtractImageFilter, itk.extract\_image\_filter(img, ...) — What Are The Rest Of The Parameters?](https://discourse.itk.org/t/functional-interface-python-to-itk-extractimagefilter-itk-extract-image-filter-img-what-are-the-rest-of-the-parameters/7248)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 4\
**Last updated:** [November 13, 2024, 5:24am UTC](https://discourse.itk.org/t/functional-interface-python-to-itk-extractimagefilter-itk-extract-image-filter-img-what-are-the-rest-of-the-parameters/7248 "2024-11-13T05:24:19Z")

</div>

I’m trying to play with the functional Python interface to ITK filters, but I’m a bit lost in trying to figure out what parameters to use. For example, this doesn’t make things clear: help(itk.extract\_image\_filter) Hel…

---

## [Resampling mask to avoid 0s](https://discourse.itk.org/t/resampling-mask-to-avoid-0s/7304)

<div class="topic-metadata">

**Author:** [@rtlim](https://discourse.itk.org/u/rtlim)\
**Replies:** 6\
**Last updated:** [November 11, 2024, 10:54pm UTC](https://discourse.itk.org/t/resampling-mask-to-avoid-0s/7304 "2024-11-11T22:54:44Z")

</div>

I have a 3D map of values that I need to resample, and the map is positive in one region and the rest of the image has zeros. The data format is float 64. However, I only want to resample the non-zero values and avoid in…

---

## [Error happened at Release Mode of Forward1DFFTImageFilter](https://discourse.itk.org/t/error-happened-at-release-mode-of-forward1dfftimagefilter/7287)

<div class="topic-metadata">

**Author:** [@SuperTXUH](https://discourse.itk.org/u/SuperTXUH)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 4:22pm UTC](https://discourse.itk.org/t/error-happened-at-release-mode-of-forward1dfftimagefilter/7287 "2024-10-30T16:22:51Z")

</div>

I have codes below which is running correctly under Debugmode using PixelType = float; constexpr unsigned int Dimension = 3; using ImageType = itk::Image\<PixelType, Dimension\>; using ComplexImageType = itk::Image\<comple…

---

## [Maintenance downtime](https://discourse.itk.org/t/maintenance-downtime/7262)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 0\
**Last updated:** [October 15, 2024, 4:43pm UTC](https://discourse.itk.org/t/maintenance-downtime/7262 "2024-10-15T16:43:17Z")

</div>

We plan to perform maintenance on Kitware’s primary web server Thursday, October 17th, between 07:00 AM and 09:00 AM EDT. During this time, sites hosted on this server will experience intermittent downtime. This includes…

---

## [Visual Studio 2022 - cannot build project](https://discourse.itk.org/t/visual-studio-2022-cannot-build-project/7252)

<div class="topic-metadata">

**Author:** [@Knut](https://discourse.itk.org/u/Knut)\
**Replies:** 2\
**Last updated:** [October 10, 2024, 2:03pm UTC](https://discourse.itk.org/t/visual-studio-2022-cannot-build-project/7252 "2024-10-10T14:03:30Z")

</div>

I try to compile InsightToolkit-5.4rc01 on Win10 with cmake and VisualStudio 2022. cmake error: CMake Error at Modules/ThirdParty/VNL/src/vxl/CMakeLists.txt:222 (message): You cannot have a + in your binary path CMak…

---

## [Apply 1D FFT along specified dimension (row or column) using SimpleITK is SLOW](https://discourse.itk.org/t/apply-1d-fft-along-specified-dimension-row-or-column-using-simpleitk-is-slow/7247)

<div class="topic-metadata">

**Author:** [@SuperTXUH](https://discourse.itk.org/u/SuperTXUH)\
**Replies:** 10\
**Last updated:** [October 9, 2024, 1:47pm UTC](https://discourse.itk.org/t/apply-1d-fft-along-specified-dimension-row-or-column-using-simpleitk-is-slow/7247 "2024-10-09T13:47:57Z")

</div>

Hello, I am using sitk::ForwardFFT in C++ to apply 1D FFT on each row or column on a 2D image. However, I found the processing speed is quite slow even using buffer operations. Is there any built-in function in SimpleI…

---

## [How to install ITK in windows](https://discourse.itk.org/t/how-to-install-itk-in-windows/2490)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 12\
**Last updated:** [September 3, 2024, 6:23pm UTC](https://discourse.itk.org/t/how-to-install-itk-in-windows/2490 "2024-09-03T18:23:28Z")

</div>

I am using VS2019 , CMake and ITK 5.01 But after ALL\_BUILD in VS2019 I am ending with the above errors.

---

## [Problem with image visualisation on jupyterlab 4.0.10](https://discourse.itk.org/t/problem-with-image-visualisation-on-jupyterlab-4-0-10/6743)

<div class="topic-metadata">

**Author:** [@nvkvc](https://discourse.itk.org/u/nvkvc)\
**Replies:** 6\
**Last updated:** [July 23, 2024, 3:47am UTC](https://discourse.itk.org/t/problem-with-image-visualisation-on-jupyterlab-4-0-10/6743 "2024-07-23T03:47:57Z")

</div>

I have jupyterlab installed on docker image and I’ve also installed some additional libraries to the image like PyImageJ with ITKWidgets. However, when i try to visualise something using itk library I only got object pr…

---

## [API Documentation for ITK's Functional Pythonic Interface](https://discourse.itk.org/t/api-documentation-for-itks-functional-pythonic-interface/6741)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 1\
**Last updated:** [July 23, 2024, 3:43am UTC](https://discourse.itk.org/t/api-documentation-for-itks-functional-pythonic-interface/6741 "2024-07-23T03:43:48Z")

</div>

Greetings Everyone! I’ve been exploring ITK’s Functional Pythonic Interface, as it is briefly mentioned in Python Quick Start (Python Quick Start - ITK's documentation) — it is absolutely yummy, delicious and just aweso…

---

## [Update a Remote Module for ITK 5.4](https://discourse.itk.org/t/update-a-remote-module-for-itk-5-4/6725)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 3\
**Last updated:** [July 23, 2024, 3:22am UTC](https://discourse.itk.org/t/update-a-remote-module-for-itk-5-4/6725 "2024-07-23T03:22:31Z")

</div>

Hello, Is there any documentation or links to assist me with updated the SimpleITKFilters for ITK 5.4 and getting the packaging system working? It does not look like the repo as received any recent attention. Thanks, …

---

## [itkImageUC2.SetPixel(index, value) Does Not Like numpy.uint8 Values, which are \[0, 255\] As Expected](https://discourse.itk.org/t/itkimageuc2-setpixel-index-value-does-not-like-numpy-uint8-values-which-are-0-255-as-expected/6694)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 1\
**Last updated:** [July 19, 2024, 7:25pm UTC](https://discourse.itk.org/t/itkimageuc2-setpixel-index-value-does-not-like-numpy-uint8-values-which-are-0-255-as-expected/6694 "2024-07-19T19:25:06Z")

</div>

Hello Everyone, Say, in Python I have a numpy.uint8 value within \[0, 255\] range, but Python’s ITK bindings are quick to point out: TypeError: in method ‘itkImageUC2\_SetPixel’, argument 3 of type ‘unsigned char’ And, w…

---

## [Image Spacing Value Interactions in ITK Python Wrapping](https://discourse.itk.org/t/image-spacing-value-interactions-in-itk-python-wrapping/6707)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 8\
**Last updated:** [July 12, 2024, 8:48pm UTC](https://discourse.itk.org/t/image-spacing-value-interactions-in-itk-python-wrapping/6707 "2024-07-12T20:48:49Z")

</div>

Dear, esteemed… Here’s an easy question for your consideration. Say, I’m having this sort of interaction with ITK in Python console: oif = itk.SpatialObjectToImageFilter\[itk.SpatialObject\[2\], itk.Image\[itk.UC, 2\]\].New()…

---

## [SimpleITK - Convert .txt to .h5](https://discourse.itk.org/t/simpleitk-convert-txt-to-h5/7041)

<div class="topic-metadata">

**Author:** [@smeisler](https://discourse.itk.org/u/smeisler)\
**Replies:** 5\
**Last updated:** [July 11, 2024, 1:48pm UTC](https://discourse.itk.org/t/simpleitk-convert-txt-to-h5/7041 "2024-07-11T13:48:08Z")

</div>

Hello community, I have a .txt file describing a 6-param rigid body alignment output from AFNI 3dvolreg, converted to ITK style. It has 383 transforms, each one corresponding to a volume to the timeseries it is associat…

---

## [Add some sign-up filtering to avoid spam](https://discourse.itk.org/t/add-some-sign-up-filtering-to-avoid-spam/6891)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 3\
**Last updated:** [July 10, 2024, 2:21am UTC](https://discourse.itk.org/t/add-some-sign-up-filtering-to-avoid-spam/6891 "2024-07-10T02:21:39Z")

</div>

The amount of noise will make users to unsubscribe. Not sure what is the best way to filter-out these spammers, but must be a way to filter sign-ups. Maybe discourse can send a confirmation email to fully validate s…

---

## [A Colour filter error: ITK Montage Module](https://discourse.itk.org/t/a-colour-filter-error-itk-montage-module/6737)

<div class="topic-metadata">

**Author:** [@sleepingcat4](https://discourse.itk.org/u/sleepingcat4)\
**Replies:** 4\
**Last updated:** [July 1, 2024, 5:59pm UTC](https://discourse.itk.org/t/a-colour-filter-error-itk-montage-module/6737 "2024-07-01T17:59:29Z")

</div>

I encountered a similar problem like before mentioned in this thread (Stacking Z dimension images using SimpleITK - #22 by sleepingcat4) I tried to wrap and the error were persistent. Any help would be amazing : ) CODE: …

---

## [cxx355: Requested region is (at least partially) outside the largest possible region.](https://discourse.itk.org/t/cxx355-requested-region-is-at-least-partially-outside-the-largest-possible-region/6729)

<div class="topic-metadata">

**Author:** [@wta](https://discourse.itk.org/u/wta)\
**Replies:** 2\
**Last updated:** [June 28, 2024, 1:57pm UTC](https://discourse.itk.org/t/cxx355-requested-region-is-at-least-partially-outside-the-largest-possible-region/6729 "2024-06-28T13:57:34Z")

</div>

I am very sorry for taking up everyone’s time! I’m using the ITK-SNAP 4.2 executable, but I can’t open the DOM image, but I can’t understand at all why that’s the case, because all my previous images opened,and finished…

---

## [TubeTk - Installation](https://discourse.itk.org/t/tubetk-installation/1938)

<div class="topic-metadata">

**Author:** [@Pooja\_Virkar](https://discourse.itk.org/u/Pooja_Virkar)\
**Replies:** 5\
**Last updated:** [June 27, 2024, 5:23pm UTC](https://discourse.itk.org/t/tubetk-installation/1938 "2024-06-27T17:23:05Z")

</div>

Hello, I would like to segment blood vessels for my project. I heard that TubeTK is good for this purpose. I am trying to install it on my Linux computer. And I am using ITK version 4.13.2 But i am getting following e…

---

## [ITK Registration Framework Help Needed for Multimodal Image Analysis](https://discourse.itk.org/t/itk-registration-framework-help-needed-for-multimodal-image-analysis/6706)

<div class="topic-metadata">

**Author:** [@Kelvin](https://discourse.itk.org/u/Kelvin)\
**Replies:** 2\
**Last updated:** [June 22, 2024, 6:32pm UTC](https://discourse.itk.org/t/itk-registration-framework-help-needed-for-multimodal-image-analysis/6706 "2024-06-22T18:32:23Z")

</div>

Hello Everyone :hugs:, For my current research, which involves multimodal image processing, I need some help understanding how to use the ITK registration framework. For my project, I align brain CT and MRI pictures so…

---

## [How to combine multiple Binary Label Images to form one grayscale image?](https://discourse.itk.org/t/how-to-combine-multiple-binary-label-images-to-form-one-grayscale-image/6693)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 3\
**Last updated:** [June 15, 2024, 10:53am UTC](https://discourse.itk.org/t/how-to-combine-multiple-binary-label-images-to-form-one-grayscale-image/6693 "2024-06-15T10:53:31Z")

</div>

Hello, I have four binary label images representing four types of tissues in a tumor within the brain. I want to combine these four images into one image, and give different intensity values to each tissue. The goal is …

---

## [Reading In Videofluoroscopy (VFS) AVIs, Converting to DICOM Series?](https://discourse.itk.org/t/reading-in-videofluoroscopy-vfs-avis-converting-to-dicom-series/6692)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 9\
**Last updated:** [June 14, 2024, 12:03am UTC](https://discourse.itk.org/t/reading-in-videofluoroscopy-vfs-avis-converting-to-dicom-series/6692 "2024-06-14T00:03:43Z")

</div>

Hello Everyone. I have a bunch of Videofluoroscopy (VFS) studies exported off the scanner in .avi format… I’m not surprised to see itk.imread('movi\_xyz.avi') in Python to tell me: RuntimeError: Could not create IO obj…

---

## [Similarity measure](https://discourse.itk.org/t/similarity-measure/4680)

<div class="topic-metadata">

**Author:** [@wangjun456](https://discourse.itk.org/u/wangjun456)\
**Replies:** 8\
**Last updated:** [June 13, 2024, 10:22am UTC](https://discourse.itk.org/t/similarity-measure/4680 "2024-06-13T10:22:28Z")

</div>

I want to combine two similarity measures in ITK. What should I do?

---

## [Does Paraview support exporting/converting to dwg files?](https://discourse.itk.org/t/does-paraview-support-exporting-converting-to-dwg-files/6683)

<div class="topic-metadata">

**Author:** [@QuanNguyen](https://discourse.itk.org/u/QuanNguyen)\
**Replies:** 1\
**Last updated:** [June 10, 2024, 2:47pm UTC](https://discourse.itk.org/t/does-paraview-support-exporting-converting-to-dwg-files/6683 "2024-06-10T14:47:12Z")

</div>

Dear Admin Admin, please help me. Does lib ITK have support exporting/converting to dwg files with the free version? Thanks!

---

## [Migration from setup.py to pyproject.toml for ITK modules](https://discourse.itk.org/t/migration-from-setup-py-to-pyproject-toml-for-itk-modules/6678)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 2\
**Last updated:** [June 6, 2024, 8:54pm UTC](https://discourse.itk.org/t/migration-from-setup-py-to-pyproject-toml-for-itk-modules/6678 "2024-06-06T20:54:17Z")

</div>

I have been quite busy preparing RTK wheels compatible with ITK v5.4.0. For Python 3.12 compatibility, I have migrated the setup.py to pyproject.toml see BUG: Fix Python wheel name of Cuda versions by SimonRit · Pull Req…

---

## [nii image not displaying with SimpleITK gui](https://discourse.itk.org/t/nii-image-not-displaying-with-simpleitk-gui/6667)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 2\
**Last updated:** [June 2, 2024, 3:19pm UTC](https://discourse.itk.org/t/nii-image-not-displaying-with-simpleitk-gui/6667 "2024-06-02T15:19:49Z")

</div>

I have a 3D nii image representing the ROI of tumor region in brain. It is displaying properly with Slicer. However, when I try to display the same image using SimpleITK gui, I see a black image. My SimpleITK code is …

---

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

---

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

---

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

---

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

---

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

---

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

[Previous page](https://discourse.itk.org/c/uncategorized/1.md)

[Next page](https://discourse.itk.org/c/uncategorized/1.md?page=2)
