# Latest

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

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

**Page:** 105

---

## [Convert scalar image into image of vectors](https://discourse.itk.org/t/convert-scalar-image-into-image-of-vectors/753)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 1\
**Last updated:** [March 9, 2018, 4:59pm UTC](https://discourse.itk.org/t/convert-scalar-image-into-image-of-vectors/753 "2018-03-09T16:59:30Z")

</div>

Hello, Is there a filter or pipeline of filters that I can use to convert a scalar image into an image of vectors, each vector having just one component? For example, I want to convert itk::Image\<unsigned char, 3\> to i…

---

## [Can I register between 2d images and 3d model](https://discourse.itk.org/t/can-i-register-between-2d-images-and-3d-model/755)

<div class="topic-metadata">

**Author:** [@timeanddoctor](https://discourse.itk.org/u/timeanddoctor)\
**Replies:** 1\
**Last updated:** [March 12, 2018, 1:52pm UTC](https://discourse.itk.org/t/can-i-register-between-2d-images-and-3d-model/755 "2018-03-12T13:52:49Z")

</div>

In order to surgery navigation, can I register 2d images by intraoperative X-ray with the preoperative CT (DICOM). There is no O-army scanner in my hospital, and a preoperative CT of spinal is extremly significant.So, I…

---

## [initial contour/surface as the zero level set](https://discourse.itk.org/t/initial-contour-surface-as-the-zero-level-set/751)

<div class="topic-metadata">

**Author:** [@Abdelkhalek\_Bakkari](https://discourse.itk.org/u/Abdelkhalek_Bakkari)\
**Replies:** 1\
**Last updated:** [March 9, 2018, 8:21pm UTC](https://discourse.itk.org/t/initial-contour-surface-as-the-zero-level-set/751 "2018-03-09T20:21:14Z")

</div>

Dear All, I am trying to adopt the eodesicActiveContourLevelSetImage Filter. However, I don’t know how to create the initial contour/surface using ITK and Qt. Could you please help me? Kind regards,

---

## [Issues passing -DModule\_\* flags to ccmake.](https://discourse.itk.org/t/issues-passing-dmodule-flags-to-ccmake/742)

<div class="topic-metadata">

**Author:** [@DVigneault](https://discourse.itk.org/u/DVigneault)\
**Replies:** 2\
**Last updated:** [March 8, 2018, 5:11am UTC](https://discourse.itk.org/t/issues-passing-dmodule-flags-to-ccmake/742 "2018-03-08T05:11:40Z")

</div>

All– My build of ITK requires a number of remote modules to be turned on. In order to document and reproduce my build (for collaborators, as well as for my future self) I’ve been writing bash scripts which pass the rel…

---

## [Add itkIntegralImageFilter](https://discourse.itk.org/t/add-itkintegralimagefilter/744)

<div class="topic-metadata">

**Author:** [@Besler](https://discourse.itk.org/u/Besler)\
**Replies:** 1\
**Last updated:** [March 7, 2018, 9:50pm UTC](https://discourse.itk.org/t/add-itkintegralimagefilter/744 "2018-03-07T21:50:13Z")

</div>

Hi Everyone! I am interested in using some Haar-like features for an object recognition task. I think an integral image is the way to go for computational performance. (I need to take the features further after this whi…

---

## [Can anyone tell me how to read and write a .hdr and .img file using ITK?](https://discourse.itk.org/t/can-anyone-tell-me-how-to-read-and-write-a-hdr-and-img-file-using-itk/741)

<div class="topic-metadata">

**Author:** [@Yuda\_Bi](https://discourse.itk.org/u/Yuda_Bi)\
**Replies:** 1\
**Last updated:** [March 7, 2018, 5:18pm UTC](https://discourse.itk.org/t/can-anyone-tell-me-how-to-read-and-write-a-hdr-and-img-file-using-itk/741 "2018-03-07T17:18:31Z")

</div>

Dear All, I have encountered a difficulty about a project using ITK to read and write image such as this: image.hdr image.img I don’t know how to read this image, can anyone tell me which class or method need to use …

---

## [RUNPATH ignored by linker for ITK-libs of newer ITK (4.12.2)](https://discourse.itk.org/t/runpath-ignored-by-linker-for-itk-libs-of-newer-itk-4-12-2/743)

<div class="topic-metadata">

**Author:** [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)\
**Replies:** 1\
**Last updated:** [March 7, 2018, 3:46pm UTC](https://discourse.itk.org/t/runpath-ignored-by-linker-for-itk-libs-of-newer-itk-4-12-2/743 "2018-03-07T15:46:21Z")

</div>

It seems programs compiled (cmake, make, gcc-6.3, debian-9) with newer ITK (e.g. 4.12.2) set the RUNPATH in an executable (with CMAKE\_INSTALL\_RPATH\_USE\_LINK\_PATH TRUE) whereas compiling the same code with older ITK (e.g.…

---

## [CDash Expected Nightly Build Changes](https://discourse.itk.org/t/cdash-expected-nightly-build-changes/629)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 8\
**Last updated:** [March 6, 2018, 8:04pm UTC](https://discourse.itk.org/t/cdash-expected-nightly-build-changes/629 "2018-03-06T20:04:03Z")

</div>

I am creating a topic to place requests to move builds to and from the “Nightly Expected” section on CDash. Or other similar requests for the Dashboard.

---

## [Mesh in Python](https://discourse.itk.org/t/mesh-in-python/739)

<div class="topic-metadata">

**Author:** [@Urban\_Simoncic](https://discourse.itk.org/u/Urban_Simoncic)\
**Replies:** 1\
**Last updated:** [March 6, 2018, 4:35pm UTC](https://discourse.itk.org/t/mesh-in-python/739 "2018-03-06T16:35:06Z")

</div>

I want to work with itk.Mesh in python, so I tried to instantiate mesh type: MeshType = itk.Mesh\[itk.F, 3\] However, I got the error: KeyError: ‘itkTemplate : No template (, 3) for the itk::Mesh class’ I use my build …

---

## [Wrap itk.MultiResolutionPDEDeformableRegistration to Python](https://discourse.itk.org/t/wrap-itk-multiresolutionpdedeformableregistration-to-python/612)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 9\
**Last updated:** [March 5, 2018, 11:14pm UTC](https://discourse.itk.org/t/wrap-itk-multiresolutionpdedeformableregistration-to-python/612 "2018-03-05T23:14:41Z")

</div>

Hi all, Could someone help to wrap itk.MultiResolutionPDEDeformableRegistration to Python? As a result, I can use multi-resolution deformable registration. Thanks in advance. Regards, Zhuangming Shen

---

## [Please move lhcp-rh6 builds out of "Needs Dashboard Maintainer Attention" section](https://discourse.itk.org/t/please-move-lhcp-rh6-builds-out-of-needs-dashboard-maintainer-attention-section/726)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 5\
**Last updated:** [March 5, 2018, 4:42pm UTC](https://discourse.itk.org/t/please-move-lhcp-rh6-builds-out-of-needs-dashboard-maintainer-attention-section/726 "2018-03-05T16:42:50Z")

</div>

The issue with a couple builds related to vnl\_math test failures has now been fixed via the following topic: http://review.source.kitware.com/#/c/23217/ Please move the relevant builds back to the expected section. The…

---

## [Object orientation detection](https://discourse.itk.org/t/object-orientation-detection/733)

<div class="topic-metadata">

**Author:** [@majid](https://discourse.itk.org/u/majid)\
**Replies:** 1\
**Last updated:** [March 5, 2018, 4:34pm UTC](https://discourse.itk.org/t/object-orientation-detection/733 "2018-03-05T16:34:06Z")

</div>

Dear All, I have a 3D object which is located in an arbitrary position and orientation in the space. My goal is to roughly find the orientation of the object. To achieve that, I think I need a descriptor of the object …

---

## [New Build Errors on CDash 1/24/18 - drop support for VS2013 in ITKv5?](https://discourse.itk.org/t/new-build-errors-on-cdash-1-24-18-drop-support-for-vs2013-in-itkv5/619)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 36\
**Last updated:** [March 5, 2018, 10:33am UTC](https://discourse.itk.org/t/new-build-errors-on-cdash-1-24-18-drop-support-for-vs2013-in-itkv5/619 "2018-03-05T10:33:17Z")

</div>

Good morning, I am seeing some new build errors on CDash this morning. Here is a new link error that looks like “-lm” may not be added? Any one have any ideas on a change yesterday or why? ../../lib/libITKNrrdIO-5.0.s…

---

## [Opinions on a pipeline python wrapper for registration](https://discourse.itk.org/t/opinions-on-a-pipeline-python-wrapper-for-registration/712)

<div class="topic-metadata">

**Author:** [@glemaitre](https://discourse.itk.org/u/glemaitre)\
**Replies:** 5\
**Last updated:** [March 1, 2018, 8:39pm UTC](https://discourse.itk.org/t/opinions-on-a-pipeline-python-wrapper-for-registration/712 "2018-03-01T20:39:25Z")

</div>

I used ITK in its C++ version during my PhD studies some years ago and I have to admit that it was very useful and fulfill my needs at that time. Since I moved to machine learning, developing in Python for scikit-learn w…

---

## [Windows Builds](https://discourse.itk.org/t/windows-builds/722)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 3\
**Last updated:** [February 28, 2018, 3:30pm UTC](https://discourse.itk.org/t/windows-builds/722 "2018-02-28T15:30:33Z")

</div>

There are a lack of windows builds on the dashboard now. What happened to the Kitware build? My builds are experiencing some “random” time outs. I am wondering if this is related to the recent Threading changes?

---

## [Manual creation of FEMObject](https://discourse.itk.org/t/manual-creation-of-femobject/720)

<div class="topic-metadata">

**Author:** [@Urban\_Simoncic](https://discourse.itk.org/u/Urban_Simoncic)\
**Replies:** 0\
**Last updated:** [February 27, 2018, 2:57pm UTC](https://discourse.itk.org/t/manual-creation-of-femobject/720 "2018-02-27T14:57:49Z")

</div>

Hi, I am trying to use ITK for simple FEM elasticity problems, where FEM models would be derived from the medical image. However, I don’t want uniform mesh, so I will need to somehow create FEMObject myself. Is there an…

---

## [DIfferent pixel values encountered when using DCMTK or GDCM as IO provider](https://discourse.itk.org/t/different-pixel-values-encountered-when-using-dcmtk-or-gdcm-as-io-provider/714)

<div class="topic-metadata">

**Author:** [@mbh](https://discourse.itk.org/u/mbh)\
**Replies:** 1\
**Last updated:** [February 27, 2018, 10:15am UTC](https://discourse.itk.org/t/different-pixel-values-encountered-when-using-dcmtk-or-gdcm-as-io-provider/714 "2018-02-27T10:15:23Z")

</div>

I have experienced that Dicom pixel data are interpreted differently when read using GDCM as IO provider compared to using DCMTK as provider. The problem arises when the rescale slope and intercept in the dicom files re…

---

## [C++11 VariableLengthVector with move](https://discourse.itk.org/t/c-11-variablelengthvector-with-move/700)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 2\
**Last updated:** [February 26, 2018, 7:33pm UTC](https://discourse.itk.org/t/c-11-variablelengthvector-with-move/700 "2018-02-26T19:33:05Z")

</div>

I am just tracking down a segmentation fault I am encountering wth the ITKTextureFeature modules instantiated with VectorImages. I am tracking it down to using move operations of the VariableLengthVector: It appears…

---

## [Problems converting binary array to ITK image](https://discourse.itk.org/t/problems-converting-binary-array-to-itk-image/676)

<div class="topic-metadata">

**Author:** [@Elli](https://discourse.itk.org/u/Elli)\
**Replies:** 5\
**Last updated:** [February 26, 2018, 6:17pm UTC](https://discourse.itk.org/t/problems-converting-binary-array-to-itk-image/676 "2018-02-26T18:17:03Z")

</div>

Dear all, I would like to read in a binary array and convert part of this array into an ITK image. I would like to use the ITK image later on as a mask. However, my code is not working yet, there has to be a mistake so…

---

## [DICOM attribute from Keyword](https://discourse.itk.org/t/dicom-attribute-from-keyword/706)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 3\
**Last updated:** [February 26, 2018, 4:56pm UTC](https://discourse.itk.org/t/dicom-attribute-from-keyword/706 "2018-02-26T16:56:58Z")

</div>

Hello, Is it possible to look up a DICOM attribute using its DICOM keyword in ITK? Also, is it possible to determine the value representation of an attribute using its tag or keyword? For example, I’d like to lookup th…

---

## [Convert NVL Matrix to NumPy array](https://discourse.itk.org/t/convert-nvl-matrix-to-numpy-array/711)

<div class="topic-metadata">

**Author:** [@glemaitre](https://discourse.itk.org/u/glemaitre)\
**Replies:** 1\
**Last updated:** [February 26, 2018, 5:10am UTC](https://discourse.itk.org/t/convert-nvl-matrix-to-numpy-array/711 "2018-02-26T05:10:09Z")

</div>

Just found out that I should not post to the mailing list anymore. So here is my question. I am using the python wrapper of itk to manipulate. I checked the quick start guide ( http://itkpythonpackage.readthedocs.io/e…

---

## [fill a region (square, ellipse) of an image with specific value in SimpleITK](https://discourse.itk.org/t/fill-a-region-square-ellipse-of-an-image-with-specific-value-in-simpleitk/688)

<div class="topic-metadata">

**Author:** [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)\
**Replies:** 11\
**Last updated:** [February 23, 2018, 1:26pm UTC](https://discourse.itk.org/t/fill-a-region-square-ellipse-of-an-image-with-specific-value-in-simpleitk/688 "2018-02-23T13:26:56Z")

</div>

Hello, Is there an elegant way in sitk to fill a region e.g. square/ellipse given index and size of an image with a specific value using python? Many thanks for any help or hints Roman

---

## [ITK beginner](https://discourse.itk.org/t/itk-beginner/642)

<div class="topic-metadata">

**Author:** [@Scleri](https://discourse.itk.org/u/Scleri)\
**Replies:** 5\
**Last updated:** [February 3, 2018, 5:58pm UTC](https://discourse.itk.org/t/itk-beginner/642 "2018-02-03T17:58:52Z")

</div>

Hi, I installed ITK and CMAKE. I have to make a c++ project in Eclipse and I need to include some ITK libraries such as "itkImage.h" etc. I create a new c++ project in Eclipse, then I include the libraries I need but …

---

## [Differences between using component ITKImageIO and explicitly setting ITKIOTIFF](https://discourse.itk.org/t/differences-between-using-component-itkimageio-and-explicitly-setting-itkiotiff/697)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 6\
**Last updated:** [February 22, 2018, 7:53pm UTC](https://discourse.itk.org/t/differences-between-using-component-itkimageio-and-explicitly-setting-itkiotiff/697 "2018-02-22T19:53:58Z")

</div>

I have found an odd behavior, but only tested in my local computer. If I use any automatic IO detection (pre 4.13 approach, or newer/cleaner ITKImageIO) and try to read a 3D .tiff image, for example, 64x64x16, I get a 6…

---

## [Can LabelImageToStatisticsLabelMapFilter yield invalid statistics for some labels?](https://discourse.itk.org/t/can-labelimagetostatisticslabelmapfilter-yield-invalid-statistics-for-some-labels/691)

<div class="topic-metadata">

**Author:** [@grothausmann.roman](https://discourse.itk.org/u/grothausmann.roman)\
**Replies:** 4\
**Last updated:** [February 21, 2018, 4:29pm UTC](https://discourse.itk.org/t/can-labelimagetostatisticslabelmapfilter-yield-invalid-statistics-for-some-labels/691 "2018-02-21T16:29:11Z")

</div>

Hello, LabelStatisticsImageFilter has a ValidLabelValuesContainerType where as LabelImageToStatisticsLabelMapFilter has not. To my understanding LabelImageToStatisticsLabelMapFilter only incorporates LabelMapToLabelIma…

---

## [Contribute to the ITK Software Guide on GitHub](https://discourse.itk.org/t/contribute-to-the-itk-software-guide-on-github/695)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [February 21, 2018, 4:04pm UTC](https://discourse.itk.org/t/contribute-to-the-itk-software-guide-on-github/695 "2018-02-21T16:04:33Z")

</div>

A major milestone in our transition to GitHub, migration of the contribution process for the ITKSoftwareGuide is now complete! :octopus: :heart\_eyes\_cat: :fireworks: Documentation An overview of the contribution process…

---

## [Announcing the Continuous Registration Challenge (CRC)](https://discourse.itk.org/t/announcing-the-continuous-registration-challenge-crc/663)

<div class="topic-metadata">

**Author:** [@kaspermarstal](https://discourse.itk.org/u/kaspermarstal)\
**Replies:** 1\
**Last updated:** [February 21, 2018, 2:10pm UTC](https://discourse.itk.org/t/announcing-the-continuous-registration-challenge-crc/663 "2018-02-21T14:10:47Z")

</div>

Do you love developing registration algorithms but are you tired of the time it takes to properly setup experiments? What if you could just implement your method and then run experiments on many different data sets and c…

---

## [Using the C++11 auto keyword in ITKv5 code](https://discourse.itk.org/t/using-the-c-11-auto-keyword-in-itkv5-code/682)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 14\
**Last updated:** [February 21, 2018, 1:26am UTC](https://discourse.itk.org/t/using-the-c-11-auto-keyword-in-itkv5-code/682 "2018-02-21T01:26:32Z")

</div>

On recent patches to ITKv5 that I proposed, I was asked not to use the C++11 auto keyword. For example, in the following code: const auto centerPoint = (\*itCircles)-\>GetCenterPoint(); Which I then replaced by the follo…

---

## [New SmartPointer issues](https://discourse.itk.org/t/new-smartpointer-issues/693)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [February 20, 2018, 6:43pm UTC](https://discourse.itk.org/t/new-smartpointer-issues/693 "2018-02-20T18:43:24Z")

</div>

Following the recent update to ITK’s SmartPointers, I had one issue with compilation of SimpleITK: SimpleITK/Code/BasicFilters/src/sitkCreateInterpolator.hxx:143:14: error: conversion from 'long int' to 'itk::Interpolat…

---

## [ITK Doxygen out of date](https://discourse.itk.org/t/itk-doxygen-out-of-date/681)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 6\
**Last updated:** [February 20, 2018, 4:22pm UTC](https://discourse.itk.org/t/itk-doxygen-out-of-date/681 "2018-02-20T16:22:14Z")

</div>

The ITK Doxygen has not been updated since Jan 22: https://itk.org/Insight/Doxygen/html/index.html

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

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