# Latest

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

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

**Page:** 111

---

## [Integrating ITK Python extension build into setup.py (distutils)](https://discourse.itk.org/t/integrating-itk-python-extension-build-into-setup-py-distutils/341)

<div class="topic-metadata">

**Author:** [@sakoho](https://discourse.itk.org/u/sakoho)\
**Replies:** 2\
**Last updated:** [October 20, 2017, 2:13pm UTC](https://discourse.itk.org/t/integrating-itk-python-extension-build-into-setup-py-distutils/341 "2017-10-20T14:13:05Z")

</div>

Hi, I’m looking into a project that is mostly written in Python, but also contains a number of external modules for ITK and VTK written in C++ that need to be built and Python wrapped upon installation. I am wondering …

---

## [Next ITK October Performance Confab](https://discourse.itk.org/t/next-itk-october-performance-confab/268)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [October 20, 2017, 12:59pm UTC](https://discourse.itk.org/t/next-itk-october-performance-confab/268 "2017-10-20T12:59:37Z")

</div>

Hi folks, Let’s get together again to discuss progress on the ITK Performance efforts. When: Friday, October 20th, 11 AM EST Where: Google Meet https://meet.google.com/nue-tugx-pxt What: Discuss ITK Performance progr…

---

## [itk::Fem::Solver update problem](https://discourse.itk.org/t/itk-fem-solver-update-problem/280)

<div class="topic-metadata">

**Author:** [@nasil122002](https://discourse.itk.org/u/nasil122002)\
**Replies:** 16\
**Last updated:** [October 18, 2017, 5:43pm UTC](https://discourse.itk.org/t/itk-fem-solver-update-problem/280 "2017-10-18T17:43:28Z")

</div>

Dear ITK Users, According the mail https://public.kitware.com/pipermail/insight-users/2007-November/024272.html , I have converted my vtkUnstructuredGrid, wich I extracted from a vtkPolyData and contains TRIANGLE\_CELL’s…

---

## [Python packages are now available for the Cuberille module](https://discourse.itk.org/t/python-packages-are-now-available-for-the-cuberille-module/302)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [October 18, 2017, 3:41pm UTC](https://discourse.itk.org/t/python-packages-are-now-available-for-the-cuberille-module/302 "2017-10-18T15:41:41Z")

</div>

Python packages fro the ITKCuberille module can be installed with python -m pip install --upgrade pip python -m pip install itk-cuberille

---

## [Multi-level neighborhood-correlation BSpline](https://discourse.itk.org/t/multi-level-neighborhood-correlation-bspline/296)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 0\
**Last updated:** [October 16, 2017, 7:08pm UTC](https://discourse.itk.org/t/multi-level-neighborhood-correlation-bspline/296 "2017-10-16T19:08:20Z")

</div>

I’m using neighborhood correlation for registration metric and BSpline for transformation model. The images are 100x100. The neighborhood window size is 10pixel-by-10pixel. The mesh size is 10x10. If I use 2-level regis…

---

## [undefined reference to \`vnl\_vector\<T\>::~vnl\_vector()'](https://discourse.itk.org/t/undefined-reference-to-vnl-vector-t-vnl-vector/291)

<div class="topic-metadata">

**Author:** [@s-reaungamornrat](https://discourse.itk.org/u/s-reaungamornrat)\
**Replies:** 8\
**Last updated:** [October 16, 2017, 5:55am UTC](https://discourse.itk.org/t/undefined-reference-to-vnl-vector-t-vnl-vector/291 "2017-10-16T05:55:21Z")

</div>

Dear All, I moved this question from my email to insight-users@itk.org to this forum as suggested by Dženan. The original content (sent to insight-users@itk.org) was copied below. Dženan asked whether I used CMake to co…

---

## [Set up initialization in LBFGSOptimizerv4](https://discourse.itk.org/t/set-up-initialization-in-lbfgsoptimizerv4/293)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 1\
**Last updated:** [October 13, 2017, 10:41pm UTC](https://discourse.itk.org/t/set-up-initialization-in-lbfgsoptimizerv4/293 "2017-10-13T22:41:57Z")

</div>

In LBFGSBOptimizerv4, there is a method called “SetInitialPosition (const ParametersType &param)”. I wonder whether or not in LBFGSOptimizerv4 there is a similar function to set up parameter initialization. I couldn’t f…

---

## [DivideReal always returns double image](https://discourse.itk.org/t/dividereal-always-returns-double-image/282)

<div class="topic-metadata">

**Author:** [@addisonElliott](https://discourse.itk.org/u/addisonElliott)\
**Replies:** 12\
**Last updated:** [October 13, 2017, 10:38pm UTC](https://discourse.itk.org/t/dividereal-always-returns-double-image/282 "2017-10-13T22:38:51Z")

</div>

When using Python 3.0+, the operator / utilizes truediv instead of div. For itk.Image, truediv uses DivideReal and div uses Divide. This is relevant because DivideReal returns an image with double datatype and Divide use…

---

## [Modify registration metric](https://discourse.itk.org/t/modify-registration-metric/289)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 1\
**Last updated:** [October 12, 2017, 10:07pm UTC](https://discourse.itk.org/t/modify-registration-metric/289 "2017-10-12T22:07:25Z")

</div>

Is there a way to set my own similarity metric for ITK registration? I want to define something like this: (“transformation\_1” is a given transformation) f(transformation) = || Image\_target-Image\_moving || + || transfor…

---

## [Visual Studio optimization](https://discourse.itk.org/t/visual-studio-optimization/283)

<div class="topic-metadata">

**Author:** [@bucklera](https://discourse.itk.org/u/bucklera)\
**Replies:** 8\
**Last updated:** [October 12, 2017, 9:25pm UTC](https://discourse.itk.org/t/visual-studio-optimization/283 "2017-10-12T21:25:33Z")

</div>

Hello, We have an application which we deploy on Mac OS, Linux, and Windows. We have recently started to build Release configurations so as to obtain the speed benefits of compiler optimization. Doing so resulted on a 5…

---

## [Set up step length for LBFGSBOptimizerv4](https://discourse.itk.org/t/set-up-step-length-for-lbfgsboptimizerv4/288)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 2\
**Last updated:** [October 11, 2017, 6:18pm UTC](https://discourse.itk.org/t/set-up-step-length-for-lbfgsboptimizerv4/288 "2017-10-11T18:18:52Z")

</div>

Hello! I’m LBFGSBOptimizerv4 to perform optimization for BSpline registration. I want to set up step length for the optimizer, but it looks this class doesn’t provide this method: https://itk.org/Doxygen/html/classitk\_1…

---

## ["Anisotropic diffusion function is not set" error](https://discourse.itk.org/t/anisotropic-diffusion-function-is-not-set-error/276)

<div class="topic-metadata">

**Author:** [@nickmarch31](https://discourse.itk.org/u/nickmarch31)\
**Replies:** 4\
**Last updated:** [October 10, 2017, 5:39pm UTC](https://discourse.itk.org/t/anisotropic-diffusion-function-is-not-set-error/276 "2017-10-10T17:39:28Z")

</div>

hey friends, when I try to use itk::GradientAnisotropicDiffusionImageFilter, I get a weird error saying: RuntimeError: /Users/ncullen/desktop/PROJECTS/ANTsX/ANTsPy/itksource/Modules/Filtering/AnisotropicSmoothing/inclu…

---

## [Inputs physical space do not match when using itk.LabelMapOverlayImageFilter](https://discourse.itk.org/t/inputs-physical-space-do-not-match-when-using-itk-labelmapoverlayimagefilter/272)

<div class="topic-metadata">

**Author:** [@benjaminhon](https://discourse.itk.org/u/benjaminhon)\
**Replies:** 2\
**Last updated:** [October 10, 2017, 1:12pm UTC](https://discourse.itk.org/t/inputs-physical-space-do-not-match-when-using-itk-labelmapoverlayimagefilter/272 "2017-10-10T13:12:51Z")

</div>

Hi, I have a DICOM Series which I loaded as well as a series of PNG files which are the segmentations. I am trying to overlay, the segmentations on top of the DICOM series, however I get this error when I do: itk.GetAr…

---

## [Doxygen pages now available offline](https://discourse.itk.org/t/doxygen-pages-now-available-offline/270)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 2\
**Last updated:** [October 7, 2017, 4:24pm UTC](https://discourse.itk.org/t/doxygen-pages-now-available-offline/270 "2017-10-07T16:24:12Z")

</div>

The most recently visited nightly Doxygen pages will now be available offline when using a modern browser like Firefox or Chrome. All the better for coding on a plane or in the desert! :mountain\_snow::airplane: Cache re…

---

## [SimpleITK Tag](https://discourse.itk.org/t/simpleitk-tag/271)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 7\
**Last updated:** [October 6, 2017, 4:05pm UTC](https://discourse.itk.org/t/simpleitk-tag/271 "2017-10-06T16:05:21Z")

</div>

How can I add a SimpleITK tag to this topic?

---

## [Documentation on how to build Python packages for ITK modules](https://discourse.itk.org/t/documentation-on-how-to-build-python-packages-for-itk-modules/45)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [October 6, 2017, 3:10pm UTC](https://discourse.itk.org/t/documentation-on-how-to-build-python-packages-for-itk-modules/45 "2017-10-06T15:10:20Z")

</div>

Documentation is now available on how to build Python packages for your ITK module.

---

## [Ray cast interpolation returns an unexpected output](https://discourse.itk.org/t/ray-cast-interpolation-returns-an-unexpected-output/255)

<div class="topic-metadata">

**Author:** [@christophe.vandijck](https://discourse.itk.org/u/christophe.vandijck)\
**Replies:** 2\
**Last updated:** [October 6, 2017, 8:38am UTC](https://discourse.itk.org/t/ray-cast-interpolation-returns-an-unexpected-output/255 "2017-10-06T08:38:10Z")

</div>

Hi fellow ITK-users, I’m trying to create several DRR images from a CT volume following several (oblique) directions. These DRRs often give unexpected results (empty images, the actual intensities not where I expected t…

---

## [Exclude header from ITKHeaderTest](https://discourse.itk.org/t/exclude-header-from-itkheadertest/263)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 2\
**Last updated:** [October 5, 2017, 8:11pm UTC](https://discourse.itk.org/t/exclude-header-from-itkheadertest/263 "2017-10-05T20:11:02Z")

</div>

In a external module I have a header that is used conditionally bases on available libraries. But the ITKHeaderTest always includes the header. So the build of the header test can fail, when the option is not enabled. I…

---

## [Unable to pull/push to gerrit](https://discourse.itk.org/t/unable-to-pull-push-to-gerrit/260)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 4\
**Last updated:** [October 4, 2017, 6:59pm UTC](https://discourse.itk.org/t/unable-to-pull-push-to-gerrit/260 "2017-10-04T18:59:06Z")

</div>

My fetches and pushes to ITK’s gerrit are just hanging… $ git remote -v gerrit blowekamp@review.source.kitware.com:ITK (fetch) gerrit blowekamp@review.source.kitware.com:ITK (push) github git@github.com:blowekamp/ITK.gi…

---

## [Mattes mutual information](https://discourse.itk.org/t/mattes-mutual-information/238)

<div class="topic-metadata">

**Author:** [@c.spanakis83](https://discourse.itk.org/u/c.spanakis83)\
**Replies:** 1\
**Last updated:** [October 2, 2017, 8:18pm UTC](https://discourse.itk.org/t/mattes-mutual-information/238 "2017-10-02T20:18:53Z")

</div>

Hello. I want to understand mattes mutual information but i cannot understand the purpose of the functions: SetUseAllPixels() SetUseSequentialSampling() and SetNumberOfSpatialSamples() and how they affect Mutual inf…

---

## [How to wrap a \`std::vector\<ImagePointer\>\` in swig with ITKWrap](https://discourse.itk.org/t/how-to-wrap-a-std-vector-imagepointer-in-swig-with-itkwrap/227)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 1\
**Last updated:** [October 2, 2017, 8:12pm UTC](https://discourse.itk.org/t/how-to-wrap-a-std-vector-imagepointer-in-swig-with-itkwrap/227 "2017-10-02T20:12:10Z")

</div>

I have a couple of helper functions here and here, which deal with std::vector\<itk::Image\<X,Dim\>::Pointer\>, as input argument in the first case, and as an output for the later. I have an usable python module (pip instal…

---

## [ITKNumpyBridge problems converting from numpy array.](https://discourse.itk.org/t/itknumpybridge-problems-converting-from-numpy-array/222)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 2\
**Last updated:** [September 27, 2017, 6:22pm UTC](https://discourse.itk.org/t/itknumpybridge-problems-converting-from-numpy-array/222 "2017-09-27T18:22:20Z")

</div>

I am using ITKBridgeNumPy to pass an image to a numpy algorithm, and then returning it to another image. #image is a RealImageType X = itk.GetArrayViewFromImage(image) print("X", X.shape) lam = 0.1 F…

---

## [Using Discourse as a mailing list](https://discourse.itk.org/t/using-discourse-as-a-mailing-list/32)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 2\
**Last updated:** [September 26, 2017, 6:53pm UTC](https://discourse.itk.org/t/using-discourse-as-a-mailing-list/32 "2017-09-26T18:53:10Z")

</div>

Click your user icon, then your user name: \[5b13aca014875751644e3027d7348b1811e4fe4b\] Click “Preferences”: \[943cb036b7068e72c189529ef06614564254101c\_1\_690x64\] Click “Emails”: \[ce606b75b8b11fc250f6c23c2b2cd0462…

---

## [Searching mailing list archives](https://discourse.itk.org/t/searching-mailing-list-archives/138)

<div class="topic-metadata">

**Author:** [@fbudin](https://discourse.itk.org/u/fbudin)\
**Replies:** 2\
**Last updated:** [September 26, 2017, 1:54pm UTC](https://discourse.itk.org/t/searching-mailing-list-archives/138 "2017-09-26T13:54:14Z")

</div>

ITK has been using mailing lists for over 15 years as a mean for the community to communicate: announcements, questions, discussions, and many other topics. Despite the ITK discourse forum being available, these thousan…

---

## [Email notification footer](https://discourse.itk.org/t/email-notification-footer/52)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 12\
**Last updated:** [September 22, 2017, 9:58pm UTC](https://discourse.itk.org/t/email-notification-footer/52 "2017-09-22T21:58:45Z")

</div>

Email notifications currently only include a link to unsubscribe. “To unsubscribe from these emails, click here.” It is not clear what it is unsubscribing me from - from all ITK discourse emails, from all emails in t…

---

## [Mystery c:\\.git folder - solved](https://discourse.itk.org/t/mystery-c-git-folder-solved/47)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 3\
**Last updated:** [September 22, 2017, 1:26pm UTC](https://discourse.itk.org/t/mystery-c-git-folder-solved/47 "2017-09-22T13:26:12Z")

</div>

Many of us suffered from the annoyance of a .git folder keep popping up in the root folder - see for example the discussion below. Good news: the mystery is now solved, it was due to a copy-paste error in a git hook fil…

---

## [Python packages are now available for the Morphological Contour Interpolation module](https://discourse.itk.org/t/python-packages-are-now-available-for-the-morphological-contour-interpolation-module/46)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [September 22, 2017, 2:33am UTC](https://discourse.itk.org/t/python-packages-are-now-available-for-the-morphological-contour-interpolation-module/46 "2017-09-22T02:33:35Z")

</div>

Python packages for ITKMorphologicalContourInterpolation can be installed with python -m pip install --upgrade pip python -m pip install itk-morphologicalcontourinterpolation CC: @dzenanz

---

## [Code Examples and Demo Programs](https://discourse.itk.org/t/code-examples-and-demo-programs/42)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 1\
**Last updated:** [September 21, 2017, 11:16pm UTC](https://discourse.itk.org/t/code-examples-and-demo-programs/42 "2017-09-21T23:16:41Z")

</div>

I am just getting started, are there any code examples that can show me how to do basic tasks?

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