# Latest

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

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

**Page:** 50

---

## [New at master branch: itk::MakePoint, itk::MakeVector, itk::MakeIndex, itk::MakeSize](https://discourse.itk.org/t/new-at-master-branch-itk-makepoint-itk-makevector-itk-makeindex-itk-makesize/4260)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 5:56pm UTC](https://discourse.itk.org/t/new-at-master-branch-itk-makepoint-itk-makevector-itk-makeindex-itk-makesize/4260 "2021-07-13T17:56:09Z")

</div>

Four little convenience function templates are just added to the ITK “master” branch, to ease the creation of an itk::Point, an itk::Vector, an itk::Index, and an itk::Size, after review by @dzenanz, @blowekamp, and @Lee…

---

## [rotational MIP around a specified axis in physical coordinates system](https://discourse.itk.org/t/rotational-mip-around-a-specified-axis-in-physical-coordinates-system/4255)

<div class="topic-metadata">

**Author:** [@Stephan\_Hahn1](https://discourse.itk.org/u/Stephan_Hahn1)\
**Replies:** 3\
**Last updated:** [July 13, 2021, 12:49pm UTC](https://discourse.itk.org/t/rotational-mip-around-a-specified-axis-in-physical-coordinates-system/4255 "2021-07-13T12:49:55Z")

</div>

Hi everyone. I have a very simple question that maybe @zivy can answer (based on previous related topics). I want to generate a rotational MIP around a specified axis with an image that has not an unit direction cosine…

---

## [SimpleITK 2.1 Release Candidate 2](https://discourse.itk.org/t/simpleitk-2-1-release-candidate-2/4258)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 6:56pm UTC](https://discourse.itk.org/t/simpleitk-2-1-release-candidate-2/4258 "2021-07-12T18:56:14Z")

</div>

Announcement Announcing the SimpleITK 2.1 Release Candidate 2! Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any compatibility problems. This is the final RC be…

---

## [External Module: bypass ITKData](https://discourse.itk.org/t/external-module-bypass-itkdata/4202)

<div class="topic-metadata">

**Author:** [@LucasGandel](https://discourse.itk.org/u/LucasGandel)\
**Replies:** 7\
**Last updated:** [July 12, 2021, 10:28am UTC](https://discourse.itk.org/t/external-module-bypass-itkdata/4202 "2021-07-12T10:28:13Z")

</div>

Hi all, I’d like to propose a patch to allow external modules to skip the creation of the ITKData target. We might want to discuss this here first. The use case is that RTK embeds another external module internally: IT…

---

## [readImageFile - webworker generation](https://discourse.itk.org/t/readimagefile-webworker-generation/4249)

<div class="topic-metadata">

**Author:** [@sam](https://discourse.itk.org/u/sam)\
**Replies:** 0\
**Last updated:** [July 7, 2021, 10:16am UTC](https://discourse.itk.org/t/readimagefile-webworker-generation/4249 "2021-07-07T10:16:11Z")

</div>

Hello everyone, I work on an application that allows to read medical images (DICOM format) and I use a itk js (readImageFile) that allows to read these images but that returns a webworker to each image read the problem i…

---

## [ITK in production](https://discourse.itk.org/t/itk-in-production/4226)

<div class="topic-metadata">

**Author:** [@Stephan\_Hahn1](https://discourse.itk.org/u/Stephan_Hahn1)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 4:38pm UTC](https://discourse.itk.org/t/itk-in-production/4226 "2021-07-06T16:38:45Z")

</div>

Hi everyone I would like to start a discussion concerning deployment of a ITK pipeline in production. How do you deploy your ITK pipeline to scale, parallelize, automatize jobs/tasks? I am doing segmentation using a p…

---

## [SimpleITK: Using TransformPoint() to Transform Mask Vertices](https://discourse.itk.org/t/simpleitk-using-transformpoint-to-transform-mask-vertices/4244)

<div class="topic-metadata">

**Author:** [@bbikdash](https://discourse.itk.org/u/bbikdash)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 3:23pm UTC](https://discourse.itk.org/t/simpleitk-using-transformpoint-to-transform-mask-vertices/4244 "2021-07-06T15:23:13Z")

</div>

Hello, I have a similar problem as the OP here but I’m attempting to use the TransformPoint() function from SimpleITK with a DisplacementFieldTransform instead of an affine transform. Problem I have a moving image with…

---

## [SimpleITK installation in linux docker container](https://discourse.itk.org/t/simpleitk-installation-in-linux-docker-container/4241)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 0\
**Last updated:** [July 2, 2021, 10:22pm UTC](https://discourse.itk.org/t/simpleitk-installation-in-linux-docker-container/4241 "2021-07-02T22:22:42Z")

</div>

Hi All, I am glad to announce that I could finally build simpleitk as an docker image using Dockerfile provided by ITK group forum and I thank all of you. The problem with my hardware caused SuperBuild to fail inside t…

---

## [SimpleITK Transform.TransformPoint() does not accept variables by reference?](https://discourse.itk.org/t/simpleitk-transform-transformpoint-does-not-accept-variables-by-reference/4238)

<div class="topic-metadata">

**Author:** [@bbikdash](https://discourse.itk.org/u/bbikdash)\
**Replies:** 1\
**Last updated:** [July 1, 2021, 8:06pm UTC](https://discourse.itk.org/t/simpleitk-transform-transformpoint-does-not-accept-variables-by-reference/4238 "2021-07-01T20:06:12Z")

</div>

Hello, I’m trying to apply a Displacement Field Transform to a point using the Transform.TransformPoint(). I’ve been following the example on this webpage: 21\_Transforms\_and\_Resampling I currently have a M \\cdot 2 nump…

---

## [writing mhd + raw instead of mhd +zraw](https://discourse.itk.org/t/writing-mhd-raw-instead-of-mhd-zraw/4109)

<div class="topic-metadata">

**Author:** [@totoro3y](https://discourse.itk.org/u/totoro3y)\
**Replies:** 4\
**Last updated:** [June 30, 2021, 12:49pm UTC](https://discourse.itk.org/t/writing-mhd-raw-instead-of-mhd-zraw/4109 "2021-06-30T12:49:55Z")

</div>

Hello, I am using simpleitk to write mhd files using sitk.WriteImage(img, ‘file.mhd’) The output file is of mhd + zraw type. How can I generate mhd + raw files using simpleitk? Thank you in advance!

---

## [How to convert DICOM sequence images into a multi frame DICOM file.](https://discourse.itk.org/t/how-to-convert-dicom-sequence-images-into-a-multi-frame-dicom-file/3116)

<div class="topic-metadata">

**Author:** [@wulicheng](https://discourse.itk.org/u/wulicheng)\
**Replies:** 9\
**Last updated:** [June 29, 2021, 7:04pm UTC](https://discourse.itk.org/t/how-to-convert-dicom-sequence-images-into-a-multi-frame-dicom-file/3116 "2021-06-29T19:04:35Z")

</div>

Now I have dicom files of one sequence? Totally 117 files. Now I want to write these files into on .dcm File？ How to do it? not use mimics and so on.

---

## [How to get a Bitmap object in VS from ImageFileReader object?](https://discourse.itk.org/t/how-to-get-a-bitmap-object-in-vs-from-imagefilereader-object/4232)

<div class="topic-metadata">

**Author:** [@Armando](https://discourse.itk.org/u/Armando)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 12:48pm UTC](https://discourse.itk.org/t/how-to-get-a-bitmap-object-in-vs-from-imagefilereader-object/4232 "2021-06-28T12:48:11Z")

</div>

Hi. How to get a Bitmap object like CBitmap in VS from ImageFileReader object? I can write the image obtained from ImageFileReader into a BMP file and then load it using LoadBitmap(…) function of Visual Studio and then…

---

## [Adjusting demons algorism parameters](https://discourse.itk.org/t/adjusting-demons-algorism-parameters/4217)

<div class="topic-metadata">

**Author:** [@madwilliam](https://discourse.itk.org/u/madwilliam)\
**Replies:** 3\
**Last updated:** [June 27, 2021, 9:06pm UTC](https://discourse.itk.org/t/adjusting-demons-algorism-parameters/4217 "2021-06-27T21:06:51Z")

</div>

Hello guys, Our lab is using the Demons algorithm through SimpleITK to register some microscopy images to a template. Right now the alignment take up up to 130 gigs of ram for 2 gig images and is rather slow. Also ali…

---

## [Is there a minimum number of slices when running the N4 Filter](https://discourse.itk.org/t/is-there-a-minimum-number-of-slices-when-running-the-n4-filter/4223)

<div class="topic-metadata">

**Author:** [@Tamar](https://discourse.itk.org/u/Tamar)\
**Replies:** 4\
**Last updated:** [June 24, 2021, 8:07am UTC](https://discourse.itk.org/t/is-there-a-minimum-number-of-slices-when-running-the-n4-filter/4223 "2021-06-24T08:07:57Z")

</div>

When running the N4 filter as part of my (c#) code, I see that if the input image has only 1 slice I get an error, even if I set ShrinkFactor=1. The error message is: Exception thrown in SimpleITK N4BiasFieldCorrectionI…

---

## [Get Patient Orientation and convert to OpenGL Coordinates](https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219)

<div class="topic-metadata">

**Author:** [@saravanan](https://discourse.itk.org/u/saravanan)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 12:34pm UTC](https://discourse.itk.org/t/get-patient-orientation-and-convert-to-opengl-coordinates/4219 "2021-06-18T12:34:59Z")

</div>

I am using itk::ImageSeriesReader to read the DICOM image set. I need the patient orientation information / matrix for use in my OpenGL program. Thanks

---

## [Highly variable affine registration results for repeated runs](https://discourse.itk.org/t/highly-variable-affine-registration-results-for-repeated-runs/4212)

<div class="topic-metadata">

**Author:** [@ctorti](https://discourse.itk.org/u/ctorti)\
**Replies:** 13\
**Last updated:** [June 17, 2021, 3:21pm UTC](https://discourse.itk.org/t/highly-variable-affine-registration-results-for-repeated-runs/4212 "2021-06-17T15:21:13Z")

</div>

Hi all, I’m working on a workflow that includes image registration, with allowance for rigid, affine or bspline transforms, and initialization using either moments, geometry or landmarks. Some background: My workflow …

---

## [Interpolate Bspline Transformation](https://discourse.itk.org/t/interpolate-bspline-transformation/4214)

<div class="topic-metadata">

**Author:** [@Mikhail](https://discourse.itk.org/u/Mikhail)\
**Replies:** 2\
**Last updated:** [June 17, 2021, 8:43am UTC](https://discourse.itk.org/t/interpolate-bspline-transformation/4214 "2021-06-17T08:43:51Z")

</div>

I have images of same object at t0 and t1. I have a bspline transformation that can be used to obtain the image at t1 from the image at t0. I would like to obtain an image at t0 \< tx \< t1. Is there a way to modify the b…

---

## [use ITK on the web](https://discourse.itk.org/t/use-itk-on-the-web/4183)

<div class="topic-metadata">

**Author:** [@zrxiaojie](https://discourse.itk.org/u/zrxiaojie)\
**Replies:** 9\
**Last updated:** [June 15, 2021, 2:46pm UTC](https://discourse.itk.org/t/use-itk-on-the-web/4183 "2021-06-15T14:46:30Z")

</div>

Hi, I’m new to ITK and interested in medical image processing on the web. I tried using itk-js (insightsoftwareconsortium.github.io) to read a dicom series, then showed them on the web through vtk.js. It worked. However,…

---

## [Stopping optimization by metric value for demons filters](https://discourse.itk.org/t/stopping-optimization-by-metric-value-for-demons-filters/4190)

<div class="topic-metadata">

**Author:** [@bbikdash](https://discourse.itk.org/u/bbikdash)\
**Replies:** 6\
**Last updated:** [June 15, 2021, 12:46pm UTC](https://discourse.itk.org/t/stopping-optimization-by-metric-value-for-demons-filters/4190 "2021-06-15T12:46:27Z")

</div>

Hi, I’m currently using the Python demons registration filters (DemonsRegistrationFilter, DifferomorphicDRF, SymmetricDRF, etc.) from SimpleITK to perform non-rigid image registration on x-rays for my research. Is ther…

---

## [make ../SimpleITK/SuperBuild inside ubuntu container error](https://discourse.itk.org/t/make-simpleitk-superbuild-inside-ubuntu-container-error/4177)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 19\
**Last updated:** [June 14, 2021, 12:25pm UTC](https://discourse.itk.org/t/make-simpleitk-superbuild-inside-ubuntu-container-error/4177 "2021-06-14T12:25:29Z")

</div>

Dear All, I AM SORRY TO POST THE Dockerfile in such messy way, but i have a problem with building the SimpleITK from within the ubuntu container prepared specifically for SimpleITK image for running a container that has…

---

## [SimpleITK build in windows 10](https://discourse.itk.org/t/simpleitk-build-in-windows-10/4205)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [June 14, 2021, 12:18pm UTC](https://discourse.itk.org/t/simpleitk-build-in-windows-10/4205 "2021-06-14T12:18:49Z")

</div>

Hi All, I am stuck in the build and installation of simpleitk inside a docker container Linux. I am trying to figure out couple of things, so I decided to install the simpleitk in the windows hopefully the latest versi…

---

## [Modernize this code](https://discourse.itk.org/t/modernize-this-code/4207)

<div class="topic-metadata">

**Author:** [@alessandromauri](https://discourse.itk.org/u/alessandromauri)\
**Replies:** 0\
**Last updated:** [June 14, 2021, 11:18am UTC](https://discourse.itk.org/t/modernize-this-code/4207 "2021-06-14T11:18:54Z")

</div>

hello, i have this old code and io want to adapt to the newer ITK, typedef itk::Statistics::ScalarImageToListAdaptor\<ImageType\> ImageListSample; typedef itk::Statistics::ScalarImageToListAdaptor\<MaskImageType\> MaskLi…

---

## [Perform graph cut](https://discourse.itk.org/t/perform-graph-cut/3038)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 10\
**Last updated:** [June 13, 2021, 8:33pm UTC](https://discourse.itk.org/t/perform-graph-cut/3038 "2021-06-13T20:33:09Z")

</div>

I intend to use graph cut segmentation on a VTK volume, and I saw few examples on github. But all these examples are using images (background and foreground images) as masking for graph cut … what should I use for VTK vo…

---

## [Errore with some old functions](https://discourse.itk.org/t/errore-with-some-old-functions/4198)

<div class="topic-metadata">

**Author:** [@alessandromauri](https://discourse.itk.org/u/alessandromauri)\
**Replies:** 14\
**Last updated:** [June 11, 2021, 4:11pm UTC](https://discourse.itk.org/t/errore-with-some-old-functions/4198 "2021-06-11T16:11:16Z")

</div>

Hello everyone, i have this code on a macos on 2008. I’m trying to use it now with a windows pc but some problem occurred. (on red the error) Thanks in advance

---

## [Reading a .Nrrd file having 3 dimenisions (X,Y,numSlice) and visualizing them in a sequence.](https://discourse.itk.org/t/reading-a-nrrd-file-having-3-dimenisions-x-y-numslice-and-visualizing-them-in-a-sequence/4179)

<div class="topic-metadata">

**Author:** [@srivastava.va](https://discourse.itk.org/u/srivastava.va)\
**Replies:** 5\
**Last updated:** [June 10, 2021, 5:20pm UTC](https://discourse.itk.org/t/reading-a-nrrd-file-having-3-dimenisions-x-y-numslice-and-visualizing-them-in-a-sequence/4179 "2021-06-10T17:20:27Z")

</div>

Hello, I am just beginning to write code using ITK and have been wondering how to read .Nrrd files. So far I have written this code : I am not sure how to visualize the 2D slice data that I have stored in the img. I…

---

## [NiftiImageIO class in python simpleitk ?](https://discourse.itk.org/t/niftiimageio-class-in-python-simpleitk/4201)

<div class="topic-metadata">

**Author:** [@cbhushan](https://discourse.itk.org/u/cbhushan)\
**Replies:** 1\
**Last updated:** [June 10, 2021, 5:53pm UTC](https://discourse.itk.org/t/niftiimageio-class-in-python-simpleitk/4201 "2021-06-10T17:53:32Z")

</div>

I am trying to write a nifti file with custom RescaleSlope, RescaleIntercept and was hoping to use NiftiImageIO’s SetRescaleSlope() and SetRescaleIntercept(). Is it possible to access functionality of NiftiImageIO class …

---

## [How to apply transform to strictly a subset of an image?](https://discourse.itk.org/t/how-to-apply-transform-to-strictly-a-subset-of-an-image/4195)

<div class="topic-metadata">

**Author:** [@jingxuan](https://discourse.itk.org/u/jingxuan)\
**Replies:** 1\
**Last updated:** [June 10, 2021, 1:19pm UTC](https://discourse.itk.org/t/how-to-apply-transform-to-strictly-a-subset-of-an-image/4195 "2021-06-10T13:19:29Z")

</div>

Hello. I have some conceptual understanding of registration and very little of its math so I’m looking for a practical solution. Thank you in advance for any help offered. Say I registered 3D image A to 3D image B in a …

---

## [Add ITK in Qt](https://discourse.itk.org/t/add-itk-in-qt/4188)

<div class="topic-metadata">

**Author:** [@Roberto722](https://discourse.itk.org/u/Roberto722)\
**Replies:** 2\
**Last updated:** [June 9, 2021, 6:32pm UTC](https://discourse.itk.org/t/add-itk-in-qt/4188 "2021-06-09T18:32:41Z")

</div>

Hello, i am noob in linking libraries with Qt. I would like to know if someone has a comprehensive guide on how to add and make ITK libraries working in Qt and then write some easy lines of code to see that working.

---

## [May we start using C++14 at the master branch?](https://discourse.itk.org/t/may-we-start-using-c-14-at-the-master-branch/4172)

<div class="topic-metadata">

**Author:** [@Niels\_Dekker](https://discourse.itk.org/u/Niels_Dekker)\
**Replies:** 24\
**Last updated:** [June 9, 2021, 3:34pm UTC](https://discourse.itk.org/t/may-we-start-using-c-14-at-the-master-branch/4172 "2021-06-09T15:34:27Z")

</div>

Now that ITK 5.2 is released, may we start using C++14 features at the master branch of ITK? It is now more than three years ago that ITK (master) moved from C++98/ C++03 to C++11: Obviously it’s a much smaller step …

---

## [Linking Fiji with ITK](https://discourse.itk.org/t/linking-fiji-with-itk/4186)

<div class="topic-metadata">

**Author:** [@alrojo](https://discourse.itk.org/u/alrojo)\
**Replies:** 2\
**Last updated:** [June 8, 2021, 4:44am UTC](https://discourse.itk.org/t/linking-fiji-with-itk/4186 "2021-06-08T04:44:43Z")

</div>

In TUTORIAL/00\_setup.ipynb I cannot seem to make SimpleITK use my Fiji.app or ImageJ installation For the following code snippet: # Retrieve an image from the network, read it and display using the external viewer imag…

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

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