# Latest

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

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

**Page:** 10

---

## [How to apply an existing BSpline transformation to points, TransformPoint not working for me?](https://discourse.itk.org/t/how-to-apply-an-existing-bspline-transformation-to-points-transformpoint-not-working-for-me/7199)

<div class="topic-metadata">

**Author:** [@G\_Y](https://discourse.itk.org/u/G_Y)\
**Replies:** 5\
**Last updated:** [August 30, 2024, 11:37pm UTC](https://discourse.itk.org/t/how-to-apply-an-existing-bspline-transformation-to-points-transformpoint-not-working-for-me/7199 "2024-08-30T23:37:29Z")

</div>

Hi, I have an existing BSpline transform as a result of registering a pair of images. Now I want to apply this existing transform to a set of 3D points. My idea is to create a new BSplineTransform and call its TransformP…

---

## [Is there any relevant content on CBCT system calibration in RTK？](https://discourse.itk.org/t/is-there-any-relevant-content-on-cbct-system-calibration-in-rtk/6125)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 6:08am UTC](https://discourse.itk.org/t/is-there-any-relevant-content-on-cbct-system-calibration-in-rtk/6125 "2024-08-30T06:08:27Z")

</div>

Recently, while studying CBCT calibration, I can only calculate the projection matrix from the position of the steel ball in one projection image and the mold. I can calculate a projection matrix for each projection imag…

---

## [Does RTK support parallel beam CT reconstruction?](https://discourse.itk.org/t/does-rtk-support-parallel-beam-ct-reconstruction/7193)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 4:15pm UTC](https://discourse.itk.org/t/does-rtk-support-parallel-beam-ct-reconstruction/7193 "2024-08-29T16:15:06Z")

</div>

…1

---

## [Trouble when reading some dcm files](https://discourse.itk.org/t/trouble-when-reading-some-dcm-files/7190)

<div class="topic-metadata">

**Author:** [@Xoz](https://discourse.itk.org/u/Xoz)\
**Replies:** 4\
**Last updated:** [August 26, 2024, 7:29am UTC](https://discourse.itk.org/t/trouble-when-reading-some-dcm-files/7190 "2024-08-26T07:29:21Z")

</div>

Hi everyone, I met a problem when reading some dcm files recently when using itk-wasm, in the past the input files was usually a sort of single slice dcm files, but some newer ones became only one file that seems contai…

---

## [Reorienting Images](https://discourse.itk.org/t/reorienting-images/7189)

<div class="topic-metadata">

**Author:** [@dlevy-ph](https://discourse.itk.org/u/dlevy-ph)\
**Replies:** 2\
**Last updated:** [August 22, 2024, 9:05pm UTC](https://discourse.itk.org/t/reorienting-images/7189 "2024-08-22T21:05:57Z")

</div>

Hello, I am trying to achieve the attached process (which I had been doing using nibabel) with SimpleITK. I’m not sure how to interpret the cosine matrix, though, so I’m unclear about how to ensure L-P-S orientation: DE…

---

## [Memory won't release when loading images in Python](https://discourse.itk.org/t/memory-wont-release-when-loading-images-in-python/3219)

<div class="topic-metadata">

**Author:** [@malteekj](https://discourse.itk.org/u/malteekj)\
**Replies:** 8\
**Last updated:** [August 22, 2024, 5:00pm UTC](https://discourse.itk.org/t/memory-wont-release-when-loading-images-in-python/3219 "2024-08-22T17:00:20Z")

</div>

I’m fairly new to the SimpleITK API and I’m using it right now to load a CT and PET image, and resample the PET to the same coordinate system and size as the CT (for a deep learning algorithm). Right now my code is: re…

---

## [Empty volume after resampling, struggling with the origin](https://discourse.itk.org/t/empty-volume-after-resampling-struggling-with-the-origin/7185)

<div class="topic-metadata">

**Author:** [@renate](https://discourse.itk.org/u/renate)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 1:05pm UTC](https://discourse.itk.org/t/empty-volume-after-resampling-struggling-with-the-origin/7185 "2024-08-22T13:05:04Z")

</div>

Hi! I have some problems with resampling the volume and determining the new origin. I have a volume (57x57x100) and then I permute the axis,change the direction and set the spacing using: img = sitk.ReadImage(nifti\_pa…

---

## [\[UNKNOWN\_PRINT\_CHARACTERISTICS\] when reading MINC headers](https://discourse.itk.org/t/unknown-print-characteristics-when-reading-minc-headers/7180)

<div class="topic-metadata">

**Author:** [@Confused](https://discourse.itk.org/u/Confused)\
**Replies:** 10\
**Last updated:** [August 21, 2024, 8:41pm UTC](https://discourse.itk.org/t/unknown-print-characteristics-when-reading-minc-headers/7180 "2024-08-21T20:41:24Z")

</div>

Hello, I am a beginner in using simpleitk. I have came across an issue with when reading specific header informatic from my MINC file resulting in \[UNKNOWN\_PRINT\_CHARACTERISTICS\]. However, when I view these information …

---

## [Save a custom attribute in header of Nifti](https://discourse.itk.org/t/save-a-custom-attribute-in-header-of-nifti/7178)

<div class="topic-metadata">

**Author:** [@Karol-G](https://discourse.itk.org/u/Karol-G)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 1:33pm UTC](https://discourse.itk.org/t/save-a-custom-attribute-in-header-of-nifti/7178 "2024-08-20T13:33:34Z")

</div>

Hey, I want to indicate to my python code if a Nifti image is an image or a segmentation. To accomplish that I want to store a single attribute in the Nifti header in one of the more flexible Nifti header fields such a…

---

## [SimpleITK 2.4.0 Release](https://discourse.itk.org/t/simpleitk-2-4-0-release/7181)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [August 16, 2024, 7:12pm UTC](https://discourse.itk.org/t/simpleitk-2-4-0-release/7181 "2024-08-16T19:12:20Z")

</div>

Announcement Announcing the SimpleITK 2.4.0 Release! Installing SimpleITK Complete instructions on getting started with SimpleITK including downloading binaries or building SimpleITK can be found on the SimpleITK Read t…

---

## [How to use ITKMontage to stitch segmentation label images?](https://discourse.itk.org/t/how-to-use-itkmontage-to-stitch-segmentation-label-images/6611)

<div class="topic-metadata">

**Author:** [@Mazen\_Soufi](https://discourse.itk.org/u/Mazen_Soufi)\
**Replies:** 8\
**Last updated:** [August 15, 2024, 3:31pm UTC](https://discourse.itk.org/t/how-to-use-itkmontage-to-stitch-segmentation-label-images/6611 "2024-08-15T15:31:30Z")

</div>

Hi, I’m trying to use ITKMontage’s TileMergeImageFilter to stitch segmentation label images (uint8) using the transformations obtained from grayscale images. The file below shows at its header that the default interpol…

---

## [Elastix idiosyncracy?](https://discourse.itk.org/t/elastix-idiosyncracy/7049)

<div class="topic-metadata">

**Author:** [@Soren\_Christensen](https://discourse.itk.org/u/Soren_Christensen)\
**Replies:** 19\
**Last updated:** [August 15, 2024, 9:45am UTC](https://discourse.itk.org/t/elastix-idiosyncracy/7049 "2024-08-15T09:45:10Z")

</div>

Hi, The flat array “direction” property of sitk images are specified as a row-order concatenation of the 3x3 direction matrix. For Elastix/SimpleElastix, the Direction property specified in Transformparamterer maps is …

---

## [Relabeling components with regard to minimum physical object size](https://discourse.itk.org/t/relabeling-components-with-regard-to-minimum-physical-object-size/7175)

<div class="topic-metadata">

**Author:** [@ibro45](https://discourse.itk.org/u/ibro45)\
**Replies:** 5\
**Last updated:** [August 14, 2024, 6:15pm UTC](https://discourse.itk.org/t/relabeling-components-with-regard-to-minimum-physical-object-size/7175 "2024-08-14T18:15:37Z")

</div>

Hi, I would like to relabel components with regard to physical size rather than the number of voxels. So a hypothetical SetMinimumObjectPhysicalSize rather than SetMinimumObjectSize. What would be the most efficient way…

---

## [Thresholding largest/smallest component in ITK](https://discourse.itk.org/t/thresholding-largest-smallest-component-in-itk/5601)

<div class="topic-metadata">

**Author:** [@Ahmed\_Saleh\_Tolba](https://discourse.itk.org/u/Ahmed_Saleh_Tolba)\
**Replies:** 20\
**Last updated:** [August 14, 2024, 2:45pm UTC](https://discourse.itk.org/t/thresholding-largest-smallest-component-in-itk/5601 "2024-08-14T14:45:26Z")

</div>

Hello, I’m trying to remove the largest island and also the smallest island. I can get the components correctly, and they are sorted using relabel filter. but I want to threshold the smallest components, and keep the l…

---

## [3D Registration Problem - Resulting Image truncated after the resampling](https://discourse.itk.org/t/3d-registration-problem-resulting-image-truncated-after-the-resampling/7156)

<div class="topic-metadata">

**Author:** [@Bigfahma](https://discourse.itk.org/u/Bigfahma)\
**Replies:** 3\
**Last updated:** [August 9, 2024, 3:25pm UTC](https://discourse.itk.org/t/3d-registration-problem-resulting-image-truncated-after-the-resampling/7156 "2024-08-09T15:25:54Z")

</div>

Hi all, I’ve been struggling with a 3D image registration issue for weeks, and I find myself with more questions than answers. I’m working on registering 3D microCT images of bones to analyze their evolution over time f…

---

## [3D Reconstruction from 2D XRay DICOM images](https://discourse.itk.org/t/3d-reconstruction-from-2d-xray-dicom-images/7161)

<div class="topic-metadata">

**Author:** [@drathin4](https://discourse.itk.org/u/drathin4)\
**Replies:** 2\
**Last updated:** [August 8, 2024, 2:13pm UTC](https://discourse.itk.org/t/3d-reconstruction-from-2d-xray-dicom-images/7161 "2024-08-08T14:13:35Z")

</div>

Can we reconstruct 3D model from 2D DiCoM images obtained from XRays? I read this link, but didn’t find any relevant answer: 3D reconstruction I also didn’t find any geometric metadata in the XRay DiCoM files unlike t…

---

## [Which filter to use to convert from 16 bit image to 8 bit Image](https://discourse.itk.org/t/which-filter-to-use-to-convert-from-16-bit-image-to-8-bit-image/7158)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 1\
**Last updated:** [August 7, 2024, 6:38pm UTC](https://discourse.itk.org/t/which-filter-to-use-to-convert-from-16-bit-image-to-8-bit-image/7158 "2024-08-07T18:38:56Z")

</div>

Sort of having a brain fart today but what is the ITK Filter I am looking for that would change from a 16 bit image to an 8 bit image? is that a simple ITKImageCast? I feel like that isn’t correct because if I have value…

---

## [Use masks for registration in itk-elastix](https://discourse.itk.org/t/use-masks-for-registration-in-itk-elastix/7051)

<div class="topic-metadata">

**Author:** [@cousin](https://discourse.itk.org/u/cousin)\
**Replies:** 2\
**Last updated:** [August 7, 2024, 4:05pm UTC](https://discourse.itk.org/t/use-masks-for-registration-in-itk-elastix/7051 "2024-08-07T16:05:57Z")

</div>

Greetings to everyone, I am discovering itk-elastix in python (module loaded as itk) and I am starting to use itk.elastix\_registration\_method I could not find the signature of this function but managed to grab some inf…

---

## [Interpolating vector image with itk python](https://discourse.itk.org/t/interpolating-vector-image-with-itk-python/7152)

<div class="topic-metadata">

**Author:** [@wkacct\_acctwk](https://discourse.itk.org/u/wkacct_acctwk)\
**Replies:** 4\
**Last updated:** [August 7, 2024, 2:59pm UTC](https://discourse.itk.org/t/interpolating-vector-image-with-itk-python/7152 "2024-08-07T14:59:30Z")

</div>

I am currently trying to get the interpolated vector at a subpixel location using the itk.LinearInterpolateImageFunction in python. It was my understanding that this function is supposed to support both vector and scalar…

---

## [What is problem with conversion from nifti file to vtp](https://discourse.itk.org/t/what-is-problem-with-conversion-from-nifti-file-to-vtp/7154)

<div class="topic-metadata">

**Author:** [@babayka](https://discourse.itk.org/u/babayka)\
**Replies:** 0\
**Last updated:** [August 7, 2024, 4:10am UTC](https://discourse.itk.org/t/what-is-problem-with-conversion-from-nifti-file-to-vtp/7154 "2024-08-07T04:10:51Z")

</div>

I have code that utilizes vtp and nibabel to convert read nifti file into vtp then I check how the geometry was made for vasculature through GeometryViewer of vtp examples. import nibabel as nib import vtk from vtkmodul…

---

## [Next js component adaptation of VTP GeometryView](https://discourse.itk.org/t/next-js-component-adaptation-of-vtp-geometryview/7150)

<div class="topic-metadata">

**Author:** [@babayka](https://discourse.itk.org/u/babayka)\
**Replies:** 2\
**Last updated:** [August 6, 2024, 10:32pm UTC](https://discourse.itk.org/t/next-js-component-adaptation-of-vtp-geometryview/7150 "2024-08-06T22:32:17Z")

</div>

Dear All, I wanted to make a Next js component that gives the page the same as in the vtk.js example. The problem I’m encountering is the way of adopting it for the next js way of writing, is there an example that uses …

---

## [generate rtk wheels](https://discourse.itk.org/t/generate-rtk-wheels/6668)

<div class="topic-metadata">

**Author:** [@zhangm](https://discourse.itk.org/u/zhangm)\
**Replies:** 15\
**Last updated:** [August 2, 2024, 3:12am UTC](https://discourse.itk.org/t/generate-rtk-wheels/6668 "2024-08-02T03:12:41Z")

</div>

In order to reduce the loading time if RTK, I first generate itk wheels by ITKPythonPackage with "-DITK\_WRAP\_IMAGE\_DIMS:STRING=2;3". And then pip install itk-rtk-cuda, but that method will cause the error, so I think I n…

---

## [Order of elements in a displacement field](https://discourse.itk.org/t/order-of-elements-in-a-displacement-field/7148)

<div class="topic-metadata">

**Author:** [@koegl](https://discourse.itk.org/u/koegl)\
**Replies:** 1\
**Last updated:** [August 1, 2024, 1:19pm UTC](https://discourse.itk.org/t/order-of-elements-in-a-displacement-field/7148 "2024-08-01T13:19:03Z")

</div>

Let’s say I have a displacement field in SimpleITK of the shape 100,100,100,3. are the components of the displacement at each voxel (x,y,z) or (z,y,x)?

---

## [Compute eigen vectors from 3D Hessian matrix in Python](https://discourse.itk.org/t/compute-eigen-vectors-from-3d-hessian-matrix-in-python/7134)

<div class="topic-metadata">

**Author:** [@Maolin](https://discourse.itk.org/u/Maolin)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 2:57pm UTC](https://discourse.itk.org/t/compute-eigen-vectors-from-3d-hessian-matrix-in-python/7134 "2024-07-31T14:57:10Z")

</div>

Hi all, I saw the function itk.SymmetricEigenAnalysisImageFilter can compute the eigen values from a hessian image, but I didn’t see a function that could compute te eigen vectors from a hessian image. Could you help me…

---

## [Jacobian determinant - 2D deformation field and pixel/voxel spacing?](https://discourse.itk.org/t/jacobian-determinant-2d-deformation-field-and-pixel-voxel-spacing/7145)

<div class="topic-metadata">

**Author:** [@lbrandao](https://discourse.itk.org/u/lbrandao)\
**Replies:** 1\
**Last updated:** [July 31, 2024, 11:59am UTC](https://discourse.itk.org/t/jacobian-determinant-2d-deformation-field-and-pixel-voxel-spacing/7145 "2024-07-31T11:59:32Z")

</div>

Dear all, I have a numpy array representing a deformation field with 2D shape (i.e., only x and y displacements), and I want to compute its Jacobian determinant. Here’s how I’m doing it: def\_field\_np is a numpy array …

---

## [How to create vtp file from nrrd file for further geometry view?](https://discourse.itk.org/t/how-to-create-vtp-file-from-nrrd-file-for-further-geometry-view/7141)

<div class="topic-metadata">

**Author:** [@babayka](https://discourse.itk.org/u/babayka)\
**Replies:** 4\
**Last updated:** [July 31, 2024, 11:44am UTC](https://discourse.itk.org/t/how-to-create-vtp-file-from-nrrd-file-for-further-geometry-view/7141 "2024-07-31T11:44:45Z")

</div>

I am new to both itk/vtk and currently would like to display a 3d render of the vtp file of brain taken converted from nrrd/nifti file, where the final render will be shown in frontend using javascript(react), and the co…

---

## [Build and install SimpleITK with SimpleITK\_USE\_ELASTIX option in linux environment](https://discourse.itk.org/t/build-and-install-simpleitk-with-simpleitk-use-elastix-option-in-linux-environment/7128)

<div class="topic-metadata">

**Author:** [@thanuja](https://discourse.itk.org/u/thanuja)\
**Replies:** 8\
**Last updated:** [July 29, 2024, 1:11pm UTC](https://discourse.itk.org/t/build-and-install-simpleitk-with-simpleitk-use-elastix-option-in-linux-environment/7128 "2024-07-29T13:11:28Z")

</div>

Hi All, I’m trying to install simple elastix package using SimpleITK v2.2.1 source code in a python 3.10.13 virtual environment by following the documentation:https://simpleitk.readthedocs.io/en/master/building.html I’…

---

## [3rd Get Your Brain Together Hackathon - OME-Zarr Coordinate Transforms](https://discourse.itk.org/t/3rd-get-your-brain-together-hackathon-ome-zarr-coordinate-transforms/7119)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 4:06am UTC](https://discourse.itk.org/t/3rd-get-your-brain-together-hackathon-ome-zarr-coordinate-transforms/7119 "2024-07-29T04:06:00Z")

</div>

Join us for the 3rd Get Your Brain Together Hackathon ! Register now! What? Purpose The Get Your Brain Together hackathons bring together neuroimage data generators, image registration researchers, and neurodata comp…

---

## [How to extract blood vessel's orientation in Python?](https://discourse.itk.org/t/how-to-extract-blood-vessels-orientation-in-python/7127)

<div class="topic-metadata">

**Author:** [@Maolin](https://discourse.itk.org/u/Maolin)\
**Replies:** 2\
**Last updated:** [July 28, 2024, 7:34pm UTC](https://discourse.itk.org/t/how-to-extract-blood-vessels-orientation-in-python/7127 "2024-07-28T19:34:59Z")

</div>

Hi all, I am new to ITK and I’d like to look for a way to use simpleITk or Python ITK to extract the blood vessel’s orientation. I reviewd the function itk.hessian\_recursive\_gaussian\_image\_filter that can compute the h…

---

## [Is better to use \`itk.imread(dir)\` than \`itk.imread(file\_list)\`?](https://discourse.itk.org/t/is-better-to-use-itk-imread-dir-than-itk-imread-file-list/7123)

<div class="topic-metadata">

**Author:** [@jinquan\_guan](https://discourse.itk.org/u/jinquan_guan)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 2:21pm UTC](https://discourse.itk.org/t/is-better-to-use-itk-imread-dir-than-itk-imread-file-list/7123 "2024-07-25T14:21:43Z")

</div>

I made an experiment about the itk.imread function, and found something interesting. I putted .dcm files with the same series ID in a directory. And then convert the dicom data into nii.gz format. Here come the differen…

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

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