# Latest

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

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

**Page:** 21

---

## [Are numpy arrays supported in the object-oriented API?](https://discourse.itk.org/t/are-numpy-arrays-supported-in-the-object-oriented-api/6137)

<div class="topic-metadata">

**Author:** [@AwesomeLemon](https://discourse.itk.org/u/AwesomeLemon)\
**Replies:** 4\
**Last updated:** [August 10, 2023, 5:21pm UTC](https://discourse.itk.org/t/are-numpy-arrays-supported-in-the-object-oriented-api/6137 "2023-08-10T17:21:49Z")

</div>

Input in the form of numpy arrays works with the procedural API but doesn’t work with the object-oriented API (I get “itk.ElastixRegistrationMethod is not wrapped for input type None”). Is that a known limitation or am …

---

## [Positioning of CT volume for DRR generation](https://discourse.itk.org/t/positioning-of-ct-volume-for-drr-generation/6133)

<div class="topic-metadata">

**Author:** [@Vojtech\_Benda](https://discourse.itk.org/u/Vojtech_Benda)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 2:25pm UTC](https://discourse.itk.org/t/positioning-of-ct-volume-for-drr-generation/6133 "2023-08-10T14:25:02Z")

</div>

Hello, I’m trying to generate DRR images from CT slices at certain angles (0°, 45°, 90°…). I’m using this C++ DRR example rewrote in Python: https://github.com/Vojtech-Benda/DRR\_generation/blob/main/drrGen.py I managed …

---

## [itkwidgets \`compare\` error](https://discourse.itk.org/t/itkwidgets-compare-error/5274)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 2\
**Last updated:** [August 10, 2023, 9:08am UTC](https://discourse.itk.org/t/itkwidgets-compare-error/5274 "2023-08-10T09:08:03Z")

</div>

Hello, (This could be related Error when executing the Binder example: “compare images side by side” #455) It seems that the compare widget is missing: ImportError Traceback (most recent …

---

## [Pixel Representation](https://discourse.itk.org/t/pixel-representation/6129)

<div class="topic-metadata">

**Author:** [@mmeltsner](https://discourse.itk.org/u/mmeltsner)\
**Replies:** 4\
**Last updated:** [August 10, 2023, 8:41am UTC](https://discourse.itk.org/t/pixel-representation/6129 "2023-08-10T08:41:53Z")

</div>

Hi, I am reading in a dicom image via GDCM as unsigned short. The pixel representation of the imported dicom image is 0 (unsigned short). I confirmed that the component type and internal component types are USHORT. …

---

## [ITK build Error in itk::ShapedNeighborhoodIterator](https://discourse.itk.org/t/itk-build-error-in-itk-shapedneighborhooditerator/4861)

<div class="topic-metadata">

**Author:** [@Astha](https://discourse.itk.org/u/Astha)\
**Replies:** 20\
**Last updated:** [August 9, 2023, 5:09am UTC](https://discourse.itk.org/t/itk-build-error-in-itk-shapedneighborhooditerator/4861 "2023-08-09T05:09:47Z")

</div>

Hello all, We have created a DLL project to perform pre-processing operation and morphological operation on dicom data. After that, we wrote an application project to use this generated DLL to perform all operations. I…

---

## [Question regarding masked registration with different shapes](https://discourse.itk.org/t/question-regarding-masked-registration-with-different-shapes/6127)

<div class="topic-metadata">

**Author:** [@kenrickmoke](https://discourse.itk.org/u/kenrickmoke)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 12:37pm UTC](https://discourse.itk.org/t/question-regarding-masked-registration-with-different-shapes/6127 "2023-08-07T12:37:39Z")

</div>

Heya, I’m wondering how the sampling works when performing registration with masks. In the elastix manual its written its sufficient to provide a image for the fixed image when there is no severe noise in the moving im…

---

## [Centering an Image](https://discourse.itk.org/t/centering-an-image/6126)

<div class="topic-metadata">

**Author:** [@VHK](https://discourse.itk.org/u/VHK)\
**Replies:** 2\
**Last updated:** [August 4, 2023, 8:33am UTC](https://discourse.itk.org/t/centering-an-image/6126 "2023-08-04T08:33:44Z")

</div>

Hello, I have implemented the following code to move the center of gravity to the center of the image. The resulting image does not appear to be properly centered as expected. import itk import SimpleITK as sitk commo…

---

## [Transform DVF from one patient to another](https://discourse.itk.org/t/transform-dvf-from-one-patient-to-another/5976)

<div class="topic-metadata">

**Author:** [@RT\_newbie](https://discourse.itk.org/u/RT_newbie)\
**Replies:** 1\
**Last updated:** [August 2, 2023, 12:17pm UTC](https://discourse.itk.org/t/transform-dvf-from-one-patient-to-another/5976 "2023-08-02T12:17:11Z")

</div>

Hi I have a question regarding mapping DVFs from one patient to another. I have two different patients. My patient A has a DVF that I would like to bring to the other patient to deform the patient with this DVF. I reg…

---

## [Is there a detailed derivation process for 3D circular geometric projection?](https://discourse.itk.org/t/is-there-a-detailed-derivation-process-for-3d-circular-geometric-projection/6121)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 8:01pm UTC](https://discourse.itk.org/t/is-there-a-detailed-derivation-process-for-3d-circular-geometric-projection/6121 "2023-08-01T20:01:28Z")

</div>

I didn’t quite understand this part

---

## [Inhomogeneity correction using N4 and Python](https://discourse.itk.org/t/inhomogeneity-correction-using-n4-and-python/6123)

<div class="topic-metadata">

**Author:** [@Cambridgeshire](https://discourse.itk.org/u/Cambridgeshire)\
**Replies:** 1\
**Last updated:** [August 1, 2023, 1:02pm UTC](https://discourse.itk.org/t/inhomogeneity-correction-using-n4-and-python/6123 "2023-08-01T13:02:18Z")

</div>

Hey dear supporters, I would like to perform inhomogeneity correction of head and pelvis NIfTI MRI images using Python. My code looks like this: Image = sitk.ReadImage(path) image = sitk.Cast(Image, sitk.sitkFloat32) …

---

## [Unit of Vectors in a Deformation/displacement Vector Field](https://discourse.itk.org/t/unit-of-vectors-in-a-deformation-displacement-vector-field/6101)

<div class="topic-metadata">

**Author:** [@RT\_newbie](https://discourse.itk.org/u/RT_newbie)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 8:05am UTC](https://discourse.itk.org/t/unit-of-vectors-in-a-deformation-displacement-vector-field/6101 "2023-08-01T08:05:42Z")

</div>

Hi I have a basic question that I cannot wrap my head around because I might have thought about a problem to solve for too long. When I non-rigidly register two images and look at the deformation field array, are the v…

---

## [is there a way that itk read sitk format ParameterFile to get DeformationField?](https://discourse.itk.org/t/is-there-a-way-that-itk-read-sitk-format-parameterfile-to-get-deformationfield/6115)

<div class="topic-metadata">

**Author:** [@zx-lhb](https://discourse.itk.org/u/zx-lhb)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 3:23am UTC](https://discourse.itk.org/t/is-there-a-way-that-itk-read-sitk-format-parameterfile-to-get-deformationfield/6115 "2023-08-01T03:23:02Z")

</div>

hi, i use elastix, which implemented by sitk, to do registration, and get the ParameterFile txt, like this: (BSplineTransformSplineOrder 3) (Direction 1 0 0 0 0.9999999315500054 -0.000369999979306246 0 0.000369999980499…

---

## [how can I build simpleITK c++ windows version ?](https://discourse.itk.org/t/how-can-i-build-simpleitk-c-windows-version/6116)

<div class="topic-metadata">

**Author:** [@zx-lhb](https://discourse.itk.org/u/zx-lhb)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 3:18am UTC](https://discourse.itk.org/t/how-can-i-build-simpleitk-c-windows-version/6116 "2023-08-01T03:18:45Z")

</div>

hi, I fllowed the instructions here build sitk to get simpleitk, but cmake came out errors like: Could NOT find LuaInterp. But I am working on Windows, how can I build SimpleITK on windows? Thank you ! Building SimpleIT…

---

## [Min and max required CMake versions being defined but not re-used](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112)

<div class="topic-metadata">

**Author:** [@jhlegarreta](https://discourse.itk.org/u/jhlegarreta)\
**Replies:** 2\
**Last updated:** [August 1, 2023, 12:24am UTC](https://discourse.itk.org/t/min-and-max-required-cmake-versions-being-defined-but-not-re-used/6112 "2023-08-01T00:24:04Z")

</div>

Hi, I’ve noticed that in the top-level CMakeLists.txt we are defining some min and max bounds for the required CMake versions, mainly labeled as having to do with CMake policies: https://github.com/InsightSoftwareConso…

---

## [New Insight Journal article: CartesianToPolar and PolarToCartesian Image Filters](https://discourse.itk.org/t/new-insight-journal-article-cartesiantopolar-and-polartocartesian-image-filters/2581)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 2\
**Last updated:** [July 31, 2023, 5:40pm UTC](https://discourse.itk.org/t/new-insight-journal-article-cartesiantopolar-and-polartocartesian-image-filters/2581 "2023-07-31T17:40:17Z")

</div>

A new submission has been added to the Insight Journal. Title: CartesianToPolar and PolarToCartesian Image Filters Authors: Ajani B., Sharda S. Abstract: In this paper, we describe a set of filters, implemented in the…

---

## [VTK/Qt integration and Qt6(Core|Gui)Tools folders](https://discourse.itk.org/t/vtk-qt-integration-and-qt6-core-gui-tools-folders/6097)

<div class="topic-metadata">

**Author:** [@codeling](https://discourse.itk.org/u/codeling)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 3:49pm UTC](https://discourse.itk.org/t/vtk-qt-integration-and-qt6-core-gui-tools-folders/6097 "2023-07-31T15:49:07Z")

</div>

We have project using ITK, VTK and Qt; VTK is configured to use Qt (VTK\_MODULE\_ENABLE\_VTK\_GUISupportQt = YES, VTK\_MODULE\_ENABLE\_VTK\_RenderingQt = YES, VTK\_MODULE\_ENABLE\_VTK\_ViewsQt = YES), and ITK is configured to depend…

---

## [SImpleITK incremental loading JAVA](https://discourse.itk.org/t/simpleitk-incremental-loading-java/6089)

<div class="topic-metadata">

**Author:** [@Salu\_Ramos](https://discourse.itk.org/u/Salu_Ramos)\
**Replies:** 27\
**Last updated:** [July 31, 2023, 3:15pm UTC](https://discourse.itk.org/t/simpleitk-incremental-loading-java/6089 "2023-07-31T15:15:51Z")

</div>

I want to implement incremental reading/loading of dicom series with simpleitk in java. The weasis viewer, radiant viewer and slicer viewer, when selecting the folder loads instantly and shows the first slice of the ser…

---

## [Composite Transform error](https://discourse.itk.org/t/composite-transform-error/6108)

<div class="topic-metadata">

**Author:** [@CrownMella](https://discourse.itk.org/u/CrownMella)\
**Replies:** 8\
**Last updated:** [July 28, 2023, 8:24pm UTC](https://discourse.itk.org/t/composite-transform-error/6108 "2023-07-28T20:24:33Z")

</div>

Hello, I have two transforms: affine and displacementfield. When I apply them affine then df, it works well. I would like to create a composite transform. I read that they are in reverse order with the back being applie…

---

## [How to change classes labels](https://discourse.itk.org/t/how-to-change-classes-labels/6111)

<div class="topic-metadata">

**Author:** [@NimaY](https://discourse.itk.org/u/NimaY)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 6:47pm UTC](https://discourse.itk.org/t/how-to-change-classes-labels/6111 "2023-07-28T18:47:16Z")

</div>

Hi, I have 3 different labels in each masks where the classes order is like that: 0 - background, 1 - left lung, 2 - right lung. Is there a way to change it to: 0 - background, 1 - both lung? All of these masks a…

---

## [Multi-scale Registration itk-elastix](https://discourse.itk.org/t/multi-scale-registration-itk-elastix/6104)

<div class="topic-metadata">

**Author:** [@calici](https://discourse.itk.org/u/calici)\
**Replies:** 2\
**Last updated:** [July 28, 2023, 2:54pm UTC](https://discourse.itk.org/t/multi-scale-registration-itk-elastix/6104 "2023-07-28T14:54:02Z")

</div>

Hi! I have a pair of pretreatment CT and posttreatment CT. I am especially interested in the registration accuracy close to the tumor region in the lungs. My previous algorithm is based on extracting lungs and register…

---

## [Trouble with External Module Tests](https://discourse.itk.org/t/trouble-with-external-module-tests/6098)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 5:07am UTC](https://discourse.itk.org/t/trouble-with-external-module-tests/6098 "2023-07-28T05:07:13Z")

</div>

I want to upgrade my external module to use the new re-usable github actions before adding a new filter. However, I am having trouble with the baseline data. first I was storing the data in the git repository (as in …

---

## [A gotcha in using ITK from Python](https://discourse.itk.org/t/a-gotcha-in-using-itk-from-python/6025)

<div class="topic-metadata">

**Author:** [@shai-ikko](https://discourse.itk.org/u/shai-ikko)\
**Replies:** 1\
**Last updated:** [July 28, 2023, 1:33am UTC](https://discourse.itk.org/t/a-gotcha-in-using-itk-from-python/6025 "2023-07-28T01:33:19Z")

</div>

Well, as is often obnoxiously said in conference talks – this is not really a question, more of a comment… One of the things that raise worries when working with ITK from Python, is the issue of types. In most cases, Py…

---

## [run wasm module in web browser google chrom (Applying Debugging to RGBImage.cxx)](https://discourse.itk.org/t/run-wasm-module-in-web-browser-google-chrom-applying-debugging-to-rgbimage-cxx/5930)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 10:55pm UTC](https://discourse.itk.org/t/run-wasm-module-in-web-browser-google-chrom-applying-debugging-to-rgbimage-cxx/5930 "2023-07-27T22:55:19Z")

</div>

@matt.mccormick Hi, I am trying to finalize all knowledge i have collecting in last couple months about webassembly c++ and build wasm modules to run on webassembly platform. wasi/node/web browser/debugging. the proje…

---

## [itk-wasm toolchain c++ debug symbols](https://discourse.itk.org/t/itk-wasm-toolchain-c-debug-symbols/5945)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 9:19pm UTC](https://discourse.itk.org/t/itk-wasm-toolchain-c-debug-symbols/5945 "2023-07-27T21:19:17Z")

</div>

Hi everyone I have a simple question about itk-wasm. Have anybody managed to build debug version of itk example into c++ using itk-wasm toolchain for both wasi/emscripten/browser? My ecosystem is as follows: Node.js …

---

## [watershed segmentation wasi](https://discourse.itk.org/t/watershed-segmentation-wasi/5329)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [July 27, 2023, 9:07pm UTC](https://discourse.itk.org/t/watershed-segmentation-wasi/5329 "2023-07-27T21:07:28Z")

</div>

@matt.mccormick Hi mat, I fixed it. I know now why you did the following: npx itk-wasm -b wasi-build run morphological.wasi.wasm -- -- VisibleWomanEyeSlice.png WatershedSegmentation1Output1.png we dont need any optio…

---

## [Reading GIFTI file in Python](https://discourse.itk.org/t/reading-gifti-file-in-python/6052)

<div class="topic-metadata">

**Author:** [@mcespedes99](https://discourse.itk.org/u/mcespedes99)\
**Replies:** 4\
**Last updated:** [July 27, 2023, 8:56pm UTC](https://discourse.itk.org/t/reading-gifti-file-in-python/6052 "2023-07-27T20:56:41Z")

</div>

Hi, I’m currently trying to develop an extension for 3D Slicer to read, import and convert GIFTI images. I’m developing this module in Python and I’m currently using nibabel to read the gifti files (both containing surf…

---

## [align diffrent modalities based on metadata](https://discourse.itk.org/t/align-diffrent-modalities-based-on-metadata/6100)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)\
**Replies:** 6\
**Last updated:** [July 27, 2023, 6:39pm UTC](https://discourse.itk.org/t/align-diffrent-modalities-based-on-metadata/6100 "2023-07-27T18:39:47Z")

</div>

Hello I have multiple studies of the same patient they have different spacing and size (range). When I display them in a slicer they are coregistered - patient did not moved between studies Hovewer I do not know how to…

---

## [Errors While launching ITK](https://discourse.itk.org/t/errors-while-launching-itk/6106)

<div class="topic-metadata">

**Author:** [@Roro82](https://discourse.itk.org/u/Roro82)\
**Replies:** 1\
**Last updated:** [July 27, 2023, 6:29pm UTC](https://discourse.itk.org/t/errors-while-launching-itk/6106 "2023-07-27T18:29:56Z")

</div>

Hello everyone, In order to use the RTK software, I tried to create the ITK software thanks to the CMake tool. Therefore, I uploaded the ITK sources in the CMake software after creating two distinct folders for the sour…

---

## [Coregistration of DICOM series with different resolutions](https://discourse.itk.org/t/coregistration-of-dicom-series-with-different-resolutions/6091)

<div class="topic-metadata">

**Author:** [@vstevensf](https://discourse.itk.org/u/vstevensf)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 3:26pm UTC](https://discourse.itk.org/t/coregistration-of-dicom-series-with-different-resolutions/6091 "2023-07-25T15:26:33Z")

</div>

Hi – was just looking through the documentation for ITK/SimpleITK, with the goal of coregistering two DICOM series, but with different numbers of “slices” (images) per series. For example, coregistering a series of T2 Fl…

---

## [Speed Discrepancy between ITK and SimpleITK](https://discourse.itk.org/t/speed-discrepancy-between-itk-and-simpleitk/6070)

<div class="topic-metadata">

**Author:** [@JRopers](https://discourse.itk.org/u/JRopers)\
**Replies:** 7\
**Last updated:** [July 23, 2023, 11:22pm UTC](https://discourse.itk.org/t/speed-discrepancy-between-itk-and-simpleitk/6070 "2023-07-23T23:22:42Z")

</div>

Hello again! I am currently working on registration of CT images. Originally, I ran rigid registration in SimpleITK and this was quite fast for each iteration. Overall, the registration process finished after a couple …

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

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