# Latest

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

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

**Page:** 75

---

## [Highly concurrent SimpleITK program written in fsharp crashes a lot, and may return inconsistent images](https://discourse.itk.org/t/highly-concurrent-simpleitk-program-written-in-fsharp-crashes-a-lot-and-may-return-inconsistent-images/2575)

<div class="topic-metadata">

**Author:** [@vincenzoml](https://discourse.itk.org/u/vincenzoml)\
**Replies:** 10\
**Last updated:** [January 31, 2020, 10:18pm UTC](https://discourse.itk.org/t/highly-concurrent-simpleitk-program-written-in-fsharp-crashes-a-lot-and-may-return-inconsistent-images/2575 "2020-01-31T22:18:17Z")

</div>

Hi all, We are having bad problems with the VoxLogicA tool, which uses SimpleITK in a highly concurrent manner; the problems manifest themselves only on a recent machine with a 16-cores Intel Core i7 processor and 32GB…

---

## [LabelImageGenericInterpolateImageFunction and BSplineInterpolateImageFunction](https://discourse.itk.org/t/labelimagegenericinterpolateimagefunction-and-bsplineinterpolateimagefunction/2668)

<div class="topic-metadata">

**Author:** [@DVigneault](https://discourse.itk.org/u/DVigneault)\
**Replies:** 2\
**Last updated:** [January 31, 2020, 6:14pm UTC](https://discourse.itk.org/t/labelimagegenericinterpolateimagefunction-and-bsplineinterpolateimagefunction/2668 "2020-01-31T18:14:13Z")

</div>

All– I recently discovered an excellent remote module which separately interpolates each label in a segmentation image generically over a templated interpolator, and then takes the maximum value for the output. I’ve tr…

---

## [how to preserve transform of full resolution image](https://discourse.itk.org/t/how-to-preserve-transform-of-full-resolution-image/2664)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 3\
**Last updated:** [January 31, 2020, 4:10pm UTC](https://discourse.itk.org/t/how-to-preserve-transform-of-full-resolution-image/2664 "2020-01-31T16:10:05Z")

</div>

I have a group of rgb tiff images that have been registered using low resolution tiles, I want to apply the transform to each tiff image save the image back to a new tiff file but with the full resolution and tiles etc, …

---

## [Remote module made of several modules](https://discourse.itk.org/t/remote-module-made-of-several-modules/2661)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 4\
**Last updated:** [January 30, 2020, 7:07pm UTC](https://discourse.itk.org/t/remote-module-made-of-several-modules/2661 "2020-01-30T19:07:05Z")

</div>

I am quite fond of ITK’s module architecture and I am very pleased with RTK’s move to being a remote module. Thank you all for creating this architecture and thank you @LucasGandel for adapting RTK! Yet, I think that RT…

---

## [Is there any way to create an Image object starting from a array?](https://discourse.itk.org/t/is-there-any-way-to-create-an-image-object-starting-from-a-array/2658)

<div class="topic-metadata">

**Author:** [@Everaldo](https://discourse.itk.org/u/Everaldo)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 11:54am UTC](https://discourse.itk.org/t/is-there-any-way-to-create-an-image-object-starting-from-a-array/2658 "2020-01-29T11:54:58Z")

</div>

Hi guys, I have an Image which is structured in an C++ Array and I didn’t find a constructor to initialize an image object starting from it. So, Is there any way to do this? Thanks.

---

## [how to draw shapes in a dicom with simpleITK ?](https://discourse.itk.org/t/how-to-draw-shapes-in-a-dicom-with-simpleitk/2654)

<div class="topic-metadata">

**Author:** [@javi12](https://discourse.itk.org/u/javi12)\
**Replies:** 4\
**Last updated:** [January 28, 2020, 6:19pm UTC](https://discourse.itk.org/t/how-to-draw-shapes-in-a-dicom-with-simpleitk/2654 "2020-01-28T18:19:27Z")

</div>

I need to create custom labels to draw shapes in a dicom.

---

## [Make a c++ library available as a python module](https://discourse.itk.org/t/make-a-c-library-available-as-a-python-module/2644)

<div class="topic-metadata">

**Author:** [@cg2](https://discourse.itk.org/u/cg2)\
**Replies:** 5\
**Last updated:** [January 28, 2020, 2:03pm UTC](https://discourse.itk.org/t/make-a-c-library-available-as-a-python-module/2644 "2020-01-28T14:03:01Z")

</div>

Hi everybody, While struggling with some python wrapping stuff, I realized I might not have the right strategy to make some code easily available to the ITK community especially for quick prototyping in python. I saw t…

---

## [CT volume image orientation correction](https://discourse.itk.org/t/ct-volume-image-orientation-correction/2649)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 2\
**Last updated:** [January 26, 2020, 4:54am UTC](https://discourse.itk.org/t/ct-volume-image-orientation-correction/2649 "2020-01-26T04:54:06Z")

</div>

Hi, I have a large set of ct images of heart. The ct volumes created from the image set need to be processed. But before processing, I need to check the orientation of each volume to see the long axis of the heart point…

---

## [RTK users guid book, any book for RTK Reconstruction with examples](https://discourse.itk.org/t/rtk-users-guid-book-any-book-for-rtk-reconstruction-with-examples/2485)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [January 24, 2020, 9:26pm UTC](https://discourse.itk.org/t/rtk-users-guid-book-any-book-for-rtk-reconstruction-with-examples/2485 "2020-01-24T21:26:46Z")

</div>

Hi, Thank you in advance, I am looking for a RTK reconstruction 2d/3d that teaches about how to reconstruct from projections 2d/3d objects. explain the pipeline how to make things happen in RTK for different 3d reconstr…

---

## [WrapITK file installation location](https://discourse.itk.org/t/wrapitk-file-installation-location/2643)

<div class="topic-metadata">

**Author:** [@cg2](https://discourse.itk.org/u/cg2)\
**Replies:** 4\
**Last updated:** [January 22, 2020, 9:10pm UTC](https://discourse.itk.org/t/wrapitk-file-installation-location/2643 "2020-01-22T21:10:12Z")

</div>

Hi everyone, I am porting an external project that use ITKWrap to wrap its own itk-based modules to ITK 5 and I’ve some issue with the location of Wrapping scripts. The initial script was: find\_package(WrapITK REQUIRED…

---

## [MultiMetric returns only value of first component metric](https://discourse.itk.org/t/multimetric-returns-only-value-of-first-component-metric/2646)

<div class="topic-metadata">

**Author:** [@Martin\_Kavec](https://discourse.itk.org/u/Martin_Kavec)\
**Replies:** 0\
**Last updated:** [January 22, 2020, 4:50pm UTC](https://discourse.itk.org/t/multimetric-returns-only-value-of-first-component-metric/2646 "2020-01-22T16:50:36Z")

</div>

Hi, I am setting up a registration using ObjectToObjectMultiMetricv4. I add two component metrices of the same type (m1 and m2), set equal weights (0.5) for each of them, and add two different datasets d1 and d2. In th…

---

## [3D Model from MRI scan](https://discourse.itk.org/t/3d-model-from-mri-scan/2420)

<div class="topic-metadata">

**Author:** [@tkindu](https://discourse.itk.org/u/tkindu)\
**Replies:** 3\
**Last updated:** [January 22, 2020, 2:15pm UTC](https://discourse.itk.org/t/3d-model-from-mri-scan/2420 "2020-01-22T14:15:29Z")

</div>

Hi i’m researching whether I can use ITK to create a software which would convert MRI scan (DICOM format) into a 3D model. Please direct me to any similar examples and if not possible please provide any tips on where I c…

---

## [Run tests for single modules](https://discourse.itk.org/t/run-tests-for-single-modules/2636)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 3\
**Last updated:** [January 20, 2020, 3:01pm UTC](https://discourse.itk.org/t/run-tests-for-single-modules/2636 "2020-01-20T15:01:06Z")

</div>

Hello again, is there an option to turn on/off only some module tests? Example: I would like to test itkOptimizer and nothing else but the CMake option BUILD\_TESTING turn on all tests of all modules. Therefore, I have …

---

## [Code to access specific voxels](https://discourse.itk.org/t/code-to-access-specific-voxels/2639)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 1\
**Last updated:** [January 20, 2020, 2:49pm UTC](https://discourse.itk.org/t/code-to-access-specific-voxels/2639 "2020-01-20T14:49:47Z")

</div>

I have a 3D image and a sphere equation. I need to take out all the voxels that are outside the circle and want to apply a transformation to them. How do I differentiate those points from all the points? I’m not understa…

---

## [upgrading programs written with old itk versions](https://discourse.itk.org/t/upgrading-programs-written-with-old-itk-versions/2634)

<div class="topic-metadata">

**Author:** [@zeinsalah](https://discourse.itk.org/u/zeinsalah)\
**Replies:** 1\
**Last updated:** [January 18, 2020, 9:01pm UTC](https://discourse.itk.org/t/upgrading-programs-written-with-old-itk-versions/2634 "2020-01-18T21:01:12Z")

</div>

Dear all, I have been using itk/vtk/fltk for many years. Due to job changes, I was not touching itk since 2017. Within multiple projects, I will be coming back to itk the next period. However, I have here another questi…

---

## [best way to apply composite transforms in sitk](https://discourse.itk.org/t/best-way-to-apply-composite-transforms-in-sitk/2532)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 3\
**Last updated:** [January 17, 2020, 8:00pm UTC](https://discourse.itk.org/t/best-way-to-apply-composite-transforms-in-sitk/2532 "2020-01-17T20:00:36Z")

</div>

I am trying to apply several transforms to an image, i.e. align a set of 2d image to the same space, when I apply the transforms it doesn’t appear to work even though the figures I generate before this operation appear …

---

## [VXL & VNL doxygen](https://discourse.itk.org/t/vxl-vnl-doxygen/2618)

<div class="topic-metadata">

**Author:** [@fhelen](https://discourse.itk.org/u/fhelen)\
**Replies:** 6\
**Last updated:** [January 17, 2020, 7:40am UTC](https://discourse.itk.org/t/vxl-vnl-doxygen/2618 "2020-01-17T07:40:26Z")

</div>

Hello, I’m using VNL vector througth ITK for my daily work. But since today, i can’t access to VNL doxygen documentation (later https://public.kitware.com/vxl/doc/release/core/vnl/html/classvnl\_\_vector.html). It’s very…

---

## [Address Sanitizer / Consume ITK as Source Code](https://discourse.itk.org/t/address-sanitizer-consume-itk-as-source-code/2614)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 9\
**Last updated:** [January 16, 2020, 1:48pm UTC](https://discourse.itk.org/t/address-sanitizer-consume-itk-as-source-code/2614 "2020-01-16T13:48:48Z")

</div>

Hello, This is a question where I feel I don’t know quite enough to ask the right question, so if I’m doing it wrong feel free to enlighten me. I recently discovered the joy of Address Sanitizer for debugging memory is…

---

## [Problem in the calculation of the inverse of the BSpline using Simple ITK](https://discourse.itk.org/t/problem-in-the-calculation-of-the-inverse-of-the-bspline-using-simple-itk/2624)

<div class="topic-metadata">

**Author:** [@Everaldo](https://discourse.itk.org/u/Everaldo)\
**Replies:** 1\
**Last updated:** [January 15, 2020, 4:17pm UTC](https://discourse.itk.org/t/problem-in-the-calculation-of-the-inverse-of-the-bspline-using-simple-itk/2624 "2020-01-15T16:17:39Z")

</div>

I’m trying to calculate the inverse transformation of a BSpline Transformation and I’m following the instructions of this link here in the Discourse. Here is the code I’m using: #Calculating the inverse of the Bspline d…

---

## [Registration Ct and MRI with multiresolution](https://discourse.itk.org/t/registration-ct-and-mri-with-multiresolution/2585)

<div class="topic-metadata">

**Author:** [@drcjaudet](https://discourse.itk.org/u/drcjaudet)\
**Replies:** 7\
**Last updated:** [January 14, 2020, 10:38pm UTC](https://discourse.itk.org/t/registration-ct-and-mri-with-multiresolution/2585 "2020-01-14T22:38:10Z")

</div>

Hello itk community, My goals is to create a code in simple itk to perform quality contrôle of geometri distortion on MRI. The key for following the evolution of the system performances is to register every new MRI wit…

---

## [Nifti file orientation change between 2019-08-26 and ITK v5.1rc01](https://discourse.itk.org/t/nifti-file-orientation-change-between-2019-08-26-and-itk-v5-1rc01/2594)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 29\
**Last updated:** [January 14, 2020, 10:30pm UTC](https://discourse.itk.org/t/nifti-file-orientation-change-between-2019-08-26-and-itk-v5-1rc01/2594 "2020-01-14T22:30:46Z")

</div>

We are updating 3D Slicer to use ITK v5.1rc01 and two of our tests now fail. The problem is that a nifti file loads with different image directions now compared to previously: ITK master as of 2019-08-26 =\> image direc…

---

## [Setting OnePlusOne optimizer for multi-resolution registration](https://discourse.itk.org/t/setting-oneplusone-optimizer-for-multi-resolution-registration/2616)

<div class="topic-metadata">

**Author:** [@fangc](https://discourse.itk.org/u/fangc)\
**Replies:** 0\
**Last updated:** [January 14, 2020, 3:45pm UTC](https://discourse.itk.org/t/setting-oneplusone-optimizer-for-multi-resolution-registration/2616 "2020-01-14T15:45:24Z")

</div>

I am using ITK5 to build an automated multi-resolution rigid registration for multi-modality 3D MR images, basically T1 and T2 registration. As the OnePlusOne optimizer works well with mutual information metric, I am thi…

---

## [MultiLabelSTAPLEImageFilter introduce new label value](https://discourse.itk.org/t/multilabelstapleimagefilter-introduce-new-label-value/2593)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.itk.org/u/hubutui)\
**Replies:** 2\
**Last updated:** [January 14, 2020, 2:34pm UTC](https://discourse.itk.org/t/multilabelstapleimagefilter-introduce-new-label-value/2593 "2020-01-14T14:34:01Z")

</div>

I’m using MultiLabelSTAPLEImageFilter to combine several annotations. However, this filter introduce new label value. Here is my script: import SimpleITK as sitk import numpy as np import os import os.path as osp if \_…

---

## [Multi-resolution rigid registration failed to converge on some dataset.](https://discourse.itk.org/t/multi-resolution-rigid-registration-failed-to-converge-on-some-dataset/2613)

<div class="topic-metadata">

**Author:** [@fangc](https://discourse.itk.org/u/fangc)\
**Replies:** 0\
**Last updated:** [January 13, 2020, 2:48pm UTC](https://discourse.itk.org/t/multi-resolution-rigid-registration-failed-to-converge-on-some-dataset/2613 "2020-01-13T14:48:49Z")

</div>

Hello, I am using ITK5 to build an automated multi-resolution rigid registration for multi-modality 3D MR images, basically T1 and T2 registration. The results are quite good on most of my subjects, but there are a few …

---

## [Transform a point index into its respective one after registration](https://discourse.itk.org/t/transform-a-point-index-into-its-respective-one-after-registration/2605)

<div class="topic-metadata">

**Author:** [@Everaldo](https://discourse.itk.org/u/Everaldo)\
**Replies:** 6\
**Last updated:** [January 13, 2020, 4:58pm UTC](https://discourse.itk.org/t/transform-a-point-index-into-its-respective-one-after-registration/2605 "2020-01-13T16:58:22Z")

</div>

I did a registration in two steps, Affine -\> B-Spline, and now I want to know what is the correspondent index in the new space for a given index in the original space. Here is the code I’m using: #Receiving the voxel co…

---

## [Building modules against installed ITK](https://discourse.itk.org/t/building-modules-against-installed-itk/2608)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.itk.org/u/dcthomp)\
**Replies:** 1\
**Last updated:** [January 11, 2020, 10:49pm UTC](https://discourse.itk.org/t/building-modules-against-installed-itk/2608 "2020-01-11T22:49:57Z")

</div>

Hi all, I would like to build ITKVtkGlue against an installed ITK (so I can link to a VTK built by ParaView as part of a superbuild). I get an error saying this is unsupported, however, Ben Boeckel says that could lead …

---

## [ITK wrap python compile error](https://discourse.itk.org/t/itk-wrap-python-compile-error/2606)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [January 11, 2020, 10:45pm UTC](https://discourse.itk.org/t/itk-wrap-python-compile-error/2606 "2020-01-11T22:45:18Z")

</div>

I want to compile ITK from source and wrap with python. But the following bug happen: My environment is: window 10 64 bit vs 2015 64 bit Python 3.7.6 (default, Jan 8 2020, 20:23:39) \[MSC v.1916 64 bit (AMD64)\] :: A…

---

## [Link error on declaring metrics in two different classes](https://discourse.itk.org/t/link-error-on-declaring-metrics-in-two-different-classes/2600)

<div class="topic-metadata">

**Author:** [@sbruge](https://discourse.itk.org/u/sbruge)\
**Replies:** 3\
**Last updated:** [January 10, 2020, 8:20pm UTC](https://discourse.itk.org/t/link-error-on-declaring-metrics-in-two-different-classes/2600 "2020-01-10T20:20:13Z")

</div>

Hi everyone, I’m stuck on a compilation issue using visual studio (2017 or 2019). I need to implement two classes: one using GradientDifferenceImageToImageMetric and another one using MeanSquaresImageToImageMetricv4. Bu…

---

## [implement of Simpson’s biplane method to calculate volume](https://discourse.itk.org/t/implement-of-simpson-s-biplane-method-to-calculate-volume/2601)

<div class="topic-metadata">

**Author:** [@hubutui](https://discourse.itk.org/u/hubutui)\
**Replies:** 0\
**Last updated:** [January 10, 2020, 2:52pm UTC](https://discourse.itk.org/t/implement-of-simpson-s-biplane-method-to-calculate-volume/2601 "2020-01-10T14:52:26Z")

</div>

Hello, I’m trying to calculate left ventricle volume at end-diastole and end-systole. After googling, I fould this article describe the method for detail. However, I still have some issue to implement it. According to eq…

---

## [How to apply a 3D B-Spline Transformation in a Point?](https://discourse.itk.org/t/how-to-apply-a-3d-b-spline-transformation-in-a-point/2596)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 1\
**Last updated:** [January 10, 2020, 2:15pm UTC](https://discourse.itk.org/t/how-to-apply-a-3d-b-spline-transformation-in-a-point/2596 "2020-01-10T14:15:05Z")

</div>

Hi, after a 3D registration process using the B-Spline transformation I got a .tfm file containing the transformation parameters. My problem is: How to apply this transformation in just one point using Python? Thanks.

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

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