# Latest

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

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

**Page:** 23

---

## [Elastix, Parameter files and scales](https://discourse.itk.org/t/elastix-parameter-files-and-scales/6002)

<div class="topic-metadata">

**Author:** [@Lermontov](https://discourse.itk.org/u/Lermontov)\
**Replies:** 1\
**Last updated:** [June 20, 2023, 1:21pm UTC](https://discourse.itk.org/t/elastix-parameter-files-and-scales/6002 "2023-06-20T13:21:26Z")

</div>

Hey, I’m doing rigid registration task using elastix, I want to set constraints on some degree of freedom, as far as I understood, I must use the following parameter : (Scales 10000 10000 …) As far as I understood, if …

---

## [Rotate an image without cropping effect](https://discourse.itk.org/t/rotate-an-image-without-cropping-effect/5986)

<div class="topic-metadata">

**Author:** [@Lermontov](https://discourse.itk.org/u/Lermontov)\
**Replies:** 8\
**Last updated:** [June 20, 2023, 1:18pm UTC](https://discourse.itk.org/t/rotate-an-image-without-cropping-effect/5986 "2023-06-20T13:18:28Z")

</div>

Hi, I’m trying to rotate an image around the gravity center of the binary mask of the ROI. To do that, I use in the python version of ITK the following functions : itk.CenteredEuler3DTransfrom to define my the paramet…

---

## [a question aobout itkSimilarityIndexImageFilter](https://discourse.itk.org/t/a-question-aobout-itksimilarityindeximagefilter/5995)

<div class="topic-metadata">

**Author:** [@xiaohoua](https://discourse.itk.org/u/xiaohoua)\
**Replies:** 0\
**Last updated:** [June 16, 2023, 4:57pm UTC](https://discourse.itk.org/t/a-question-aobout-itksimilarityindeximagefilter/5995 "2023-06-16T16:57:00Z")

</div>

Recently, I was studying about ITK and used itksimilarityimageindexfilter 。 I wonder if this filter has any requirements for two input images? For example, does it need two images to be the same size?And What would it d…

---

## [How to automatically refine segmentation warped by deformation field (from voxelmorph).](https://discourse.itk.org/t/how-to-automatically-refine-segmentation-warped-by-deformation-field-from-voxelmorph/5901)

<div class="topic-metadata">

**Author:** [@BraveDistribution](https://discourse.itk.org/u/BraveDistribution)\
**Replies:** 12\
**Last updated:** [June 15, 2023, 5:22am UTC](https://discourse.itk.org/t/how-to-automatically-refine-segmentation-warped-by-deformation-field-from-voxelmorph/5901 "2023-06-15T05:22:56Z")

</div>

Hello, I work on cardiac cycle analysis (TEE). We want to obtain a mask of the left ventricle (or any other region of interest) during the whole cycle based on the mask manually annotated in ED/ES (end of diastole/systo…

---

## [Ordering of BSplineTransform Parameters](https://discourse.itk.org/t/ordering-of-bsplinetransform-parameters/5989)

<div class="topic-metadata">

**Author:** [@reox](https://discourse.itk.org/u/reox)\
**Replies:** 2\
**Last updated:** [June 13, 2023, 7:10pm UTC](https://discourse.itk.org/t/ordering-of-bsplinetransform-parameters/5989 "2023-06-13T19:10:09Z")

</div>

I got myself confused with the ordering of the parameters of the BSplineTransform. At some point I wrote it down but cannot find that anymore, and now I’m looking at some code that I have written some years ago and don’t…

---

## [Get a neighborhood around a specific point](https://discourse.itk.org/t/get-a-neighborhood-around-a-specific-point/5987)

<div class="topic-metadata">

**Author:** [@Lermontov](https://discourse.itk.org/u/Lermontov)\
**Replies:** 1\
**Last updated:** [June 12, 2023, 3:24pm UTC](https://discourse.itk.org/t/get-a-neighborhood-around-a-specific-point/5987 "2023-06-12T15:24:01Z")

</div>

Hi, Is there a method on ITK that can, given a physical point, define a ball-shaped neighborhood of physical points within a given raduis ? I try to study the ability of an optimisation algorithm to converge on the good…

---

## [Can't load a transform file](https://discourse.itk.org/t/cant-load-a-transform-file/5984)

<div class="topic-metadata">

**Author:** [@eddyod](https://discourse.itk.org/u/eddyod)\
**Replies:** 0\
**Last updated:** [June 9, 2023, 2:06am UTC](https://discourse.itk.org/t/cant-load-a-transform-file/5984 "2023-06-09T02:06:50Z")

</div>

Hi, I’m trying to save and load a transform but keep getting an error when I try to open it: ITK ERROR: HDF5TransformIOTemplate(0x55708c136680): Could not create an instance of “MatrixOffsetTransformBase\_double\_3\_3” T…

---

## [itksnap txt file saved after manual registration](https://discourse.itk.org/t/itksnap-txt-file-saved-after-manual-registration/5983)

<div class="topic-metadata">

**Author:** [@ljjiayou](https://discourse.itk.org/u/ljjiayou)\
**Replies:** 3\
**Last updated:** [June 8, 2023, 2:00pm UTC](https://discourse.itk.org/t/itksnap-txt-file-saved-after-manual-registration/5983 "2023-06-08T14:00:37Z")

</div>

This is the txt file that I saved after manually registering itksnap： #Insight Transform File V1.0 #Transform 0 Transform: MatrixOffsetTransformBase\_double\_3\_3 Parameters: 0.9999932831934126 -0.00005697241326605847 -…

---

## [Fully automated algorithm to detect MRI noise/artifact?](https://discourse.itk.org/t/fully-automated-algorithm-to-detect-mri-noise-artifact/5973)

<div class="topic-metadata">

**Author:** [@SteveRobbins](https://discourse.itk.org/u/SteveRobbins)\
**Replies:** 2\
**Last updated:** [May 31, 2023, 3:09pm UTC](https://discourse.itk.org/t/fully-automated-algorithm-to-detect-mri-noise-artifact/5973 "2023-05-31T15:09:43Z")

</div>

I want to detect a “noisy” or “artifact-impaired” MRI image – basically a way to classify the image as noisy or not. For clarity, a “good” image looks like the first one, whereas a “bad” image might look like one of the…

---

## [is it possilbe to change RefineMontage default TransformType to itk::Rigid2DTransform](https://discourse.itk.org/t/is-it-possilbe-to-change-refinemontage-default-transformtype-to-itk-rigid2dtransform/5971)

<div class="topic-metadata">

**Author:** [@allen](https://discourse.itk.org/u/allen)\
**Replies:** 1\
**Last updated:** [May 30, 2023, 1:25pm UTC](https://discourse.itk.org/t/is-it-possilbe-to-change-refinemontage-default-transformtype-to-itk-rigid2dtransform/5971 "2023-05-30T13:25:01Z")

</div>

hello, as i know the default Registration method is B-Spline Registration in CompleteMontage or RefineMontage, right. B-Spline Registration is flexiable that allows local distortion and non-rigid deformation, but it cos…

---

## [Parts of registered images missing.](https://discourse.itk.org/t/parts-of-registered-images-missing/5969)

<div class="topic-metadata">

**Author:** [@RobertTheSquirrel](https://discourse.itk.org/u/RobertTheSquirrel)\
**Replies:** 3\
**Last updated:** [May 29, 2023, 10:09pm UTC](https://discourse.itk.org/t/parts-of-registered-images-missing/5969 "2023-05-29T22:09:10Z")

</div>

Greetings! I am a uni student relatively new to image/file processing. I am encountering something which I view as an issue during the processing of my 3D images. For the record, what I do with the original DICOM images…

---

## [LabelStatisticsImageFilter floating point exception](https://discourse.itk.org/t/labelstatisticsimagefilter-floating-point-exception/1395)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 19\
**Last updated:** [May 29, 2023, 1:53pm UTC](https://discourse.itk.org/t/labelstatisticsimagefilter-floating-point-exception/1395 "2023-05-29T13:53:05Z")

</div>

Hello, Line #170 in LabelStatisticsImageFilter implementation here: is causing a floating point exception and crashing my application. I think the reason is a numerically unstable calculation of variance, resulting …

---

## [2D affine registration metric/performance](https://discourse.itk.org/t/2d-affine-registration-metric-performance/5967)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 3\
**Last updated:** [May 28, 2023, 6:33pm UTC](https://discourse.itk.org/t/2d-affine-registration-metric-performance/5967 "2023-05-28T18:33:02Z")

</div>

Fixed image: Moving image: the images come from different modalities and do not have labels/annotations. Though visually the center elliptical anatomy overlap, is there a way I can come up with a metric that only c…

---

## [got OpenCL Error when using itkGPUDemonsRegistrationFilter](https://discourse.itk.org/t/got-opencl-error-when-using-itkgpudemonsregistrationfilter/5961)

<div class="topic-metadata">

**Author:** [@zx-lhb](https://discourse.itk.org/u/zx-lhb)\
**Replies:** 6\
**Last updated:** [May 27, 2023, 1:57am UTC](https://discourse.itk.org/t/got-opencl-error-when-using-itkgpudemonsregistrationfilter/5961 "2023-05-27T01:57:32Z")

</div>

hi, I used DemonsRegistrationFilter to do registration, and it workd fine. Then I noticed there has GPUDemonsRegistrationFilter, So I replaced the itkImage to itkGPUImage, everything runs well until it came to the code “…

---

## [NVCC compilation error for ITK 5.3](https://discourse.itk.org/t/nvcc-compilation-error-for-itk-5-3/5612)

<div class="topic-metadata">

**Author:** [@mzukovec](https://discourse.itk.org/u/mzukovec)\
**Replies:** 5\
**Last updated:** [May 27, 2023, 1:55am UTC](https://discourse.itk.org/t/nvcc-compilation-error-for-itk-5-3/5612 "2023-05-27T01:55:46Z")

</div>

Hello. When I try to use image reading functionality inside .cu file, I get compilation errors, whereas if I put the same code inside .cpp file, which is compiler using regular host compiler, the code normally compiles. …

---

## [SetShrinkFactorsPerLevel anisotropically](https://discourse.itk.org/t/setshrinkfactorsperlevel-anisotropically/5964)

<div class="topic-metadata">

**Author:** [@ktdiedrich](https://discourse.itk.org/u/ktdiedrich)\
**Replies:** 2\
**Last updated:** [May 25, 2023, 7:42pm UTC](https://discourse.itk.org/t/setshrinkfactorsperlevel-anisotropically/5964 "2023-05-25T19:42:08Z")

</div>

Is there a way to set shrink factors anisotropically? This would be for cases when one dimension of an image is much thinner than the others so it doesn’t need as much shrinking. In Simple ITK it doesn’t work to pass Se…

---

## ['CurvatureRegistrationFilter': is not a member of 'itk'.](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190)

<div class="topic-metadata">

**Author:** [@tnayak](https://discourse.itk.org/u/tnayak)\
**Replies:** 4\
**Last updated:** [May 24, 2023, 1:48am UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190 "2023-05-24T01:48:18Z")

</div>

Hi all, I am currently try to implement the DeformableRegistration10 example, in that I am getting the following error C2039 ‘CurvatureRegistrationFilter’: is not a member of ‘itk’. Anyone have any idea how to fix this …

---

## [itk:GPUImage::Graft cannot access protected member declared in class itk::GPUImage](https://discourse.itk.org/t/itk-graft-cannot-access-protected-member-declared-in-class-itk-gpuimage/2715)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [May 23, 2023, 1:59am UTC](https://discourse.itk.org/t/itk-graft-cannot-access-protected-member-declared-in-class-itk-gpuimage/2715 "2023-05-23T01:59:53Z")

</div>

I am starting my registration project. I modify the code: Examples/RegistrationITKv4/DeformableRegistration16, and it work. Then, I want to use GPU to accelarate the program, and replace the DemonsRegistrationFilter wit…

---

## [can MultiResolutionPDEDeformableRegistration filter use itk::GPUImage type?](https://discourse.itk.org/t/can-multiresolutionpdedeformableregistration-filter-use-itk-gpuimage-type/5958)

<div class="topic-metadata">

**Author:** [@zx-lhb](https://discourse.itk.org/u/zx-lhb)\
**Replies:** 2\
**Last updated:** [May 22, 2023, 12:53am UTC](https://discourse.itk.org/t/can-multiresolutionpdedeformableregistration-filter-use-itk-gpuimage-type/5958 "2023-05-22T00:53:27Z")

</div>

hi, i used MultiResolutionPDEDeformableRegistration and DemonsRegistrationFilter to do registration, it worked fine. Then I changed DemonsRegistrationFilter to GPUDemonsRegistrationFilter, and let the InternalImageType a…

---

## [Can itk read RTplan files？](https://discourse.itk.org/t/can-itk-read-rtplan-files/5957)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 5\
**Last updated:** [May 20, 2023, 2:06pm UTC](https://discourse.itk.org/t/can-itk-read-rtplan-files/5957 "2023-05-20T14:06:37Z")

</div>

Can itk read RTplan files？I want get 300a 012c

---

## [Relationship between DICOM coordinate system and IEC 61217 coordinate system](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 4\
**Last updated:** [May 20, 2023, 4:42am UTC](https://discourse.itk.org/t/relationship-between-dicom-coordinate-system-and-iec-61217-coordinate-system/3508 "2023-05-20T04:42:39Z")

</div>

Do anyone know what’s the relationship between the DICOM coordinate system used by ITK and IEC 61217 coordinate system such as gantry coordinate system, beam limiting device coordinate system, etc? How can I transform be…

---

## [Build Simple Functions](https://discourse.itk.org/t/build-simple-functions/5956)

<div class="topic-metadata">

**Author:** [@Oddone-Scatena](https://discourse.itk.org/u/Oddone-Scatena)\
**Replies:** 1\
**Last updated:** [May 19, 2023, 1:45pm UTC](https://discourse.itk.org/t/build-simple-functions/5956 "2023-05-19T13:45:45Z")

</div>

Hi, I would like to know what is wrong with this function: I get : thanks Segment\_Bone(typename TImage::Pointer input, typename TImage::Pointer output,double bone\_threshold\_factor\_percentage) | ^~~~~~~~~~~~ …

---

## [Registration about CT and CBCT](https://discourse.itk.org/t/registration-about-ct-and-cbct/5954)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 6\
**Last updated:** [May 19, 2023, 1:03pm UTC](https://discourse.itk.org/t/registration-about-ct-and-cbct/5954 "2023-05-19T13:03:23Z")

</div>

I have a set of CT images and CTCB images that need to be registered now, but they are not in the same physical space. How can I perform the conversion correctly? I know that CBCT has isocenter points, but CT does not. H…

---

## [how to assign value to small region in a big image?](https://discourse.itk.org/t/how-to-assign-value-to-small-region-in-a-big-image/5950)

<div class="topic-metadata">

**Author:** [@zx-lhb](https://discourse.itk.org/u/zx-lhb)\
**Replies:** 4\
**Last updated:** [May 19, 2023, 1:15am UTC](https://discourse.itk.org/t/how-to-assign-value-to-small-region-in-a-big-image/5950 "2023-05-19T01:15:17Z")

</div>

hi, i have a image buffer pointer, whose size is : \[64,64,64\], now I want to assign the buffer values to start \[0,0,64\] to end \[63,63, 127\] in a big image whose size is \[256,256,103\]. Is there any filter can do this? Th…

---

## [I would like to ask a question about the dicom image center](https://discourse.itk.org/t/i-would-like-to-ask-a-question-about-the-dicom-image-center/5955)

<div class="topic-metadata">

**Author:** [@ma1282029525](https://discourse.itk.org/u/ma1282029525)\
**Replies:** 1\
**Last updated:** [May 18, 2023, 12:47pm UTC](https://discourse.itk.org/t/i-would-like-to-ask-a-question-about-the-dicom-image-center/5955 "2023-05-18T12:47:42Z")

</div>

cbct origin\[-140, -140, -140\] cbct spacing\[0.5, 0.5, 0.5\] cbct size\[560, 560, 560\] cbct centerPoint\[-280, -280, 0\] cbct direction-1 0 0 0 -1 0 0 0 1 This is a CBCT image, and I don’t know if the information in thi…

---

## [DICOM segmentation storage](https://discourse.itk.org/t/dicom-segmentation-storage/538)

<div class="topic-metadata">

**Author:** [@Hrabalski](https://discourse.itk.org/u/Hrabalski)\
**Replies:** 16\
**Last updated:** [May 17, 2023, 1:27pm UTC](https://discourse.itk.org/t/dicom-segmentation-storage/538 "2023-05-17T13:27:06Z")

</div>

Hello, I am investigating possibility and of saving segmentations in correct format. So far I have encountered 3 options: Segmentation storage SOP class (ftp://medical.nema.org/medical/dicom/final/sup111\_ft.pdf) Segme…

---

## [Mattes Mutual Information: SimpleITK and MATLAB yield different results on rotated images](https://discourse.itk.org/t/mattes-mutual-information-simpleitk-and-matlab-yield-different-results-on-rotated-images/5948)

<div class="topic-metadata">

**Author:** [@zihangff](https://discourse.itk.org/u/zihangff)\
**Replies:** 2\
**Last updated:** [May 17, 2023, 12:11am UTC](https://discourse.itk.org/t/mattes-mutual-information-simpleitk-and-matlab-yield-different-results-on-rotated-images/5948 "2023-05-17T00:11:26Z")

</div>

Dear all, Before I get to the question this is the background: I have a registration pipeline that runs Mattes Mutual Information registration (with OnePlusOneEvolutionary as optimizer) using MATLAB and I would like to …

---

## [Transform physical point refactoring](https://discourse.itk.org/t/transform-physical-point-refactoring/5928)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 4\
**Last updated:** [May 16, 2023, 4:19pm UTC](https://discourse.itk.org/t/transform-physical-point-refactoring/5928 "2023-05-16T16:19:22Z")

</div>

I was trying to refactor Ultrasound remote module to avoid nodiscard warnings, only to end up with non-compiling code. The error messages are below. @Niels\_Dekker I assume that some recent transform physical point overlo…

---

## [Computing distance from point to first non-zero voxel in an image](https://discourse.itk.org/t/computing-distance-from-point-to-first-non-zero-voxel-in-an-image/5944)

<div class="topic-metadata">

**Author:** [@reox](https://discourse.itk.org/u/reox)\
**Replies:** 2\
**Last updated:** [May 15, 2023, 3:52pm UTC](https://discourse.itk.org/t/computing-distance-from-point-to-first-non-zero-voxel-in-an-image/5944 "2023-05-15T15:52:09Z")

</div>

Given an voxel based image, a point in physical space and a direction vector (i.e., unit vector): can I somehow compute the distance from that point to the first non-zero voxel in the image in the given direction? Ideal…

---

## [Register two binary Images of different size and resolution](https://discourse.itk.org/t/register-two-binary-images-of-different-size-and-resolution/5936)

<div class="topic-metadata">

**Author:** [@Flo\_Van\_Wickeren](https://discourse.itk.org/u/Flo_Van_Wickeren)\
**Replies:** 6\
**Last updated:** [May 14, 2023, 9:32am UTC](https://discourse.itk.org/t/register-two-binary-images-of-different-size-and-resolution/5936 "2023-05-14T09:32:01Z")

</div>

Hello everyone, I am currently working on project, where i want to register 2 images of different modality. One image is a MALDI image with a low resolution (5um). The other image is an fluorescence image of the same se…

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

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