# Latest

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

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

**Page:** 38

---

## [Pixel manipulations in C#](https://discourse.itk.org/t/pixel-manipulations-in-c/5091)

<div class="topic-metadata">

**Author:** [@Ale\_Ballester](https://discourse.itk.org/u/Ale_Ballester)\
**Replies:** 14\
**Last updated:** [June 22, 2022, 3:49pm UTC](https://discourse.itk.org/t/pixel-manipulations-in-c/5091 "2022-06-22T15:49:00Z")

</div>

Hello, I am trying to implement the following example from SimpleITK’s notebook. The Python code is: img = logo # Generate random samples inside the image, we will obtain the intensity/color values at these points. n…

---

## [ITK Installation error: "ptrdiff\_t"](https://discourse.itk.org/t/itk-installation-error-ptrdiff-t/5118)

<div class="topic-metadata">

**Author:** [@chlee](https://discourse.itk.org/u/chlee)\
**Replies:** 1\
**Last updated:** [June 21, 2022, 7:59pm UTC](https://discourse.itk.org/t/itk-installation-error-ptrdiff-t/5118 "2022-06-21T19:59:29Z")

</div>

I am a beginner and I am following the ITK Software guide: https://github.com/InsightSoftwareConsortium/ITK/releases/download/v5.2.1/InsightSoftwareGuide-Book1-5.2.1.pdf Unfortunately, after setting up CMake and generat…

---

## [CT artifacts dicom examples](https://discourse.itk.org/t/ct-artifacts-dicom-examples/5110)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.itk.org/u/Jakub_Mitura)\
**Replies:** 2\
**Last updated:** [June 20, 2022, 1:25pm UTC](https://discourse.itk.org/t/ct-artifacts-dicom-examples/5110 "2022-06-20T13:25:26Z")

</div>

Hello I am looking for some files with example of CT artifacts, optionally also MRI for educational puproses - anybody know about such examples available somewhere?

---

## [Registering a pair of binary masks](https://discourse.itk.org/t/registering-a-pair-of-binary-masks/5098)

<div class="topic-metadata">

**Author:** [@goofyduck](https://discourse.itk.org/u/goofyduck)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 12:58pm UTC](https://discourse.itk.org/t/registering-a-pair-of-binary-masks/5098 "2022-06-17T12:58:05Z")

</div>

I’m trying to register a pair of binary masks, not a pair of images. To explain further, I’m trying to build a model that automatically strips the brain from the head skull. For the better model accuracy, I already have …

---

## [Registration evaluation](https://discourse.itk.org/t/registration-evaluation/5094)

<div class="topic-metadata">

**Author:** [@Enrico\_Sarneri](https://discourse.itk.org/u/Enrico_Sarneri)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 2:12pm UTC](https://discourse.itk.org/t/registration-evaluation/5094 "2022-06-16T14:12:47Z")

</div>

Hello! I want to share this problem and ask for some advice. Basically I did a customized registration without using Simple ITK just based on the recognition of the “geometric” circle of the two spheres in the two images…

---

## [operator \<\< is not clear ??](https://discourse.itk.org/t/operator-is-not-clear/5087)

<div class="topic-metadata">

**Author:** [@Bugmaker](https://discourse.itk.org/u/Bugmaker)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 3:06am UTC](https://discourse.itk.org/t/operator-is-not-clear/5087 "2022-06-15T03:06:18Z")

</div>

The weirdest thing is yesterday the project ran safely, today it throw an error: operator \<\< is not clear!. And vs located this error on BSplineDecompositionImageFilter function in itkBSplineDecompositionImageFilter.hxx…

---

## [Extract multiple 2D slices from a 3D volume.](https://discourse.itk.org/t/extract-multiple-2d-slices-from-a-3d-volume/5058)

<div class="topic-metadata">

**Author:** [@mzukovec](https://discourse.itk.org/u/mzukovec)\
**Replies:** 3\
**Last updated:** [June 13, 2022, 3:59pm UTC](https://discourse.itk.org/t/extract-multiple-2d-slices-from-a-3d-volume/5058 "2022-06-13T15:59:44Z")

</div>

Hi all. I can’t solve the image extraction error (invalidRequestedRegionError) if I try to extract 2 different slices using the same ExtractImageFilter from a given volume. In my program, I want to use a single Extract…

---

## [Oblique 2D slices not properly oriented](https://discourse.itk.org/t/oblique-2d-slices-not-properly-oriented/5081)

<div class="topic-metadata">

**Author:** [@Ale\_Ballester](https://discourse.itk.org/u/Ale_Ballester)\
**Replies:** 2\
**Last updated:** [June 12, 2022, 10:28am UTC](https://discourse.itk.org/t/oblique-2d-slices-not-properly-oriented/5081 "2022-06-12T10:28:16Z")

</div>

Hello, I want to extract some oblique 2D slices from a 3D image. My current approach to do this is a resampling operation changing the output direction so one of the axis coincides with the normal of the slicing plane. …

---

## [Preserve datatype on a simple Reader--Writer pipeline](https://discourse.itk.org/t/preserve-datatype-on-a-simple-reader-writer-pipeline/5063)

<div class="topic-metadata">

**Author:** [@Rafael\_Palomar](https://discourse.itk.org/u/Rafael_Palomar)\
**Replies:** 14\
**Last updated:** [June 10, 2022, 10:27am UTC](https://discourse.itk.org/t/preserve-datatype-on-a-simple-reader-writer-pipeline/5063 "2022-06-10T10:27:37Z")

</div>

Hello. Linking a simple ImageReader\<type\> with a ImageWriter\<type\> seems to change the datatype at the output. I have tried to load a .nrrd image (short) and when I write it back it turns to int: type: short # This is…

---

## [What is the difference between a rotation transform and SetDirection?](https://discourse.itk.org/t/what-is-the-difference-between-a-rotation-transform-and-setdirection/5083)

<div class="topic-metadata">

**Author:** [@Ale\_Ballester](https://discourse.itk.org/u/Ale_Ballester)\
**Replies:** 1\
**Last updated:** [June 10, 2022, 8:03am UTC](https://discourse.itk.org/t/what-is-the-difference-between-a-rotation-transform-and-setdirection/5083 "2022-06-10T08:03:31Z")

</div>

Hello, I am trying to understand the basics of SimpleITK. I am having doubts as to how a translation transform differs from a SetOffset and a rotation transform differs from a SetDirection. What I am hoping to obtain is…

---

## [Image Registration of volumetric CT scans with different patients](https://discourse.itk.org/t/image-registration-of-volumetric-ct-scans-with-different-patients/5073)

<div class="topic-metadata">

**Author:** [@DushiFdo](https://discourse.itk.org/u/DushiFdo)\
**Replies:** 4\
**Last updated:** [June 10, 2022, 7:13am UTC](https://discourse.itk.org/t/image-registration-of-volumetric-ct-scans-with-different-patients/5073 "2022-06-10T07:13:24Z")

</div>

Hello, I know that image registration can be done when we have two images (MR/CT or image/segmentation) on the same patient. Could someone please tell me if it is possible to perform image registration on different da…

---

## [Help with import images from sequential folders ---batch processing using Fiji Macros](https://discourse.itk.org/t/help-with-import-images-from-sequential-folders-batch-processing-using-fiji-macros/5077)

<div class="topic-metadata">

**Author:** [@Duben](https://discourse.itk.org/u/Duben)\
**Replies:** 1\
**Last updated:** [June 9, 2022, 7:51am UTC](https://discourse.itk.org/t/help-with-import-images-from-sequential-folders-batch-processing-using-fiji-macros/5077 "2022-06-09T07:51:33Z")

</div>

Dear all, I am looking for help with batch processing in Fiji. I am new to programming. I’m doing Cyclic-immunofluorescene.I need to combine 4-channel fluorescent images of the same tissue section of 10 cycles. I use H…

---

## [get row from itk matrix](https://discourse.itk.org/t/get-row-from-itk-matrix/5071)

<div class="topic-metadata">

**Author:** [@stnava](https://discourse.itk.org/u/stnava)\
**Replies:** 1\
**Last updated:** [June 8, 2022, 6:30pm UTC](https://discourse.itk.org/t/get-row-from-itk-matrix/5071 "2022-06-08T18:30:54Z")

</div>

just trying to update some code for more recent itk version (latest release) Type definitions: Things that don’t compile b/c they use old vnl types: But - in brief - this is a question of how to replace old …

---

## [How to get datasets for the examples which get built in the ITK build?](https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069)

<div class="topic-metadata">

**Author:** [@Sumit\_Sharma](https://discourse.itk.org/u/Sumit_Sharma)\
**Replies:** 1\
**Last updated:** [June 8, 2022, 6:28pm UTC](https://discourse.itk.org/t/how-to-get-datasets-for-the-examples-which-get-built-in-the-itk-build/5069 "2022-06-08T18:28:51Z")

</div>

After building the ITK library, I tried to run the examples with the demo datasets which I suppose should come along with the library. However I am not able to find how to download these datasets. Also I downloaded the z…

---

## [How to get SLIC visualisation using SimpleITK SLICImageFilter?](https://discourse.itk.org/t/how-to-get-slic-visualisation-using-simpleitk-slicimagefilter/4992)

<div class="topic-metadata">

**Author:** [@aliabidi](https://discourse.itk.org/u/aliabidi)\
**Replies:** 15\
**Last updated:** [June 6, 2022, 5:53pm UTC](https://discourse.itk.org/t/how-to-get-slic-visualisation-using-simpleitk-slicimagefilter/4992 "2022-06-06T17:53:12Z")

</div>

Sorry if this is a basic question, I was just wondering how I could get a visualisation to show the result of a SLIC segmentation, such as: I would like to generate a few visualisations like this using different SLIC…

---

## [SimpleITK 2.2 Release Candidate 3](https://discourse.itk.org/t/simpleitk-2-2-release-candidate-3/5060)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 0\
**Last updated:** [June 6, 2022, 5:48pm UTC](https://discourse.itk.org/t/simpleitk-2-2-release-candidate-3/5060 "2022-06-06T17:48:27Z")

</div>

Announcement Announcing the SimpleITK 2.2 Release Candidate 3! Users and developers are encouraged to test the RC before the final release and report issues, bugs, and any compatibility problems. The SimpleITK 2.2.0 fin…

---

## [Combining overlapping 3D images](https://discourse.itk.org/t/combining-overlapping-3d-images/5059)

<div class="topic-metadata">

**Author:** [@Ale\_Ballester](https://discourse.itk.org/u/Ale_Ballester)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 4:38pm UTC](https://discourse.itk.org/t/combining-overlapping-3d-images/5059 "2022-06-06T16:38:52Z")

</div>

Let’s say I have two 3D ultrasound images representing two overlapping regions. How can I combine those images into a single 3D image? I want to preserve spatial information.

---

## [Cannot compile ITK in CentOS 7](https://discourse.itk.org/t/cannot-compile-itk-in-centos-7/5049)

<div class="topic-metadata">

**Author:** [@Humberto\_M](https://discourse.itk.org/u/Humberto_M)\
**Replies:** 2\
**Last updated:** [June 6, 2022, 11:42am UTC](https://discourse.itk.org/t/cannot-compile-itk-in-centos-7/5049 "2022-06-06T11:42:38Z")

</div>

Hello, I have been trying to install ITK in my university’s interactive computing environment which runs Linux CentOS 7. Of course I do not have root access, so I’m not sure if that’s where the problem is coming from. T…

---

## [Semiautomatic Segmentation with SimpleITK](https://discourse.itk.org/t/semiautomatic-segmentation-with-simpleitk/5040)

<div class="topic-metadata">

**Author:** [@shqipcop](https://discourse.itk.org/u/shqipcop)\
**Replies:** 4\
**Last updated:** [June 6, 2022, 8:37am UTC](https://discourse.itk.org/t/semiautomatic-segmentation-with-simpleitk/5040 "2022-06-06T08:37:53Z")

</div>

I’m interested in using SimpleITK to be able to seed an organ in a layer of a CT scan and have the organ segmented, ignoring small connections like veins/arteries. eg. I select a part of the right atrium, the whole right…

---

## [Source code of resample function](https://discourse.itk.org/t/source-code-of-resample-function/5047)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 3\
**Last updated:** [June 6, 2022, 8:35am UTC](https://discourse.itk.org/t/source-code-of-resample-function/5047 "2022-06-06T08:35:02Z")

</div>

Hello, Is the source code of sitk.Resample available publicly? If yes, can someone please mention the path to the source code?

---

## [MEASUREMENT LABELS(sphere, polygon, line angle etc)](https://discourse.itk.org/t/measurement-labels-sphere-polygon-line-angle-etc/4979)

<div class="topic-metadata">

**Author:** [@SREERAG\_H](https://discourse.itk.org/u/SREERAG_H)\
**Replies:** 1\
**Last updated:** [June 5, 2022, 7:48pm UTC](https://discourse.itk.org/t/measurement-labels-sphere-polygon-line-angle-etc/4979 "2022-06-05T19:48:58Z")

</div>

Hi, Can anyone help me to know how to use measurement labels(sphere, polygon, angle etc) in itkimagedata.

---

## [3D Pointset to Pointset registration issue](https://discourse.itk.org/t/3d-pointset-to-pointset-registration-issue/5043)

<div class="topic-metadata">

**Author:** [@rfenioux](https://discourse.itk.org/u/rfenioux)\
**Replies:** 5\
**Last updated:** [June 2, 2022, 3:23pm UTC](https://discourse.itk.org/t/3d-pointset-to-pointset-registration-issue/5043 "2022-06-02T15:23:29Z")

</div>

Hi everyone, I’m trying to make this example work with 3D pointsets. I’m using the same methods as the example (AffineTransform, JensenHavrdaCharvatTsallisPointSetToPointSetMetricv4, RegistrationParameterScalesFromPhys…

---

## [Converting 2D images with tracking information into 3D volume](https://discourse.itk.org/t/converting-2d-images-with-tracking-information-into-3d-volume/5032)

<div class="topic-metadata">

**Author:** [@Ale\_Ballester](https://discourse.itk.org/u/Ale_Ballester)\
**Replies:** 1\
**Last updated:** [May 31, 2022, 3:56pm UTC](https://discourse.itk.org/t/converting-2d-images-with-tracking-information-into-3d-volume/5032 "2022-05-31T15:56:24Z")

</div>

Hi, this is my first time using this forum and I am a beginner with SimpleITK in Python. I have a series of png ultrasound images. Each image has a corresponding (location, quaternion) data from a tracker that indicates…

---

## [how to speed up resample interpolator?](https://discourse.itk.org/t/how-to-speed-up-resample-interpolator/5026)

<div class="topic-metadata">

**Author:** [@Bugmaker](https://discourse.itk.org/u/Bugmaker)\
**Replies:** 1\
**Last updated:** [May 31, 2022, 3:31am UTC](https://discourse.itk.org/t/how-to-speed-up-resample-interpolator/5026 "2022-05-31T03:31:44Z")

</div>

When i use BsplineInterpolator to resample my nifit file(315x512x512) to (369X663x663), it takes almost 20 min, that is too low. how can i to speed up this? cpu: i5-4590 3.3ghz The following is my resample code: typ…

---

## [dicom files](https://discourse.itk.org/t/dicom-files/4999)

<div class="topic-metadata">

**Author:** [@lang](https://discourse.itk.org/u/lang)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 1:46am UTC](https://discourse.itk.org/t/dicom-files/4999 "2022-05-30T01:46:12Z")

</div>

Multiple threads read dicom files concurrently, always in gdCMdatasethelper.cxx if( tag.IsGroupLength() ) { assert( vr == VR::UL ); } if( tag.IsPrivateCreator() ) { assert( vr == VR::LO ); } Stop at assertion, w…

---

## [ITK-WASM, VSCODE, VITE, EXAMPLES/VITE, reading an head image into viewer](https://discourse.itk.org/t/itk-wasm-vscode-vite-examples-vite-reading-an-head-image-into-viewer/5025)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 0\
**Last updated:** [May 30, 2022, 1:05pm UTC](https://discourse.itk.org/t/itk-wasm-vscode-vite-examples-vite-reading-an-head-image-into-viewer/5025 "2022-05-30T13:05:14Z")

</div>

Hi @thewtex , I think this requires attention from matt maccormic. I used vscode and opened example vite inside Examples folder of itk-wasm repo. I did (npm install) inside terminal of the vscode and it installed all th…

---

## [DICOM sort method](https://discourse.itk.org/t/dicom-sort-method/5014)

<div class="topic-metadata">

**Author:** [@Hu-nie](https://discourse.itk.org/u/Hu-nie)\
**Replies:** 4\
**Last updated:** [May 30, 2022, 2:06am UTC](https://discourse.itk.org/t/dicom-sort-method/5014 "2022-05-30T02:06:44Z")

</div>

I have a question about DICOM. I am dealing with MR images. At this time, I try to use the Instance Number when aligning the DICOM. When I look at the Type of Instance Number Tag, it says “Required, Empty if Unknown (2)…

---

## [Errors reading DICOM files](https://discourse.itk.org/t/errors-reading-dicom-files/5016)

<div class="topic-metadata">

**Author:** [@debapriya](https://discourse.itk.org/u/debapriya)\
**Replies:** 2\
**Last updated:** [May 28, 2022, 5:58am UTC](https://discourse.itk.org/t/errors-reading-dicom-files/5016 "2022-05-28T05:58:16Z")

</div>

Hello, I am new to python and ITK. I want to read a series of Dicom images. For this, I copied the below code snippet from a previous query. import SimpleITK as sitk # A file name that belongs to the series we want t…

---

## [seg fault when looping color normailzation](https://discourse.itk.org/t/seg-fault-when-looping-color-normailzation/5008)

<div class="topic-metadata">

**Author:** [@Jon](https://discourse.itk.org/u/Jon)\
**Replies:** 10\
**Last updated:** [May 27, 2022, 9:25pm UTC](https://discourse.itk.org/t/seg-fault-when-looping-color-normailzation/5008 "2022-05-27T21:25:57Z")

</div>

For a demo code based on the ITK color normalization example, remove the line eager\_normalized\_image = itk.structure\_preserving\_color\_normalization\_filter( and succeeding lines replacing them with: \< +++++++++++++++++…

---

## [3D SLIC Visualisation](https://discourse.itk.org/t/3d-slic-visualisation/5010)

<div class="topic-metadata">

**Author:** [@aliabidi](https://discourse.itk.org/u/aliabidi)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 11:42pm UTC](https://discourse.itk.org/t/3d-slic-visualisation/5010 "2022-05-25T23:42:40Z")

</div>

As a follow-up from this question regarding SLIC segmentation in 2D, I was wondering whether there is any method or technique to visualise images in 3D? Something similar to the image below from this paper. To give s…

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

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