# Latest

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

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

**Page:** 26

---

## [Transform of points using Euler3DTransform](https://discourse.itk.org/t/transform-of-points-using-euler3dtransform/5830)

<div class="topic-metadata">

**Author:** [@jm\_nc](https://discourse.itk.org/u/jm_nc)\
**Replies:** 3\
**Last updated:** [March 24, 2023, 12:47pm UTC](https://discourse.itk.org/t/transform-of-points-using-euler3dtransform/5830 "2023-03-24T12:47:35Z")

</div>

Hey Everyone - simple question from a newbie, I’m using simple ITK. I know the registration transform between two (nifti) volumes - I did it manually in MITK and have read back in the offset and rotation. Then I created…

---

## [Wrapping Deformable Mesh](https://discourse.itk.org/t/wrapping-deformable-mesh/5823)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 4:59pm UTC](https://discourse.itk.org/t/wrapping-deformable-mesh/5823 "2023-03-23T16:59:44Z")

</div>

Hi, I’d like to use python supported itkDeformableSimplexMesh3DGradientConstraintForceFilter, itkDeformableSimplexMesh3DFilter, itkDeformableSimplexMesh3DBalloonForceFilter in ITK 5.2.1. I try to add CMakeLists.txt and w…

---

## [Extract bone structures](https://discourse.itk.org/t/extract-bone-structures/5826)

<div class="topic-metadata">

**Author:** [@suzume](https://discourse.itk.org/u/suzume)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 2:28pm UTC](https://discourse.itk.org/t/extract-bone-structures/5826 "2023-03-23T14:28:11Z")

</div>

Hi, I want to know is there some method in itk to enhance the bone structures in EPID image? Or is there some method in itk to extract bone structure in EPID image?

---

## [Trying to delete object with non-zero reference count.](https://discourse.itk.org/t/trying-to-delete-object-with-non-zero-reference-count/5807)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 10\
**Last updated:** [March 22, 2023, 6:10pm UTC](https://discourse.itk.org/t/trying-to-delete-object-with-non-zero-reference-count/5807 "2023-03-22T18:10:40Z")

</div>

When my program exits, the title appears. Does it represent my memory leak？

---

## [Apply deformation field on source image to get the target image](https://discourse.itk.org/t/apply-deformation-field-on-source-image-to-get-the-target-image/5821)

<div class="topic-metadata">

**Author:** [@Xinyue](https://discourse.itk.org/u/Xinyue)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 5:45pm UTC](https://discourse.itk.org/t/apply-deformation-field-on-source-image-to-get-the-target-image/5821 "2023-03-22T17:45:24Z")

</div>

Hi all, I am working on generating my own data, I have the deformation fired and the source image, and try to generate the target image. I found somewhere mentioned that it should be done with DisplacementFieldTransform…

---

## [Is WarpImageFilter supposed to reverse a displacement field?](https://discourse.itk.org/t/is-warpimagefilter-supposed-to-reverse-a-displacement-field/5819)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 4\
**Last updated:** [March 22, 2023, 3:14pm UTC](https://discourse.itk.org/t/is-warpimagefilter-supposed-to-reverse-a-displacement-field/5819 "2023-03-22T15:14:14Z")

</div>

Continuing the discussion from How to create a displacement field image from a numpy array without files?: Is WarpImageFilter supposed to reverse a displacement field? Hi! I just figured how to warp an image with a disp…

---

## [Resampling Image: Finding original point in new resampled Image](https://discourse.itk.org/t/resampling-image-finding-original-point-in-new-resampled-image/5818)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 1:04pm UTC](https://discourse.itk.org/t/resampling-image-finding-original-point-in-new-resampled-image/5818 "2023-03-22T13:04:51Z")

</div>

I have a smaller image that is (512x512). I resampled it to a new space (692x512) and am now wondering how I can determine of a point in the smaller image, for example: location 25,25, in the larger image. I tried using…

---

## [How to create a displacement field image from a numpy array without files?](https://discourse.itk.org/t/how-to-create-a-displacement-field-image-from-a-numpy-array-without-files/5717)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 10:53am UTC](https://discourse.itk.org/t/how-to-create-a-displacement-field-image-from-a-numpy-array-without-files/5717 "2023-03-22T10:53:17Z")

</div>

Continuing the discussion from Creating a displacement field image from a numpy array: Hello! I am trying to warp an image. The image is built from an array, and I would like to build the displacement field from anothe…

---

## [What is the scope of mutual information](https://discourse.itk.org/t/what-is-the-scope-of-mutual-information/5811)

<div class="topic-metadata">

**Author:** [@ljjiayou](https://discourse.itk.org/u/ljjiayou)\
**Replies:** 3\
**Last updated:** [March 21, 2023, 1:00pm UTC](https://discourse.itk.org/t/what-is-the-scope-of-mutual-information/5811 "2023-03-21T13:00:42Z")

</div>

this is my code: registation=sitk.ImageRegistrationMethod() registation.SetMetricAsMattesMutualInformation(numberOfHistogramBins=50) registation.SetMetricSamplingStrategy(registation.NONE) registation.SetMetricSampli…

---

## [How to fix the problem of "Too many samples map outside moving image buffer"](https://discourse.itk.org/t/how-to-fix-the-problem-of-too-many-samples-map-outside-moving-image-buffer/850)

<div class="topic-metadata">

**Author:** [@Jounly](https://discourse.itk.org/u/Jounly)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 3:41am UTC](https://discourse.itk.org/t/how-to-fix-the-problem-of-too-many-samples-map-outside-moving-image-buffer/850 "2023-03-21T03:41:47Z")

</div>

Hi, I am using MattesMutualInformationImageToImageMetricv4 as the metric in the registration frame. However, it always fails and throws the exception of “Too many samples map outside moving image buffer. There are only …

---

## [ITK: ResampleImageFilter and ImageFileWriter compatible with dask?](https://discourse.itk.org/t/itk-resampleimagefilter-and-imagefilewriter-compatible-with-dask/5710)

<div class="topic-metadata">

**Author:** [@Keyn34](https://discourse.itk.org/u/Keyn34)\
**Replies:** 6\
**Last updated:** [March 8, 2023, 5:07pm UTC](https://discourse.itk.org/t/itk-resampleimagefilter-and-imagefilewriter-compatible-with-dask/5710 "2023-03-08T17:07:49Z")

</div>

Hello everyone, I hope that’s the correct category. I wanted to ask if someone can give me a hint or info on if ITK’s ResampleImageFilter and ImageFileWriter are compatible with dask and if someone has tested that so f…

---

## [How to use Cuberille module with vcpkg](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813)

<div class="topic-metadata">

**Author:** [@daniel\_123](https://discourse.itk.org/u/daniel_123)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 2:10pm UTC](https://discourse.itk.org/t/how-to-use-cuberille-module-with-vcpkg/5813 "2023-03-20T14:10:45Z")

</div>

Hi I am using ITK in a C++ project. I manage my dependencies with vcpkg. However, I do not manage to get the itk Cuberille remote module through vcpgk. How can I download, build, and use the Cuberille module with vcpkg? …

---

## [Passing mask argument in N4BiasFieldCorrection()](https://discourse.itk.org/t/passing-mask-argument-in-n4biasfieldcorrection/5793)

<div class="topic-metadata">

**Author:** [@Thomas\_Jeong](https://discourse.itk.org/u/Thomas_Jeong)\
**Replies:** 3\
**Last updated:** [March 19, 2023, 11:19pm UTC](https://discourse.itk.org/t/passing-mask-argument-in-n4biasfieldcorrection/5793 "2023-03-19T23:19:09Z")

</div>

Hello all, Trying to use the N4BiasFieldCorrection() method to fix the intensity inhomogeneity in Dixon MRI scans. I have used the function with success just passing the image as the only argument, such as below: sitk.…

---

## [Neglecting Edge Errors in FFT Cross Correlation Results](https://discourse.itk.org/t/neglecting-edge-errors-in-fft-cross-correlation-results/5810)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 2\
**Last updated:** [March 17, 2023, 6:54pm UTC](https://discourse.itk.org/t/neglecting-edge-errors-in-fft-cross-correlation-results/5810 "2023-03-17T18:54:46Z")

</div>

I have been using the sitk FFTNormalizedCrossCorrelation function to match the smaller image to its “best” location in the larger image. My results at the moment are indicating that the best match is at the edge (shown …

---

## [Reading .tif images: vector of 8-bit unsigned in vs. 8-bit unsigned int](https://discourse.itk.org/t/reading-tif-images-vector-of-8-bit-unsigned-in-vs-8-bit-unsigned-int/5809)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 4\
**Last updated:** [March 17, 2023, 5:03pm UTC](https://discourse.itk.org/t/reading-tif-images-vector-of-8-bit-unsigned-in-vs-8-bit-unsigned-int/5809 "2023-03-17T17:03:23Z")

</div>

I have come across this issue, where some .tif files that I read into SimpleITK load as “8-but unsigned int”, but others load as “vector of 8-bit unsigned int”. I have been reading in the .tif images using sitk.ReadImag…

---

## [flip two anatomical planes of the 3D image but failed](https://discourse.itk.org/t/flip-two-anatomical-planes-of-the-3d-image-but-failed/5806)

<div class="topic-metadata">

**Author:** [@ljjiayou](https://discourse.itk.org/u/ljjiayou)\
**Replies:** 7\
**Last updated:** [March 17, 2023, 3:48am UTC](https://discourse.itk.org/t/flip-two-anatomical-planes-of-the-3d-image-but-failed/5806 "2023-03-17T03:48:25Z")

</div>

I want to mirror and flip two anatomical planes of the 3D image, using the following code. It was successful on the image size of (481481481), with two anatomical planes reversed, but failed on the other image size of (2…

---

## [Setting Up Basic ITK Implementation in Vue 3.x](https://discourse.itk.org/t/setting-up-basic-itk-implementation-in-vue-3-x/5804)

<div class="topic-metadata">

**Author:** [@davidshq](https://discourse.itk.org/u/davidshq)\
**Replies:** 1\
**Last updated:** [March 15, 2023, 6:38pm UTC](https://discourse.itk.org/t/setting-up-basic-itk-implementation-in-vue-3-x/5804 "2023-03-15T18:38:12Z")

</div>

I ran into some challenges setting up a Vue 3.x project with ITK-wasm and VTK.js. I’ve created a branch of my current project I’m going to leave as a really basic example of a working Vue 3.x project using both ITK-wasm …

---

## [applying saved transforms/registration to the subsequent channels](https://discourse.itk.org/t/applying-saved-transforms-registration-to-the-subsequent-channels/5797)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 4\
**Last updated:** [March 15, 2023, 3:20pm UTC](https://discourse.itk.org/t/applying-saved-transforms-registration-to-the-subsequent-channels/5797 "2023-03-15T15:20:59Z")

</div>

Suppose I am using the red channel of a RGB image, as it carries the most details. Now I applied a working registration method as following: initial\_transform = sitk.Euler2DTransform(sitk.CenteredTransformInitializer( …

---

## [D:\\ITK5.3\\release\\bin\\ITKCommon-5.3.dll”。Module generated without symbols](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 8\
**Last updated:** [March 14, 2023, 2:48pm UTC](https://discourse.itk.org/t/d-itk5-3-release-bin-itkcommon-5-3-dll-module-generated-without-symbols/5803 "2023-03-14T14:48:22Z")

</div>

Why is there no debug symbol in the debug library I compiled?

---

## [Inconsistent Mattes Mutual Information metric Value.](https://discourse.itk.org/t/inconsistent-mattes-mutual-information-metric-value/5777)

<div class="topic-metadata">

**Author:** [@gaurav\_patel](https://discourse.itk.org/u/gaurav_patel)\
**Replies:** 8\
**Last updated:** [March 14, 2023, 12:33pm UTC](https://discourse.itk.org/t/inconsistent-mattes-mutual-information-metric-value/5777 "2023-03-14T12:33:27Z")

</div>

I am trying to register MRI- CT volumes from " Report of the AAPM Radiation Therapy Committee Task Group No. 132" (dataset). The dataset has CT, MR and PET volumes of geometric and anatomical phantoms. The offsets along …

---

## [Crop patch out of an image](https://discourse.itk.org/t/crop-patch-out-of-an-image/5784)

<div class="topic-metadata">

**Author:** [@User0](https://discourse.itk.org/u/User0)\
**Replies:** 13\
**Last updated:** [March 14, 2023, 8:17am UTC](https://discourse.itk.org/t/crop-patch-out-of-an-image/5784 "2023-03-14T08:17:26Z")

</div>

I’m trying to use itk (not sitk) to crop out a patch of another image. I have two images A and B that are overlapping, but don’t share the same size, spacing or image origin. Image A is basically a 224x224 square patch.…

---

## [Is there a method to stop the registration process early?](https://discourse.itk.org/t/is-there-a-method-to-stop-the-registration-process-early/5791)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 1:01am UTC](https://discourse.itk.org/t/is-there-a-method-to-stop-the-registration-process-early/5791 "2023-03-14T01:01:02Z")

</div>

I want to stop the registration process early,but I’m not sure how.

---

## [itk5.3 debug version can not read dicom serices image](https://discourse.itk.org/t/itk5-3-debug-version-can-not-read-dicom-serices-image/5790)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 0\
**Last updated:** [March 10, 2023, 2:14am UTC](https://discourse.itk.org/t/itk5-3-debug-version-can-not-read-dicom-serices-image/5790 "2023-03-10T02:14:19Z")

</div>

InsightToolkit-5.3rc04 this is my version,Is it the problem of itk library,The release version is OK.I also tried version 5.2. Debug is normal, but release is not. This makes me confused.

---

## [RuntimeError: Exception thrown in SimpleITK Image\_CopyInformation: /tmp/SimpleITK/Code/Common/src/sitkImage.cxx:278: sitk::ERROR: Source Image for information does not match this image's dimension.](https://discourse.itk.org/t/runtimeerror-exception-thrown-in-simpleitk-image-copyinformation-tmp-simpleitk-code-common-src-sitkimage-cxx-sitk-source-image-for-information-does-not-match-this-images-dimension/5787)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 2\
**Last updated:** [March 10, 2023, 12:06am UTC](https://discourse.itk.org/t/runtimeerror-exception-thrown-in-simpleitk-image-copyinformation-tmp-simpleitk-code-common-src-sitkimage-cxx-sitk-source-image-for-information-does-not-match-this-images-dimension/5787 "2023-03-10T00:06:51Z")

</div>

I am working on multiscale\_demons registration and getting the following error from this line here: 66\_Registration\_Demons Error: Traceback (most recent call last): File "/home/banikr/PycharmProjects/registration/Reg…

---

## [ITK ERROR: MattesMutualInformationImageToImageMetricv4(000002CDB6B52D80): ....](https://discourse.itk.org/t/itk-error-mattesmutualinformationimagetoimagemetricv4-000002cdb6b52d80/5746)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 2\
**Last updated:** [February 23, 2023, 1:03am UTC](https://discourse.itk.org/t/itk-error-mattesmutualinformationimagetoimagemetricv4-000002cdb6b52d80/5746 "2023-02-23T01:03:07Z")

</div>

I am trying to register a segmented image on an MR image. image shapes: (22, 20) (22, 20) The MR image has intensity normalized from 0-1. The segmentation map has labels from 0-3(0 - background). Both images need som…

---

## [How to Debug WebAssembly Pipelines in Your Web Browser](https://discourse.itk.org/t/how-to-debug-webassembly-pipelines-in-your-web-browser/5788)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [March 8, 2023, 9:28pm UTC](https://discourse.itk.org/t/how-to-debug-webassembly-pipelines-in-your-web-browser/5788 "2023-03-08T21:28:32Z")

</div>

By: Matt McCormick , Mary Elise Dedicke , Jean-Christophe Fillion-Robin , Will Schroeder Did you know that your web browser comes bundled with extremely powerful development tools? Modern web browsers are the foundatio…

---

## [Template Matching in SimpleITK](https://discourse.itk.org/t/template-matching-in-simpleitk/5735)

<div class="topic-metadata">

**Author:** [@elapins](https://discourse.itk.org/u/elapins)\
**Replies:** 10\
**Last updated:** [March 8, 2023, 4:35pm UTC](https://discourse.itk.org/t/template-matching-in-simpleitk/5735 "2023-03-08T16:35:45Z")

</div>

I have used template matching in previous code, and was wondering if template matching is available in SimpleITK? Or if there are specific functions that will achieve the same outcome? Thank you!

---

## [How to use cmake fetchcontent to download itk and it's devedent projects?](https://discourse.itk.org/t/how-to-use-cmake-fetchcontent-to-download-itk-and-its-devedent-projects/5785)

<div class="topic-metadata">

**Author:** [@BlackCat\_Ruelle](https://discourse.itk.org/u/BlackCat_Ruelle)\
**Replies:** 4\
**Last updated:** [March 7, 2023, 10:03pm UTC](https://discourse.itk.org/t/how-to-use-cmake-fetchcontent-to-download-itk-and-its-devedent-projects/5785 "2023-03-07T22:03:32Z")

</div>

Hi, I am new to ITK. I am trying to use cmake to download ITK source code and build my projects. By it gives me strange error: “CMake Error at CMakeLists.txt:18 (include): include called with wrong number of arguments.…

---

## [Rotation error](https://discourse.itk.org/t/rotation-error/5783)

<div class="topic-metadata">

**Author:** [@suzume](https://discourse.itk.org/u/suzume)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 2:04pm UTC](https://discourse.itk.org/t/rotation-error/5783 "2023-03-06T14:04:08Z")

</div>

Hi, I want to rotate a point in two steps with two different rotation centers. Here is my code: typedef itk::Euler3DTransform\< double \> TransformType; TransformType::Pointer composetrans = TransformType::New(); Transfo…

---

## [Errors building CastXML and Python wrapping on Windows](https://discourse.itk.org/t/errors-building-castxml-and-python-wrapping-on-windows/5775)

<div class="topic-metadata">

**Author:** [@bdeldri](https://discourse.itk.org/u/bdeldri)\
**Replies:** 12\
**Last updated:** [March 6, 2023, 3:25pm UTC](https://discourse.itk.org/t/errors-building-castxml-and-python-wrapping-on-windows/5775 "2023-03-06T15:25:16Z")

</div>

I’m trying to build ITK 5.3.0 and RTK on Windows using CMake and Visual Studio, but am running into a number of errors like this: |Error|MSB8066|Custom build for ‘C:\\dev\\build\\InsightToolkit-5.3.0\\CMakeFiles\\9b223592ee…

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

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