# Latest

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

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

**Page:** 67

---

## [Finally SimpleITK for python, .net c#, java, c++ working](https://discourse.itk.org/t/finally-simpleitk-for-python-net-c-java-c-working/3140)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 2\
**Last updated:** [June 5, 2020, 2:00am UTC](https://discourse.itk.org/t/finally-simpleitk-for-python-net-c-java-c-working/3140 "2020-06-05T02:00:26Z")

</div>

Hi everyone, I just wanted to announce that another engineer in the forum is now very much set to work with SimpleITK, I finally could get the Fiji viewer to work with python! Thanks for the forum documentation … uhhhhh…

---

## [Visibility Settings](https://discourse.itk.org/t/visibility-settings/596)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 7\
**Last updated:** [June 3, 2020, 7:15pm UTC](https://discourse.itk.org/t/visibility-settings/596 "2020-06-03T19:15:02Z")

</div>

Hi, On a fresh checkout of v4.13.0, on High Sierra using the system compiler & Ninja, I am getting the following at the end of my build: \[2181/2181\] Linking CXX executable bin/itkTestDriver ld: warning: direct access i…

---

## [Principal moments](https://discourse.itk.org/t/principal-moments/3142)

<div class="topic-metadata">

**Author:** [@sz20b5](https://discourse.itk.org/u/sz20b5)\
**Replies:** 1\
**Last updated:** [June 3, 2020, 11:04am UTC](https://discourse.itk.org/t/principal-moments/3142 "2020-06-03T11:04:36Z")

</div>

Dear all, where can I found how is exactly computed GetPrincipalMoments() of a ShapeLabelObject? Thanks Jim

---

## [Filter to get data around a point](https://discourse.itk.org/t/filter-to-get-data-around-a-point/3141)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 6\
**Last updated:** [June 3, 2020, 6:57am UTC](https://discourse.itk.org/t/filter-to-get-data-around-a-point/3141 "2020-06-03T06:57:09Z")

</div>

Which ITK/SimpleITK filter can cut down a bit of volume and let the rest as it is ? To be more specific: user choose a point, 3d point. And I am intend to use this point into a filter that will make a hole around that po…

---

## [SimpleITK installation in anaconda environment 2](https://discourse.itk.org/t/simpleitk-installation-in-anaconda-environment-2/3109)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [June 2, 2020, 1:49pm UTC](https://discourse.itk.org/t/simpleitk-installation-in-anaconda-environment-2/3109 "2020-06-02T13:49:06Z")

</div>

Hi all, I am trying to install SimpleITK in the following environment: Virtual Environment: Conda (Anaconda3, pyton3) 2.check the binary installation in the anaconda and it seems all well! I tried to write a simple p…

---

## [Simpleitk python wrapper installation not working](https://discourse.itk.org/t/simpleitk-python-wrapper-installation-not-working/3114)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 2\
**Last updated:** [June 2, 2020, 1:37pm UTC](https://discourse.itk.org/t/simpleitk-python-wrapper-installation-not-working/3114 "2020-06-02T13:37:38Z")

</div>

I am struggling with getting right binary version of the SimpleITK python to work with Miniconda and still I can seem to make it work. python wrapper allows me to make things simpler to write with simpleitk. if some one…

---

## [Algorithm used for growing seeds](https://discourse.itk.org/t/algorithm-used-for-growing-seeds/3134)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 5\
**Last updated:** [June 2, 2020, 2:49am UTC](https://discourse.itk.org/t/algorithm-used-for-growing-seeds/3134 "2020-06-02T02:49:47Z")

</div>

I’ve seen here an example of how to segment a liver with 3ds slicer: https://www.youtube.com/watch?v=R-lBsqAvSTA (at the end of the movie is liver isolation). And I saw that is used a lot of seeds points for inside liv…

---

## [Problem in spacing and origin](https://discourse.itk.org/t/problem-in-spacing-and-origin/3137)

<div class="topic-metadata">

**Author:** [@basal](https://discourse.itk.org/u/basal)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 7:44pm UTC](https://discourse.itk.org/t/problem-in-spacing-and-origin/3137 "2020-06-01T19:44:18Z")

</div>

Hi all, I am using thinplate spline algorithm to deform my landmarks. I have landmarks’ coordinates in index format. The problem is that when the spacing and origin of my nrrd image are 1 and 0 respectively, the result …

---

## [Contrast enhancement method for CT](https://discourse.itk.org/t/contrast-enhancement-method-for-ct/3132)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 3\
**Last updated:** [June 1, 2020, 1:37am UTC](https://discourse.itk.org/t/contrast-enhancement-method-for-ct/3132 "2020-06-01T01:37:29Z")

</div>

I want to know what would be the best method to enhance the contrast of the CT images. What are the best filters available in ITK? Is there any filter that uses a simple contrast stretching method?

---

## [SimpleITK installation in anaconda environment](https://discourse.itk.org/t/simpleitk-installation-in-anaconda-environment/3106)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 2\
**Last updated:** [May 31, 2020, 3:10pm UTC](https://discourse.itk.org/t/simpleitk-installation-in-anaconda-environment/3106 "2020-05-31T15:10:54Z")

</div>

Hi all, I hope this is a relevant question for this forum … I am trying to install simpleITK in Anaconda3 environment. I followed the instructions in the manual. pip install SimpleITK conda list I can see SimpleITK …

---

## [SimpleITK.Show throws exception](https://discourse.itk.org/t/simpleitk-show-throws-exception/3133)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 0\
**Last updated:** [May 31, 2020, 9:24am UTC](https://discourse.itk.org/t/simpleitk-show-throws-exception/3133 "2020-05-31T09:24:09Z")

</div>

hi all, I am trying to write python in jupyter! (/SimpleITK-Notebooks/python && SimpleITK-Notebooks/utilities in PYTHONPATH environment variable) (importing update\_path\_to\_download\_script && download data scripts) imp…

---

## [Applying affine transform to label image in ITK](https://discourse.itk.org/t/applying-affine-transform-to-label-image-in-itk/3130)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 1\
**Last updated:** [May 29, 2020, 7:51pm UTC](https://discourse.itk.org/t/applying-affine-transform-to-label-image-in-itk/3130 "2020-05-29T19:51:51Z")

</div>

I did affine transformation between Moving and Fixed images. My moving image has label image too. After finding the transformation, I want to apply it to the label image of moving image and get the label for fixed image. …

---

## [Problems with Registration Fusion](https://discourse.itk.org/t/problems-with-registration-fusion/3118)

<div class="topic-metadata">

**Author:** [@Luis\_Carlos\_Carneiro](https://discourse.itk.org/u/Luis_Carlos_Carneiro)\
**Replies:** 7\
**Last updated:** [May 29, 2020, 12:08pm UTC](https://discourse.itk.org/t/problems-with-registration-fusion/3118 "2020-05-29T12:08:42Z")

</div>

Dear All, I am using the following example for my own purposes: http://insightsoftwareconsortium.github.io/SimpleITK-Notebooks/Python\_html/60\_Registration\_Introduction.html Below is an excerpt of the manual of ITK say…

---

## [Filter used after LabelIntensityStatisticsImageFilter](https://discourse.itk.org/t/filter-used-after-labelintensitystatisticsimagefilter/3108)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 10\
**Last updated:** [May 28, 2020, 4:19pm UTC](https://discourse.itk.org/t/filter-used-after-labelintensitystatisticsimagefilter/3108 "2020-05-28T16:19:45Z")

</div>

I have used sitk::LabelIntensityStatisticsImageFilter like this: sitk::Image imgTemp(img); .... another filters sitk::Image cc = sitk::SLIC(imgTemp); sitk::LabelIntensityStatisticsImageFilter stat; stat.Exec…

---

## [How Simpleitk calculate the gain factor and the approximation gradient for stochastic gradient descent?](https://discourse.itk.org/t/how-simpleitk-calculate-the-gain-factor-and-the-approximation-gradient-for-stochastic-gradient-descent/3123)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 12:41pm UTC](https://discourse.itk.org/t/how-simpleitk-calculate-the-gain-factor-and-the-approximation-gradient-for-stochastic-gradient-descent/3123 "2020-05-27T12:41:19Z")

</div>

Hi, I as looking for how to use stochastic gradient descent and I found that it can be done by setting MetricSamplingStrategyType as RANDOM and that the adaptative gain factor can be done by setting EstimateLearningRateT…

---

## [Detecting planes in binary images](https://discourse.itk.org/t/detecting-planes-in-binary-images/3115)

<div class="topic-metadata">

**Author:** [@alkamid](https://discourse.itk.org/u/alkamid)\
**Replies:** 3\
**Last updated:** [May 26, 2020, 3:20pm UTC](https://discourse.itk.org/t/detecting-planes-in-binary-images/3115 "2020-05-26T15:20:04Z")

</div>

I’m trying to detect certain type of artifacts in binary volumes I’m working with, namely step-like transitions between 0 and 1, but only in the three orthogonal planes XY/XZ/YZ. Example: The surface is generally roug…

---

## [Problem while resizing an image](https://discourse.itk.org/t/problem-while-resizing-an-image/3104)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 3\
**Last updated:** [May 25, 2020, 10:32pm UTC](https://discourse.itk.org/t/problem-while-resizing-an-image/3104 "2020-05-25T22:32:07Z")

</div>

Hi, I have two volumes with different size Fixed(240, 240, 180) and Moving(182, 218, 182), and registering them I apply a resizing with the function resample(). But when I visualize the images with an overlay of them, th…

---

## [Defining Landmarks file](https://discourse.itk.org/t/defining-landmarks-file/3110)

<div class="topic-metadata">

**Author:** [@basal](https://discourse.itk.org/u/basal)\
**Replies:** 4\
**Last updated:** [May 24, 2020, 4:15am UTC](https://discourse.itk.org/t/defining-landmarks-file/3110 "2020-05-24T04:15:38Z")

</div>

Hi, I want to use the ThinPlateSpline code in ITK, I already have my landmarks but I do not know how I should define a readable file for landmarks for the code. I defined the landmarks in the txt file I have attached but…

---

## [Problem in using difference filter in code](https://discourse.itk.org/t/problem-in-using-difference-filter-in-code/3112)

<div class="topic-metadata">

**Author:** [@basal](https://discourse.itk.org/u/basal)\
**Replies:** 1\
**Last updated:** [May 23, 2020, 4:59pm UTC](https://discourse.itk.org/t/problem-in-using-difference-filter-in-code/3112 "2020-05-23T16:59:05Z")

</div>

Hi, I added the difference filter in demons code in order to get the difference between deformed and fixed images after registration. However there is an error in the following part of the code. Does anyone help me with …

---

## [Equivalent of GetArrayFromImage](https://discourse.itk.org/t/equivalent-of-getarrayfromimage/3101)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 4\
**Last updated:** [May 22, 2020, 2:17pm UTC](https://discourse.itk.org/t/equivalent-of-getarrayfromimage/3101 "2020-05-22T14:17:41Z")

</div>

I read a lot of Python code, and I saw that is used a lot sitk.GetArrayFromImage method. What is equivalent for C++ of this method ? Example of Python code: labelmaskimage = sitk.GetArrayFromImage(cc) where cc is from …

---

## [Indices of Transformix's outputpoints.txt exceeds image dimensions](https://discourse.itk.org/t/indices-of-transformixs-outputpoints-txt-exceeds-image-dimensions/3105)

<div class="topic-metadata">

**Author:** [@ctorti](https://discourse.itk.org/u/ctorti)\
**Replies:** 2\
**Last updated:** [May 22, 2020, 1:44pm UTC](https://discourse.itk.org/t/indices-of-transformixs-outputpoints-txt-exceeds-image-dimensions/3105 "2020-05-22T13:44:15Z")

</div>

Hi all, I’m encountering an unexpected output from Transformix. I have two images after reading in two series of DICOMs: FixedIm Dtype = 32-bit float MovingIm Dtype = 32-bit float FixedIm Size = (212, 256, 30) Movin…

---

## [siutable deformable registration](https://discourse.itk.org/t/siutable-deformable-registration/3102)

<div class="topic-metadata">

**Author:** [@basal](https://discourse.itk.org/u/basal)\
**Replies:** 3\
**Last updated:** [May 22, 2020, 12:43pm UTC](https://discourse.itk.org/t/siutable-deformable-registration/3102 "2020-05-22T12:43:01Z")

</div>

Hi, I want to use deformable image registration method for registering attached images. I saw a lot of sample codes in ITK but I do not know which one is more suitable for my images (my images contain two sets of points)…

---

## [Using sitk::VectorConfidenceConnected on DICOM](https://discourse.itk.org/t/using-sitk-vectorconfidenceconnected-on-dicom/3098)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 6:52am UTC](https://discourse.itk.org/t/using-sitk-vectorconfidenceconnected-on-dicom/3098 "2020-05-21T06:52:02Z")

</div>

Is there possible to use sitk::VectorConfidenceConnected filter on DICOM files ? Why I am asking that: because anyway I have tried to use it, I got sitk::ERROR: Pixel type: complex of XX-bit float is not supported in 3D…

---

## [ITK.js: Mesh to polyData conversion](https://discourse.itk.org/t/itk-js-mesh-to-polydata-conversion/3065)

<div class="topic-metadata">

**Author:** [@emmanuel\_madarassou](https://discourse.itk.org/u/emmanuel_madarassou)\
**Replies:** 3\
**Last updated:** [May 14, 2020, 2:15am UTC](https://discourse.itk.org/t/itk-js-mesh-to-polydata-conversion/3065 "2020-05-14T02:15:40Z")

</div>

Hi everyone, I’m trying to manipulate itk.js and I’m stuck trying to understand the MeshToPolyData.js file in Pipelines. Does it really allow to do the Mesh/Polydata conversion ? if true, how can I use it ? Thanks.

---

## [Registrations errors (Root square mean & joint histogram)](https://discourse.itk.org/t/registrations-errors-root-square-mean-joint-histogram/3095)

<div class="topic-metadata">

**Author:** [@Dodox](https://discourse.itk.org/u/Dodox)\
**Replies:** 2\
**Last updated:** [May 20, 2020, 1:11am UTC](https://discourse.itk.org/t/registrations-errors-root-square-mean-joint-histogram/3095 "2020-05-20T01:11:54Z")

</div>

Hello everyone, I would like to know if there is a function on SimpleITK for Python which calculates RMS and joint histogram. cordially.

---

## [ITKwidget displaying multiple objects at once](https://discourse.itk.org/t/itkwidget-displaying-multiple-objects-at-once/3090)

<div class="topic-metadata">

**Author:** [@jfavre](https://discourse.itk.org/u/jfavre)\
**Replies:** 1\
**Last updated:** [May 18, 2020, 8:52pm UTC](https://discourse.itk.org/t/itkwidget-displaying-multiple-objects-at-once/3090 "2020-05-18T20:52:59Z")

</div>

Hello I am a new user of itkwidgets and have been enjoying it greatly. Thanks for the nice examples. Yet, I am unable to create any notebook calling view() with more than one object. I can view an image, or I can view (…

---

## [TransformIndexToPhysicalPoint. Shouldn't it take into account the starting index of the region?](https://discourse.itk.org/t/transformindextophysicalpoint-shouldnt-it-take-into-account-the-starting-index-of-the-region/3091)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 2\
**Last updated:** [May 18, 2020, 3:41pm UTC](https://discourse.itk.org/t/transformindextophysicalpoint-shouldnt-it-take-into-account-the-starting-index-of-the-region/3091 "2020-05-18T15:41:40Z")

</div>

This is the implementation of TransformToPhysicalPoint in itkImageBase: /\*\* Get a physical point (in the space which \* the origin and spacing information comes from) \* from a discrete index (in the index space) …

---

## [ITK js with Snowpack](https://discourse.itk.org/t/itk-js-with-snowpack/3084)

<div class="topic-metadata">

**Author:** [@Coert\_Metz](https://discourse.itk.org/u/Coert_Metz)\
**Replies:** 1\
**Last updated:** [May 18, 2020, 3:22pm UTC](https://discourse.itk.org/t/itk-js-with-snowpack/3084 "2020-05-18T15:22:22Z")

</div>

Did anybody try and succeed to use ITK js with Snowpack? Would be interested to know how to get it to work.

---

## [how to pickle SimpleITK transforms?](https://discourse.itk.org/t/how-to-pickle-simpleitk-transforms/901)

<div class="topic-metadata">

**Author:** [@Adi\_Zholkover](https://discourse.itk.org/u/Adi_Zholkover)\
**Replies:** 13\
**Last updated:** [May 18, 2020, 2:22pm UTC](https://discourse.itk.org/t/how-to-pickle-simpleitk-transforms/901 "2020-05-18T14:22:48Z")

</div>

I’m trying to use python’s multiprocessing Pool.map\_async() with a function that returns a SimpleITK.Transform object, i.e.: res = \[\] for ref\_im in ref\_imgs: res.append(self.pool.apply\_async(register\_src…

---

## [Error using RGBPixel with TileImageFilter](https://discourse.itk.org/t/error-using-rgbpixel-with-tileimagefilter/3082)

<div class="topic-metadata">

**Author:** [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Replies:** 3\
**Last updated:** [May 18, 2020, 11:52am UTC](https://discourse.itk.org/t/error-using-rgbpixel-with-tileimagefilter/3082 "2020-05-18T11:52:06Z")

</div>

Hi, I am getting a mutex error when using the following piece of code: using RGBPixelType = itk::RGBPixel\< unsigned char \>; using FinalOutputImageType = itk::Image\< RGBPixelType, 2 \>; using TileFilterType = itk::Til…

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

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