# Latest

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

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

**Page:** 49

---

## [Splitting a 3D image into a 4D image then saving (C++)](https://discourse.itk.org/t/splitting-a-3d-image-into-a-4d-image-then-saving-c/4316)

<div class="topic-metadata">

**Author:** [@kevo](https://discourse.itk.org/u/kevo)\
**Replies:** 5\
**Last updated:** [August 11, 2021, 5:20pm UTC](https://discourse.itk.org/t/splitting-a-3d-image-into-a-4d-image-then-saving-c/4316 "2021-08-11T17:20:10Z")

</div>

Dear ITK community, I would like to take a 3D segmentation (nifti) and then create a new 4D nifti where the 4th dimension has has split up the label image where each element is the 3D image with just one label in each o…

---

## [More support for reading DICOM series in parallel threads](https://discourse.itk.org/t/more-support-for-reading-dicom-series-in-parallel-threads/4321)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 9\
**Last updated:** [August 11, 2021, 5:09pm UTC](https://discourse.itk.org/t/more-support-for-reading-dicom-series-in-parallel-threads/4321 "2021-08-11T17:09:18Z")

</div>

Parsing a DICOM directory recursively and reading all DICOM series from it is a time-consuming operation. I recently updated my application to parallelize this operation at the thread level as much as I can. But I found …

---

## [Job Opportunities at Kitware: Software Developer - Medical Computing](https://discourse.itk.org/t/job-opportunities-at-kitware-software-developer-medical-computing/4324)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [August 10, 2021, 12:26am UTC](https://discourse.itk.org/t/job-opportunities-at-kitware-software-developer-medical-computing/4324 "2021-08-10T00:26:58Z")

</div>

Hi folks, There are job opportunities to work on ITK and open source scientific tools at Kitware. For example, the Software Developer - Medical Computing position: Team Description: Kitware’s Medical Computing team sol…

---

## ['SetSpacing': is not a member of 'itk::VesselTubeSpatialObject\<2\>'](https://discourse.itk.org/t/setspacing-is-not-a-member-of-itk-vesseltubespatialobject-2/4294)

<div class="topic-metadata">

**Author:** [@Mahesh\_Timmanagoudar](https://discourse.itk.org/u/Mahesh_Timmanagoudar)\
**Replies:** 1\
**Last updated:** [August 2, 2021, 3:23pm UTC](https://discourse.itk.org/t/setspacing-is-not-a-member-of-itk-vesseltubespatialobject-2/4294 "2021-08-02T15:23:48Z")

</div>

Error C2039 ‘SetSpacing’: is not a member of ‘itk::VesselTubeSpatialObject\<2\>’ \[D:\\W4-rel\\S-bld\\Slicer-build\\E\\TubeTK\\Applications\\SegmentTubeUsingMinimalPath\\SegmentTubeUsingMinimalPathLib.vcxproj\] Slicer D:\\W4\\S-rel\\S-…

---

## [Possible to compile against a conda install ITK?](https://discourse.itk.org/t/possible-to-compile-against-a-conda-install-itk/4319)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 6:18pm UTC](https://discourse.itk.org/t/possible-to-compile-against-a-conda-install-itk/4319 "2021-08-06T18:18:02Z")

</div>

I have installed ITK 5.0 using conda install libitk libitk-devel I’m now trying to compile a c++ code against that version of ITK but I get: In file included from /opt/local/anaconda3/envs/dream3d/include/ITK-5.0/itkIm…

---

## [Extracting transformed patches from 3D image](https://discourse.itk.org/t/extracting-transformed-patches-from-3d-image/4317)

<div class="topic-metadata">

**Author:** [@Theoretialperson](https://discourse.itk.org/u/Theoretialperson)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 5:22pm UTC](https://discourse.itk.org/t/extracting-transformed-patches-from-3d-image/4317 "2021-08-06T17:22:52Z")

</div>

In training AI algorithms for e.g. CT scan segmentation, patches are often extracted due to the GPU memory constraints. Additionally, patches are augmented with transforms such as rotation and scaling. Now I have implem…

---

## [SimpleTK installation on windows vs2019/vs2017](https://discourse.itk.org/t/simpletk-installation-on-windows-vs2019-vs2017/4314)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 12:24pm UTC](https://discourse.itk.org/t/simpletk-installation-on-windows-vs2019-vs2017/4314 "2021-08-06T12:24:05Z")

</div>

Hi all, I believe this is the worst happened to me trying to use SimpleITK suite open source. I am trying to use SimpleITK just like ITK and vtk with c++ on windows or Ubuntu machines. I firstly attempted on windows. So…

---

## [SimpleITK ScaleTransform understanding](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313)

<div class="topic-metadata">

**Author:** [@Theoretialperson](https://discourse.itk.org/u/Theoretialperson)\
**Replies:** 2\
**Last updated:** [August 5, 2021, 7:37pm UTC](https://discourse.itk.org/t/simpleitk-scaletransform-understanding/4313 "2021-08-05T19:37:20Z")

</div>

I want to scale a 3D image by some factor, and I was expecting that the scale factor in ScaleTransform would give me a zoomed-out image when the scale factor is smaller than 1.0. Unfortunately this is not the case. I get…

---

## [Get anatomical metadata from dicom in Python](https://discourse.itk.org/t/get-anatomical-metadata-from-dicom-in-python/4307)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 13\
**Last updated:** [August 5, 2021, 12:45pm UTC](https://discourse.itk.org/t/get-anatomical-metadata-from-dicom-in-python/4307 "2021-08-05T12:45:52Z")

</div>

I have dicom images converted to nifti format. I need to find if the images are of carotid or coronary vessels from the metadata. I have searched and am convinced that these metadata are not available in Nifti.header. A…

---

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

<div class="topic-metadata">

**Author:** [@qxs](https://discourse.itk.org/u/qxs)\
**Replies:** 3\
**Last updated:** [August 5, 2021, 9:32am UTC](https://discourse.itk.org/t/3d-niigz-affine-registration/4007 "2021-08-05T09:32:33Z")

</div>

Hello All, I have some 3D CT brain images in nii.gz format. I would like to use one image as fixed image and another as moving image. I also have some blood vessels in vtk format in Image Coordinate System and in World…

---

## [Overlay data Probleam](https://discourse.itk.org/t/overlay-data-probleam/4204)

<div class="topic-metadata">

**Author:** [@qiangw21](https://discourse.itk.org/u/qiangw21)\
**Replies:** 4\
**Last updated:** [August 5, 2021, 12:04am UTC](https://discourse.itk.org/t/overlay-data-probleam/4204 "2021-08-05T00:04:27Z")

</div>

I can’t read overlay data (6000, 3000). The code below. The result is always “AAAAAAAAAAAAAAAAA…” using ItkPixelType = signed short; constexpr unsigned int Dimension = 2; using ImageType = itk::Image\<ItkPixelT…

---

## [What filters would I use to mimic these changes using macOS Preview](https://discourse.itk.org/t/what-filters-would-i-use-to-mimic-these-changes-using-macos-preview/4296)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 1\
**Last updated:** [August 3, 2021, 7:18pm UTC](https://discourse.itk.org/t/what-filters-would-i-use-to-mimic-these-changes-using-macos-preview/4296 "2021-08-03T19:18:43Z")

</div>

I would like to perform the same types of image operations that I performed in macOS Preview.app as shown in the attached image in ITK (specifically in python). Does ITK have filters that would mimic these changes? I…

---

## [Failed to compile ITKGrowCut](https://discourse.itk.org/t/failed-to-compile-itkgrowcut/4298)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [August 2, 2021, 2:32pm UTC](https://discourse.itk.org/t/failed-to-compile-itkgrowcut/4298 "2021-08-02T14:32:08Z")

</div>

I want to use ITKGrowCut in my project, but I met some trouble to compile it. The code is download fro github. In the first time, I successfully compile it with Build\_Testing off. But, when I include the itkFastGrowCut.…

---

## [Resampling .nii to isotropic spacing + fixed size](https://discourse.itk.org/t/resampling-nii-to-isotropic-spacing-fixed-size/4303)

<div class="topic-metadata">

**Author:** [@Meliz](https://discourse.itk.org/u/Meliz)\
**Replies:** 3\
**Last updated:** [August 2, 2021, 1:33pm UTC](https://discourse.itk.org/t/resampling-nii-to-isotropic-spacing-fixed-size/4303 "2021-08-02T13:33:30Z")

</div>

Hi, I am trying to resample a set of 3D volumes to train a Deep Learning network. I would like to resample them all to a specific size (say 64,64,64), but the catch is that for ease (not a necessity) of computing a loss…

---

## [Scaling (multiplying by a scalar value) an affine transformation](https://discourse.itk.org/t/scaling-multiplying-by-a-scalar-value-an-affine-transformation/4310)

<div class="topic-metadata">

**Author:** [@gdevenyi](https://discourse.itk.org/u/gdevenyi)\
**Replies:** 9\
**Last updated:** [August 1, 2021, 6:08pm UTC](https://discourse.itk.org/t/scaling-multiplying-by-a-scalar-value-an-affine-transformation/4310 "2021-08-01T18:08:12Z")

</div>

I’m interested in scaling (multiplying by a scalar) an affine transformation for reasons. My reading thus-far indicates that the mathematical constructions underlying the homogeneous matrix representation for an affine i…

---

## [AttributeError: module 'itk' has no attribute 'AdaptiveHistogramEqualizationImageFilter'](https://discourse.itk.org/t/attributeerror-module-itk-has-no-attribute-adaptivehistogramequalizationimagefilter/4295)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 3\
**Last updated:** [July 30, 2021, 6:47pm UTC](https://discourse.itk.org/t/attributeerror-module-itk-has-no-attribute-adaptivehistogramequalizationimagefilter/4295 "2021-07-30T18:47:52Z")

</div>

I have install through pip ITK 5.2 into an anaconda virtual environment running python 3.8. I am trying to use the AdaptiveHistogramEqualizationImageFilter in my python code and I am getting the following error: Attribu…

---

## [SimpleITK 2.1.0 Release](https://discourse.itk.org/t/simpleitk-2-1-0-release/4309)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [July 30, 2021, 2:06pm UTC](https://discourse.itk.org/t/simpleitk-2-1-0-release/4309 "2021-07-30T14:06:45Z")

</div>

SimpleITK 2.1.0 has been released! The release includes new features, API changes, documentation updates and bug fixes. This is the first SimpleITK release to provide binaries for the new Apple M1 ARM. Installing Simpl…

---

## [The surface created from Marching Cube and the mesh created from it is not smooth enough](https://discourse.itk.org/t/the-surface-created-from-marching-cube-and-the-mesh-created-from-it-is-not-smooth-enough/2444)

<div class="topic-metadata">

**Author:** [@Sara\_Caffe](https://discourse.itk.org/u/Sara_Caffe)\
**Replies:** 8\
**Last updated:** [July 27, 2021, 8:28am UTC](https://discourse.itk.org/t/the-surface-created-from-marching-cube-and-the-mesh-created-from-it-is-not-smooth-enough/2444 "2021-07-27T08:28:26Z")

</div>

Hi, I am still in the process of learning ITK/VTK and struggling for a few days to create a mesh with three types (triangle, tetrahedron, and Simplex) of cells from the binary mask volume. I feel that I am doing some m…

---

## [ITK installation error](https://discourse.itk.org/t/itk-installation-error/3032)

<div class="topic-metadata">

**Author:** [@Yolkandwhite](https://discourse.itk.org/u/Yolkandwhite)\
**Replies:** 8\
**Last updated:** [July 24, 2021, 9:02pm UTC](https://discourse.itk.org/t/itk-installation-error/3032 "2021-07-24T21:02:52Z")

</div>

Hi I’m trying to build ITK. I’m using windows. I have downloaded the source code and configured and generate with cmake. next I opened ITK.sln with visual studio 2019 and start building ALL\_BUILD. after the build is …

---

## [Get a leftmost/rightmost coordinate with SimpleITK](https://discourse.itk.org/t/get-a-leftmost-rightmost-coordinate-with-simpleitk/4282)

<div class="topic-metadata">

**Author:** [@sandyaa013](https://discourse.itk.org/u/sandyaa013)\
**Replies:** 7\
**Last updated:** [July 23, 2021, 3:45pm UTC](https://discourse.itk.org/t/get-a-leftmost-rightmost-coordinate-with-simpleitk/4282 "2021-07-23T15:45:38Z")

</div>

I’m trying to do a project on slicer with simpleITK. I create a labelmap volume node and read it as a SimpleITKimage. Now I show this labelmap volume in red, green and yellow slice window. I want to know how to get a …

---

## [DICOM/ITK/VTK/Qt developer is needed in South Korea.](https://discourse.itk.org/t/dicom-itk-vtk-qt-developer-is-needed-in-south-korea/4284)

<div class="topic-metadata">

**Author:** [@samuel0park](https://discourse.itk.org/u/samuel0park)\
**Replies:** 0\
**Last updated:** [July 22, 2021, 3:03am UTC](https://discourse.itk.org/t/dicom-itk-vtk-qt-developer-is-needed-in-south-korea/4284 "2021-07-22T03:03:10Z")

</div>

Cure-In Inc. is a startup company who are developing an Image guided intervention robot. We have been working on this project for last 8 years as a research team of National Cancer Center (Goyang, South Korea). In our …

---

## [Typo in Table 9.2 of ITK manual](https://discourse.itk.org/t/typo-in-table-9-2-of-itk-manual/4280)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 1\
**Last updated:** [July 20, 2021, 6:03pm UTC](https://discourse.itk.org/t/typo-in-table-9-2-of-itk-manual/4280 "2021-07-20T18:03:49Z")

</div>

It seems a typo in table 9.2 of ITK manual, Book 1, Updated for ITK version 5.2.0. UL should be SL, which corresponds to signed long.

---

## [Using LandmarkBasedTransformInitializer for BSpline registrations](https://discourse.itk.org/t/using-landmarkbasedtransforminitializer-for-bspline-registrations/4096)

<div class="topic-metadata">

**Author:** [@ctorti](https://discourse.itk.org/u/ctorti)\
**Replies:** 11\
**Last updated:** [July 19, 2021, 5:00pm UTC](https://discourse.itk.org/t/using-landmarkbasedtransforminitializer-for-bspline-registrations/4096 "2021-07-19T17:00:47Z")

</div>

Hi all, I originally posted this question on SimpleITK’s GitHub issues page, but became reminded about the Discourse forum while watching a SITK tutorial (somehow I completely forgot that the forum exists!). I’m re-pos…

---

## [What's the meaning of slice location (0020, 1041)?](https://discourse.itk.org/t/whats-the-meaning-of-slice-location-0020-1041/4277)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [July 19, 2021, 12:10pm UTC](https://discourse.itk.org/t/whats-the-meaning-of-slice-location-0020-1041/4277 "2021-07-19T12:10:07Z")

</div>

I am confuzed abot the slice location (0020, 1041). The explanation (Slice Location Attribute – DICOM Standard Browser) is: Slice Location (0020,1041) is defined as the relative position of the image plane expressed in …

---

## [SimpleITK: how to save dicom header into nii.gz file?](https://discourse.itk.org/t/simpleitk-how-to-save-dicom-header-into-nii-gz-file/4278)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 2\
**Last updated:** [July 18, 2021, 1:52pm UTC](https://discourse.itk.org/t/simpleitk-how-to-save-dicom-header-into-nii-gz-file/4278 "2021-07-18T13:52:32Z")

</div>

I can save data into nii.gz file, but I find that the saved file do not include the dicom header information. For example: I load a mha as following: reader = sitk.ImageFileReader() reader.SetFileName("C:\\\\Users\\\\MLoo…

---

## [How to convert NIFTI or DICOM images into 3D mesh by using ITK?](https://discourse.itk.org/t/how-to-convert-nifti-or-dicom-images-into-3d-mesh-by-using-itk/4265)

<div class="topic-metadata">

**Author:** [@Truring](https://discourse.itk.org/u/Truring)\
**Replies:** 5\
**Last updated:** [July 17, 2021, 11:34pm UTC](https://discourse.itk.org/t/how-to-convert-nifti-or-dicom-images-into-3d-mesh-by-using-itk/4265 "2021-07-17T23:34:07Z")

</div>

I’m using ITK for spine reconstruction. I have some spine segmentation images in NIFTI format, how can I use ITK to reconstruct 3D spine mesh from these segmentation nifti images?

---

## [how to speed up the n4 bias correction](https://discourse.itk.org/t/how-to-speed-up-the-n4-bias-correction/4276)

<div class="topic-metadata">

**Author:** [@asmaharry](https://discourse.itk.org/u/asmaharry)\
**Replies:** 1\
**Last updated:** [July 17, 2021, 10:34pm UTC](https://discourse.itk.org/t/how-to-speed-up-the-n4-bias-correction/4276 "2021-07-17T22:34:15Z")

</div>

I am using SimpleITK bias field correction for my NIFIT images corrector = sitk.N4BiasFieldCorrectionImageFilter() It takes too much time. Is there any way to speed up this process. Thanks.

---

## [Display 3D image using ITK and VTK](https://discourse.itk.org/t/display-3d-image-using-itk-and-vtk/897)

<div class="topic-metadata">

**Author:** [@mabou](https://discourse.itk.org/u/mabou)\
**Replies:** 15\
**Last updated:** [August 4, 2020, 9:53am UTC](https://discourse.itk.org/t/display-3d-image-using-itk-and-vtk/897 "2020-08-04T09:53:29Z")

</div>

Hi, I am using simple code which I found in ITK Example. I need to display nifti image, but all I got is black box. And when I hover the mouse over the window, the color changes from black to white, and I can’t see the…

---

## [GPU support in Python packages](https://discourse.itk.org/t/gpu-support-in-python-packages/4267)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 1\
**Last updated:** [July 14, 2021, 2:21pm UTC](https://discourse.itk.org/t/gpu-support-in-python-packages/4267 "2021-07-14T14:21:49Z")

</div>

Hi @matt.mccormick, is the python-supported ITK+GPU available in ITK 4.13.3 ? Thanks in advance.

---

## [Is it possible to measure memory transfer time and kernel execution time in ITK + GPU?](https://discourse.itk.org/t/is-it-possible-to-measure-memory-transfer-time-and-kernel-execution-time-in-itk-gpu/4261)

<div class="topic-metadata">

**Author:** [@Rafael\_Palomar](https://discourse.itk.org/u/Rafael_Palomar)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 8:21am UTC](https://discourse.itk.org/t/is-it-possible-to-measure-memory-transfer-time-and-kernel-execution-time-in-itk-gpu/4261 "2021-07-14T08:21:36Z")

</div>

When benchmarking GPU algorithms it is important to measure kernel execution time separated from memory transfer times (CPU-\>GPU and GPU-\>CPU). Is it possible to measure these times separately for existing algorithms (e…

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

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