# Latest

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

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

**Page:** 109

---

## [Patches for the ITK 4.13 Release Candidate 1](https://discourse.itk.org/t/patches-for-the-itk-4-13-release-candidate-1/477)

<div class="topic-metadata">

**Author:** [@fbudin](https://discourse.itk.org/u/fbudin)\
**Replies:** 0\
**Last updated:** [December 1, 2017, 6:20pm UTC](https://discourse.itk.org/t/patches-for-the-itk-4-13-release-candidate-1/477 "2017-12-01T18:20:38Z")

</div>

Hello fellow ITK developers, We are planning to tag ITK 4.13 Release Candidate 1 on Monday, December 4th. If there is any enhancement that you would like to see included in ITK 4.13.0, please submit your patch as soon a…

---

## [composite transform not maked as modified when using SetParameters](https://discourse.itk.org/t/composite-transform-not-maked-as-modified-when-using-setparameters/458)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 5\
**Last updated:** [December 1, 2017, 3:27pm UTC](https://discourse.itk.org/t/composite-transform-not-maked-as-modified-when-using-setparameters/458 "2017-12-01T15:27:18Z")

</div>

Dear all, I have a small and maybe silly question. I noticed that when I was changing manually the parameter of the last transform in a composite transform, the composite transform was not marked as modified. For examp…

---

## [Single transform from composition of linear transform ?](https://discourse.itk.org/t/single-transform-from-composition-of-linear-transform/464)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 3\
**Last updated:** [December 1, 2017, 3:02pm UTC](https://discourse.itk.org/t/single-transform-from-composition-of-linear-transform/464 "2017-12-01T15:02:11Z")

</div>

Dear All, I have some linear transforms that are packed into a composite transform. Is there a way of calculating a single affine transform that would be the result of the composition ? I haven’t found any function to …

---

## [4D DICOM concatenates volumes along Z](https://discourse.itk.org/t/4d-dicom-concatenates-volumes-along-z/429)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 8\
**Last updated:** [December 1, 2017, 2:55pm UTC](https://discourse.itk.org/t/4d-dicom-concatenates-volumes-along-z/429 "2017-12-01T14:55:27Z")

</div>

Hello, I feel like this question has come up before, so feel free to direct me to a mailing-list post but I couldn’t find one that fixed my issue. I also apologise in advance if any of my terminology is wrong, my DICOM …

---

## [Wrappers for ITK](https://discourse.itk.org/t/wrappers-for-itk/456)

<div class="topic-metadata">

**Author:** [@cae2017](https://discourse.itk.org/u/cae2017)\
**Replies:** 2\
**Last updated:** [December 1, 2017, 2:08pm UTC](https://discourse.itk.org/t/wrappers-for-itk/456 "2017-12-01T14:08:23Z")

</div>

Hello, while installing and setting up ITK, I saw that there are some pre-defined wrappers for some programming languages. Is there a way to install an extra package so that I can use C#? I fount ActiViz but it seems to…

---

## [GDCM Needs updating (20171120)](https://discourse.itk.org/t/gdcm-needs-updating-20171120/439)

<div class="topic-metadata">

**Author:** [@hjmjohnson](https://discourse.itk.org/u/hjmjohnson)\
**Replies:** 7\
**Last updated:** [December 1, 2017, 2:00pm UTC](https://discourse.itk.org/t/gdcm-needs-updating-20171120/439 "2017-12-01T14:00:17Z")

</div>

CMake Deprecation Warning at Modules/ThirdParty/GDCM/src/gdcm/Utilities/socketxx/CMakeLists.txt:3 (cmake\_policy): The OLD behavior for policy CMP0022 will be removed from a future version of CMake. The cmake-policies(…

---

## [Why is const\_cast used inside filters?](https://discourse.itk.org/t/why-is-const-cast-used-inside-filters/462)

<div class="topic-metadata">

**Author:** [@Besler](https://discourse.itk.org/u/Besler)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 1:51pm UTC](https://discourse.itk.org/t/why-is-const-cast-used-inside-filters/462 "2017-12-01T13:51:12Z")

</div>

The ITK Software Guide (Book 1) has an example of a creating a composition filter. In the GenerateData method, a const\_cast is used to cast a pointer to const data into a pointer to data. This is done for the input image…

---

## [IsoVolume on RGB video frames sequence volume](https://discourse.itk.org/t/isovolume-on-rgb-video-frames-sequence-volume/474)

<div class="topic-metadata">

**Author:** [@Joe\_Kozak](https://discourse.itk.org/u/Joe_Kozak)\
**Replies:** 1\
**Last updated:** [December 1, 2017, 1:27pm UTC](https://discourse.itk.org/t/isovolume-on-rgb-video-frames-sequence-volume/474 "2017-12-01T13:27:53Z")

</div>

If i load a bunch of video frame jpeg into paraview, i cant use IsoVolume, why is that. Isnt each voxel just a 3 dimentional number e.g. RGB not scalar, can I not carve out a new IsoVolume based on some threshold value o…

---

## [Watershed filter: casting issue](https://discourse.itk.org/t/watershed-filter-casting-issue/469)

<div class="topic-metadata">

**Author:** [@Bipul\_Tarafdar](https://discourse.itk.org/u/Bipul_Tarafdar)\
**Replies:** 2\
**Last updated:** [November 30, 2017, 9:28pm UTC](https://discourse.itk.org/t/watershed-filter-casting-issue/469 "2017-11-30T21:28:23Z")

</div>

Hi, Is there a way to cast the itk::WatershedImageFilter\< TInputImage \> filter to a itk::ImageToImageFilter\< TInputImage, TOutputImage \> type? where TInputImage = TOutputImage = itk::Image\<float, 3u\> All the other fil…

---

## [Where to find detailed definition/description of ITK classes?](https://discourse.itk.org/t/where-to-find-detailed-definition-description-of-itk-classes/460)

<div class="topic-metadata">

**Author:** [@HsuehWen](https://discourse.itk.org/u/HsuehWen)\
**Replies:** 3\
**Last updated:** [November 29, 2017, 4:29pm UTC](https://discourse.itk.org/t/where-to-find-detailed-definition-description-of-itk-classes/460 "2017-11-29T16:29:22Z")

</div>

Hi, I’m new to ITK and when I have questions, I usually do search on doxygen and SoftwareGuide. However, I sometimes found the information not detailed enough (at least for my curiosity :yum:). Is there any other resour…

---

## [Problem calculating oriented bounding box, itk::ShapeLabelObject](https://discourse.itk.org/t/problem-calculating-oriented-bounding-box-itk-shapelabelobject/455)

<div class="topic-metadata">

**Author:** [@Elli](https://discourse.itk.org/u/Elli)\
**Replies:** 3\
**Last updated:** [November 29, 2017, 8:43am UTC](https://discourse.itk.org/t/problem-calculating-oriented-bounding-box-itk-shapelabelobject/455 "2017-11-29T08:43:27Z")

</div>

Dear all, I need the size of the oriented bounding box of a mask. I created a shape label object and extracted already some attributes (like nr. of pixels etc), what works pretty fine. Now I wanted to get the size of …

---

## [transform center is reset to origin with composite transform during registration](https://discourse.itk.org/t/transform-center-is-reset-to-origin-with-composite-transform-during-registration/457)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 5\
**Last updated:** [November 27, 2017, 3:20pm UTC](https://discourse.itk.org/t/transform-center-is-reset-to-origin-with-composite-transform-during-registration/457 "2017-11-27T15:20:10Z")

</div>

Dear all, In my multilevel registration application, I’m using a specific initialization. So I just give parameters (scale rotation translation) + center to the transform being optimized (in place) before the registrat…

---

## [MetaImage headers, how to get them?](https://discourse.itk.org/t/metaimage-headers-how-to-get-them/453)

<div class="topic-metadata">

**Author:** [@cae2017](https://discourse.itk.org/u/cae2017)\
**Replies:** 3\
**Last updated:** [November 23, 2017, 2:57pm UTC](https://discourse.itk.org/t/metaimage-headers-how-to-get-them/453 "2017-11-23T14:57:10Z")

</div>

Hi, I’m really new working with ITK and VTK and I’d really appreciate a little help. I’m trying out the examples available online and I’ve seen that I need a \*.mha or \*.mhd file. My question is, is it possible to get th…

---

## [Return type relying on template-dependant value?](https://discourse.itk.org/t/return-type-relying-on-template-dependant-value/450)

<div class="topic-metadata">

**Author:** [@tim-evain](https://discourse.itk.org/u/tim-evain)\
**Replies:** 2\
**Last updated:** [November 22, 2017, 8:33pm UTC](https://discourse.itk.org/t/return-type-relying-on-template-dependant-value/450 "2017-11-22T20:33:45Z")

</div>

Hello everyone ! I try to create my own itk filter based on the ImageToImageFilter. Following the guideline, we could access to the run-time image dimension with TInputImage::ImageDimension or with the help of the itkSe…

---

## [ThreadPool hanging in DLLs](https://discourse.itk.org/t/threadpool-hanging-in-dlls/426)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 6\
**Last updated:** [November 22, 2017, 7:52pm UTC](https://discourse.itk.org/t/threadpool-hanging-in-dlls/426 "2017-11-22T19:52:42Z")

</div>

Johan discovered that ThreadPool causes the program to always hang on Windows if ITK is compiled as shared libraries. After trying to deal with it over the last few days, I created a MWE which does not depend on ITK and e…

---

## [Image Stamping](https://discourse.itk.org/t/image-stamping/447)

<div class="topic-metadata">

**Author:** [@NHPatterson](https://discourse.itk.org/u/NHPatterson)\
**Replies:** 1\
**Last updated:** [November 21, 2017, 8:56pm UTC](https://discourse.itk.org/t/image-stamping/447 "2017-11-21T20:56:17Z")

</div>

Hello, I am trying to do a sort of morphological filtering on an image. I am not sure how to call this sort of filter, but perhaps it is already known in ITK. Let’s suppose we have a 2000x2000 2D image, this filter woul…

---

## [More Threading issue](https://discourse.itk.org/t/more-threading-issue/438)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 7\
**Last updated:** [November 21, 2017, 6:31pm UTC](https://discourse.itk.org/t/more-threading-issue/438 "2017-11-21T18:31:23Z")

</div>

The server I am working on has 2 socket with 44 physical cores configured to run with hyper-threading. My general experience with hyper-threading is: It does not hurt the through put, and some times the feature does imp…

---

## [Neighborhood Cross Correlation](https://discourse.itk.org/t/neighborhood-cross-correlation/443)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 0\
**Last updated:** [November 21, 2017, 6:08pm UTC](https://discourse.itk.org/t/neighborhood-cross-correlation/443 "2017-11-21T18:08:58Z")

</div>

This is a function in itkANTSNeighborhoodCorrelationImageToImageMetricv4GetValueAndDerivativeThreader.hxx to compute cross correlation in a local window. I think if fabs(sFixedFixed\_sMovingMoving) \< NumericTraits\< LocalR…

---

## [ITK IO Mesh OBJ](https://discourse.itk.org/t/itk-io-mesh-obj/435)

<div class="topic-metadata">

**Author:** [@david.kuegler](https://discourse.itk.org/u/david.kuegler)\
**Replies:** 8\
**Last updated:** [November 21, 2017, 4:15pm UTC](https://discourse.itk.org/t/itk-io-mesh-obj/435 "2017-11-21T16:15:57Z")

</div>

Hi everybody, The reader is still broken (https://issues.itk.org/jira/browse/ITK-2883#comment-27666) I developed a fix for the vectornormal issue. … I just need to figure out on how to submit, since gerrit does not wo…

---

## [How to apply ITK in DirectX HLSL?](https://discourse.itk.org/t/how-to-apply-itk-in-directx-hlsl/441)

<div class="topic-metadata">

**Author:** [@J\_J](https://discourse.itk.org/u/J_J)\
**Replies:** 3\
**Last updated:** [November 21, 2017, 4:02pm UTC](https://discourse.itk.org/t/how-to-apply-itk-in-directx-hlsl/441 "2017-11-21T16:02:38Z")

</div>

Good morning, I wonder if anyone try to apply ITK to DirectX shader wth HLSL? Really appreciate any tips :slight\_smile: JJ

---

## [flipping transform in ITK](https://discourse.itk.org/t/flipping-transform-in-itk/437)

<div class="topic-metadata">

**Author:** [@asertyuio](https://discourse.itk.org/u/asertyuio)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 10:55am UTC](https://discourse.itk.org/t/flipping-transform-in-itk/437 "2017-11-21T10:55:58Z")

</div>

Hi everyone, Is there by any change a way of having a flipping, or mirroring transform ? A transform, not a filter. I have looking for it, but no match for now. As I’m working with 2D images, I’ve tried to use a 3D Eule…

---

## [Rationale for metaObject.cxx: m\_DoublePrecision = 6;](https://discourse.itk.org/t/rationale-for-metaobject-cxx-m-doubleprecision-6/305)

<div class="topic-metadata">

**Author:** [@mathieu.malaterre](https://discourse.itk.org/u/mathieu.malaterre)\
**Replies:** 2\
**Last updated:** [November 21, 2017, 8:24am UTC](https://discourse.itk.org/t/rationale-for-metaobject-cxx-m-doubleprecision-6/305 "2017-11-21T08:24:44Z")

</div>

When writing double array as meta image, one can generally see the following: $ head -15 input.mha ObjectType = Image NDims = 3 BinaryData = True BinaryDataByteOrderMSB = False CompressedData = False TransformMatrix = 1…

---

## [Hooks broken if ITK as part of a SuperProject](https://discourse.itk.org/t/hooks-broken-if-itk-as-part-of-a-superproject/434)

<div class="topic-metadata">

**Author:** [@david.kuegler](https://discourse.itk.org/u/david.kuegler)\
**Replies:** 7\
**Last updated:** [November 20, 2017, 9:30pm UTC](https://discourse.itk.org/t/hooks-broken-if-itk-as-part-of-a-superproject/434 "2017-11-20T21:30:09Z")

</div>

Hi, I tried to set ITK up as part of a superbuild and the gerrit integration does not work “at all” … This makes me reluctant on contributing (this is mostly due to the custom hooks not being properly set up). How to …

---

## [PrintSelf() for use in debugger](https://discourse.itk.org/t/printself-for-use-in-debugger/432)

<div class="topic-metadata">

**Author:** [@ihnorton](https://discourse.itk.org/u/ihnorton)\
**Replies:** 2\
**Last updated:** [November 20, 2017, 4:24pm UTC](https://discourse.itk.org/t/printself-for-use-in-debugger/432 "2017-11-20T16:24:30Z")

</div>

Please consider adding an overload to ::PrintSelf() which defaults to one of the standard output streams and does not require an ostream reference. As far as I can tell \[1, 2\], the current signature PrintSelf (std::ostr…

---

## [Automatic femur segmentation edge closing](https://discourse.itk.org/t/automatic-femur-segmentation-edge-closing/428)

<div class="topic-metadata">

**Author:** [@Pythonsegmenter](https://discourse.itk.org/u/Pythonsegmenter)\
**Replies:** 7\
**Last updated:** [November 18, 2017, 12:56am UTC](https://discourse.itk.org/t/automatic-femur-segmentation-edge-closing/428 "2017-11-18T00:56:40Z")

</div>

Hi all, I’m doing a project in which I need to automatically segment the femur. It seemed like an easy job (great difference between bone and soft tissue) but I’ve been stuck for a while. I’ve already written a basic al…

---

## [What is m\_Associate?](https://discourse.itk.org/t/what-is-m-associate/427)

<div class="topic-metadata">

**Author:** [@Ray](https://discourse.itk.org/u/Ray)\
**Replies:** 1\
**Last updated:** [November 17, 2017, 8:12pm UTC](https://discourse.itk.org/t/what-is-m-associate/427 "2017-11-17T20:12:23Z")

</div>

I’m modifying the neighborhood cross correlation metric (itkv4). There are some lines like: this -\>m\_Associate-\>GetMovingTransform() in the metric class. It looks through m\_Associate the metric can call the functions in…

---

## [Unstable iteration for registration](https://discourse.itk.org/t/unstable-iteration-for-registration/410)

<div class="topic-metadata">

**Author:** [@zhuangming.shen](https://discourse.itk.org/u/zhuangming.shen)\
**Replies:** 12\
**Last updated:** [November 17, 2017, 4:53am UTC](https://discourse.itk.org/t/unstable-iteration-for-registration/410 "2017-11-17T04:53:40Z")

</div>

Hi all, I am using itk.RegularStepGradientDescentOptimizerv4 to perform a multiresolution translation registration between two images. I ran my code in the same computation environment for the same two images at differe…

---

## [Extracting vectors from displacement field](https://discourse.itk.org/t/extracting-vectors-from-displacement-field/417)

<div class="topic-metadata">

**Author:** [@thanos](https://discourse.itk.org/u/thanos)\
**Replies:** 1\
**Last updated:** [November 16, 2017, 8:59pm UTC](https://discourse.itk.org/t/extracting-vectors-from-displacement-field/417 "2017-11-16T20:59:05Z")

</div>

Hello everyone, I am performing volume registration and so far I was using ParaView and Glyphs to visualize the deformation field (after saving it in .vtk format). I am wondering though, if there is a way to extract th…

---

## [Dashboard cleanup](https://discourse.itk.org/t/dashboard-cleanup/425)

<div class="topic-metadata">

**Author:** [@dzenanz](https://discourse.itk.org/u/dzenanz)\
**Replies:** 5\
**Last updated:** [November 15, 2017, 8:28pm UTC](https://discourse.itk.org/t/dashboard-cleanup/425 "2017-11-15T20:28:31Z")

</div>

ShapeLabelMapFixture.3D\_T2x2x2\_Spacing test has been failing for a while now. Can we fix it? @blowekamp If I remember correctly, you were the last fiddling with it. Is this still on your to-do list?

---

## [Root Mean Square Surface Distance - Mauerer Distances Map. how to calculate it?](https://discourse.itk.org/t/root-mean-square-surface-distance-mauerer-distances-map-how-to-calculate-it/424)

<div class="topic-metadata">

**Author:** [@ral\_san](https://discourse.itk.org/u/ral_san)\
**Replies:** 1\
**Last updated:** [November 15, 2017, 6:15pm UTC](https://discourse.itk.org/t/root-mean-square-surface-distance-mauerer-distances-map-how-to-calculate-it/424 "2017-11-15T18:15:19Z")

</div>

Below it’s my code for trying to calculate the symmetric root mean square distance. But I am not getting the right values. I can’t figure out where is the mistake in my approach. segmented\_surface\_mask = sitk.LabelCont…

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

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