# Latest

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

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

**Page:** 99

---

## [Problem about the Itk.js readImageDICOMFileSeries function](https://discourse.itk.org/t/problem-about-the-itk-js-readimagedicomfileseries-function/1167)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.itk.org/u/Mason)\
**Replies:** 5\
**Last updated:** [July 31, 2018, 4:17am UTC](https://discourse.itk.org/t/problem-about-the-itk-js-readimagedicomfileseries-function/1167 "2018-07-31T04:17:47Z")

</div>

Hello folks. I have been learning itk.js for several days. I have a problem about the readImageDICOMFileSeries function. Here are some codes I wrote to read a DICOM file series as an itk.js Image object. const files = d…

---

## [release-4.13 branch for ITK 4 bugfix patches](https://discourse.itk.org/t/release-4-13-branch-for-itk-4-bugfix-patches/1166)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [July 31, 2018, 2:48am UTC](https://discourse.itk.org/t/release-4-13-branch-for-itk-4-bugfix-patches/1166 "2018-07-31T02:48:34Z")

</div>

Hi folks, We now have a release-4.13 maintenance Git branch for ITK 4. Soon, the release branch will point to ITK 5. While we will be focusing our efforts on ITK 5, critical bugfixes can be merged into the release-4.…

---

## [Modern C++ and ITK, a primer?](https://discourse.itk.org/t/modern-c-and-itk-a-primer/1165)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 1\
**Last updated:** [July 30, 2018, 10:43pm UTC](https://discourse.itk.org/t/modern-c-and-itk-a-primer/1165 "2018-07-30T22:43:35Z")

</div>

Coming from the C world (and C on embedded systems) ITK uses a ton of C++ voodoo to achieve what it does. Can anyone suggest a good modern primer to go about learning the modern C++ that ITK uses?

---

## [C1083: cannot open include file: 'vnl/vnl\_vector\_ref.h': No such file or directory](https://discourse.itk.org/t/c1083-cannot-open-include-file-vnl-vnl-vector-ref-h-no-such-file-or-directory/1115)

<div class="topic-metadata">

**Author:** [@aharris](https://discourse.itk.org/u/aharris)\
**Replies:** 2\
**Last updated:** [July 27, 2018, 9:51pm UTC](https://discourse.itk.org/t/c1083-cannot-open-include-file-vnl-vnl-vector-ref-h-no-such-file-or-directory/1115 "2018-07-27T21:51:46Z")

</div>

Hi, I’m attempting to add a class that builds correctly on its own to a project that was originally built not using cmake. I should say it was working for quite a while, but at some point stopped working without a valid…

---

## [VXL update](https://discourse.itk.org/t/vxl-update/1157)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 1\
**Last updated:** [July 27, 2018, 2:02pm UTC](https://discourse.itk.org/t/vxl-update/1157 "2018-07-27T14:02:39Z")

</div>

This PR is trying to fix the CMake warning on @seanm’s nightly build machine. Does anyone besides @hjmjohnson have write permission for vxl?

---

## [Where can I get code for the FuzzyConnectednessImageFilter?](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154)

<div class="topic-metadata">

**Author:** [@adjuric](https://discourse.itk.org/u/adjuric)\
**Replies:** 2\
**Last updated:** [July 26, 2018, 3:23pm UTC](https://discourse.itk.org/t/where-can-i-get-code-for-the-fuzzyconnectednessimagefilter/1154 "2018-07-26T15:23:20Z")

</div>

I’m interested in implementing a fuzzy connectedness filter but I can’t seem to find the relevant classes in the current documentation. There is a category under region-based segmentation for fuzzy connectedness here bu…

---

## [Data migration to data.kitware.com from midas3.kitware.com](https://discourse.itk.org/t/data-migration-to-data-kitware-com-from-midas3-kitware-com/1146)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 5\
**Last updated:** [July 26, 2018, 2:52pm UTC](https://discourse.itk.org/t/data-migration-to-data-kitware-com-from-midas3-kitware-com/1146 "2018-07-26T14:52:26Z")

</div>

Hi, ITK community-related data has been migrated from https://midas3.kitware.com/midas/community/12 to https://data.kitware.com/#collection/57b5c9e58d777f126827f5a1 Please update any links or references that you m…

---

## [Adding voxel-space sigma specification to itk::SmoothingRecursiveYvvGaussianImageFilter](https://discourse.itk.org/t/adding-voxel-space-sigma-specification-to-itk-smoothingrecursiveyvvgaussianimagefilter/1153)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 0\
**Last updated:** [July 25, 2018, 8:08pm UTC](https://discourse.itk.org/t/adding-voxel-space-sigma-specification-to-itk-smoothingrecursiveyvvgaussianimagefilter/1153 "2018-07-25T20:08:30Z")

</div>

Rather than diverting NaN for DiscreteGaussian thread any more, I’d like to bring up a feature I’m adding to the RecursiveYvv filter. I’ve got a draft available here https://github.com/InsightSoftwareConsortium/Smoothin…

---

## [Complete Failure (NaN) for DiscreteGaussianImageFilter with large sigma and large images](https://discourse.itk.org/t/complete-failure-nan-for-discretegaussianimagefilter-with-large-sigma-and-large-images/1127)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 24\
**Last updated:** [July 25, 2018, 2:17pm UTC](https://discourse.itk.org/t/complete-failure-nan-for-discretegaussianimagefilter-with-large-sigma-and-large-images/1127 "2018-07-25T14:17:55Z")

</div>

I’m having issues with a complete failure of DiscreteGaussianImageFilter as implemented in SmoothImage in ANTs as well as its internal use in the antsRegistration pipeline. For some combinations of large resolution/larg…

---

## [Convert itkImageD2 to itkImageF2](https://discourse.itk.org/t/convert-itkimaged2-to-itkimagef2/1149)

<div class="topic-metadata">

**Author:** [@Hakookaine](https://discourse.itk.org/u/Hakookaine)\
**Replies:** 1\
**Last updated:** [July 25, 2018, 1:16pm UTC](https://discourse.itk.org/t/convert-itkimaged2-to-itkimagef2/1149 "2018-07-25T13:16:42Z")

</div>

Hi everyone ! I need to make a Hough Transform with itk, but when i use SetInput, i need a itkImageF2 or IF2 but my image is an itkImageD2, how can i convert to the good format ? Hakoo’

---

## [How to label image with a color pixel value in ITK?](https://discourse.itk.org/t/how-to-label-image-with-a-color-pixel-value-in-itk/1147)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 2\
**Last updated:** [July 24, 2018, 9:56pm UTC](https://discourse.itk.org/t/how-to-label-image-with-a-color-pixel-value-in-itk/1147 "2018-07-24T21:56:32Z")

</div>

I can see that I can label image from 0 to 255. But I want to label with different colors like red, green. Is there any way to do that?

---

## [Problem with image in coronal view](https://discourse.itk.org/t/problem-with-image-in-coronal-view/1144)

<div class="topic-metadata">

**Author:** [@sz20b5](https://discourse.itk.org/u/sz20b5)\
**Replies:** 1\
**Last updated:** [July 24, 2018, 1:29pm UTC](https://discourse.itk.org/t/problem-with-image-in-coronal-view/1144 "2018-07-24T13:29:17Z")

</div>

Hi, I have an image which is 2d in coronal view(x,z), however if I load the image with ITK, then it reads as it is a typical axial image(x,y). How can I read it as real coronal(x,z) image? Thanks, Sz.U.

---

## [Patches for ITK 4.13.1](https://discourse.itk.org/t/patches-for-itk-4-13-1/1137)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 4\
**Last updated:** [July 23, 2018, 2:35pm UTC](https://discourse.itk.org/t/patches-for-itk-4-13-1/1137 "2018-07-23T14:35:13Z")

</div>

Hi folks, The next patch (bugfix) release, ITK 4.13.1, is planned for the end of next week or early in the following week. Th patches currently on the Git release branch are: Bradley Lowekamp (6): COMP: Use anon…

---

## [MattesMutualInformationImageToImageMetricv4 sampling heuristics](https://discourse.itk.org/t/mattesmutualinformationimagetoimagemetricv4-sampling-heuristics/1140)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 6\
**Last updated:** [July 23, 2018, 2:18pm UTC](https://discourse.itk.org/t/mattesmutualinformationimagetoimagemetricv4-sampling-heuristics/1140 "2018-07-23T14:18:00Z")

</div>

As has been discussed on the ANTs issue tracker https://github.com/ANTsX/ANTs/issues/543, the existing heuristics for the MI overlap are not very good. Right now, its based on a ratio of points at https://github.com/hin…

---

## [ITK Euler3DTransform in MATLAB](https://discourse.itk.org/t/itk-euler3dtransform-in-matlab/1131)

<div class="topic-metadata">

**Author:** [@alven](https://discourse.itk.org/u/alven)\
**Replies:** 1\
**Last updated:** [July 21, 2018, 9:50pm UTC](https://discourse.itk.org/t/itk-euler3dtransform-in-matlab/1131 "2018-07-21T21:50:01Z")

</div>

Hi! I’m trying to warp a 3D MR image (stored as a nifti-file) to a 3D PET image (stored as a nifti-file) in MATLAB using an Euler3DTransfom transformation matrix from ITK registration. However, the results does not rese…

---

## [ParallelizeImageRegion with multiple images?](https://discourse.itk.org/t/parallelizeimageregion-with-multiple-images/1138)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 2\
**Last updated:** [July 20, 2018, 8:27pm UTC](https://discourse.itk.org/t/parallelizeimageregion-with-multiple-images/1138 "2018-07-20T20:27:12Z")

</div>

Hello, I am updating my code to ITK 5.0. In particular I’d like to take advantage of the parallelization improvements. However, the examples I’ve seen so far, e.g. https://itk.org/ITKExamples/src/Core/Common/UseParallel…

---

## [How to specify CMake cache variable CMAKE INSTALL PREFIX in CMakeLists.txt](https://discourse.itk.org/t/how-to-specify-cmake-cache-variable-cmake-install-prefix-in-cmakelists-txt/1135)

<div class="topic-metadata">

**Author:** [@Neerajan\_S](https://discourse.itk.org/u/Neerajan_S)\
**Replies:** 1\
**Last updated:** [July 20, 2018, 2:12pm UTC](https://discourse.itk.org/t/how-to-specify-cmake-cache-variable-cmake-install-prefix-in-cmakelists-txt/1135 "2018-07-20T14:12:38Z")

</div>

How to specify CMake cache variable CMAKE INSTALL PREFIX so that I dont have to specify the ITK build directory whenever I am building a new ITK source directory

---

## [ParaView Glance: An Advanced In-Browser Data Viewer](https://discourse.itk.org/t/paraview-glance-an-advanced-in-browser-data-viewer/1136)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [July 20, 2018, 1:55pm UTC](https://discourse.itk.org/t/paraview-glance-an-advanced-in-browser-data-viewer/1136 "2018-07-20T13:55:40Z")

</div>

Kitware is proud to announce the initial official release of ParaView Glance. ParaView Glance brings together the latest web technologies for interactive scientific data visualization in your browser. It can be launc…

---

## [Pythonic interface to ITK filters](https://discourse.itk.org/t/pythonic-interface-to-itk-filters/1106)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 6\
**Last updated:** [July 19, 2018, 4:18pm UTC](https://discourse.itk.org/t/pythonic-interface-to-itk-filters/1106 "2018-07-19T16:18:36Z")

</div>

A new patch is available to add a more Python interface to ITK filters in ITK 5: http://review.source.kitware.com/#/c/23560/ This auto-generates a procedural, snake\_case interface to ITK filters, i.e. anything that inh…

---

## [IF3IF3 and IF2IF2](https://discourse.itk.org/t/if3if3-and-if2if2/1126)

<div class="topic-metadata">

**Author:** [@Jianxu\_Chen](https://discourse.itk.org/u/Jianxu_Chen)\
**Replies:** 4\
**Last updated:** [July 19, 2018, 2:51pm UTC](https://discourse.itk.org/t/if3if3-and-if2if2/1126 "2018-07-19T14:51:03Z")

</div>

I am using ITK in Python. I have a general question in dealing with 3D images. Most of the examples in https://itk.org/ITKExamples/src/index.html are for 2D images. When I apply the code to 3D images, I got TypeError fr…

---

## [Does an efficient cloning of multiple different classes with an override of InternalClone() exist?](https://discourse.itk.org/t/does-an-efficient-cloning-of-multiple-different-classes-with-an-override-of-internalclone-exist/1109)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 8\
**Last updated:** [July 19, 2018, 6:57am UTC](https://discourse.itk.org/t/does-an-efficient-cloning-of-multiple-different-classes-with-an-override-of-internalclone-exist/1109 "2018-07-19T06:57:25Z")

</div>

Hello, i am looking for a way to clone object with all parameters.I want to use this on multiple class objects like metrics, optimizer, interpolator etc. and I dont want to write new derived classes just for the cloning…

---

## [Access and transfert transformation matrice with simpleITk and 3Dslicer](https://discourse.itk.org/t/access-and-transfert-transformation-matrice-with-simpleitk-and-3dslicer/1128)

<div class="topic-metadata">

**Author:** [@drcjaudet](https://discourse.itk.org/u/drcjaudet)\
**Replies:** 2\
**Last updated:** [July 18, 2018, 9:09pm UTC](https://discourse.itk.org/t/access-and-transfert-transformation-matrice-with-simpleitk-and-3dslicer/1128 "2018-07-18T21:09:53Z")

</div>

Hello, i work with simpleITK with python in 3dSlicer. We create a transform matrix with general brain registration (Bspline). I would like to pull this matrix into the python Interactor to be able ti play with it. I tr…

---

## [ITKModuleTemplate and external modules for use with python](https://discourse.itk.org/t/itkmoduletemplate-and-external-modules-for-use-with-python/1113)

<div class="topic-metadata">

**Author:** [@darrent1974](https://discourse.itk.org/u/darrent1974)\
**Replies:** 3\
**Last updated:** [July 17, 2018, 5:22pm UTC](https://discourse.itk.org/t/itkmoduletemplate-and-external-modules-for-use-with-python/1113 "2018-07-17T17:22:46Z")

</div>

Hi All, Sorry if I’ve cross-posted, but I discovered the discourse site after posting to the old mailing list. I’m revisiting making my own external ITK module (for use in Python) after an initial attempt a while back.…

---

## [How to use a total variation regularisation with richardson lucy deconvolution ?](https://discourse.itk.org/t/how-to-use-a-total-variation-regularisation-with-richardson-lucy-deconvolution/1094)

<div class="topic-metadata">

**Author:** [@drcjaudet](https://discourse.itk.org/u/drcjaudet)\
**Replies:** 3\
**Last updated:** [July 17, 2018, 3:12pm UTC](https://discourse.itk.org/t/how-to-use-a-total-variation-regularisation-with-richardson-lucy-deconvolution/1094 "2018-07-17T15:12:39Z")

</div>

Hello, i would like to use a Richardson Lucy deconvolution algorithm with TV regularisation with ITK. There is already a RL algorithm implemented: https://itk.org/Doxygen44/html/classitk\_1\_1RichardsonLucyDeconvolutionI…

---

## [ITK External Module GitHub builds for 4.X and 5.X](https://discourse.itk.org/t/itk-external-module-github-builds-for-4-x-and-5-x/900)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 4\
**Last updated:** [July 16, 2018, 6:09pm UTC](https://discourse.itk.org/t/itk-external-module-github-builds-for-4-x-and-5-x/900 "2018-07-16T18:09:45Z")

</div>

As described in the ITKModuleTemplate README, it is possible to build and develop ITK modules on GitHub. The ITKModuleTemplate creates a configuration with continuous integration testing to build and test the module on L…

---

## [Image types for ImageFileWriter - only itk.UC?](https://discourse.itk.org/t/image-types-for-imagefilewriter-only-itk-uc/1108)

<div class="topic-metadata">

**Author:** [@fedorov](https://discourse.itk.org/u/fedorov)\
**Replies:** 2\
**Last updated:** [July 16, 2018, 5:14pm UTC](https://discourse.itk.org/t/image-types-for-imagefilewriter-only-itk-uc/1108 "2018-07-16T17:14:27Z")

</div>

It seems that ImageFileWriter from itk-python is only available for itk.UC. Is this right? This means I can’t even write out a typical CT volume! KeyError: 'itkTemplate : No template (\<itkCType unsigned int\>, 3) for th…

---

## [extern templates to reduce build time](https://discourse.itk.org/t/extern-templates-to-reduce-build-time/1105)

<div class="topic-metadata">

**Author:** [@vpoughon](https://discourse.itk.org/u/vpoughon)\
**Replies:** 3\
**Last updated:** [July 13, 2018, 3:26pm UTC](https://discourse.itk.org/t/extern-templates-to-reduce-build-time/1105 "2018-07-13T15:26:59Z")

</div>

Hello, In OTB (which is heavily based on ITK) we have been looking at the possibility of introducing explicit instantiation of common template classes in the dynamic libraries we build, together with “extern template” d…

---

## [\[SOLVED\] Copying Headers after performing operation](https://discourse.itk.org/t/solved-copying-headers-after-performing-operation/1111)

<div class="topic-metadata">

**Author:** [@thatguy14](https://discourse.itk.org/u/thatguy14)\
**Replies:** 5\
**Last updated:** [July 12, 2018, 3:31pm UTC](https://discourse.itk.org/t/solved-copying-headers-after-performing-operation/1111 "2018-07-12T15:31:06Z")

</div>

Hello! I am fairly new to using ITK. I am trying to use the markov random field filter for segmentation using this as an example. I presegmented the image using the kmeans example. The problem I am having is that the he…

---

## [Numpy array from itk image](https://discourse.itk.org/t/numpy-array-from-itk-image/1097)

<div class="topic-metadata">

**Author:** [@simon.rit](https://discourse.itk.org/u/simon.rit)\
**Replies:** 2\
**Last updated:** [July 9, 2018, 2:24pm UTC](https://discourse.itk.org/t/numpy-array-from-itk-image/1097 "2018-07-09T14:24:37Z")

</div>

With the latest ITK python packages, I cannot get a numpy array from an itk::Image. I have tried with version 5.0a02 and the nightly packages, I have \>\>\> import itk \>\>\> img = itk.Image\[itk.F,3\].New() \>\>\> region = img…

---

## [How to add an image to another one "in-place" (image1 += image2)?](https://discourse.itk.org/t/how-to-add-an-image-to-another-one-in-place-image1-image2/1090)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 3\
**Last updated:** [July 8, 2018, 12:25pm UTC](https://discourse.itk.org/t/how-to-add-an-image-to-another-one-in-place-image1-image2/1090 "2018-07-08T12:25:27Z")

</div>

It was very nice to meet you @ https://wbir2018.nl here in Leiden, @matt.mccormick, @dzenanz, @jhlegarreta :grinning: ! Now I have another technical question: N4BiasFieldCorrectionImageFilter::UpdateBiasFieldEstimate cu…

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

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