# Latest

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

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

**Page:** 11

---

## [How to pass double\* of C++ in python?](https://discourse.itk.org/t/how-to-pass-double-of-c-in-python/6716)

<div class="topic-metadata">

**Author:** [@guo7212](https://discourse.itk.org/u/guo7212)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 7:26am UTC](https://discourse.itk.org/t/how-to-pass-double-of-c-in-python/6716 "2024-07-25T07:26:00Z")

</div>

Hi all, I tried to use itk-python. There is a function in itk::PointSet, which has a parameter of double\* in C++. I want to know how to set it in Python. The error message is as follows: TypeError: in method 'itkPointS…

---

## [Images in physical space in Python](https://discourse.itk.org/t/images-in-physical-space-in-python/2124)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 35\
**Last updated:** [July 23, 2024, 8:48pm UTC](https://discourse.itk.org/t/images-in-physical-space-in-python/2124 "2024-07-23T20:48:38Z")

</div>

ITK developers and long-time users understand importance of performing image processing operations in physical space, but many Python users are not aware of this and might have the temptation to work in voxel space inste…

---

## [How to extract multiple components image from dicom series?](https://discourse.itk.org/t/how-to-extract-multiple-components-image-from-dicom-series/7097)

<div class="topic-metadata">

**Author:** [@jinquan\_guan](https://discourse.itk.org/u/jinquan_guan)\
**Replies:** 5\
**Last updated:** [July 23, 2024, 2:53pm UTC](https://discourse.itk.org/t/how-to-extract-multiple-components-image-from-dicom-series/7097 "2024-07-23T14:53:31Z")

</div>

The dicom files can be correctly recognized as multiple components image by ITK-SNAP: The proof is : I can change the component/view of the dicom file: But when I extract nii.gz file from the dicom series, the vi…

---

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

---

## [Variably Spaced DICOM Data Support](https://discourse.itk.org/t/variably-spaced-dicom-data-support/6699)

<div class="topic-metadata">

**Author:** [@Michael\_M](https://discourse.itk.org/u/Michael_M)\
**Replies:** 3\
**Last updated:** [July 19, 2024, 7:30pm UTC](https://discourse.itk.org/t/variably-spaced-dicom-data-support/6699 "2024-07-19T19:30:19Z")

</div>

A not uncommon practice in the medical world involves scanning a patient with different slice thicknesses in different parts of the anatomy, all within the same DICOM series. For example, the patient is imaged with CT o…

---

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

---

## [Speed up the reconstruction](https://discourse.itk.org/t/speed-up-the-reconstruction/6599)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 24\
**Last updated:** [July 19, 2024, 6:53pm UTC](https://discourse.itk.org/t/speed-up-the-reconstruction/6599 "2024-07-19T18:53:47Z")

</div>

I use CudaFDK to reconstruction my data, the speed is much faster than using CPU. But I still want to try and make this time shorter. I use Profile on pyCharm to print the time spent by the process like below: Is the…

---

## [Difference between SimpleElastix and ITKElastix](https://discourse.itk.org/t/difference-between-simpleelastix-and-itkelastix/6658)

<div class="topic-metadata">

**Author:** [@l.mejivar](https://discourse.itk.org/u/l.mejivar)\
**Replies:** 3\
**Last updated:** [July 19, 2024, 6:47pm UTC](https://discourse.itk.org/t/difference-between-simpleelastix-and-itkelastix/6658 "2024-07-19T18:47:15Z")

</div>

Hello, I am writing a script to register (non-rigid) several thousands of images. I noticed that SimpleElastix is integrated and ITK, but the original repository was archived. I also noticed that there is a different op…

---

## [error LNK2005: \_\_ ucrt \_ int \_ to \_ float has been defined in itktiff-6.0.lib (tif\_ aux.obj)](https://discourse.itk.org/t/error-lnk2005-ucrt-int-to-float-has-been-defined-in-itktiff-6-0-lib-tif-aux-obj/7073)

<div class="topic-metadata">

**Author:** [@xiaohua](https://discourse.itk.org/u/xiaohua)\
**Replies:** 6\
**Last updated:** [July 19, 2024, 12:56am UTC](https://discourse.itk.org/t/error-lnk2005-ucrt-int-to-float-has-been-defined-in-itktiff-6-0-lib-tif-aux-obj/7073 "2024-07-19T00:56:57Z")

</div>

error LNK2005: \_\_ ucrt \_ int \_ to \_ float has been defined in itktiff-6.0.lib (tif\_ aux.obj)

---

## [SimpleITK 2.4 Release Candidate 2](https://discourse.itk.org/t/simpleitk-2-4-release-candidate-2/7080)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [July 17, 2024, 4:44pm UTC](https://discourse.itk.org/t/simpleitk-2-4-release-candidate-2/7080 "2024-07-17T16:44:56Z")

</div>

Announcement Announcing the SimpleITK 2.4 Release Candidate 2! This release was made with new infrastructure in Github Actions. Users and developers are encouraged to test the RC before the final release and report issu…

---

## [TransformPoint and resampling images](https://discourse.itk.org/t/transformpoint-and-resampling-images/6713)

<div class="topic-metadata">

**Author:** [@Snaype1](https://discourse.itk.org/u/Snaype1)\
**Replies:** 4\
**Last updated:** [July 15, 2024, 1:19pm UTC](https://discourse.itk.org/t/transformpoint-and-resampling-images/6713 "2024-07-15T13:19:09Z")

</div>

Hello, I am using SimpleITK (python) and try to understand how the registration framework operates. Once the alignment is done (in my case using L-BFGS-B optimizer, correlation as similarity metric, BsplineTransform an…

---

## [Registering with only one slice of 3d image](https://discourse.itk.org/t/registering-with-only-one-slice-of-3d-image/7028)

<div class="topic-metadata">

**Author:** [@cadaei](https://discourse.itk.org/u/cadaei)\
**Replies:** 4\
**Last updated:** [July 15, 2024, 9:30am UTC](https://discourse.itk.org/t/registering-with-only-one-slice-of-3d-image/7028 "2024-07-15T09:30:14Z")

</div>

Hi, I want to register 2 dicom images which are of the same examination, but with a slightly different FOV. Each image stack consists of three slices, but their distance is too large, so each slice has to be registered …

---

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

---

## [Parker Weighting Reconstruction](https://discourse.itk.org/t/parker-weighting-reconstruction/7043)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 6\
**Last updated:** [July 12, 2024, 9:04am UTC](https://discourse.itk.org/t/parker-weighting-reconstruction/7043 "2024-07-12T09:04:40Z")

</div>

I have a set of projections from 0° to 210°, take one image at 1°. And I want use CudaParkerShortScanImageFilter to reconstruction it. But there has artifacts because the warning like this: WARNING: In C:\\runner\\\_work\\…

---

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

---

## [Motion correction for 4D brain image (DTI and fMRI)](https://discourse.itk.org/t/motion-correction-for-4d-brain-image-dti-and-fmri/7048)

<div class="topic-metadata">

**Author:** [@Sunita\_Patel](https://discourse.itk.org/u/Sunita_Patel)\
**Replies:** 1\
**Last updated:** [July 11, 2024, 12:44pm UTC](https://discourse.itk.org/t/motion-correction-for-4d-brain-image-dti-and-fmri/7048 "2024-07-11T12:44:38Z")

</div>

Dear ITK members, We want to perform motion correction in 4D brain image such as DTI and fMRI. Is it fine to register the series of 3D brain volume on the first 3D image or b0 (baseline) MRI image in case DTI? or Any ad…

---

## [Convert .nii.gz warp to .h5 (with proper header)](https://discourse.itk.org/t/convert-nii-gz-warp-to-h5-with-proper-header/6673)

<div class="topic-metadata">

**Author:** [@smeisler](https://discourse.itk.org/u/smeisler)\
**Replies:** 10\
**Last updated:** [July 10, 2024, 8:08pm UTC](https://discourse.itk.org/t/convert-nii-gz-warp-to-h5-with-proper-header/6673 "2024-07-10T20:08:11Z")

</div>

Hi! I have been modifying an anatomical processing workflow that largely uses ANTs. I have been trying to incorporate FreeSurfer’s synthmorph to calculate a registration, which outputs in RAS convention. I have been abl…

---

## [ITK or SimpleITK in Python?](https://discourse.itk.org/t/itk-or-simpleitk-in-python/2926)

<div class="topic-metadata">

**Author:** [@mridev](https://discourse.itk.org/u/mridev)\
**Replies:** 13\
**Last updated:** [July 10, 2024, 2:30am UTC](https://discourse.itk.org/t/itk-or-simpleitk-in-python/2926 "2024-07-10T02:30:24Z")

</div>

Hi all, I know this question has been asked before. I have started developing commercial solutions for medical image analysis in python. I have used both ITK and SimpleITK but would like to use only one of them. It seem…

---

## [TriangleMeshToBinaryImageFilter In Python](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604)

<div class="topic-metadata">

**Author:** [@rogertrullo](https://discourse.itk.org/u/rogertrullo)\
**Replies:** 24\
**Last updated:** [July 10, 2024, 2:25am UTC](https://discourse.itk.org/t/trianglemeshtobinaryimagefilter-in-python/1604 "2024-07-10T02:25:00Z")

</div>

Hi, I’m trying to get a 3D binary image from a mesh stl file. I found an example in c++ using the TriangleMeshToBinaryImageFilter function. I was wondering if this function is available from the Python interface? Thanks…

---

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

---

## [RTK 2.6.0 Released](https://discourse.itk.org/t/rtk-2-6-0-released/7014)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 10:04am UTC](https://discourse.itk.org/t/rtk-2-6-0-released/7014 "2024-07-08T10:04:16Z")

</div>

RTK v2.6.0 has just been released. This release is intended to produce Python packages compatible with the ITK Python packages v5.4.0. The full list of changes is available here, the main ones are: Local weights map f…

---

## [Unable to compile simpleRTK](https://discourse.itk.org/t/unable-to-compile-simplertk/6723)

<div class="topic-metadata">

**Author:** [@xem123](https://discourse.itk.org/u/xem123)\
**Replies:** 8\
**Last updated:** [July 6, 2024, 11:22am UTC](https://discourse.itk.org/t/unable-to-compile-simplertk/6723 "2024-07-06T11:22:09Z")

</div>

Hello, I want to use simpleRTK in Python. I saw on the official website that I need to compile the ITK library first, then the RTK library, and check the BUILD\_SIMPLERTK option; but now the RTK library doesn’t support se…

---

## [In Affine Transform, Get/SetTranslation Same As Get/SetOffset?](https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744)

<div class="topic-metadata">

**Author:** [@constantine](https://discourse.itk.org/u/constantine)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 12:12pm UTC](https://discourse.itk.org/t/in-affine-transform-get-settranslation-same-as-get-setoffset/6744 "2024-07-03T12:12:31Z")

</div>

Greetings, everyone. Looking at an instance of AffineTransform innards shows this: AffineTransform (000002503E609850) RTTI typeinfo: class itk::AffineTransform\<double,3\> Reference Count: 1 Modified Time: 967 …

---

## [no itk.join\_image\_filter in ITK 5.1.2](https://discourse.itk.org/t/no-itk-join-image-filter-in-itk-5-1-2/3671)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 8\
**Last updated:** [July 2, 2024, 5:03am UTC](https://discourse.itk.org/t/no-itk-join-image-filter-in-itk-5-1-2/3671 "2024-07-02T05:03:49Z")

</div>

It seems the itk::JoinImageFilter is not wrapped to python (yet). I could not find it in the 5.1.2 release. Is there a list of filters which have been wrapped? I would expect a class named itk.join\_image\_filter. The on…

---

## [Flat fielding causing the image tile to become white](https://discourse.itk.org/t/flat-fielding-causing-the-image-tile-to-become-white/6736)

<div class="topic-metadata">

**Author:** [@sleepingcat4](https://discourse.itk.org/u/sleepingcat4)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 6:11pm UTC](https://discourse.itk.org/t/flat-fielding-causing-the-image-tile-to-become-white/6736 "2024-07-01T18:11:36Z")

</div>

I have an image montage problem and I have been using flat fielding to fix the individual image tile before applying simple itk’s montage feature to receive the final resampled image. Btw I’m using simpleitk for the fla…

---

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

---

## [Segmentation of same intensity bones using ITK](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738)

<div class="topic-metadata">

**Author:** [@KSJ](https://discourse.itk.org/u/KSJ)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 1:49pm UTC](https://discourse.itk.org/t/segmentation-of-same-intensity-bones-using-itk/6738 "2024-07-01T13:49:15Z")

</div>

Hello everyone, I have a CT dataset of lower part of human body in DICOM images. I need to separate the femur and tibia bone separately from the dataset. For that obviously i cannot use thresholding because the femur a…

---

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

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

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