# Latest

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

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

**Page:** 82

---

## [How to process only few slices of a 3D dicom image](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 6\
**Last updated:** [September 30, 2019, 1:43pm UTC](https://discourse.itk.org/t/how-to-process-only-few-slices-of-a-3d-dicom-image/2233 "2019-09-30T13:43:27Z")

</div>

Hi All, I have a use case where given a 3D dicom image, I wish to apply for the filters only on selected slices. For example if 3D image has depth of 52 slices I want to apply Segmentation filters only from slice number…

---

## [How to iterate over each Superpixel?](https://discourse.itk.org/t/how-to-iterate-over-each-superpixel/2279)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 0\
**Last updated:** [September 29, 2019, 9:24pm UTC](https://discourse.itk.org/t/how-to-iterate-over-each-superpixel/2279 "2019-09-29T21:24:36Z")

</div>

Hi, I used ITK’s SLIC algo on 3D image and now for each slice I want to iterate over each segment(super pixels) in each 2D slice and extract intensity values for them. Does anyone guide what would be best possible way …

---

## [image registration using mutual information](https://discourse.itk.org/t/image-registration-using-mutual-information/1746)

<div class="topic-metadata">

**Author:** [@lorystays](https://discourse.itk.org/u/lorystays)\
**Replies:** 6\
**Last updated:** [September 29, 2019, 12:52pm UTC](https://discourse.itk.org/t/image-registration-using-mutual-information/1746 "2019-09-29T12:52:05Z")

</div>

Hi, i am trying to do image registration between 2 (natural scene) grayscale images using similarity transform and the mutual information similarity metric. I started by trying to repeat the results from the following…

---

## [Override not work? (itk5)](https://discourse.itk.org/t/override-not-work-itk5/2268)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 4\
**Last updated:** [September 28, 2019, 4:33pm UTC](https://discourse.itk.org/t/override-not-work-itk5/2268 "2019-09-28T16:33:09Z")

</div>

Hi everyone! I’m trying to run my code by ITK newest version 5. But I got this error. Can you help me fix it? /home/itkReadParameters.h: In instantiation of ‘class itk::RegistrationParameters\<3\>’: /home/DeformableRegis…

---

## [Where is CreateNewExample.py for ITKExamples](https://discourse.itk.org/t/where-is-createnewexample-py-for-itkexamples/2269)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.itk.org/u/hina-shah)\
**Replies:** 4\
**Last updated:** [September 28, 2019, 2:32am UTC](https://discourse.itk.org/t/where-is-createnewexample-py-for-itkexamples/2269 "2019-09-28T02:32:03Z")

</div>

I built ITKExamples against an existing ITK 5.1beta1 build. But I cannot find the CreateNewExample.py in the ITExamples build directory (or source for that matter). Has it moved somewhere else? Or did I just mess up some…

---

## [DLL problem when installing ITK on Windows 10](https://discourse.itk.org/t/dll-problem-when-installing-itk-on-windows-10/1626)

<div class="topic-metadata">

**Author:** [@pfreire](https://discourse.itk.org/u/pfreire)\
**Replies:** 11\
**Last updated:** [March 1, 2019, 12:10am UTC](https://discourse.itk.org/t/dll-problem-when-installing-itk-on-windows-10/1626 "2019-03-01T00:10:24Z")

</div>

Hello, everyone. I’ve been using ITK on Linux for quite some time now (with no problems at all), but lately I’ve been trying to install it on Windows 10… to no avail. I’m using CMake 3.13.4 and when I try to configure th…

---

## [Two 2D/3D image registration](https://discourse.itk.org/t/two-2d-3d-image-registration/1771)

<div class="topic-metadata">

**Author:** [@Mary1](https://discourse.itk.org/u/Mary1)\
**Replies:** 3\
**Last updated:** [September 27, 2019, 4:06am UTC](https://discourse.itk.org/t/two-2d-3d-image-registration/1771 "2019-09-27T04:06:15Z")

</div>

Hi everyone, How can i use ITK framework to register two 2D- fixed images to one 3D moving image? I tried to edit the source code of itk “itkimageregistration.hxx” and “itkimage registration.h” by adding another fixe…

---

## [CurvatureFlowImageFilter difference in Mac and in Lunux](https://discourse.itk.org/t/curvatureflowimagefilter-difference-in-mac-and-in-lunux/2257)

<div class="topic-metadata">

**Author:** [@nm97](https://discourse.itk.org/u/nm97)\
**Replies:** 2\
**Last updated:** [September 26, 2019, 7:50pm UTC](https://discourse.itk.org/t/curvatureflowimagefilter-difference-in-mac-and-in-lunux/2257 "2019-09-26T19:50:42Z")

</div>

Hi everyone. I am using CurvatureFlowImageFilter and this return different images for 16 bit images on Mac vs on Linux. The same for MinMaxCurvatureFlowImageFilter. Thank you, Hrach

---

## [ImageRange - a range of iterators to the pixels of an image](https://discourse.itk.org/t/imagerange-a-range-of-iterators-to-the-pixels-of-an-image/1455)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 20\
**Last updated:** [September 26, 2019, 5:03pm UTC](https://discourse.itk.org/t/imagerange-a-range-of-iterators-to-the-pixels-of-an-image/1455 "2019-09-26T17:03:28Z")

</div>

Last weekend, @hjmjohnson merged another C++ range class (template) that I proposed into the master branch: itk::Experimental::ImageRange\<TImage\> Thanks also to @matt.mccormick , @dzenanz, @phcerdan for your help and …

---

## [Non-rigid registration of two surface meshes with non-corresponding vertices](https://discourse.itk.org/t/non-rigid-registration-of-two-surface-meshes-with-non-corresponding-vertices/2214)

<div class="topic-metadata">

**Author:** [@wilson](https://discourse.itk.org/u/wilson)\
**Replies:** 8\
**Last updated:** [September 25, 2019, 6:30pm UTC](https://discourse.itk.org/t/non-rigid-registration-of-two-surface-meshes-with-non-corresponding-vertices/2214 "2019-09-25T18:30:36Z")

</div>

Hi Everyone, I have a bunch of beginner’s questions about what ITK can/cannot do. We have a bunch of 3-D surface meshes (different faces, each with a bunch of different facial expressions). Different meshes have differ…

---

## [ITK 5.1 Beta 1: NumPy Interface, Part 1](https://discourse.itk.org/t/itk-5-1-beta-1-numpy-interface-part-1/2260)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 3:09pm UTC](https://discourse.itk.org/t/itk-5-1-beta-1-numpy-interface-part-1/2260 "2019-09-25T15:09:06Z")

</div>

We are happy to announce that the Insight Toolkit (ITK) 5.1 Beta 1 is available for testing! :tada: ITK is an open-source, cross-platform toolkit for N-dimensional scientific image processing, segmentation, and registrat…

---

## [Error in CropImageFilter example](https://discourse.itk.org/t/error-in-cropimagefilter-example/2264)

<div class="topic-metadata">

**Author:** [@Alessandro\_Pilleri](https://discourse.itk.org/u/Alessandro_Pilleri)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 3:04pm UTC](https://discourse.itk.org/t/error-in-cropimagefilter-example/2264 "2019-09-25T15:04:44Z")

</div>

Hello everybody, I was adapting this example to my project: https://itk.org/Doxygen/html/WikiExamples\_2ImageProcessing\_2CropImageFilter\_8cxx-example.html But I think that it is wrong within this statement // The SetBo…

---

## [convert .mha data to .mnc data](https://discourse.itk.org/t/convert-mha-data-to-mnc-data/2230)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 4\
**Last updated:** [September 24, 2019, 8:11pm UTC](https://discourse.itk.org/t/convert-mha-data-to-mnc-data/2230 "2019-09-24T20:11:08Z")

</div>

Using diffeomorphic demons registration I need to do registration for brain images. This is the code which I am working on https://github.com/BIC-MNI/EZminc. I need to give input in .mnc format. Can someone suggest me ho…

---

## [How to start my project in ITK C++ as a python programmer](https://discourse.itk.org/t/how-to-start-my-project-in-itk-c-as-a-python-programmer/2219)

<div class="topic-metadata">

**Author:** [@Sara\_Caffe](https://discourse.itk.org/u/Sara_Caffe)\
**Replies:** 3\
**Last updated:** [September 24, 2019, 7:46pm UTC](https://discourse.itk.org/t/how-to-start-my-project-in-itk-c-as-a-python-programmer/2219 "2019-09-24T19:46:23Z")

</div>

Hi, I have been programming in python, but now I have to move to C++. I am a beginner in ITK/VTK, C++ programming and new to these libraries. I started with ITK examples, however, I do not know from which point should I…

---

## [Multiply vector with scalar value](https://discourse.itk.org/t/multiply-vector-with-scalar-value/2259)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 2\
**Last updated:** [September 24, 2019, 2:32pm UTC](https://discourse.itk.org/t/multiply-vector-with-scalar-value/2259 "2019-09-24T14:32:23Z")

</div>

Hello, i want to multiply either a vector with a single scalar (s \* {v\_0,...,v\_n} = {s \* v\_0,...,s \* v\_n}) or a elementwise multiplication of two vectors ({w\_0,...,w\_n} \* {v\_0,...,v\_n} = {w\_0 \* v\_0,..., w\_n \* v\_n}). Th…

---

## [Wrapping array of booleans](https://discourse.itk.org/t/wrapping-array-of-booleans/2236)

<div class="topic-metadata">

**Author:** [@acoussat](https://discourse.itk.org/u/acoussat)\
**Replies:** 4\
**Last updated:** [September 23, 2019, 6:55pm UTC](https://discourse.itk.org/t/wrapping-array-of-booleans/2236 "2019-09-23T18:55:35Z")

</div>

Hi! I am currently working on wrapping an RTK filter which has a bool \* property along with a setter. The wrapped filter properly compiles but the method, when called from a Python script, produces an error (something l…

---

## [ITK5 crashes on older CPUs](https://discourse.itk.org/t/itk5-crashes-on-older-cpus/2250)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 16\
**Last updated:** [September 23, 2019, 7:08pm UTC](https://discourse.itk.org/t/itk5-crashes-on-older-cpus/2250 "2019-09-23T19:08:36Z")

</div>

Since we updated 3D Slicer to use ITK5, we got multiple error reports on Windows and Linux that the application crashes at startup in GDCM due to illegal instruction. Windows: Displayed to user in popup The applicatio…

---

## [ITK Doxygen HTML updated to 1.8.16 - browser cache clear may be required](https://discourse.itk.org/t/itk-doxygen-html-updated-to-1-8-16-browser-cache-clear-may-be-required/2258)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [September 23, 2019, 7:05pm UTC](https://discourse.itk.org/t/itk-doxygen-html-updated-to-1-8-16-browser-cache-clear-may-be-required/2258 "2019-09-23T19:05:40Z")

</div>

ITK’s HTML Doxygen documentation: https://itk.org/Doxygen/html/ has seen a major update to Doxygen version 1.8.16. If you visited the Doxygen pages often in the past, you may observe rendering like: This can be res…

---

## [Run examples from Windows command line](https://discourse.itk.org/t/run-examples-from-windows-command-line/2105)

<div class="topic-metadata">

**Author:** [@farhan\_009](https://discourse.itk.org/u/farhan_009)\
**Replies:** 10\
**Last updated:** [September 23, 2019, 3:31pm UTC](https://discourse.itk.org/t/run-examples-from-windows-command-line/2105 "2019-09-23T15:31:28Z")

</div>

---

## [Is it possible to use itk::OrientImageFilter on a 4D image](https://discourse.itk.org/t/is-it-possible-to-use-itk-orientimagefilter-on-a-4d-image/2253)

<div class="topic-metadata">

**Author:** [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 4:24pm UTC](https://discourse.itk.org/t/is-it-possible-to-use-itk-orientimagefilter-on-a-4d-image/2253 "2019-09-20T16:24:10Z")

</div>

Hey, I figured I’d ask here because I wasn’t able to find the answer anywhere else: Is it possible to use the itk::OrientImageFilter filter for a 4D (perfusion) image? Thanks, Sarthak

---

## [itkVectorResampleImageFilter not working on ITK 5.0.1?](https://discourse.itk.org/t/itkvectorresampleimagefilter-not-working-on-itk-5-0-1/2249)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 12:25am UTC](https://discourse.itk.org/t/itkvectorresampleimagefilter-not-working-on-itk-5-0-1/2249 "2019-09-20T00:25:51Z")

</div>

Hi everyone! I update to ITK 5.0.1. I am trying running an example of BSplibe registration. and it has a error: #include “itkVectorResampleImageFilter.h”: No such file or directory. I noticed it is no longer in use. …

---

## [Error in reading input image information in Demons Registration at ImageIO](https://discourse.itk.org/t/error-in-reading-input-image-information-in-demons-registration-at-imageio/2247)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 8:33am UTC](https://discourse.itk.org/t/error-in-reading-input-image-information-in-demons-registration-at-imageio/2247 "2019-09-19T08:33:07Z")

</div>

can someone tell me why it is unable to read memory? I have given the pixel type as float and my image is also in float data type.

---

## [Draft pull requests in github!](https://discourse.itk.org/t/draft-pull-requests-in-github/1651)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 5:36pm UTC](https://discourse.itk.org/t/draft-pull-requests-in-github/1651 "2019-09-18T17:36:26Z")

</div>

This look nice, no more WIP in the commit headers!? And for hub users, it seems Github API is not yet exposing the option to set the draft, so we might need to wait a little bit.

---

## [Histogram Fixed Bin Size](https://discourse.itk.org/t/histogram-fixed-bin-size/2243)

<div class="topic-metadata">

**Author:** [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Replies:** 1\
**Last updated:** [September 11, 2019, 8:30pm UTC](https://discourse.itk.org/t/histogram-fixed-bin-size/2243 "2019-09-11T20:30:27Z")

</div>

Hi, I am trying to calculated Histogram based on the Fixed Bin Size (as opposed to giving the number of total bins). Is that possible in ITK? Reference: https://ibsi.readthedocs.io/en/latest/03\_Image\_processing.html?hi…

---

## [concatenating dense deformation fields](https://discourse.itk.org/t/concatenating-dense-deformation-fields/2238)

<div class="topic-metadata">

**Author:** [@sedghi](https://discourse.itk.org/u/sedghi)\
**Replies:** 10\
**Last updated:** [September 11, 2019, 1:42pm UTC](https://discourse.itk.org/t/concatenating-dense-deformation-fields/2238 "2019-09-11T13:42:28Z")

</div>

I was wondering if it is possible to concatenate two dense deformation fields in ITK python or SimpleITK. Having B = T2 ( T1 ( A(x) ) ) In which T1, and T2 are both dense deformation fields (both with size ofImage …

---

## [How to resize DICOM properly?](https://discourse.itk.org/t/how-to-resize-dicom-properly/2235)

<div class="topic-metadata">

**Author:** [@TWK](https://discourse.itk.org/u/TWK)\
**Replies:** 7\
**Last updated:** [September 10, 2019, 4:04pm UTC](https://discourse.itk.org/t/how-to-resize-dicom-properly/2235 "2019-09-10T16:04:31Z")

</div>

Hello, I’m new to simpleITK and have a question about resizing the image. In my understanding, spacing is the distance between the pixels. So I thought if I reduce the spacing by half, I can get a new half-size image wit…

---

## [SimpleITK installation error (Lua version 5.1 is required for SimpleITK\_LUA\_EXECUTABLE\_VERSION)](https://discourse.itk.org/t/simpleitk-installation-error-lua-version-5-1-is-required-for-simpleitk-lua-executable-version/2191)

<div class="topic-metadata">

**Author:** [@Sara\_Caffe](https://discourse.itk.org/u/Sara_Caffe)\
**Replies:** 5\
**Last updated:** [September 9, 2019, 3:51pm UTC](https://discourse.itk.org/t/simpleitk-installation-error-lua-version-5-1-is-required-for-simpleitk-lua-executable-version/2191 "2019-09-09T15:51:55Z")

</div>

Hi, I want to build SimpleITK manually with the installed ITK5.0 on my device. I have installed lua5.1 by compiling the source by using the following commands: $ cd lua-5.1 $ mkdir lua\_build $ cd lua\_build $ make linux …

---

## [Anatomical orientation MHD](https://discourse.itk.org/t/anatomical-orientation-mhd/2231)

<div class="topic-metadata">

**Author:** [@SaskiaCamps](https://discourse.itk.org/u/SaskiaCamps)\
**Replies:** 2\
**Last updated:** [September 9, 2019, 11:35am UTC](https://discourse.itk.org/t/anatomical-orientation-mhd/2231 "2019-09-09T11:35:26Z")

</div>

Dear all, I am currently saving frames of an image buffer in MHD file format using a similar approach as described in https://itk.org/ITK/help/tutorials.html - Example V. The image data is saved correctly and the images…

---

## [Need to add support for GCC 9 in vcl\_compiler.h on Fedora 30](https://discourse.itk.org/t/need-to-add-support-for-gcc-9-in-vcl-compiler-h-on-fedora-30/2232)

<div class="topic-metadata">

**Author:** [@mhough](https://discourse.itk.org/u/mhough)\
**Replies:** 3\
**Last updated:** [September 8, 2019, 10:54pm UTC](https://discourse.itk.org/t/need-to-add-support-for-gcc-9-in-vcl-compiler-h-on-fedora-30/2232 "2019-09-08T22:54:35Z")

</div>

/home/mhough/Downloads/SimpleITK-build/ITK/Modules/ThirdParty/VNL/src/vxl/vcl/vcl\_compiler.h:101:4: error: #error “Dunno about this gcc” 101 | # error “Dunno about this gcc” | ^~~~~ Adding an additional elseif for…

---

## [use sitk::cast() function to convert image resulted in crashed](https://discourse.itk.org/t/use-sitk-cast-function-to-convert-image-resulted-in-crashed/2222)

<div class="topic-metadata">

**Author:** [@TechLee](https://discourse.itk.org/u/TechLee)\
**Replies:** 1\
**Last updated:** [September 7, 2019, 11:35am UTC](https://discourse.itk.org/t/use-sitk-cast-function-to-convert-image-resulted-in-crashed/2222 "2019-09-07T11:35:56Z")

</div>

sitk::Image fixed; olderPath\[0\] = QFileDialog::getExistingDirectory(this, tr("Choose Ref dicom folder"), preFolder, QFileDialog::DontUseNativeDialog | QFileDialog::ShowDirsOnly); if (folderPath\[0\].isEmpty()) { r…

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

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