# Latest

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

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

**Page:** 80

---

## [Issue VS2019 ITK build](https://discourse.itk.org/t/issue-vs2019-itk-build/2385)

<div class="topic-metadata">

**Author:** [@fraca](https://discourse.itk.org/u/fraca)\
**Replies:** 3\
**Last updated:** [November 7, 2019, 1:23pm UTC](https://discourse.itk.org/t/issue-vs2019-itk-build/2385 "2019-11-07T13:23:38Z")

</div>

I tried to build in Visual Studio 2019 (after processing 5.0.1 Toolkit in CMake) ALL\_BUILD, but 5 process (of 245) have not been completed. Can you help me? It says: “Call API PDB failed. Code error:3” and the last er…

---

## [itk.ImageToVTKImageFilter crashing Python](https://discourse.itk.org/t/itk-imagetovtkimagefilter-crashing-python/2018)

<div class="topic-metadata">

**Author:** [@Michael\_Hogg](https://discourse.itk.org/u/Michael_Hogg)\
**Replies:** 8\
**Last updated:** [November 7, 2019, 9:07am UTC](https://discourse.itk.org/t/itk-imagetovtkimagefilter-crashing-python/2018 "2019-11-07T09:07:12Z")

</div>

Hi, I am using itk and vtk in Python. Specifically I am trying to convert an ITK image to a VTK image using the function itk.ImageToVTKImageFilter. I am currently trying to replicate the code here. If I even try to acce…

---

## [\[SOLVED\] Undefined reference to QuickView even with ITKVtkGlue added in target\_link\_libraries](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100)

<div class="topic-metadata">

**Author:** [@federico](https://discourse.itk.org/u/federico)\
**Replies:** 8\
**Last updated:** [November 7, 2019, 3:58am UTC](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100 "2019-11-07T03:58:31Z")

</div>

Hi, I am trying to open and display an image with QuickView, however the linker is unable to find QuickView::AddImage. CMakeFiles/viewer.dir/viewer.cc.o: In function \`main': viewer.cc:(.text+0x12d): undefined reference…

---

## [Geodesic active contour with python](https://discourse.itk.org/t/geodesic-active-contour-with-python/2386)

<div class="topic-metadata">

**Author:** [@abir](https://discourse.itk.org/u/abir)\
**Replies:** 3\
**Last updated:** [November 6, 2019, 9:39pm UTC](https://discourse.itk.org/t/geodesic-active-contour-with-python/2386 "2019-11-06T21:39:23Z")

</div>

i tried to implement the GeodesicActiveContourImageFilter but every time i try to run it i get this message

---

## [How to resize a 3D image](https://discourse.itk.org/t/how-to-resize-a-3d-image/2379)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 9:35pm UTC](https://discourse.itk.org/t/how-to-resize-a-3d-image/2379 "2019-11-05T21:35:59Z")

</div>

Hi, I’m trying to resize a 3D image to an specific size, but I’m getting as a result a white image with some black slices. Here is the code: sitk::Image imResize3(sitk::Image input, sitk::Image output\_size\_image) { …

---

## [How to set FixedInitialTransform in itk::MultiResolutionImageRegistrationMethod](https://discourse.itk.org/t/how-to-set-fixedinitialtransform-in-itk-multiresolutionimageregistrationmethod/2377)

<div class="topic-metadata">

**Author:** [@fangc](https://discourse.itk.org/u/fangc)\
**Replies:** 3\
**Last updated:** [November 5, 2019, 4:22pm UTC](https://discourse.itk.org/t/how-to-set-fixedinitialtransform-in-itk-multiresolutionimageregistrationmethod/2377 "2019-11-05T16:22:16Z")

</div>

Hello, I am using ITK to build my own multi-resolution rigid registration of 3D images. I want to pass the initial transforms of the fixed image and the moving image to the registration. How to do it? Here is my code. …

---

## [readImageDICOMFileSeries() reports 'filepath is undefined' on browser console](https://discourse.itk.org/t/readimagedicomfileseries-reports-filepath-is-undefined-on-browser-console/2374)

<div class="topic-metadata">

**Author:** [@dtucker61](https://discourse.itk.org/u/dtucker61)\
**Replies:** 1\
**Last updated:** [November 5, 2019, 12:40am UTC](https://discourse.itk.org/t/readimagedicomfileseries-reports-filepath-is-undefined-on-browser-console/2374 "2019-11-05T00:40:29Z")

</div>

I’m new to Javascript and ITK. I started by cloning the ITK-JS repository, and am working thru the examples. My objective – from my browser, to read all of the images in a directory (an MR series) into a single ITK imag…

---

## [How to save 3D image volume data in .inr file format ?](https://discourse.itk.org/t/how-to-save-3d-image-volume-data-in-inr-file-format/2368)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 1:50pm UTC](https://discourse.itk.org/t/how-to-save-3d-image-volume-data-in-inr-file-format/2368 "2019-11-04T13:50:18Z")

</div>

Hi, How can I save 3D volume as .inr file format or convert mha/nifti file format to .inr format? Regards Shrabani Ghosh

---

## [How to save my medical images in various formats into .zraw?](https://discourse.itk.org/t/how-to-save-my-medical-images-in-various-formats-into-zraw/2371)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 5:08am UTC](https://discourse.itk.org/t/how-to-save-my-medical-images-in-various-formats-into-zraw/2371 "2019-11-04T05:08:28Z")

</div>

I mean how to compress my image volume data which is in .mhd into .zraw ? I tried using Convert3D GUI. but .zraw is not possible with it.

---

## [Incorrect Result in Registration](https://discourse.itk.org/t/incorrect-result-in-registration/2373)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 2:44am UTC](https://discourse.itk.org/t/incorrect-result-in-registration/2373 "2019-11-04T02:44:49Z")

</div>

I am doing an affine registration using mutual information and I am getting incorrect results when trying to register the MNI atlas 1mm with the vanderbuild database. The images of the vanderbuilt data base differ from …

---

## [Combine shape stats from multiple labelled 2D slices](https://discourse.itk.org/t/combine-shape-stats-from-multiple-labelled-2d-slices/2366)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 2\
**Last updated:** [November 2, 2019, 3:01am UTC](https://discourse.itk.org/t/combine-shape-stats-from-multiple-labelled-2d-slices/2366 "2019-11-02T03:01:23Z")

</div>

Hi, Post applying segmentation filters on a 3D image, I gather shape stats for each 2D slice. How do I combine shape stats for each of 2D slices into one data structure. Is there simple ITK filter for such operation or I…

---

## [Understanding Seed based Confidence Connected SimpleITK Filter](https://discourse.itk.org/t/understanding-seed-based-confidence-connected-simpleitk-filter/2349)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 6\
**Last updated:** [November 2, 2019, 2:53am UTC](https://discourse.itk.org/t/understanding-seed-based-confidence-connected-simpleitk-filter/2349 "2019-11-02T02:53:23Z")

</div>

Hi, I am using seed based ConfidenceConnected Filter to find the target of my interest in 3D image. The shape of target is different in each slice in the 3D image. I get much better results than Thresholding methods I tr…

---

## [Buffer overflow in getting properties](https://discourse.itk.org/t/buffer-overflow-in-getting-properties/2363)

<div class="topic-metadata">

**Author:** [@msh\_smlv](https://discourse.itk.org/u/msh_smlv)\
**Replies:** 2\
**Last updated:** [October 30, 2019, 11:32am UTC](https://discourse.itk.org/t/buffer-overflow-in-getting-properties/2363 "2019-10-30T11:32:52Z")

</div>

Hello! During an internal security assessment of the medical ML pipeline based on Simple-itk we found buffer-overflow in DicomReader. I guess that it happens because you use the buffer which is located on the stack for…

---

## [How to changes the values of itk::Image?](https://discourse.itk.org/t/how-to-changes-the-values-of-itk-image/2356)

<div class="topic-metadata">

**Author:** [@Sara\_Caffe](https://discourse.itk.org/u/Sara_Caffe)\
**Replies:** 2\
**Last updated:** [October 30, 2019, 5:42am UTC](https://discourse.itk.org/t/how-to-changes-the-values-of-itk-image/2356 "2019-10-30T05:42:12Z")

</div>

I have the ground truth label files with integer values. I need to remove all values except those voxels that have value==1. How can I do this? How to know the unique values of itk::Image type? Sorry for basic question …

---

## [BinaryDilateImageFilterType slow speed. Other option?](https://discourse.itk.org/t/binarydilateimagefiltertype-slow-speed-other-option/2362)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.itk.org/u/zandarina)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 4:57pm UTC](https://discourse.itk.org/t/binarydilateimagefiltertype-slow-speed-other-option/2362 "2019-10-29T16:57:35Z")

</div>

Hi everybody, I need to use the BinaryDilateImageFilterType up to 100 of radii to close gaps but i found it really slow, i wonder if there is another fitlter to do the same with a better speed, more optimized?. Thank y…

---

## [what does this-\>ProcessObject::SetNthInput() mean?](https://discourse.itk.org/t/what-does-this-processobject-setnthinput-mean/2355)

<div class="topic-metadata">

**Author:** [@ruokuanwu](https://discourse.itk.org/u/ruokuanwu)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:38pm UTC](https://discourse.itk.org/t/what-does-this-processobject-setnthinput-mean/2355 "2019-10-29T13:38:38Z")

</div>

I’m reading a simple code to know how itk work.https://itk.org/ITKExamples/src/Filtering/ImageGrid/ShrinkImage/Documentation.html. When I look for what the ‘shrinkFilter-\>SetInput(image)’ method calls, I found something…

---

## [Use ITK5.0.1 for my project which was developed based on ITK4.2 before](https://discourse.itk.org/t/use-itk5-0-1-for-my-project-which-was-developed-based-on-itk4-2-before/2352)

<div class="topic-metadata">

**Author:** [@Yixun\_Liu](https://discourse.itk.org/u/Yixun_Liu)\
**Replies:** 2\
**Last updated:** [October 29, 2019, 1:18am UTC](https://discourse.itk.org/t/use-itk5-0-1-for-my-project-which-was-developed-based-on-itk4-2-before/2352 "2019-10-29T01:18:16Z")

</div>

Hi All, I would like to build ITK5.0.1 using VS2017 on Windows 10 and use it for my project which was developed on ITK4.2 before. I think I need to enable ITK4 in the CMake setting, right? Also, I used VTK5.8 in my pr…

---

## [itk for Python 3.8](https://discourse.itk.org/t/itk-for-python-3-8/2346)

<div class="topic-metadata">

**Author:** [@alkamid](https://discourse.itk.org/u/alkamid)\
**Replies:** 2\
**Last updated:** [October 28, 2019, 4:00pm UTC](https://discourse.itk.org/t/itk-for-python-3-8/2346 "2019-10-28T16:00:07Z")

</div>

When can we expect a Python 3.8 version of itk on PyPI? It looks like SimpleITK wheels for 3.8 have already been uploaded.

---

## [To perform histogram equilization in ITK](https://discourse.itk.org/t/to-perform-histogram-equilization-in-itk/2358)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 3\
**Last updated:** [October 28, 2019, 2:00pm UTC](https://discourse.itk.org/t/to-perform-histogram-equilization-in-itk/2358 "2019-10-28T14:00:06Z")

</div>

Is there any code or example to perform histogram equilization in itk or simple itk?

---

## [Create mask for 3D image based on plane](https://discourse.itk.org/t/create-mask-for-3d-image-based-on-plane/2347)

<div class="topic-metadata">

**Author:** [@jbi35](https://discourse.itk.org/u/jbi35)\
**Replies:** 3\
**Last updated:** [October 28, 2019, 1:11pm UTC](https://discourse.itk.org/t/create-mask-for-3d-image-based-on-plane/2347 "2019-10-28T13:11:33Z")

</div>

Hi there, I am trying to solve the following problem. I have created a 3D segmentation with SimpleITK which I would like to split into two parts using a plane defined by the normal vector and point. My goal is to set th…

---

## [help with bogus "pre-commit hook failure"](https://discourse.itk.org/t/help-with-bogus-pre-commit-hook-failure/2350)

<div class="topic-metadata">

**Author:** [@seanm](https://discourse.itk.org/u/seanm)\
**Replies:** 9\
**Last updated:** [October 26, 2019, 1:34pm UTC](https://discourse.itk.org/t/help-with-bogus-pre-commit-hook-failure/2350 "2019-10-26T13:34:26Z")

</div>

Hi all, I’m trying to submit a simple one line patch, but committing gives me: \[attr\]our-c-style whitespace=tab-in-indent,no-lf-at-eof hooks.style=KWStyle,clangformat not allowed: ./.gitattributes:31 \[attr\]our-c-sty…

---

## [Fuse (blend) two 2D images to RGB image in SimpleITK](https://discourse.itk.org/t/fuse-blend-two-2d-images-to-rgb-image-in-simpleitk/1920)

<div class="topic-metadata">

**Author:** [@ibr](https://discourse.itk.org/u/ibr)\
**Replies:** 9\
**Last updated:** [October 25, 2019, 7:34pm UTC](https://discourse.itk.org/t/fuse-blend-two-2d-images-to-rgb-image-in-simpleitk/1920 "2019-10-25T19:34:38Z")

</div>

Dear all, I am trying to write a python code that extracts specific 2D slices from a 3D image and its segmentation then generates RGB image that shows both image and its segmentation in the extracted slice. So far ever…

---

## [Is that possible to convert triangular mesh to simplex mesh?](https://discourse.itk.org/t/is-that-possible-to-convert-triangular-mesh-to-simplex-mesh/2129)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 5:41pm UTC](https://discourse.itk.org/t/is-that-possible-to-convert-triangular-mesh-to-simplex-mesh/2129 "2019-08-07T17:41:17Z")

</div>

I want to convert a simplex mesh to triangular mesh on which I can apply some triangular mesh simplification using cgal because simplex mesh simplification is a bit difficult. Is there any example which converts from si…

---

## [Heap buffer overflow in itkImportImageContainer](https://discourse.itk.org/t/heap-buffer-overflow-in-itkimportimagecontainer/2343)

<div class="topic-metadata">

**Author:** [@msh\_smlv](https://discourse.itk.org/u/msh_smlv)\
**Replies:** 7\
**Last updated:** [October 24, 2019, 3:22pm UTC](https://discourse.itk.org/t/heap-buffer-overflow-in-itkimportimagecontainer/2343 "2019-10-24T15:22:42Z")

</div>

Hello! During an internal security assessment of the medical ML pipeline based on Simple-itk we found heap-buffer-overflow in DicomReader. In the attached file you can find an example of a file that triggers the except…

---

## [Deform Registration 3D example 7 BSpline](https://discourse.itk.org/t/deform-registration-3d-example-7-bspline/2344)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 2\
**Last updated:** [October 24, 2019, 3:02pm UTC](https://discourse.itk.org/t/deform-registration-3d-example-7-bspline/2344 "2019-10-24T15:02:26Z")

</div>

Hello, I was trying to implement deform registration from example7 : https://itk.org/Doxygen/html/Examples\_2RegistrationITKv4\_2DeformableRegistration7\_8cxx-example.html //Deformable registration using BSpline Transform…

---

## [Organ Identification from Head-To-Toe CT scan](https://discourse.itk.org/t/organ-identification-from-head-to-toe-ct-scan/2296)

<div class="topic-metadata">

**Author:** [@Jigabytes](https://discourse.itk.org/u/Jigabytes)\
**Replies:** 9\
**Last updated:** [October 22, 2019, 1:49am UTC](https://discourse.itk.org/t/organ-identification-from-head-to-toe-ct-scan/2296 "2019-10-22T01:49:44Z")

</div>

Hi , Here is the problem and solution proposal I am planning to develop. Problem: I wish to segment HEAD-TO-TOE CT scan and identify organs from it. For example which slices has Heart or which has Bladder or which …

---

## [Affine Registration 3D for beginner](https://discourse.itk.org/t/affine-registration-3d-for-beginner/2337)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 6\
**Last updated:** [October 21, 2019, 9:33pm UTC](https://discourse.itk.org/t/affine-registration-3d-for-beginner/2337 "2019-10-21T21:33:19Z")

</div>

Hello All, I have 21 3D MR brain images… as a format …/MPRAGE\_copy/KKI-2009-01-MPRAGE.nii for one image in MPRAGE\_copy folder… Out of the 21 images I would like to use the first image as fixed image and register the r…

---

## [Beginner in ITK, Averaging Image](https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 6\
**Last updated:** [October 21, 2019, 5:11pm UTC](https://discourse.itk.org/t/beginner-in-itk-averaging-image/2328 "2019-10-21T17:11:09Z")

</div>

Hello all, I am new in ITK and using it with CMAKE, GCC compiler. As a python/Matlab programmer, I am finding ITK a bit confusing. But I am trying to do a project that will help me to learn ITK in general. I find the pr…

---

## [Does ITK expose API for getting DICOM from remote source like PACS ?](https://discourse.itk.org/t/does-itk-expose-api-for-getting-dicom-from-remote-source-like-pacs/2340)

<div class="topic-metadata">

**Author:** [@Phong\_Tran](https://discourse.itk.org/u/Phong_Tran)\
**Replies:** 2\
**Last updated:** [October 21, 2019, 4:42pm UTC](https://discourse.itk.org/t/does-itk-expose-api-for-getting-dicom-from-remote-source-like-pacs/2340 "2019-10-21T16:42:51Z")

</div>

Hi All, Does ITK expose API for getting DICOM from remote source like PACS ? And is there a module that read DICOM from remote ? Thanks

---

## [BinaryMorphologycalOpeningImageFilter, does not name a template type?](https://discourse.itk.org/t/binarymorphologycalopeningimagefilter-does-not-name-a-template-type/2339)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 1\
**Last updated:** [October 21, 2019, 4:01pm UTC](https://discourse.itk.org/t/binarymorphologycalopeningimagefilter-does-not-name-a-template-type/2339 "2019-10-21T16:01:47Z")

</div>

Hi everyone, I run my code about the Morphology algorithm. And I get an error: /home/ITK\_Codes/itkMaskToMesh.hxx:238:18: error: ‘BinaryMorphologycalOpeningImageFilter’ in namespace ‘itk’ does not name a template type …

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

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