# Latest

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

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

**Page:** 54

---

## [Git Help: ITK and ITKExamples](https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963)

<div class="topic-metadata">

**Author:** [@melrobin](https://discourse.itk.org/u/melrobin)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 2:54pm UTC](https://discourse.itk.org/t/git-help-itk-and-itkexamples/3963 "2021-03-17T14:54:33Z")

</div>

Can you give me just a little git help on a simple question? I forked ITKExamples and updated the fork. I have BUILD\_EXAMPLES turned on in ITK. A subsequent build of ITK creates a detached head in Modules/Remote/Sphin…

---

## [ITK Examples St. Patty’s Day 2021 Hackathon](https://discourse.itk.org/t/itk-examples-st-patty-s-day-2021-hackathon/3939)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 1\
**Last updated:** [March 17, 2021, 2:00pm UTC](https://discourse.itk.org/t/itk-examples-st-patty-s-day-2021-hackathon/3939 "2021-03-17T14:00:46Z")

</div>

We are holding a hackathon for the ITK Sphinx Examples on St. Patty’s Day. :shamrock: :rainbow: Date: 2021, March 17th Time: 10 AM - 5 PM Eastern Time Where: https://meet.google.com/ycm-dfjb-wjv Current list of examp…

---

## [Unsupported JPEG data precision 12](https://discourse.itk.org/t/unsupported-jpeg-data-precision-12/348)

<div class="topic-metadata">

**Author:** [@madsdk](https://discourse.itk.org/u/madsdk)\
**Replies:** 7\
**Last updated:** [March 16, 2021, 10:17pm UTC](https://discourse.itk.org/t/unsupported-jpeg-data-precision-12/348 "2021-03-16T22:17:44Z")

</div>

Hello, I’m hoping someone here has had this problem before and can help me figure out how to deal with it. I’m attempting to load a DICOM image series, but when I try to load it I get the following message: Unsupported…

---

## [Multi center Series identification](https://discourse.itk.org/t/multi-center-series-identification/3960)

<div class="topic-metadata">

**Author:** [@Stephan\_Hahn1](https://discourse.itk.org/u/Stephan_Hahn1)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 2:18pm UTC](https://discourse.itk.org/t/multi-center-series-identification/3960 "2021-03-16T14:18:51Z")

</div>

Hello the community :slight\_smile: I have a small question. I received images from multiple centers containing one or more series. Actually, I can identify the series using the series description. But I think (hope) th…

---

## [Image Registration using BSplines with order greater than 3](https://discourse.itk.org/t/image-registration-using-bsplines-with-order-greater-than-3/3955)

<div class="topic-metadata">

**Author:** [@Felippe\_Trigueiro\_An](https://discourse.itk.org/u/Felippe_Trigueiro_An)\
**Replies:** 3\
**Last updated:** [March 15, 2021, 2:46pm UTC](https://discourse.itk.org/t/image-registration-using-bsplines-with-order-greater-than-3/3955 "2021-03-15T14:46:38Z")

</div>

Hi, I’m trying to do a registration using BSplines of order 4. However, when I set 4 to the parameter ‘order’ in the BSplineTransformInitializer constructor, I got the following message: “sitk::ERROR: Invalid Order: 4 on…

---

## [How to create an itk.js Image object?](https://discourse.itk.org/t/how-to-create-an-itk-js-image-object/1163)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.itk.org/u/Mason)\
**Replies:** 14\
**Last updated:** [March 15, 2021, 2:41pm UTC](https://discourse.itk.org/t/how-to-create-an-itk-js-image-object/1163 "2021-03-15T14:41:01Z")

</div>

Hello guys. I am a beginner. I hope to use itk and vtk in backend(C++) and use itk.js and vtk.js in front-end（JavaScript）. I just read the docs of itk.js and want to create an itk.js Image object to show in browser. I wo…

---

## [Limitations of Similarity3DTransform](https://discourse.itk.org/t/limitations-of-similarity3dtransform/3956)

<div class="topic-metadata">

**Author:** [@reox](https://discourse.itk.org/u/reox)\
**Replies:** 2\
**Last updated:** [March 15, 2021, 1:44pm UTC](https://discourse.itk.org/t/limitations-of-similarity3dtransform/3956 "2021-03-15T13:44:22Z")

</div>

I’m using the Similarity3DTransform for quite some time now, but I always find certain configurations where it totally fails to register two images. Usually with some manual pre-alignment it is then no problem. I found …

---

## [3D DICOM Thorax Registration](https://discourse.itk.org/t/3d-dicom-thorax-registration/3953)

<div class="topic-metadata">

**Author:** [@michel.atieh](https://discourse.itk.org/u/michel.atieh)\
**Replies:** 2\
**Last updated:** [March 11, 2021, 9:55pm UTC](https://discourse.itk.org/t/3d-dicom-thorax-registration/3953 "2021-03-11T21:55:13Z")

</div>

Dear all, I am completely new to the world of image registration. Can anyone please help me define the steps that I should take to register 3D CT images of 2 different patient? for instance to what type should I change…

---

## [Resample small mask](https://discourse.itk.org/t/resample-small-mask/3950)

<div class="topic-metadata">

**Author:** [@vankhoa21991](https://discourse.itk.org/u/vankhoa21991)\
**Replies:** 2\
**Last updated:** [March 10, 2021, 3:40pm UTC](https://discourse.itk.org/t/resample-small-mask/3950 "2021-03-10T15:40:12Z")

</div>

Hello, I would like to resample the volume and mask to a fixed spacing using simpleitk in python, but after I do that, the mask of small regions disappears completely. Do you have any idea about this phenomenon? I trie…

---

## [ITK transform using Dicom header data](https://discourse.itk.org/t/itk-transform-using-dicom-header-data/3858)

<div class="topic-metadata">

**Author:** [@MD2021](https://discourse.itk.org/u/MD2021)\
**Replies:** 6\
**Last updated:** [March 10, 2021, 12:23am UTC](https://discourse.itk.org/t/itk-transform-using-dicom-header-data/3858 "2021-03-10T00:23:50Z")

</div>

I am running a radiomics project that requires segmentation/mask of medical imaging files. The simplest example is that MRI scans are rigidly registered to a CT scan and contours/segments applied. The contours/segments …

---

## [Is there an easy way to determine the boundaries/start of a segmentation?](https://discourse.itk.org/t/is-there-an-easy-way-to-determine-the-boundaries-start-of-a-segmentation/3944)

<div class="topic-metadata">

**Author:** [@MD2021](https://discourse.itk.org/u/MD2021)\
**Replies:** 3\
**Last updated:** [March 10, 2021, 12:22am UTC](https://discourse.itk.org/t/is-there-an-easy-way-to-determine-the-boundaries-start-of-a-segmentation/3944 "2021-03-10T00:22:05Z")

</div>

I have segmentations/contours which correspond to a CT analogous to this example They exist only in approximately 20 slices buried within 200 slices of 3d image set. The remaining slices are completely empty space. F…

---

## [gap filling of breaks between vessels](https://discourse.itk.org/t/gap-filling-of-breaks-between-vessels/3925)

<div class="topic-metadata">

**Author:** [@fuentesdt](https://discourse.itk.org/u/fuentesdt)\
**Replies:** 2\
**Last updated:** [March 9, 2021, 3:41pm UTC](https://discourse.itk.org/t/gap-filling-of-breaks-between-vessels/3925 "2021-03-09T15:41:45Z")

</div>

Hi, Is there any functionality in itk for gap/hole filling specific to vessels? something like this tensor voting method: Risser, Laurent, Franck Plouraboué, and Xavier Descombes. “Gap filling of 3-D microvascular networ…

---

## [ITK Code Coverage \> 90%!](https://discourse.itk.org/t/itk-code-coverage-90/3946)

<div class="topic-metadata">

**Author:** [@matt.mccormick](https://discourse.itk.org/u/matt.mccormick)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 3:36pm UTC](https://discourse.itk.org/t/itk-code-coverage-90/3946 "2021-03-09T15:36:09Z")

</div>

Thanks to the hard work of @jhlegarreta and others in the community, we just passed a major milestone: ITK Code Coverage is \> 90% :tada: :champagne: :sheep: :man\_cartwheeling: Well done!

---

## [Measure Image Similarity Before Registration](https://discourse.itk.org/t/measure-image-similarity-before-registration/3945)

<div class="topic-metadata">

**Author:** [@PauloFavero](https://discourse.itk.org/u/PauloFavero)\
**Replies:** 1\
**Last updated:** [March 9, 2021, 3:32pm UTC](https://discourse.itk.org/t/measure-image-similarity-before-registration/3945 "2021-03-09T15:32:47Z")

</div>

Hello everyone, I need to measure the similarity between two images based on a transform. I have an affine transform already stored on the system and then, I would like to use this transform with the MattesMutualInforma…

---

## [OpenCV x ITK image conversion using OpenCVImageBridge](https://discourse.itk.org/t/opencv-x-itk-image-conversion-using-opencvimagebridge/3907)

<div class="topic-metadata">

**Author:** [@PauloFavero](https://discourse.itk.org/u/PauloFavero)\
**Replies:** 4\
**Last updated:** [March 9, 2021, 2:27pm UTC](https://discourse.itk.org/t/opencv-x-itk-image-conversion-using-opencvimagebridge/3907 "2021-03-09T14:27:11Z")

</div>

Hi everyone, I would like to convert simpleITK images to OpenCV images and vice versa. The conversion from OpenCV to ITK is working fine like the example below: cv::Mat movingImage = cv::imread(moving\_image\_path); cv:…

---

## [Speed up ITK Registration Pipeline](https://discourse.itk.org/t/speed-up-itk-registration-pipeline/3941)

<div class="topic-metadata">

**Author:** [@PauloFavero](https://discourse.itk.org/u/PauloFavero)\
**Replies:** 3\
**Last updated:** [March 9, 2021, 1:54pm UTC](https://discourse.itk.org/t/speed-up-itk-registration-pipeline/3941 "2021-03-09T13:54:37Z")

</div>

Hello Everyone, I implemented a registration pipeline using MattesMutualInformation as the metric algorithm. I am reaching convergence around 50 iterations but these iterations are taking nearly 4 minutes. My computer …

---

## [3D DICOM Registration](https://discourse.itk.org/t/3d-dicom-registration/3943)

<div class="topic-metadata">

**Author:** [@michel.atieh](https://discourse.itk.org/u/michel.atieh)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 11:05pm UTC](https://discourse.itk.org/t/3d-dicom-registration/3943 "2021-03-08T23:05:34Z")

</div>

Dear all, I need to register a CT DICOM image sequence onto a 3D numerical phantom(which means onto another DICOM image sequence). the registration should be a non-rigid(free form) registration. how do you advise me to…

---

## [Seg fault in CharLS](https://discourse.itk.org/t/seg-fault-in-charls/3940)

<div class="topic-metadata">

**Author:** [@gcsharp](https://discourse.itk.org/u/gcsharp)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 8:47pm UTC](https://discourse.itk.org/t/seg-fault-in-charls/3940 "2021-03-08T20:47:00Z")

</div>

Hi, I have a segmentation fault on program exit when linking to both ITK and dcmtk on Fedora 33. ITK is built from source whereas dcmtk is supplied by the OS package manager. The crash is a double free of static variab…

---

## [PointSetToPointSetRegistrationMethod in Python](https://discourse.itk.org/t/pointsettopointsetregistrationmethod-in-python/1359)

<div class="topic-metadata">

**Author:** [@Sohail](https://discourse.itk.org/u/Sohail)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 7:09pm UTC](https://discourse.itk.org/t/pointsettopointsetregistrationmethod-in-python/1359 "2021-03-08T19:09:56Z")

</div>

Is PointSetToPointSetRegistrationMethod available in the Python interface for V4? If not, how is one expected to do rigid/non-rigid alignment in Python? Thanks in advance, Sohail

---

## [Point cloud / depth map / mesh registration SimpleITK/ITK Python](https://discourse.itk.org/t/point-cloud-depth-map-mesh-registration-simpleitk-itk-python/3742)

<div class="topic-metadata">

**Author:** [@NPi](https://discourse.itk.org/u/NPi)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 7:06pm UTC](https://discourse.itk.org/t/point-cloud-depth-map-mesh-registration-simpleitk-itk-python/3742 "2021-03-08T19:06:52Z")

</div>

Hello everyone, I am a very very bloody ITK/SimpleITK beginner trying to understand the basic principles of ITK/SimpleITK. My aim is to register to 2 point clouds: the first one is from a stereoscopic imaging modality (…

---

## [Extracting Bounding Box information from an image](https://discourse.itk.org/t/extracting-bounding-box-information-from-an-image/3883)

<div class="topic-metadata">

**Author:** [@Stefan\_Radonjic](https://discourse.itk.org/u/Stefan_Radonjic)\
**Replies:** 4\
**Last updated:** [March 8, 2021, 6:47pm UTC](https://discourse.itk.org/t/extracting-bounding-box-information-from-an-image/3883 "2021-03-08T18:47:53Z")

</div>

HI! Is there a way to load nifty image and extract its bounding box coordinates from it? If I am not mistaken, bounding box within nifty image is called largest possible region in ITK, correct? I would like to measure h…

---

## [Copy Image into another image taking into account origin & spacing](https://discourse.itk.org/t/copy-image-into-another-image-taking-into-account-origin-spacing/3899)

<div class="topic-metadata">

**Author:** [@imikejackson](https://discourse.itk.org/u/imikejackson)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 6:42pm UTC](https://discourse.itk.org/t/copy-image-into-another-image-taking-into-account-origin-spacing/3899 "2021-03-08T18:42:42Z")

</div>

What would be the basic steps to copy a source image into an existing destination image that takes into account the origin and spacing of both? I have googled a bit and found https://itk.org/ITKExamples/src/Filtering/Im…

---

## [std::string to char const \* in python itk for itk.ImageIOBase\`](https://discourse.itk.org/t/std-string-to-char-const-in-python-itk-for-itk-imageiobase/3933)

<div class="topic-metadata">

**Author:** [@donghakang](https://discourse.itk.org/u/donghakang)\
**Replies:** 6\
**Last updated:** [March 8, 2021, 6:36pm UTC](https://discourse.itk.org/t/std-string-to-char-const-in-python-itk-for-itk-imageiobase/3933 "2021-03-08T18:36:18Z")

</div>

Hello! I am quite new to ITK and trying to make a very simple application using ITK / python! I am doing something like this. filename = "./output\_filename.hdr" image\_io = itk.ImageIOBase image\_io.SetFileName(filename…

---

## [ITK 5.2 rc2 solved a multiprocessing issue - thanks!](https://discourse.itk.org/t/itk-5-2-rc2-solved-a-multiprocessing-issue-thanks/3882)

<div class="topic-metadata">

**Author:** [@jond01](https://discourse.itk.org/u/jond01)\
**Replies:** 1\
**Last updated:** [March 8, 2021, 6:28pm UTC](https://discourse.itk.org/t/itk-5-2-rc2-solved-a-multiprocessing-issue-thanks/3882 "2021-03-08T18:28:51Z")

</div>

I have just tested the release candidate for version 5.2 of itk and wanted to share with you that it solved a previous issue with multiprocessing (as promised in the release notes :slight\_smile:). Also, I did not encoun…

---

## [Image Registration Method Displacement 1 Example: Composite transform order](https://discourse.itk.org/t/image-registration-method-displacement-1-example-composite-transform-order/3920)

<div class="topic-metadata">

**Author:** [@cpicarr1](https://discourse.itk.org/u/cpicarr1)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 10:32am UTC](https://discourse.itk.org/t/image-registration-method-displacement-1-example-composite-transform-order/3920 "2021-03-08T10:32:10Z")

</div>

Hello, Regarding one of the examples on the SimpleITK documentation website: https://simpleitk.readthedocs.io/en/master/link\_ImageRegistrationMethodDisplacement1\_docs.html In this example, an affine + displacement regi…

---

## [Fatal Error while building ITK-4.8.2](https://discourse.itk.org/t/fatal-error-while-building-itk-4-8-2/3928)

<div class="topic-metadata">

**Author:** [@vtetz](https://discourse.itk.org/u/vtetz)\
**Replies:** 4\
**Last updated:** [March 5, 2021, 9:25pm UTC](https://discourse.itk.org/t/fatal-error-while-building-itk-4-8-2/3928 "2021-03-05T21:25:52Z")

</div>

I’ve been trying to install the ITK-4.8.2, in order to try to build an elder program (constructed in 2018 - a module for 3D Slicer). The ITK-5 wasnt working to build this program, so I started to go back, in order to be…

---

## [Different rounding behaviour in itk::MetaImageIO between debug and release](https://discourse.itk.org/t/different-rounding-behaviour-in-itk-metaimageio-between-debug-and-release/3931)

<div class="topic-metadata">

**Author:** [@marco\_giordano](https://discourse.itk.org/u/marco_giordano)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 9:22pm UTC](https://discourse.itk.org/t/different-rounding-behaviour-in-itk-metaimageio-between-debug-and-release/3931 "2021-03-05T21:22:42Z")

</div>

Hi there, I am using ITK as a library in my code and I experience a different rounding behaviour in debug and release when writing an image to disk. Basically I create a 3D image by converting it from vtk … ImageType…

---

## [ITK functions don't work properly when used inside Tensorflow data multiprocessing pipeline](https://discourse.itk.org/t/itk-functions-dont-work-properly-when-used-inside-tensorflow-data-multiprocessing-pipeline/3519)

<div class="topic-metadata">

**Author:** [@goncinious](https://discourse.itk.org/u/goncinious)\
**Replies:** 5\
**Last updated:** [March 5, 2021, 1:22pm UTC](https://discourse.itk.org/t/itk-functions-dont-work-properly-when-used-inside-tensorflow-data-multiprocessing-pipeline/3519 "2021-03-05T13:22:20Z")

</div>

Description The code below implements a Tensorflow (TF) data pipeline that uses ITK functions for processing the inputs. It seems that ITK modules can’t be properly accessed when they’re wrapped in a Tensorflow py\_funct…

---

## [Trying to extract stats from a DICOM image after using watershed segmentation and relabeling components](https://discourse.itk.org/t/trying-to-extract-stats-from-a-dicom-image-after-using-watershed-segmentation-and-relabeling-components/3930)

<div class="topic-metadata">

**Author:** [@Diego\_C](https://discourse.itk.org/u/Diego_C)\
**Replies:** 1\
**Last updated:** [March 5, 2021, 6:17am UTC](https://discourse.itk.org/t/trying-to-extract-stats-from-a-dicom-image-after-using-watershed-segmentation-and-relabeling-components/3930 "2021-03-05T06:17:08Z")

</div>

Hi! I have a pipeline where I do watershed segmentation and then I filter the number of components retaining only those with a given size. My code looks like this: im\_watershed = sitk.MorphologicalWatershed(im\_gradient…

---

## [GPUBinaryMorphology problem](https://discourse.itk.org/t/gpubinarymorphology-problem/3923)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.itk.org/u/junqiangchen)\
**Replies:** 3\
**Last updated:** [March 4, 2021, 1:46am UTC](https://discourse.itk.org/t/gpubinarymorphology-problem/3923 "2021-03-04T01:46:54Z")

</div>

hi, i use BinaryMorphology with cpu,such as binary open,binary close operation in 3d medical image,but it’s very slowly,so i want use GPUBinaryMorphology to improve computational efficiency,and i find the link https://g…

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

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