# Uncategorized

**URL:** https://discourse.itk.org/c/uncategorized/1.md?no_subcategories=false&page=11

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

**Page:** 12

---

## [vtkSmartPointer\<CMyClass\> does not compile](https://discourse.itk.org/t/vtksmartpointer-cmyclass-does-not-compile/2557)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 3\
**Last updated:** [December 20, 2019, 6:22pm UTC](https://discourse.itk.org/t/vtksmartpointer-cmyclass-does-not-compile/2557 "2019-12-20T18:22:41Z")

</div>

Hi, I would like to pass a regular c++ class to my vtkSmartPointer object, obviously I have difficulty to compile it! What I did I drived it from vtkObject class: class vtkFile : public vtkObject { private: std\>\>vec…

---

## [How to draw a circle or plane on an existing 3d image?](https://discourse.itk.org/t/how-to-draw-a-circle-or-plane-on-an-existing-3d-image/2550)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 3\
**Last updated:** [December 20, 2019, 1:05am UTC](https://discourse.itk.org/t/how-to-draw-a-circle-or-plane-on-an-existing-3d-image/2550 "2019-12-20T01:05:38Z")

</div>

I want to draw a plane(say I have the plane equation) on a 3d image. Is there any option to do so in ITK snap or slicer? If not what could be the approach through ITK?

---

## [How to get the intensity values at different pixel locations in DICOM image?](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519)

<div class="topic-metadata">

**Author:** [@Pooja\_Virkar](https://discourse.itk.org/u/Pooja_Virkar)\
**Replies:** 2\
**Last updated:** [December 13, 2019, 8:58am UTC](https://discourse.itk.org/t/how-to-get-the-intensity-values-at-different-pixel-locations-in-dicom-image/2519 "2019-12-13T08:58:03Z")

</div>

Hello, I am using ITK and VTK for liver segmentation purpose. But my segmentation algorithm needs seed point which I have to select from DICOM images. Firstly, I was using 3D slicer to take seed point positions. But Now…

---

## [what are the command line arguments to run FirstReconstruction.exe](https://discourse.itk.org/t/what-are-the-command-line-arguments-to-run-firstreconstruction-exe/2482)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 1\
**Last updated:** [December 9, 2019, 1:29pm UTC](https://discourse.itk.org/t/what-are-the-command-line-arguments-to-run-firstreconstruction-exe/2482 "2019-12-09T13:29:52Z")

</div>

Hi, thanks for the help it worked. I have been struggling with the file format for example firstReconstruction in rtf examples. I managed to build it. it seems that I have to run it as follows: FirstReconstruction.exe…

---

## [RTK installation problem any help appreciated](https://discourse.itk.org/t/rtk-installation-problem-any-help-appreciated/2481)

<div class="topic-metadata">

**Author:** [@sag](https://discourse.itk.org/u/sag)\
**Replies:** 9\
**Last updated:** [December 8, 2019, 9:13pm UTC](https://discourse.itk.org/t/rtk-installation-problem-any-help-appreciated/2481 "2019-12-08T21:13:10Z")

</div>

Hi, Firstly thank you for the help! I did download the RTK, then I separately from ITK tried to build the RTK source code but failed with different configuration errors in CMake before generate and build it in vs2017…

---

## [Eigen Configuration Error with SimpleITK Packaging](https://discourse.itk.org/t/eigen-configuration-error-with-simpleitk-packaging/2468)

<div class="topic-metadata">

**Author:** [@blowekamp](https://discourse.itk.org/u/blowekamp)\
**Replies:** 2\
**Last updated:** [December 3, 2019, 5:48pm UTC](https://discourse.itk.org/t/eigen-configuration-error-with-simpleitk-packaging/2468 "2019-12-03T17:48:40Z")

</div>

I am working on getting SimpleITK packaging working with ITKv5. I have enchanted the following unusual error during ITK configuration: CMake Error at Modules/ThirdParty/Eigen3/src/itkeigen/CMakeLists.txt:124 (message): …

---

## [Writing into file from CommandIterationUpdate](https://discourse.itk.org/t/writing-into-file-from-commanditerationupdate/2467)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 4\
**Last updated:** [December 3, 2019, 3:08pm UTC](https://discourse.itk.org/t/writing-into-file-from-commanditerationupdate/2467 "2019-12-03T15:08:10Z")

</div>

Hey Guys, I am running ITK registration examples V4 (ImageRegistration4.cpp and the other on a roll), and I have a question: How can I write the outputs in theCommandIterationUpdate class at each iteration step into a t…

---

## [registration metric for rgb image](https://discourse.itk.org/t/registration-metric-for-rgb-image/2439)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 4\
**Last updated:** [December 2, 2019, 7:40pm UTC](https://discourse.itk.org/t/registration-metric-for-rgb-image/2439 "2019-12-02T19:40:27Z")

</div>

How can you evaluate a registration metric for an rgb image. the way I have done is by decomposing each channel and evaluating each one, but then I have three different metric values. how are those three metrics relate…

---

## [ITK Data for examples](https://discourse.itk.org/t/itk-data-for-examples/2466)

<div class="topic-metadata">

**Author:** [@machadoL](https://discourse.itk.org/u/machadoL)\
**Replies:** 2\
**Last updated:** [December 2, 2019, 7:38pm UTC](https://discourse.itk.org/t/itk-data-for-examples/2466 "2019-12-02T19:38:47Z")

</div>

Guys, I am trying to reproduce the ITK example ImageRegistration8.cxx in the examples folder. This example uses the following files: brainweb1e1a10f20.mha and brainweb1e1a10f20Rot10Tx15.mha. Although, when I look into…

---

## [Any viewer like slicer or itk snap to view images with ".scn" extension?](https://discourse.itk.org/t/any-viewer-like-slicer-or-itk-snap-to-view-images-with-scn-extension/2465)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 0\
**Last updated:** [December 2, 2019, 6:06am UTC](https://discourse.itk.org/t/any-viewer-like-slicer-or-itk-snap-to-view-images-with-scn-extension/2465 "2019-12-02T06:06:59Z")

</div>

I need to write the output into analyse 7.5 format. I know about .hdr and .nii . What is this .scvn format and how to view it? Is there any way to link it with ITK?

---

## [Resample a vector image with transform](https://discourse.itk.org/t/resample-a-vector-image-with-transform/2438)

<div class="topic-metadata">

**Author:** [@kayarre](https://discourse.itk.org/u/kayarre)\
**Replies:** 4\
**Last updated:** [November 25, 2019, 6:00pm UTC](https://discourse.itk.org/t/resample-a-vector-image-with-transform/2438 "2019-11-25T18:00:32Z")

</div>

I understand how to resample a single channel image, but am having trouble figuring out how to to do it with a rgb image. I am creating and image from a numpy array, reading it in like: f\_sitk = sitk.GetImageFromArray(…

---

## [Memory leaks istanziating itkImageFileReader in MFC](https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388)

<div class="topic-metadata">

**Author:** [@Lorenzo1980](https://discourse.itk.org/u/Lorenzo1980)\
**Replies:** 24\
**Last updated:** [November 20, 2019, 3:19pm UTC](https://discourse.itk.org/t/memory-leaks-istanziating-itkimagefilereader-in-mfc/2388 "2019-11-20T15:19:11Z")

</div>

Hi, I have implemented an MFC application using VS2015 and ITK 5.0.1. I don’t understand why just istanziating an itkImageFileReader object I get some 8 bytes memory leaks. Can anyone help me? Thanks in advance, Lor…

---

## [Find all available modules from GroupIO](https://discourse.itk.org/t/find-all-available-modules-from-groupio/351)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 16\
**Last updated:** [November 20, 2019, 6:45am UTC](https://discourse.itk.org/t/find-all-available-modules-from-groupio/351 "2019-11-20T06:45:09Z")

</div>

Is it possible to use any installed/available modules from Group IO without specifying particular Modules: IOTIFF, etc? Something like: find\_package(ITK COMPONENTS ITKExternalModule ITKGroupIO ...) Right now I am using…

---

## [itk v5.0: dynamic cast in itkMacro.h fails on MacOs](https://discourse.itk.org/t/itk-v5-0-dynamic-cast-in-itkmacro-h-fails-on-macos/2392)

<div class="topic-metadata">

**Author:** [@dyoll](https://discourse.itk.org/u/dyoll)\
**Replies:** 9\
**Last updated:** [November 11, 2019, 2:49pm UTC](https://discourse.itk.org/t/itk-v5-0-dynamic-cast-in-itkmacro-h-fails-on-macos/2392 "2019-11-11T14:49:00Z")

</div>

Hi I built ITK on my mac with default options (BUILD\_SHARED\_LIBS=ON). compiler is : Apple clang version 11.0.0 (clang-1100.0.33.12) I build my application(s) with: SET(CMAKE\_CXX\_STANDARD 11) SET(CMAKE\_CXX\_STANDARD\_R…

---

## [How to save 3D image volume data in .inr file format ?](https://discourse.itk.org/t/how-to-save-3d-image-volume-data-in-inr-file-format/2368)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 1:50pm UTC](https://discourse.itk.org/t/how-to-save-3d-image-volume-data-in-inr-file-format/2368 "2019-11-04T13:50:18Z")

</div>

Hi, How can I save 3D volume as .inr file format or convert mha/nifti file format to .inr format? Regards Shrabani Ghosh

---

## [Fuse (blend) two 2D images to RGB image in SimpleITK](https://discourse.itk.org/t/fuse-blend-two-2d-images-to-rgb-image-in-simpleitk/1920)

<div class="topic-metadata">

**Author:** [@ibr](https://discourse.itk.org/u/ibr)\
**Replies:** 9\
**Last updated:** [October 25, 2019, 7:34pm UTC](https://discourse.itk.org/t/fuse-blend-two-2d-images-to-rgb-image-in-simpleitk/1920 "2019-10-25T19:34:38Z")

</div>

Dear all, I am trying to write a python code that extracts specific 2D slices from a 3D image and its segmentation then generates RGB image that shows both image and its segmentation in the extracted slice. So far ever…

---

## [Is that possible to convert triangular mesh to simplex mesh?](https://discourse.itk.org/t/is-that-possible-to-convert-triangular-mesh-to-simplex-mesh/2129)

<div class="topic-metadata">

**Author:** [@srbn.ghosh89](https://discourse.itk.org/u/srbn.ghosh89)\
**Replies:** 2\
**Last updated:** [August 7, 2019, 5:41pm UTC](https://discourse.itk.org/t/is-that-possible-to-convert-triangular-mesh-to-simplex-mesh/2129 "2019-08-07T17:41:17Z")

</div>

I want to convert a simplex mesh to triangular mesh on which I can apply some triangular mesh simplification using cgal because simplex mesh simplification is a bit difficult. Is there any example which converts from si…

---

## [Affine Registration 3D for beginner](https://discourse.itk.org/t/affine-registration-3d-for-beginner/2337)

<div class="topic-metadata">

**Author:** [@banikr](https://discourse.itk.org/u/banikr)\
**Replies:** 6\
**Last updated:** [October 21, 2019, 9:33pm UTC](https://discourse.itk.org/t/affine-registration-3d-for-beginner/2337 "2019-10-21T21:33:19Z")

</div>

Hello All, I have 21 3D MR brain images… as a format …/MPRAGE\_copy/KKI-2009-01-MPRAGE.nii for one image in MPRAGE\_copy folder… Out of the 21 images I would like to use the first image as fixed image and register the r…

---

## [BinaryMorphologycalOpeningImageFilter, does not name a template type?](https://discourse.itk.org/t/binarymorphologycalopeningimagefilter-does-not-name-a-template-type/2339)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 1\
**Last updated:** [October 21, 2019, 4:01pm UTC](https://discourse.itk.org/t/binarymorphologycalopeningimagefilter-does-not-name-a-template-type/2339 "2019-10-21T16:01:47Z")

</div>

Hi everyone, I run my code about the Morphology algorithm. And I get an error: /home/ITK\_Codes/itkMaskToMesh.hxx:238:18: error: ‘BinaryMorphologycalOpeningImageFilter’ in namespace ‘itk’ does not name a template type …

---

## [Big tiff problem again.](https://discourse.itk.org/t/big-tiff-problem-again/2329)

<div class="topic-metadata">

**Author:** [@Gib](https://discourse.itk.org/u/Gib)\
**Replies:** 12\
**Last updated:** [October 18, 2019, 11:32pm UTC](https://discourse.itk.org/t/big-tiff-problem-again/2329 "2019-10-18T23:32:00Z")

</div>

I am again encountering problems working with a tiff \> 2GB. (I inquired about a similar problem previously, and three of my posts were removed for being ads or promotional - it doesn’t make any sense to me.) I have use…

---

## [VectorResampleImageFilter on ITK5.0.1.](https://discourse.itk.org/t/vectorresampleimagefilter-on-itk5-0-1/2308)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 8\
**Last updated:** [October 10, 2019, 2:36pm UTC](https://discourse.itk.org/t/vectorresampleimagefilter-on-itk5-0-1/2308 "2019-10-10T14:36:21Z")

</div>

Hi everyone! I used VectorResampleImageFilter to resample vector images by ITK 4.12. And It isn’t working by ITK5.0.1. I’m trying with ResampleImageFilter to resample vector images. And I got error like that: Deformab…

---

## [What is an Axial brain CT scan ?](https://discourse.itk.org/t/what-is-an-axial-brain-ct-scan/2303)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 1\
**Last updated:** [October 7, 2019, 6:19pm UTC](https://discourse.itk.org/t/what-is-an-axial-brain-ct-scan/2303 "2019-10-07T18:19:08Z")

</div>

What is an Axial brain CT scan? Isn’t that the 3D CT image? I’m working with on the MevisLab to extract the midsagittal plane of the brain. The module says the input image must be transversal. What does it exactly mean? …

---

## [Override not work? (itk5)](https://discourse.itk.org/t/override-not-work-itk5/2268)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 4\
**Last updated:** [September 28, 2019, 4:33pm UTC](https://discourse.itk.org/t/override-not-work-itk5/2268 "2019-09-28T16:33:09Z")

</div>

Hi everyone! I’m trying to run my code by ITK newest version 5. But I got this error. Can you help me fix it? /home/itkReadParameters.h: In instantiation of ‘class itk::RegistrationParameters\<3\>’: /home/DeformableRegis…

---

## [Where is CreateNewExample.py for ITKExamples](https://discourse.itk.org/t/where-is-createnewexample-py-for-itkexamples/2269)

<div class="topic-metadata">

**Author:** [@hina-shah](https://discourse.itk.org/u/hina-shah)\
**Replies:** 4\
**Last updated:** [September 28, 2019, 2:32am UTC](https://discourse.itk.org/t/where-is-createnewexample-py-for-itkexamples/2269 "2019-09-28T02:32:03Z")

</div>

I built ITKExamples against an existing ITK 5.1beta1 build. But I cannot find the CreateNewExample.py in the ITExamples build directory (or source for that matter). Has it moved somewhere else? Or did I just mess up some…

---

## [Two 2D/3D image registration](https://discourse.itk.org/t/two-2d-3d-image-registration/1771)

<div class="topic-metadata">

**Author:** [@Mary1](https://discourse.itk.org/u/Mary1)\
**Replies:** 3\
**Last updated:** [September 27, 2019, 4:06am UTC](https://discourse.itk.org/t/two-2d-3d-image-registration/1771 "2019-09-27T04:06:15Z")

</div>

Hi everyone, How can i use ITK framework to register two 2D- fixed images to one 3D moving image? I tried to edit the source code of itk “itkimageregistration.hxx” and “itkimage registration.h” by adding another fixe…

---

## [Error in CropImageFilter example](https://discourse.itk.org/t/error-in-cropimagefilter-example/2264)

<div class="topic-metadata">

**Author:** [@Alessandro\_Pilleri](https://discourse.itk.org/u/Alessandro_Pilleri)\
**Replies:** 1\
**Last updated:** [September 25, 2019, 3:04pm UTC](https://discourse.itk.org/t/error-in-cropimagefilter-example/2264 "2019-09-25T15:04:44Z")

</div>

Hello everybody, I was adapting this example to my project: https://itk.org/Doxygen/html/WikiExamples\_2ImageProcessing\_2CropImageFilter\_8cxx-example.html But I think that it is wrong within this statement // The SetBo…

---

## [Is it possible to use itk::OrientImageFilter on a 4D image](https://discourse.itk.org/t/is-it-possible-to-use-itk-orientimagefilter-on-a-4d-image/2253)

<div class="topic-metadata">

**Author:** [@sarthakpati](https://discourse.itk.org/u/sarthakpati)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 4:24pm UTC](https://discourse.itk.org/t/is-it-possible-to-use-itk-orientimagefilter-on-a-4d-image/2253 "2019-09-20T16:24:10Z")

</div>

Hey, I figured I’d ask here because I wasn’t able to find the answer anywhere else: Is it possible to use the itk::OrientImageFilter filter for a 4D (perfusion) image? Thanks, Sarthak

---

## [itkVectorResampleImageFilter not working on ITK 5.0.1?](https://discourse.itk.org/t/itkvectorresampleimagefilter-not-working-on-itk-5-0-1/2249)

<div class="topic-metadata">

**Author:** [@hothao](https://discourse.itk.org/u/hothao)\
**Replies:** 2\
**Last updated:** [September 20, 2019, 12:25am UTC](https://discourse.itk.org/t/itkvectorresampleimagefilter-not-working-on-itk-5-0-1/2249 "2019-09-20T00:25:51Z")

</div>

Hi everyone! I update to ITK 5.0.1. I am trying running an example of BSplibe registration. and it has a error: #include “itkVectorResampleImageFilter.h”: No such file or directory. I noticed it is no longer in use. …

---

## [Error in reading input image information in Demons Registration at ImageIO](https://discourse.itk.org/t/error-in-reading-input-image-information-in-demons-registration-at-imageio/2247)

<div class="topic-metadata">

**Author:** [@EE18D504\_SINDHURA\_C](https://discourse.itk.org/u/EE18D504_SINDHURA_C)\
**Replies:** 2\
**Last updated:** [September 19, 2019, 8:33am UTC](https://discourse.itk.org/t/error-in-reading-input-image-information-in-demons-registration-at-imageio/2247 "2019-09-19T08:33:07Z")

</div>

can someone tell me why it is unable to read memory? I have given the pixel type as float and my image is also in float data type.

---

## [Draft pull requests in github!](https://discourse.itk.org/t/draft-pull-requests-in-github/1651)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 1\
**Last updated:** [September 18, 2019, 5:36pm UTC](https://discourse.itk.org/t/draft-pull-requests-in-github/1651 "2019-09-18T17:36:26Z")

</div>

This look nice, no more WIP in the commit headers!? And for hub users, it seems Github API is not yet exposing the option to set the draft, so we might need to wait a little bit.

[Previous page](https://discourse.itk.org/c/uncategorized/1.md?no_subcategories=false&page=10)

[Next page](https://discourse.itk.org/c/uncategorized/1.md?no_subcategories=false&page=12)
