# Latest

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

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

**Page:** 100

---

## [Overlay Several Labels On Top Of An Image](https://discourse.itk.org/t/overlay-several-labels-on-top-of-an-image/1096)

<div class="topic-metadata">

**Author:** [@Dre](https://discourse.itk.org/u/Dre)\
**Replies:** 7\
**Last updated:** [July 6, 2018, 3:01pm UTC](https://discourse.itk.org/t/overlay-several-labels-on-top-of-an-image/1096 "2018-07-06T15:01:24Z")

</div>

Hello, I am trying to apply several .nrrd labels (binary segmentation masks) on top of an .nrrd image (a CT scan). Am I able to achieve this task thanks to this example : https://itk.org/ITKExamples/src/Filtering/Image…

---

## [ITK function for spline smoothing (a.k.a csaps in matlab)](https://discourse.itk.org/t/itk-function-for-spline-smoothing-a-k-a-csaps-in-matlab/1035)

<div class="topic-metadata">

**Author:** [@fmarcano](https://discourse.itk.org/u/fmarcano)\
**Replies:** 1\
**Last updated:** [July 5, 2018, 3:32pm UTC](https://discourse.itk.org/t/itk-function-for-spline-smoothing-a-k-a-csaps-in-matlab/1035 "2018-07-05T15:32:13Z")

</div>

Hi people, I would like to know wether there is a function in ITK library for spline smoothing, working the same way matlab’s “csaps” does, specifically under csaps(x,y,p,\[ \],w) syntax (weighted smoothing, complex numbe…

---

## [ITK FFT Module: 1D FFT filters removed/renamed?](https://discourse.itk.org/t/itk-fft-module-1d-fft-filters-removed-renamed/1091)

<div class="topic-metadata">

**Author:** [@gavinb](https://discourse.itk.org/u/gavinb)\
**Replies:** 2\
**Last updated:** [July 5, 2018, 3:13pm UTC](https://discourse.itk.org/t/itk-fft-module-1d-fft-filters-removed-renamed/1091 "2018-07-05T15:13:02Z")

</div>

Hello, we’d like to use the itk::FFTW1DRealToComplexConjugateImageFilter\< TPixel, Dimension \> class which is documented in: https://itk.org/Doxygen410/html/group\_\_FFT1D.html but the group of 1D filters are no longer pr…

---

## [Error in using filter](https://discourse.itk.org/t/error-in-using-filter/1048)

<div class="topic-metadata">

**Author:** [@lee](https://discourse.itk.org/u/lee)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 10:53pm UTC](https://discourse.itk.org/t/error-in-using-filter/1048 "2018-07-02T22:53:47Z")

</div>

import SimpleITK as sitk image = sitk.ReadImage(“f.png”) from skimage import filters edges = filters.scharr(image) UserWarning: Possible precision loss when converting from int64 to float64 .format(dtypeobj\_in, dt…

---

## [\[SOLVED\] Writing a transform to file](https://discourse.itk.org/t/solved-writing-a-transform-to-file/1054)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 12:37pm UTC](https://discourse.itk.org/t/solved-writing-a-transform-to-file/1054 "2018-07-02T12:37:18Z")

</div>

Hi, I want to write a transform to a file. The file name is “FinalTransform.tfm”. The relevant code snippet is: #include \<itkTransformFileWriter.h\> using TransformFileWriterType = itk::TransformFileWriter; \[...\] auto …

---

## [How do I apply a transform to fiducial seeds from Slicer?](https://discourse.itk.org/t/how-do-i-apply-a-transform-to-fiducial-seeds-from-slicer/1020)

<div class="topic-metadata">

**Author:** [@adjuric](https://discourse.itk.org/u/adjuric)\
**Replies:** 2\
**Last updated:** [June 30, 2018, 7:43am UTC](https://discourse.itk.org/t/how-do-i-apply-a-transform-to-fiducial-seeds-from-slicer/1020 "2018-06-30T07:43:13Z")

</div>

I have a list of fiducial seed points obtained through Slicer which correspond to locations in a reference image. I have registered this reference image with a fixed target image using an affine transform and now wish to…

---

## [How to save slices of the image from nifti image?](https://discourse.itk.org/t/how-to-save-slices-of-the-image-from-nifti-image/1044)

<div class="topic-metadata">

**Author:** [@lee](https://discourse.itk.org/u/lee)\
**Replies:** 2\
**Last updated:** [June 29, 2018, 1:08pm UTC](https://discourse.itk.org/t/how-to-save-slices-of-the-image-from-nifti-image/1044 "2018-06-29T13:08:42Z")

</div>

I have read an image and converted into array. then I took a slice. but it seems to work.But when I apply RescaleIntensity or any other function I’m getting error import SimpleITK as sitk img = sitk.ReadImage(“S1.nii”) …

---

## [\[SOLVED\]Voxel to phisycal position in GPU](https://discourse.itk.org/t/solved-voxel-to-phisycal-position-in-gpu/1011)

<div class="topic-metadata">

**Author:** [@rolof](https://discourse.itk.org/u/rolof)\
**Replies:** 1\
**Last updated:** [June 29, 2018, 11:33am UTC](https://discourse.itk.org/t/solved-voxel-to-phisycal-position-in-gpu/1011 "2018-06-29T11:33:52Z")

</div>

Hi everyone, I know that in CPU I have the containers to 3d images and I have available a container to work with GPU. However, I saw in all examples that GPU container examples only access to pixel value with a casting …

---

## [\[SOLVED\] .lib file of external module is not build](https://discourse.itk.org/t/solved-lib-file-of-external-module-is-not-build/1039)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 8\
**Last updated:** [June 29, 2018, 8:32am UTC](https://discourse.itk.org/t/solved-lib-file-of-external-module-is-not-build/1039 "2018-06-29T08:32:12Z")

</div>

Hello, when I try to build (ENABLE\_SHARED) an external module the compiling is fine until the TestDriver and the HeaderTest are compiled. They are looking for an itkORA.lib file that is not created in the itk/lib/Debug …

---

## [Sampling strategy in ImageRegistrationMethodv4](https://discourse.itk.org/t/sampling-strategy-in-imageregistrationmethodv4/1038)

<div class="topic-metadata">

**Author:** [@HsuehWen](https://discourse.itk.org/u/HsuehWen)\
**Replies:** 3\
**Last updated:** [June 29, 2018, 8:48am UTC](https://discourse.itk.org/t/sampling-strategy-in-imageregistrationmethodv4/1038 "2018-06-29T08:48:06Z")

</div>

Hi, I see user can set sampling rate for image registration by the function “SetMetricSamplingPercentage” If I understand correctly, after setting the sample rate, ITK will randomly choose a set of points and evaluate …

---

## [\[SOLVED\] Building dynamic libraries \*d.dll vs \*.dll](https://discourse.itk.org/t/solved-building-dynamic-libraries-d-dll-vs-dll/1002)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 3\
**Last updated:** [June 27, 2018, 9:20am UTC](https://discourse.itk.org/t/solved-building-dynamic-libraries-d-dll-vs-dll/1002 "2018-06-27T09:20:07Z")

</div>

Hello, is there any difference between libraries built with \*d.dll or \*.dll? They are in different folder (Debug/RelWithDebInfo). (Example: ITKCommon-4.13d.dll built in Debug mode, ITKCommon-4.13.dll built in RelWithDe…

---

## [\[SOLVED\] VTK as external module](https://discourse.itk.org/t/solved-vtk-as-external-module/1037)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 5\
**Last updated:** [June 27, 2018, 8:45am UTC](https://discourse.itk.org/t/solved-vtk-as-external-module/1037 "2018-06-27T08:45:13Z")

</div>

Hello, if I want to use the VTK (in this case for function parsing (vtkSmartPointer.h and vtkFunctionParser.h) without any other image interchange. I tried to add VTK .as an external module (using ITKVTK in the itk-mod…

---

## [DCMTK Dicom Tags MetaDataDictionary](https://discourse.itk.org/t/dcmtk-dicom-tags-metadatadictionary/1036)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 1\
**Last updated:** [June 26, 2018, 3:30pm UTC](https://discourse.itk.org/t/dcmtk-dicom-tags-metadatadictionary/1036 "2018-06-26T15:30:06Z")

</div>

I am not much of a DICOM person, bit I have heard good things about DCMTK’s DICOM support. I am using DCMTKImageIO on a single file with the ImageFileReader. The MetaDataDictionary on the ImageIO, ImageFileReader, and th…

---

## [Does DenseFiniteDifferenceImageFilter perform reinitialization?](https://discourse.itk.org/t/does-densefinitedifferenceimagefilter-perform-reinitialization/1028)

<div class="topic-metadata">

**Author:** [@Besler](https://discourse.itk.org/u/Besler)\
**Replies:** 1\
**Last updated:** [June 26, 2018, 4:46am UTC](https://discourse.itk.org/t/does-densefinitedifferenceimagefilter-perform-reinitialization/1028 "2018-06-26T04:46:59Z")

</div>

Could anyone confirm if DenseFiniteDifferenceImageFilter performs reinitialization on the level set filter? I tried searching the code and mailing list\[1\], but I cannot find where the DenseFiniteDifferenceImageFilter rei…

---

## [Multithread filter how to write to the same buffer](https://discourse.itk.org/t/multithread-filter-how-to-write-to-the-same-buffer/1029)

<div class="topic-metadata">

**Author:** [@rolof](https://discourse.itk.org/u/rolof)\
**Replies:** 4\
**Last updated:** [June 25, 2018, 5:30pm UTC](https://discourse.itk.org/t/multithread-filter-how-to-write-to-the-same-buffer/1029 "2018-06-25T17:30:37Z")

</div>

Hi all, I know how to multi-thread works a bit, and I know that the regions of images are passed to different CPU’s core. This process is useful to fill an output image and very convenient. However, I need now to proces…

---

## [SimpleITK: Channel storage order?](https://discourse.itk.org/t/simpleitk-channel-storage-order/1027)

<div class="topic-metadata">

**Author:** [@szhorvat](https://discourse.itk.org/u/szhorvat)\
**Replies:** 1\
**Last updated:** [June 22, 2018, 5:56pm UTC](https://discourse.itk.org/t/simpleitk-channel-storage-order/1027 "2018-06-22T17:56:02Z")

</div>

I am looking at the BufferImportExport example in SimpleITK: https://itk.org/SimpleITKDoxygen/html/BufferImportExport\_8cxx-example.html I was wondering what channel storage order SimpleITK uses. Is it interleaved (i.e.…

---

## [SimpleITK: compiling first C++ program](https://discourse.itk.org/t/simpleitk-compiling-first-c-program/1026)

<div class="topic-metadata">

**Author:** [@szhorvat](https://discourse.itk.org/u/szhorvat)\
**Replies:** 2\
**Last updated:** [June 22, 2018, 2:49pm UTC](https://discourse.itk.org/t/simpleitk-compiling-first-c-program/1026 "2018-06-22T14:49:59Z")

</div>

I managed to compile SimpleITK according to the instructions, and now I would like to start using it from C++. I am looking for guidance on compiling one of the basic examples such as HelloWorld.cxx or SimpleGaussianFun…

---

## [ITK added to vcpkg](https://discourse.itk.org/t/itk-added-to-vcpkg/391)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 7\
**Last updated:** [June 22, 2018, 2:46pm UTC](https://discourse.itk.org/t/itk-added-to-vcpkg/391 "2018-06-22T14:46:40Z")

</div>

ITK has just been added to vcpkg. Caveats: the configuration is non-default, and a sample project relying on it wouldn’t build in debug mode. If you know how to improve that, don’t be shy! vcpkg is Microsoft’s open sour…

---

## [Big TIFF problem](https://discourse.itk.org/t/big-tiff-problem/831)

<div class="topic-metadata">

**Author:** [@Gib](https://discourse.itk.org/u/Gib)\
**Replies:** 32\
**Last updated:** [June 21, 2018, 2:05pm UTC](https://discourse.itk.org/t/big-tiff-problem/831 "2018-06-21T14:05:44Z")

</div>

Hi, I want to be able to convert (to 8-bit) and compress large 16-bit grayscale 3D images. I’ve been sent a sample file, 10GB, created by cropping a bigger file using ImageJ. The image, which can be viewed in ImageJ, …

---

## [ImageToVTKImageFilter usage in python](https://discourse.itk.org/t/imagetovtkimagefilter-usage-in-python/1023)

<div class="topic-metadata">

**Author:** [@Edern\_Haumont](https://discourse.itk.org/u/Edern_Haumont)\
**Replies:** 0\
**Last updated:** [June 21, 2018, 9:47am UTC](https://discourse.itk.org/t/imagetovtkimagefilter-usage-in-python/1023 "2018-06-21T09:47:55Z")

</div>

Good morning, I am back with another (potentially trivial for a non-beginner) problem ! I have an image read by a ImageSeriesReader. Now I want to pass it through an ImageToVTKImageFilter to get an ImageData and apply…

---

## [DICOM reader](https://discourse.itk.org/t/dicom-reader/1018)

<div class="topic-metadata">

**Author:** [@Edern\_Haumont](https://discourse.itk.org/u/Edern_Haumont)\
**Replies:** 3\
**Last updated:** [June 21, 2018, 9:31am UTC](https://discourse.itk.org/t/dicom-reader/1018 "2018-06-21T09:31:47Z")

</div>

Good morning everyone, I am trying to use the itk GDCM reader in Python. This is what I wrote so far to read from a folder, as a ITK beginner: reader = itk.ImageSeriesReader.New() dicomIO = itk.GDCMImageIO.New() reader…

---

## [Index out of range error in LiThresholdCalculator](https://discourse.itk.org/t/index-out-of-range-error-in-lithresholdcalculator/997)

<div class="topic-metadata">

**Author:** [@lassoan](https://discourse.itk.org/u/lassoan)\
**Replies:** 7\
**Last updated:** [June 20, 2018, 8:20pm UTC](https://discourse.itk.org/t/index-out-of-range-error-in-lithresholdcalculator/997 "2018-06-20T20:20:49Z")

</div>

I’ve added automatic thresholding to 3D Slicer’s segment editor and while testing it, I’ve got index out of range errors due to writing past the last element in a vector in LiThresholdCalculator\<THistogram, TOutput\>::Gen…

---

## [itkImageToVtkImageFilter returns ObjectBase](https://discourse.itk.org/t/itkimagetovtkimagefilter-returns-objectbase/1019)

<div class="topic-metadata">

**Author:** [@arwtyxouymz](https://discourse.itk.org/u/arwtyxouymz)\
**Replies:** 9\
**Last updated:** [June 20, 2018, 6:44am UTC](https://discourse.itk.org/t/itkimagetovtkimagefilter-returns-objectbase/1019 "2018-06-20T06:44:36Z")

</div>

Hi, I’m using ITK5 and VTK9, and I’m very confusing about itkImageToVtkImageFilter returns. This is my code class Window { public: Window(); explicit Window(const ImageType::Pointer image); virtual ~Window…

---

## [Issue report: Error in ITKData, object not found](https://discourse.itk.org/t/issue-report-error-in-itkdata-object-not-found/1014)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 4\
**Last updated:** [June 18, 2018, 9:26pm UTC](https://discourse.itk.org/t/issue-report-error-in-itkdata-object-not-found/1014 "2018-06-18T21:26:46Z")

</div>

Any hint how to solve this error in ITKData? Cheers, Pablo \[ 0%\] Generating /path/build/ExternalData/Modules/Filtering/DistanceMap/test/Data/Baseline/itkApproximateSignedDistanceMapImageFilterTest0.mha -- Fetching "h…

---

## [can't decide between 3D slicer and itk programme](https://discourse.itk.org/t/cant-decide-between-3d-slicer-and-itk-programme/1013)

<div class="topic-metadata">

**Author:** [@Abdullah-2](https://discourse.itk.org/u/Abdullah-2)\
**Replies:** 1\
**Last updated:** [June 18, 2018, 8:45pm UTC](https://discourse.itk.org/t/cant-decide-between-3d-slicer-and-itk-programme/1013 "2018-06-18T20:45:07Z")

</div>

Hi I have a goal of measuring muscle volume on MRI images, I have spent time on 3d slicer programme, but I would try itk, are they similar which one is the best?

---

## [threadId in ParallelizeImageRegion](https://discourse.itk.org/t/threadid-in-parallelizeimageregion/1008)

<div class="topic-metadata">

**Author:** [@cyril.mory](https://discourse.itk.org/u/cyril.mory)\
**Replies:** 9\
**Last updated:** [June 15, 2018, 3:13pm UTC](https://discourse.itk.org/t/threadid-in-parallelizeimageregion/1008 "2018-06-15T15:13:26Z")

</div>

Hi, I’m trying to use itk::MultiThreaderBase and ParallelizeImageRegion for the first time. I managed to get it working for one task, so I’m on the right track. But for another task, I need the threads to be able to acc…

---

## [updated tutorial on writing json files for filters code autogeneration](https://discourse.itk.org/t/updated-tutorial-on-writing-json-files-for-filters-code-autogeneration/1001)

<div class="topic-metadata">

**Author:** [@mkvasnyt](https://discourse.itk.org/u/mkvasnyt)\
**Replies:** 3\
**Last updated:** [June 15, 2018, 1:36pm UTC](https://discourse.itk.org/t/updated-tutorial-on-writing-json-files-for-filters-code-autogeneration/1001 "2018-06-15T13:36:39Z")

</div>

Dear all, I am attempting to create a json file for my own mock ITK-filter and having troubles when compiling SimpleITK. I am following this tutorial https://itk.org/SimpleITKDoxygen/html/FilterTemplatesPage.html I hav…

---

## [import SimpleITK fails](https://discourse.itk.org/t/import-simpleitk-fails/1009)

<div class="topic-metadata">

**Author:** [@mkvasnyt](https://discourse.itk.org/u/mkvasnyt)\
**Replies:** 3\
**Last updated:** [June 15, 2018, 1:29pm UTC](https://discourse.itk.org/t/import-simpleitk-fails/1009 "2018-06-15T13:29:31Z")

</div>

Dear all, I’ve built and tested custom version of SimpleITK on MacOS Sierra 10.12.5. 99% of tests passed, from Python tests only 2 failed. I also see that newly built SimpleITK package is successfully installed to roo…

---

## [Tensorflow and ITK](https://discourse.itk.org/t/tensorflow-and-itk/999)

<div class="topic-metadata">

**Author:** [@Gordian](https://discourse.itk.org/u/Gordian)\
**Replies:** 5\
**Last updated:** [June 14, 2018, 8:39pm UTC](https://discourse.itk.org/t/tensorflow-and-itk/999 "2018-06-14T20:39:16Z")

</div>

Hello, I would like to use trained tensorflow graphs in ITK (for segmentation). Has someone experience using tensorflow in combination with the ITK? Cheers, Gordian

---

## [Gradient of an itk::image of itk::Vector\<float, 3\>](https://discourse.itk.org/t/gradient-of-an-itk-image-of-itk-vector-float-3/996)

<div class="topic-metadata">

**Author:** [@cyril.mory](https://discourse.itk.org/u/cyril.mory)\
**Replies:** 2\
**Last updated:** [June 15, 2018, 11:43am UTC](https://discourse.itk.org/t/gradient-of-an-itk-image-of-itk-vector-float-3/996 "2018-06-15T11:43:07Z")

</div>

Hi, I have a filter that uses the itk::GradientImageFilter for regularization. It is templated over its input image type, and works correctly when that type is itk::Image\<float, n\>. I am trying to make that filter able …

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

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