# Latest

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

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

**Page:** 74

---

## [Convert from itk.Mesh\[itk.F,3\] to itk.Mesh\[itk.SS,3\]](https://discourse.itk.org/t/convert-from-itk-mesh-itk-f-3-to-itk-mesh-itk-ss-3/2719)

<div class="topic-metadata">

**Author:** [@EmileSonneveld](https://discourse.itk.org/u/EmileSonneveld)\
**Replies:** 3\
**Last updated:** [February 19, 2020, 1:43pm UTC](https://discourse.itk.org/t/convert-from-itk-mesh-itk-f-3-to-itk-mesh-itk-ss-3/2719 "2020-02-19T13:43:05Z")

</div>

Hi! itk.MeshFileReader and itk.TriangleMeshToBinaryImageFilter don’t share a common mesh type. So I need to load a itk.F/itk.D mesh and convert it to a itk.SS/itk.UC/itk.US mesh. Does anyone know how to do that? Prob…

---

## [ITK software guide 4.1.5 RGB Images](https://discourse.itk.org/t/itk-software-guide-4-1-5-rgb-images/2726)

<div class="topic-metadata">

**Author:** [@Nadim\_Farhat](https://discourse.itk.org/u/Nadim_Farhat)\
**Replies:** 2\
**Last updated:** [February 19, 2020, 10:52am UTC](https://discourse.itk.org/t/itk-software-guide-4-1-5-rgb-images/2726 "2020-02-19T10:52:55Z")

</div>

Hi All, I am initiating a discussion in regards to paragraph 4.1.5 RGB Images : . Please note I am not a neuroscientist but the bolded statements are not relaying the intended information " The rods, on the other hand,…

---

## [Transfer from SimpleITK to VTK](https://discourse.itk.org/t/transfer-from-simpleitk-to-vtk/2729)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 4\
**Last updated:** [February 18, 2020, 6:25pm UTC](https://discourse.itk.org/t/transfer-from-simpleitk-to-vtk/2729 "2020-02-18T18:25:17Z")

</div>

I guess I have transferred vtkImageData to SimpleITK object with code from here: https://discourse.itk.org/t/transfer-from-vtk-to-simpleitk/2717/11 After I imported data into a sitk::Image in order apply some filter. No…

---

## [How ro register CT and MRI DICOM images](https://discourse.itk.org/t/how-ro-register-ct-and-mri-dicom-images/2736)

<div class="topic-metadata">

**Author:** [@Armando](https://discourse.itk.org/u/Armando)\
**Replies:** 1\
**Last updated:** [February 18, 2020, 5:33pm UTC](https://discourse.itk.org/t/how-ro-register-ct-and-mri-dicom-images/2736 "2020-02-18T17:33:57Z")

</div>

Hi. I am trying to create a functionality for my application that is capable of register images of the CT brain with 512x512 resolution and MRI with 256x256 resolution of T1 sequences in DICOM format, and for this I hav…

---

## [Question about CMakeLists.txt](https://discourse.itk.org/t/question-about-cmakelists-txt/2732)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 3\
**Last updated:** [February 18, 2020, 1:59pm UTC](https://discourse.itk.org/t/question-about-cmakelists-txt/2732 "2020-02-18T13:59:22Z")

</div>

Currently, I can use CMakeLists.txt to build a project. Let’s say, in CMake to build the project, the path of source code is PATH, and the path of binaries is PATH/bin. Then, I want to add some myself code, for example,…

---

## [Resampling depth in 3D datasets](https://discourse.itk.org/t/resampling-depth-in-3d-datasets/2733)

<div class="topic-metadata">

**Author:** [@TanjaIvanovska](https://discourse.itk.org/u/TanjaIvanovska)\
**Replies:** 2\
**Last updated:** [February 18, 2020, 8:16am UTC](https://discourse.itk.org/t/resampling-depth-in-3d-datasets/2733 "2020-02-18T08:16:13Z")

</div>

Dear All, i want to resample a 3D dataset with original spacing (X\_o,Y\_o,Z\_o) to a new spacing, which differs from the original one only in depth (X\_o,Y\_o, Z\_new). This will result in the same spatial dimensions of imag…

---

## [ITK Training Course in Lyon, France](https://discourse.itk.org/t/itk-training-course-in-lyon-france/2735)

<div class="topic-metadata">

**Author:** [@finetjul](https://discourse.itk.org/u/finetjul)\
**Replies:** 0\
**Last updated:** [February 18, 2020, 6:30am UTC](https://discourse.itk.org/t/itk-training-course-in-lyon-france/2735 "2020-02-18T06:30:25Z")

</div>

Kitware will be holding a developer’s training course on March 19th 2020 in Lyon, France. This course will cover features of ITK : Overview/Architecture Segmentation Registration Using ITK in your applications Please…

---

## [Anisotropic Diffusion Filter - Source Code](https://discourse.itk.org/t/anisotropic-diffusion-filter-source-code/2731)

<div class="topic-metadata">

**Author:** [@michael](https://discourse.itk.org/u/michael)\
**Replies:** 1\
**Last updated:** [February 17, 2020, 3:16pm UTC](https://discourse.itk.org/t/anisotropic-diffusion-filter-source-code/2731 "2020-02-17T15:16:04Z")

</div>

Hi there! New to ITK, so it’s possible I’m missing something obvious, but I have been searching through the documentation for the GradientAnisotropicDiffusionFilter in Simple ITK and have found the descriptions of the an…

---

## [Thresholding for DICOM images](https://discourse.itk.org/t/thresholding-for-dicom-images/2704)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.itk.org/u/ShaneKirkbride)\
**Replies:** 5\
**Last updated:** [February 16, 2020, 7:27pm UTC](https://discourse.itk.org/t/thresholding-for-dicom-images/2704 "2020-02-16T19:27:34Z")

</div>

I’m trying to render an isoSurface with a series of dicom images. However I’d like to threshold this surface because some of the data isn’t good. Is there a way to threshold? In VTK I do something like this: vtkSmartP…

---

## [Transfer from VTK to SimpleITK](https://discourse.itk.org/t/transfer-from-vtk-to-simpleitk/2717)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 10\
**Last updated:** [February 14, 2020, 3:06pm UTC](https://discourse.itk.org/t/transfer-from-vtk-to-simpleitk/2717 "2020-02-14T15:06:25Z")

</div>

I come back here because I am working blind (I cannot compile SimpleITK, this is drive me crazy, because I am running out of time). And until I solve that issue (working on that by days !!! unbelievable) I am trying to w…

---

## [Calculate volume of largest and minimum ellipse around a segmentation](https://discourse.itk.org/t/calculate-volume-of-largest-and-minimum-ellipse-around-a-segmentation/2667)

<div class="topic-metadata">

**Author:** [@ral\_san](https://discourse.itk.org/u/ral_san)\
**Replies:** 6\
**Last updated:** [February 14, 2020, 2:56pm UTC](https://discourse.itk.org/t/calculate-volume-of-largest-and-minimum-ellipse-around-a-segmentation/2667 "2020-02-14T14:56:00Z")

</div>

Is there any function in SimpleITK similar to the OpenCV function FitEllipse --\> https://docs.opencv.org/3.4.9/de/d62/tutorial\_bounding\_rotated\_ellipses.html ? What I am trying to do is to calculate the volume of the la…

---

## [Determining number Of Grid Nodes](https://discourse.itk.org/t/determining-number-of-grid-nodes/2721)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.itk.org/u/ShaneKirkbride)\
**Replies:** 3\
**Last updated:** [February 14, 2020, 1:32pm UTC](https://discourse.itk.org/t/determining-number-of-grid-nodes/2721 "2020-02-14T13:32:11Z")

</div>

How is the number of grid nodes in one dimension determined? Thanks, ~Shane

---

## [Compile SimpleITK](https://discourse.itk.org/t/compile-simpleitk/2709)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 20\
**Last updated:** [February 14, 2020, 9:44am UTC](https://discourse.itk.org/t/compile-simpleitk/2709 "2020-02-14T09:44:45Z")

</div>

I want to signal a possible malfunction while compiling SimpleITK. I intend to use SimpleITK into VC++ project on windows, developing environment VS2017. If I download the source code from here: http://www.simpleitk.or…

---

## [current development SimpleITK](https://discourse.itk.org/t/current-development-simpleitk/2700)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 6\
**Last updated:** [February 14, 2020, 3:12am UTC](https://discourse.itk.org/t/current-development-simpleitk/2700 "2020-02-14T03:12:27Z")

</div>

I have a script that loads a tiff image using tifffile into numpy and converted to sitk, and apply a transform stack on the image. It works with an older version of SimpleITK but not the latest. The latest version of Si…

---

## [How to check disconnected vertices in a triangular mesh](https://discourse.itk.org/t/how-to-check-disconnected-vertices-in-a-triangular-mesh/2710)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 6\
**Last updated:** [February 13, 2020, 11:03pm UTC](https://discourse.itk.org/t/how-to-check-disconnected-vertices-in-a-triangular-mesh/2710 "2020-02-13T23:03:13Z")

</div>

Hello Everyone, I have a triangular mesh that has 1038458 polygons, 517817 points, 1557687 edges. During the simplification process, I am getting the message that there are 1092 disconnected vertices, 516725 connected v…

---

## [Transferring points to an image](https://discourse.itk.org/t/transferring-points-to-an-image/2713)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.itk.org/u/ShaneKirkbride)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 10:00pm UTC](https://discourse.itk.org/t/transferring-points-to-an-image/2713 "2020-02-12T22:00:01Z")

</div>

It seems like there are more registration methods for images rather than points. How do I take a PointType and assign it to an image? Are there any examples? Thanks, ~Shane

---

## [itkPointSetToPointSetMetricv4 and EuclideanDistancePointSetToPointSetMetricv4 Help](https://discourse.itk.org/t/itkpointsettopointsetmetricv4-and-euclideandistancepointsettopointsetmetricv4-help/2712)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.itk.org/u/ShaneKirkbride)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 7:12pm UTC](https://discourse.itk.org/t/itkpointsettopointsetmetricv4-and-euclideandistancepointsettopointsetmetricv4-help/2712 "2020-02-12T19:12:23Z")

</div>

I’m trying to set up a metric for the EuclideanDistancePointSetToPointSetMetricv4 class using MetricType = EuclideanDistancePointSetToPointSetMetricv4\<FixedPointSetType, MovingPointSetType\>; MetricType::Pointer metr…

---

## [python-itk: GPU ](https://discourse.itk.org/t/python-itk-gpu/2707)

<div class="topic-metadata">

**Author:** [@qiang-zhang-neu](https://discourse.itk.org/u/qiang-zhang-neu)\
**Replies:** 1\
**Last updated:** [February 12, 2020, 4:17pm UTC](https://discourse.itk.org/t/python-itk-gpu/2707 "2020-02-12T16:17:36Z")

</div>

I want to use GPU based itk for image registration. I compile itk from source code, and the ITK\_USE\_GPU is set to ON. The compiling is OK. The itk can be imported in python: import itk itk.Image\[itk.F, 3\] \<class ‘…

---

## [Guidance on using DisconnectPipeline for filter reuse](https://discourse.itk.org/t/guidance-on-using-disconnectpipeline-for-filter-reuse/2702)

<div class="topic-metadata">

**Author:** [@kyochujoho](https://discourse.itk.org/u/kyochujoho)\
**Replies:** 0\
**Last updated:** [February 11, 2020, 4:27am UTC](https://discourse.itk.org/t/guidance-on-using-disconnectpipeline-for-filter-reuse/2702 "2020-02-11T04:27:32Z")

</div>

Hello, I’d like to use itk.CoocurrenceTextureFeaturesImageFilter using two different parameter settings, one after the other. However I’m failing to execute the proper commands to retrieve the image of the second configu…

---

## [special characters like ñ to set the file name in itk, visual studio (windows)](https://discourse.itk.org/t/special-characters-like-n-to-set-the-file-name-in-itk-visual-studio-windows/2523)

<div class="topic-metadata">

**Author:** [@zandarina](https://discourse.itk.org/u/zandarina)\
**Replies:** 2\
**Last updated:** [February 11, 2020, 3:22am UTC](https://discourse.itk.org/t/special-characters-like-n-to-set-the-file-name-in-itk-visual-studio-windows/2523 "2020-02-11T03:22:09Z")

</div>

Hi everybody, I wonder how to deal with filenames with special characters like ñ in SetInputDirectory(std::string const &name) as when we open directories with ñ, it says that it does not exist because of these charact…

---

## [Handle errors on SimpleITK](https://discourse.itk.org/t/handle-errors-on-simpleitk/2698)

<div class="topic-metadata">

**Author:** [@flaviu2](https://discourse.itk.org/u/flaviu2)\
**Replies:** 3\
**Last updated:** [February 10, 2020, 3:41pm UTC](https://discourse.itk.org/t/handle-errors-on-simpleitk/2698 "2020-02-10T15:41:00Z")

</div>

Can you tell me how to handle possible errors when I run simpleitk code ? Here is an example: #include "sitkImage.h" #include "sitkCurvatureFlowImageFilter.h" #include "sitkConnectedThresholdImageFilter.h" #include "si…

---

## [Apply 3D mask to 4D image - itkSliceBySliceImageFilter](https://discourse.itk.org/t/apply-3d-mask-to-4d-image-itkslicebysliceimagefilter/2694)

<div class="topic-metadata">

**Author:** [@javierjuan](https://discourse.itk.org/u/javierjuan)\
**Replies:** 1\
**Last updated:** [February 10, 2020, 3:35pm UTC](https://discourse.itk.org/t/apply-3d-mask-to-4d-image-itkslicebysliceimagefilter/2694 "2020-02-10T15:35:14Z")

</div>

Hello, I am trying to mask a 4D image with a 3D mask with the itkSliceBySliceImageFilter. My piece of code is: using SliceBySliceImageFilterType = itk::SliceBySliceImageFilter\<ImageType, ImageType\>; typename SliceBySli…

---

## [VNL Errors on Windows 10](https://discourse.itk.org/t/vnl-errors-on-windows-10/2681)

<div class="topic-metadata">

**Author:** [@ShaneKirkbride](https://discourse.itk.org/u/ShaneKirkbride)\
**Replies:** 13\
**Last updated:** [February 7, 2020, 4:28pm UTC](https://discourse.itk.org/t/vnl-errors-on-windows-10/2681 "2020-02-07T16:28:59Z")

</div>

I’m trying to build ITK in Visual Studio 2019. I’m getting this error: source\\repos\\ITK\\Modules\\ThirdParty\\VNL\\src\\vxl\\core\\vnl\\vnl\_error.h(13,19): error C2144: syntax error: ‘void’ should be preceded by ‘;’ I’ve tried…

---

## [Compiler c++ version flags supported](https://discourse.itk.org/t/compiler-c-version-flags-supported/2662)

<div class="topic-metadata">

**Author:** [@ghlecl](https://discourse.itk.org/u/ghlecl)\
**Replies:** 4\
**Last updated:** [February 5, 2020, 1:43pm UTC](https://discourse.itk.org/t/compiler-c-version-flags-supported/2662 "2020-02-05T13:43:57Z")

</div>

Hello, I am trying to figure out what is supported and not supported in terms of C++ standard for library users. It might be in the doc and I might be missing something, but it is not clear to me what is and isn’t supp…

---

## [Fast 2D-2D image registration](https://discourse.itk.org/t/fast-2d-2d-image-registration/2679)

<div class="topic-metadata">

**Author:** [@tanres](https://discourse.itk.org/u/tanres)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 2:45pm UTC](https://discourse.itk.org/t/fast-2d-2d-image-registration/2679 "2020-02-04T14:45:22Z")

</div>

Hello, I am using simpleitk to register chest x rays of size 512x512. An affine registration produces a decent result and takes about 2 min on my machine. A further free-form deformation based non rigid registration take…

---

## [Incorrect Result from itk::ConnectedComponentImageFilter](https://discourse.itk.org/t/incorrect-result-from-itk-connectedcomponentimagefilter/2676)

<div class="topic-metadata">

**Author:** [@DVigneault](https://discourse.itk.org/u/DVigneault)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 4:36am UTC](https://discourse.itk.org/t/incorrect-result-from-itk-connectedcomponentimagefilter/2676 "2020-02-04T04:36:42Z")

</div>

All– I’ve encountered what I believe to be a bug in the behavior of itk::ConnectedComponentImageFilter. In the below example, I create a 2x2x2 “Checkerboard” image, where there are 4 foreground pixels, none of which sh…

---

## [Region outside of buffered region](https://discourse.itk.org/t/region-outside-of-buffered-region/2677)

<div class="topic-metadata">

**Author:** [@spic](https://discourse.itk.org/u/spic)\
**Replies:** 0\
**Last updated:** [February 3, 2020, 5:19pm UTC](https://discourse.itk.org/t/region-outside-of-buffered-region/2677 "2020-02-03T17:19:55Z")

</div>

I am trying to write a Filter which labels an input image in a specific manner. To do this I extended ImageToImageFilter Class like so : template\< typename TInputImage, typename TOutputImage=TInputImage\> class ITK\_TEMP…

---

## [sitk dev install without building](https://discourse.itk.org/t/sitk-dev-install-without-building/2672)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 5\
**Last updated:** [February 3, 2020, 3:23pm UTC](https://discourse.itk.org/t/sitk-dev-install-without-building/2672 "2020-02-03T15:23:47Z")

</div>

It looks like the dev conda packages are out of date, is building SimpleITK from source the best best towards getting the latest sitk developments or is there a easier way? it also looks like cdash only does nightly on …

---

## [ITK python SyN registration](https://discourse.itk.org/t/itk-python-syn-registration/2675)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.itk.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [February 3, 2020, 1:52pm UTC](https://discourse.itk.org/t/itk-python-syn-registration/2675 "2020-02-03T13:52:04Z")

</div>

Could somebody provide an example for SyN registration method by ITK-python? I don’t know how to use this algorithm. In addition, I have compile python-ITK for GPU version, but I also cannot find an example to use GUP i…

---

## [Add possibility to control TBB region splitter](https://discourse.itk.org/t/add-possibility-to-control-tbb-region-splitter/2666)

<div class="topic-metadata">

**Author:** [@illia.kramarenko](https://discourse.itk.org/u/illia.kramarenko)\
**Replies:** 6\
**Last updated:** [February 1, 2020, 4:08pm UTC](https://discourse.itk.org/t/add-possibility-to-control-tbb-region-splitter/2666 "2020-02-01T16:08:40Z")

</div>

Hi, In the ITK 5.0 you’ve added new multithreading approach using the TBB library. Now it’s possible to parallelize work on a pixel level. My question is in following - how can I force TBB splitter to stop on slice leve…

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

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