# Latest

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

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

**Page:** 42

---

## [Generating python template parameter from an unknown image](https://discourse.itk.org/t/generating-python-template-parameter-from-an-unknown-image/2267)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 6\
**Last updated:** [February 16, 2022, 3:42pm UTC](https://discourse.itk.org/t/generating-python-template-parameter-from-an-unknown-image/2267 "2022-02-16T15:42:50Z")

</div>

Hi, I’m looking for a simple solution to the following: I’d like to generate an image type template parameter to use in order to construct an ImageSeriesReader class (python) by interrogating one of the files in the se…

---

## [Positions at the Allen Institute for Neural Dynamics](https://discourse.itk.org/t/positions-at-the-allen-institute-for-neural-dynamics/4805)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [February 14, 2022, 10:37pm UTC](https://discourse.itk.org/t/positions-at-the-allen-institute-for-neural-dynamics/4805 "2022-02-14T22:37:44Z")

</div>

Positions relevant for ITK community members are available at the new Allen Institute of Neural Dynamics: https://allenneuraldynamics.github.io/ Scientist - Machine Learning in Circuit Tracing This Scientist will work…

---

## [Proposal: Remove VtkGlue from ITK, and add ITKVtkGlue as a remote module](https://discourse.itk.org/t/proposal-remove-vtkglue-from-itk-and-add-itkvtkglue-as-a-remote-module/4791)

<div class="topic-metadata">

**Author:** [@jcfr](https://discourse.itk.org/u/jcfr)\
**Replies:** 2\
**Last updated:** [February 14, 2022, 9:51pm UTC](https://discourse.itk.org/t/proposal-remove-vtkglue-from-itk-and-add-itkvtkglue-as-a-remote-module/4791 "2022-02-14T21:51:22Z")

</div>

To streamline maintenance, I suggest to (1) remove the directory Modules/Bridge/VtkGlue from ITK source tree and (2) add a remote module referencing https://github.com/InsightSoftwareConsortium/ITKVtkGlue

---

## [custom struturing element](https://discourse.itk.org/t/custom-struturing-element/4797)

<div class="topic-metadata">

**Author:** [@Oddone-Scatena](https://discourse.itk.org/u/Oddone-Scatena)\
**Replies:** 1\
**Last updated:** [February 9, 2022, 9:19pm UTC](https://discourse.itk.org/t/custom-struturing-element/4797 "2022-02-09T21:19:47Z")

</div>

How do I build a custom flat struturing element assinging a different number to each of its cells?

---

## [read Nifti and create transform](https://discourse.itk.org/t/read-nifti-and-create-transform/4785)

<div class="topic-metadata">

**Author:** [@jeffppp](https://discourse.itk.org/u/jeffppp)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 3:11am UTC](https://discourse.itk.org/t/read-nifti-and-create-transform/4785 "2022-02-09T03:11:41Z")

</div>

Hello, I have a nii file. I can use SimpleITK to read it in c#. But it’s didn’t combine the transform information. It’s seems display the original image. I think maybe I should use the “Resample” to do this. But I d…

---

## [Which initial is preferred for a non-type template parameter, N or V (\`NDimension\` or \`VDimension\`)?](https://discourse.itk.org/t/which-initial-is-preferred-for-a-non-type-template-parameter-n-or-v-ndimension-or-vdimension/4788)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 7\
**Last updated:** [February 8, 2022, 10:10am UTC](https://discourse.itk.org/t/which-initial-is-preferred-for-a-non-type-template-parameter-n-or-v-ndimension-or-vdimension/4788 "2022-02-08T10:10:46Z")

</div>

According to our KWStyle file, a template parameter name must begin with either T, N, or V, if I understand correctly: T is for type parameters, obviously. But which prefix is preferred for non-type parameters? N (for…

---

## [Bspline Free form deformable registration](https://discourse.itk.org/t/bspline-free-form-deformable-registration/4586)

<div class="topic-metadata">

**Author:** [@VeerBal](https://discourse.itk.org/u/VeerBal)\
**Replies:** 103\
**Last updated:** [February 7, 2022, 9:17pm UTC](https://discourse.itk.org/t/bspline-free-form-deformable-registration/4586 "2022-02-07T21:17:50Z")

</div>

Hello . I’m trying to register two lung CT images from the same patient (baseline and post ) using the Bspline transformation algorithm . I have the dicom images as well as the lung and the airway masks . I have alread…

---

## [SimpleITK 2.2 Release Candidate 2](https://discourse.itk.org/t/simpleitk-2-2-release-candidate-2/4789)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [February 7, 2022, 7:57pm UTC](https://discourse.itk.org/t/simpleitk-2-2-release-candidate-2/4789 "2022-02-07T19:57:27Z")

</div>

Announcement Tagged on 2/2/2022 we are happy to announce SimpleITK 2.2 Release Candidate 2! Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any compatibility prob…

---

## [Itk orientimagefilter](https://discourse.itk.org/t/itk-orientimagefilter/4780)

<div class="topic-metadata">

**Author:** [@shainy\_25s](https://discourse.itk.org/u/shainy_25s)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 12:40pm UTC](https://discourse.itk.org/t/itk-orientimagefilter/4780 "2022-02-07T12:40:23Z")

</div>

I’m trying to set the coordinate orientation for around 350 images using orientor filter the updation of this filter is taking around 19s for execution Is there a way to reduce this time /any alternate filter. Piece of…

---

## [How to pass a compile-time constant number to a generic lambda](https://discourse.itk.org/t/how-to-pass-a-compile-time-constant-number-to-a-generic-lambda/4763)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 9\
**Last updated:** [February 6, 2022, 4:10pm UTC](https://discourse.itk.org/t/how-to-pass-a-compile-time-constant-number-to-a-generic-lambda/4763 "2022-02-06T16:10:41Z")

</div>

An interest use case for generic lambda’s: they allow passing a compile-time constant number, by using a std::integral\_constant as function argument. For example: auto genericLambda = \[\](const auto integralConstant) { …

---

## [Difference between two lines in the documentation](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 2:46pm UTC](https://discourse.itk.org/t/difference-between-two-lines-in-the-documentation/4782 "2022-02-03T14:46:19Z")

</div>

Besides the comment lines, can someone tell me what is the difference between these 2? Thanks. # Here we specify the filter input explicitly median = itk.MedianImageFilter.New(reader.GetOutput()) # Same as above but sho…

---

## [Read Numpy array as itk.itkImagePython.itkImageF3](https://discourse.itk.org/t/read-numpy-array-as-itk-itkimagepython-itkimagef3/4776)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 11\
**Last updated:** [February 2, 2022, 11:12pm UTC](https://discourse.itk.org/t/read-numpy-array-as-itk-itkimagepython-itkimagef3/4776 "2022-02-02T23:12:56Z")

</div>

I just want to be able to use a numpy array as itk.itkImagePython.itkImageF3 to feed it into a registration (without SimpleITK). Thanks! Description of the issue with MWE I get an error when trying to run any of these i…

---

## [Difficulty using Rigid2DTransform in python registration demo](https://discourse.itk.org/t/difficulty-using-rigid2dtransform-in-python-registration-demo/4777)

<div class="topic-metadata">

**Author:** [@Chris\_Roat](https://discourse.itk.org/u/Chris_Roat)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 4:31pm UTC](https://discourse.itk.org/t/difficulty-using-rigid2dtransform-in-python-registration-demo/4777 "2022-02-02T16:31:30Z")

</div>

Description I have not been able to successfully alter the translation-based python registration example to use rigid-2d-based translation (adding just a rotation angle). Steps to Reproduce Verify the unmodified demo w…

---

## [3D image registration with Python and without SimpleITK](https://discourse.itk.org/t/3d-image-registration-with-python-and-without-simpleitk/4773)

<div class="topic-metadata">

**Author:** [@edgar](https://discourse.itk.org/u/edgar)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 12:04am UTC](https://discourse.itk.org/t/3d-image-registration-with-python-and-without-simpleitk/4773 "2022-02-02T00:04:07Z")

</div>

How can I run a registration with 3D data? or what is the data type that I need and how do I input it? Thanks. Preamble Hi, firstly, I read the guidelines, and it mentioned something about “Reply as a Linked Topic”, but…

---

## [Differences between Hessian3DToVesselnessMeasureImageFilter and SatoVesselnessFeatureGenerator](https://discourse.itk.org/t/differences-between-hessian3dtovesselnessmeasureimagefilter-and-satovesselnessfeaturegenerator/4764)

<div class="topic-metadata">

**Author:** [@Jonas](https://discourse.itk.org/u/Jonas)\
**Replies:** 2\
**Last updated:** [February 1, 2022, 9:09am UTC](https://discourse.itk.org/t/differences-between-hessian3dtovesselnessmeasureimagefilter-and-satovesselnessfeaturegenerator/4764 "2022-02-01T09:09:24Z")

</div>

Hi, Can you tell me the differences between those two filters ? It seems to me that the same filter has been implemented under 2 different frameworks. https://itk.org/Doxygen/html/classitk\_1\_1Hessian3DToVesselnessMeasu…

---

## [How to get the inverse displacement field using demons registration](https://discourse.itk.org/t/how-to-get-the-inverse-displacement-field-using-demons-registration/4771)

<div class="topic-metadata">

**Author:** [@KrisHan999](https://discourse.itk.org/u/KrisHan999)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 8:32pm UTC](https://discourse.itk.org/t/how-to-get-the-inverse-displacement-field-using-demons-registration/4771 "2022-01-31T20:32:30Z")

</div>

Hi, I have tried to use the demons method to do the image registration as shown in DemonsRegistration2 — SimpleITK 2.0rc2 documentation. But I can only get the forward transformation. Is there any way that I can get the…

---

## [Apply Region Growing Segmentation Filter Multiple Times](https://discourse.itk.org/t/apply-region-growing-segmentation-filter-multiple-times/4747)

<div class="topic-metadata">

**Author:** [@Oddone-Scatena](https://discourse.itk.org/u/Oddone-Scatena)\
**Replies:** 7\
**Last updated:** [January 31, 2022, 6:11pm UTC](https://discourse.itk.org/t/apply-region-growing-segmentation-filter-multiple-times/4747 "2022-01-31T18:11:36Z")

</div>

Hello, I am currently sementing the trachea with ConnectedThresholdImageFilter. Several authors segment the trachea using explosion controlled region growing (eg. “Automatic lung segmentation from thoracic computed tomo…

---

## [How to store a 3d deformation field array into an mhd image](https://discourse.itk.org/t/how-to-store-a-3d-deformation-field-array-into-an-mhd-image/4761)

<div class="topic-metadata">

**Author:** [@Hongying\_Feng](https://discourse.itk.org/u/Hongying_Feng)\
**Replies:** 2\
**Last updated:** [January 28, 2022, 2:38pm UTC](https://discourse.itk.org/t/how-to-store-a-3d-deformation-field-array-into-an-mhd-image/4761 "2022-01-28T14:38:33Z")

</div>

I have a numpy array of size (160,512,512,3), standing for a 3D deformation field. I am trying to save this array to an image (desired type is itk.Image\[itk.Vector\[itk.F,3\],3\]) by using itk.GetImageFromArray. The code …

---

## [Install hdf5 component naming](https://discourse.itk.org/t/install-hdf5-component-naming/4762)

<div class="topic-metadata">

**Author:** [@cg2](https://discourse.itk.org/u/cg2)\
**Replies:** 1\
**Last updated:** [January 28, 2022, 1:11pm UTC](https://discourse.itk.org/t/install-hdf5-component-naming/4762 "2022-01-28T13:11:32Z")

</div>

Hi, When packaging Plus toolkit on my side, I realized a possible issue with the component naming of hdf5 installed target. When packaging the project, the package missed the hdf5 dlls. Here is the CPack script relev…

---

## [Register axial 3d to STIR sequence space](https://discourse.itk.org/t/register-axial-3d-to-stir-sequence-space/4758)

<div class="topic-metadata">

**Author:** [@AmericaBG](https://discourse.itk.org/u/AmericaBG)\
**Replies:** 1\
**Last updated:** [January 27, 2022, 2:50pm UTC](https://discourse.itk.org/t/register-axial-3d-to-stir-sequence-space/4758 "2022-01-27T14:50:27Z")

</div>

Hi! There’s go my doubt: I have a spinal cord mask in axial 3d sequence and I want to locate this mask in STIR sequence (same day/moment acquisition): I have done some tries (first I’ve tried with the axial image wher…

---

## [What bool value should \`imageRegion.IsInside(zeroSizedRegion)\` return?](https://discourse.itk.org/t/what-bool-value-should-imageregion-isinside-zerosizedregion-return/4734)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 9\
**Last updated:** [January 26, 2022, 8:52pm UTC](https://discourse.itk.org/t/what-bool-value-should-imageregion-isinside-zerosizedregion-return/4734 "2022-01-26T20:52:44Z")

</div>

There appears a disagreement between the documentation of ImageRegion::IsInside(const Self &) and the actual behavior when the region passed as argument has zero as size value. ITK: itk::ImageRegion\< VImageDimension \> C…

---

## [Adjusting Spacing before Registration?](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754)

<div class="topic-metadata">

**Author:** [@miaomiaomiao](https://discourse.itk.org/u/miaomiaomiao)\
**Replies:** 2\
**Last updated:** [January 24, 2022, 9:13pm UTC](https://discourse.itk.org/t/adjusting-spacing-before-registration/4754 "2022-01-24T21:13:08Z")

</div>

Hi everyone, In every I example found on the net (including the examples, which Simple ITK provides), registration is done without adjusting the spacing before. Why not first adjust the spacing and then do the registrat…

---

## [when program run reader-\>update,vs throws a microsoft c++ error](https://discourse.itk.org/t/when-program-run-reader-update-vs-throws-a-microsoft-c-error/4744)

<div class="topic-metadata">

**Author:** [@Bugmaker](https://discourse.itk.org/u/Bugmaker)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 5:38pm UTC](https://discourse.itk.org/t/when-program-run-reader-update-vs-throws-a-microsoft-c-error/4744 "2022-01-21T17:38:56Z")

</div>

i want to load a ‘nii.gz’ 3d file , but when program pass reader-\>update() ,vs2017 will give me a microsoft c++ error : Microsoft C++ 异常: itk::ImageFileReaderException，位于内存位置 0x00000000002CF0F8 处。 here is my code usin…

---

## [itk-wasm and SimpleITK](https://discourse.itk.org/t/itk-wasm-and-simpleitk/4742)

<div class="topic-metadata">

**Author:** [@haehn](https://discourse.itk.org/u/haehn)\
**Replies:** 4\
**Last updated:** [January 21, 2022, 2:14am UTC](https://discourse.itk.org/t/itk-wasm-and-simpleitk/4742 "2022-01-21T02:14:26Z")

</div>

Hi Everyone, Is it possible to use SimpleITK in JavaScript? Did anyone try the SWIG wrapping to JS? Or is itk-wasm the current way to use ITK from JS? Thanks so much! Daniel

---

## [How to use PyImageFilter](https://discourse.itk.org/t/how-to-use-pyimagefilter/4593)

<div class="topic-metadata">

**Author:** [@jtduda](https://discourse.itk.org/u/jtduda)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 11:16pm UTC](https://discourse.itk.org/t/how-to-use-pyimagefilter/4593 "2022-01-20T23:16:07Z")

</div>

Is there a working example of how to use the itk.PyImageFilter class? It seems like the key is using the SetPyGenerateData method to set a python function to do the work. I have the below toy example working, but I can’t…

---

## [How to convert DICOM file series to nrrd](https://discourse.itk.org/t/how-to-convert-dicom-file-series-to-nrrd/4561)

<div class="topic-metadata">

**Author:** [@nyuszi](https://discourse.itk.org/u/nyuszi)\
**Replies:** 6\
**Last updated:** [January 20, 2022, 9:51pm UTC](https://discourse.itk.org/t/how-to-convert-dicom-file-series-to-nrrd/4561 "2022-01-20T21:51:46Z")

</div>

Hello guys. I am a beginner. I use itk.js in front-end（JavaScript）. I can read DICOM files in my program the problem is that i don’t know how to convert it to nrrd. Currently It’s an array that i made with readImageDIC…

---

## [itk.org/InsightSoftwareConsortium GitHub Org verified](https://discourse.itk.org/t/itk-org-insightsoftwareconsortium-github-org-verified/4740)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 2:57pm UTC](https://discourse.itk.org/t/itk-org-insightsoftwareconsortium-github-org-verified/4740 "2022-01-20T14:57:48Z")

</div>

Thanks to help from @jcfr @brad.king our itk.org domain is now verified on the InsightSoftwareConsortium GitHub Organization! :tada:

---

## [Intensity transformation with Sigmoid filter](https://discourse.itk.org/t/intensity-transformation-with-sigmoid-filter/4735)

<div class="topic-metadata">

**Author:** [@Alsurayhi](https://discourse.itk.org/u/Alsurayhi)\
**Replies:** 2\
**Last updated:** [January 17, 2022, 9:33pm UTC](https://discourse.itk.org/t/intensity-transformation-with-sigmoid-filter/4735 "2022-01-17T21:33:01Z")

</div>

I have lung CT data and I want all the scans to be in the range (-1024 to 3000). I’m using the Sigmoid filter, my first question is how to choose alpha and beta parameters? I’m using SimpleITK, I wrote this script to pe…

---

## [Is it possible to convert/cast a .NET SimpleITK Image to python SimpleITK Image](https://discourse.itk.org/t/is-it-possible-to-convert-cast-a-net-simpleitk-image-to-python-simpleitk-image/4728)

<div class="topic-metadata">

**Author:** [@Ervis](https://discourse.itk.org/u/Ervis)\
**Replies:** 5\
**Last updated:** [January 14, 2022, 6:13pm UTC](https://discourse.itk.org/t/is-it-possible-to-convert-cast-a-net-simpleitk-image-to-python-simpleitk-image/4728 "2022-01-14T18:13:33Z")

</div>

Is it possible to convert/cast a .NET SimpleITK Image to python SimpleITK Image ? Has anyone successfully fused .NET c# SimpleITK images to python. I have the main application in .NET where I use SimpleITK to perform …

---

## [How to hide the shadow between 2 fused/blend tiles](https://discourse.itk.org/t/how-to-hide-the-shadow-between-2-fused-blend-tiles/4725)

<div class="topic-metadata">

**Author:** [@allen](https://discourse.itk.org/u/allen)\
**Replies:** 3\
**Last updated:** [January 12, 2022, 6:59pm UTC](https://discourse.itk.org/t/how-to-hide-the-shadow-between-2-fused-blend-tiles/4725 "2022-01-12T18:59:26Z")

</div>

hello, im running the sample replaced the origin data with my local tiles environment: windows 10 python 3.9.0 itk-montage 0.7.3 the result seems good yet there are shadow between each tiles, is there any param in Ti…

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

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