# Beginner Questions

**URL:** https://discourse.itk.org/c/beginner-questions/9.md?no_subcategories=false&page=38

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

**Page:** 39

---

## [install issues](https://discourse.itk.org/t/install-issues/1416)

<div class="topic-metadata">

**Author:** [@hongliang-zu](https://discourse.itk.org/u/hongliang-zu)\
**Replies:** 3\
**Last updated:** [November 16, 2018, 6:39am UTC](https://discourse.itk.org/t/install-issues/1416 "2018-11-16T06:39:48Z")

</div>

I installed itk on a new computer ,and system is win10. question: CMake Error at CMakeLists. TXT :28 (project): Failed to run MSBuild command: C: / Program Files (x86)/MSBuild / 14.0 / bin/MSBuild. Exe To get the va…

---

## [CI scripts and Dockerfiles of ITKContinuousIntegration](https://discourse.itk.org/t/ci-scripts-and-dockerfiles-of-itkcontinuousintegration/1413)

<div class="topic-metadata">

**Author:** [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Replies:** 4\
**Last updated:** [November 14, 2018, 7:38pm UTC](https://discourse.itk.org/t/ci-scripts-and-dockerfiles-of-itkcontinuousintegration/1413 "2018-11-14T19:38:58Z")

</div>

I see that to build windows CI ITK uses this docker image: https://hub.docker.com/r/insighttoolkit/vs2017/ Where can I find the associated Dockerfile? Thanks!

---

## [python question](https://discourse.itk.org/t/python-question/1411)

<div class="topic-metadata">

**Author:** [@wangfeng](https://discourse.itk.org/u/wangfeng)\
**Replies:** 2\
**Last updated:** [November 13, 2018, 1:57am UTC](https://discourse.itk.org/t/python-question/1411 "2018-11-13T01:57:16Z")

</div>

I have a C++ example,but I can not run this in Python. Help me ,please ! \[C++\] … … typedef RegistrationType::ParametersType ParametersType; ParametersType initialParameters( transform-\>GetNumberOfParameters() ); in…

---

## [Convert coordinates](https://discourse.itk.org/t/convert-coordinates/1402)

<div class="topic-metadata">

**Author:** [@kjwjj627](https://discourse.itk.org/u/kjwjj627)\
**Replies:** 2\
**Last updated:** [November 7, 2018, 6:59pm UTC](https://discourse.itk.org/t/convert-coordinates/1402 "2018-11-07T18:59:22Z")

</div>

Hello all! I am a beginner to learn ITK. I want to know how do I convert image coordinates into world coordinates. For example, I have a coordinate, (-57.81263, -0.0006029, -529.4), and I want to express this coordinat…

---

## [Set start index to zeros after padImageFilter](https://discourse.itk.org/t/set-start-index-to-zeros-after-padimagefilter/1392)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 5\
**Last updated:** [November 2, 2018, 2:46pm UTC](https://discourse.itk.org/t/set-start-index-to-zeros-after-padimagefilter/1392 "2018-11-02T14:46:32Z")

</div>

Hello, What’s the best way to set the start index (of the largest possible region) of the padImageFilter output image to zeros? I do not allow negative indices in my application, but am noticing that the start index of…

---

## [SimpleITK fail to use ImageJ as external image viewer](https://discourse.itk.org/t/simpleitk-fail-to-use-imagej-as-external-image-viewer/1375)

<div class="topic-metadata">

**Author:** [@Max135972](https://discourse.itk.org/u/Max135972)\
**Replies:** 5\
**Last updated:** [October 28, 2018, 8:18pm UTC](https://discourse.itk.org/t/simpleitk-fail-to-use-imagej-as-external-image-viewer/1375 "2018-10-28T20:18:12Z")

</div>

System environment: Windows 10 64-bit Python 3.6.5 (Anaconda 64-bit) SimpleITK 1.1.0 ImageJ 1.52a I am just start to use the python tutorial with the pyrhon launch binder project. But it did not work as I expected af…

---

## [ModuleNotFoundError: No module named 'downloaddata'](https://discourse.itk.org/t/modulenotfounderror-no-module-named-downloaddata/1376)

<div class="topic-metadata">

**Author:** [@Max135972](https://discourse.itk.org/u/Max135972)\
**Replies:** 3\
**Last updated:** [October 28, 2018, 2:54pm UTC](https://discourse.itk.org/t/modulenotfounderror-no-module-named-downloaddata/1376 "2018-10-28T14:54:58Z")

</div>

System environment: Windows 10 64-bit Python 3.6.5 (Anaconda 64-bit) SimpleITK 1.1.0 ImageJ 1.52a I try to import such module in python: from downloaddata import fetch\_data as fdata But it returns me: ModuleNotFo…

---

## [ConnectedComponentImageFilter doc](https://discourse.itk.org/t/connectedcomponentimagefilter-doc/1368)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 5\
**Last updated:** [October 24, 2018, 10:44pm UTC](https://discourse.itk.org/t/connectedcomponentimagefilter-doc/1368 "2018-10-24T22:44:49Z")

</div>

Hello, The documentation for ConnectedComponentImageFilter: https://itk.org/Doxygen/html/classitk\_1\_1ConnectedComponentImageFilter.html states that “The final object labels start with 1 and are consecutive”, but I’m n…

---

## [jpg2000](https://discourse.itk.org/t/jpg2000/1345)

<div class="topic-metadata">

**Author:** [@ludicludo](https://discourse.itk.org/u/ludicludo)\
**Replies:** 27\
**Last updated:** [October 22, 2018, 1:56pm UTC](https://discourse.itk.org/t/jpg2000/1345 "2018-10-22T13:56:01Z")

</div>

Hi everyone, I would like to process histological images with simpleITK or ITK saved as jpg2000 format. It seems that simpleITK doesn’t handle this format. Is it possible to register this specific format in simpleITK o…

---

## [Clarifying General Syntax When SimpleITK Documentation](https://discourse.itk.org/t/clarifying-general-syntax-when-simpleitk-documentation/1357)

<div class="topic-metadata">

**Author:** [@bsmarine](https://discourse.itk.org/u/bsmarine)\
**Replies:** 1\
**Last updated:** [October 16, 2018, 2:30pm UTC](https://discourse.itk.org/t/clarifying-general-syntax-when-simpleitk-documentation/1357 "2018-10-16T14:30:03Z")

</div>

Hi All, With most SimpleITK modules the expected syntax is intuitive. But as a beginner I get occasionally stumped. For example, below I’m trying to load the SetChangeMap parameter for ChangeLabelLabelMapFilter but am n…

---

## [DVFs interpolation by BSpline](https://discourse.itk.org/t/dvfs-interpolation-by-bspline/1325)

<div class="topic-metadata">

**Author:** [@kjwjj627](https://discourse.itk.org/u/kjwjj627)\
**Replies:** 7\
**Last updated:** [October 8, 2018, 3:59pm UTC](https://discourse.itk.org/t/dvfs-interpolation-by-bspline/1325 "2018-10-08T15:59:31Z")

</div>

Hi, ITK users I really really need your help, please help me… I am trying to do BSpline interpolation of DVFs obtained by image registrations of 10 images. I’m trying to modify the BSplineScatteredDataPointSetToImage…

---

## [New metric for registration](https://discourse.itk.org/t/new-metric-for-registration/1338)

<div class="topic-metadata">

**Author:** [@sz20b5](https://discourse.itk.org/u/sz20b5)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 1:59pm UTC](https://discourse.itk.org/t/new-metric-for-registration/1338 "2018-10-08T13:59:01Z")

</div>

Hello, my question is that how can I use/implement a new metric for registration in ITK if that metric is currently not available? thanks, Jim

---

## [Simple image registration](https://discourse.itk.org/t/simple-image-registration/615)

<div class="topic-metadata">

**Author:** [@ankita](https://discourse.itk.org/u/ankita)\
**Replies:** 37\
**Last updated:** [October 8, 2018, 1:52pm UTC](https://discourse.itk.org/t/simple-image-registration/615 "2018-10-08T13:52:12Z")

</div>

Sir, I have 2 images of crop field taken in one year gap interval. I want to detect how much change has occurred in the crop height wise and width wise automatically through ITK. Firstly, I want to do registration of th…

---

## [NSIS\_EXECUTABLE-NOT FOUND](https://discourse.itk.org/t/nsis-executable-not-found/1021)

<div class="topic-metadata">

**Author:** [@h\_moradmand](https://discourse.itk.org/u/h_moradmand)\
**Replies:** 9\
**Last updated:** [October 6, 2018, 2:33pm UTC](https://discourse.itk.org/t/nsis-executable-not-found/1021 "2018-10-06T14:33:05Z")

</div>

Hi, I am a beginner to ITK, now I am installing ITK(4.13) in Windows 10 and also 7. I did exactly the same as mentioned in the ITK manual instruction. The configuration was done and ITK was generated. But I faced som…

---

## [Using LabelMap in Python](https://discourse.itk.org/t/using-labelmap-in-python/1330)

<div class="topic-metadata">

**Author:** [@vincitygialam](https://discourse.itk.org/u/vincitygialam)\
**Replies:** 0\
**Last updated:** [October 4, 2018, 1:03pm UTC](https://discourse.itk.org/t/using-labelmap-in-python/1330 "2018-10-04T13:03:43Z")

</div>

This post show how to find types that are available in Python for a specific ITK filter and in the case of itk.LabelMap, who to instantiate an object of the desired type. The Python wrapping does not provide the impleme…

---

## [Need to specify parameters of affine transform as part of registration process?](https://discourse.itk.org/t/need-to-specify-parameters-of-affine-transform-as-part-of-registration-process/1322)

<div class="topic-metadata">

**Author:** [@mliljeroth](https://discourse.itk.org/u/mliljeroth)\
**Replies:** 0\
**Last updated:** [October 3, 2018, 6:09am UTC](https://discourse.itk.org/t/need-to-specify-parameters-of-affine-transform-as-part-of-registration-process/1322 "2018-10-03T06:09:26Z")

</div>

Hi. This is a question without any code. Looking at the documentation it seems like you would have to specify the translation, rotation and shearing you would like to do for a composite affine transformation as part of …

---

## [Error in ITK compilation with wingw32-make](https://discourse.itk.org/t/error-in-itk-compilation-with-wingw32-make/1122)

<div class="topic-metadata">

**Author:** [@Armando](https://discourse.itk.org/u/Armando)\
**Replies:** 5\
**Last updated:** [September 16, 2018, 3:18pm UTC](https://discourse.itk.org/t/error-in-itk-compilation-with-wingw32-make/1122 "2018-09-16T15:18:13Z")

</div>

Hi. I want to create an application to read and process DICOM image files. I want to use ITK + VTK + Qt. I have not any problem with Configure and Generate ITK with CMake. When I start to compile ITK bin files after …

---

## [Deformable 3D triangular mesh in ITK](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274)

<div class="topic-metadata">

**Author:** [@Dew](https://discourse.itk.org/u/Dew)\
**Replies:** 4\
**Last updated:** [September 13, 2018, 2:23am UTC](https://discourse.itk.org/t/deformable-3d-triangular-mesh-in-itk/1274 "2018-09-13T02:23:15Z")

</div>

Hi, everyone~. I am a freshman of ITK. In my work, I would like to deform the triangular mesh to segment the 3D images. At first, I notice the DeformableSimplexMesh3DFilter, yet the input of this filter seems to be a p…

---

## [thresholding a mask](https://discourse.itk.org/t/thresholding-a-mask/1270)

<div class="topic-metadata">

**Author:** [@tia](https://discourse.itk.org/u/tia)\
**Replies:** 2\
**Last updated:** [September 11, 2018, 5:52pm UTC](https://discourse.itk.org/t/thresholding-a-mask/1270 "2018-09-11T17:52:21Z")

</div>

Hello! I have a mask corresponding to an image patch and I would like to further modify the mask to exclude from the mask all voxels that correspond to image voxels outside a range of intensities. What is the best way t…

---

## [Create a 4D image with python bindings](https://discourse.itk.org/t/create-a-4d-image-with-python-bindings/1230)

<div class="topic-metadata">

**Author:** [@nicoco](https://discourse.itk.org/u/nicoco)\
**Replies:** 3\
**Last updated:** [September 7, 2018, 4:19pm UTC](https://discourse.itk.org/t/create-a-4d-image-with-python-bindings/1230 "2018-09-07T16:19:42Z")

</div>

Hello everybody, I have a 4D numpy array and would like to write it as a 4D non-vector MHA image. Unfortunately, GetImageFromArray apparently cannot do that. I can edit the file header manually after writing to disk; it…

---

## [Resample 3D images](https://discourse.itk.org/t/resample-3d-images/1258)

<div class="topic-metadata">

**Author:** [@Athius](https://discourse.itk.org/u/Athius)\
**Replies:** 7\
**Last updated:** [September 6, 2018, 7:13pm UTC](https://discourse.itk.org/t/resample-3d-images/1258 "2018-09-06T19:13:27Z")

</div>

Hello everyone, I try to resample (resize) 3d images with dimensions \[171, 127, 411\] to \[256, 256, 411\]. For this, I tried to use itk::ResampleImageFilter but with no success: either I have an my previous image and som…

---

## [LazyITKModule error](https://discourse.itk.org/t/lazyitkmodule-error/1254)

<div class="topic-metadata">

**Author:** [@Tirupathi\_Rao\_N](https://discourse.itk.org/u/Tirupathi_Rao_N)\
**Replies:** 3\
**Last updated:** [September 6, 2018, 1:52pm UTC](https://discourse.itk.org/t/lazyitkmodule-error/1254 "2018-09-06T13:52:59Z")

</div>

Hello , I’m using latest version of itk in my python while calling function itk.ITKVTK() I’m getting an error of LazyITKModule object is not callable. I tried to search for solving error that is fixing scipy module, I’m…

---

## [Binary Functor Filter with VariableVector Input/Output](https://discourse.itk.org/t/binary-functor-filter-with-variablevector-input-output/1248)

<div class="topic-metadata">

**Author:** [@spinicist](https://discourse.itk.org/u/spinicist)\
**Replies:** 4\
**Last updated:** [September 5, 2018, 7:38pm UTC](https://discourse.itk.org/t/binary-functor-filter-with-variablevector-input-output/1248 "2018-09-05T19:38:25Z")

</div>

Hello, If I use a BinaryFunctorImageFilter with input 1 as a itk::VectorImage, input 2 as an itk::Image and the output as a itk::VectorImage, is there a way to control the number of components per pixel in the output im…

---

## [Is this the right way to abort a SimpleITK filter?](https://discourse.itk.org/t/is-this-the-right-way-to-abort-a-simpleitk-filter/1250)

<div class="topic-metadata">

**Author:** [@szhorvat](https://discourse.itk.org/u/szhorvat)\
**Replies:** 3\
**Last updated:** [September 4, 2018, 4:59pm UTC](https://discourse.itk.org/t/is-this-the-right-way-to-abort-a-simpleitk-filter/1250 "2018-09-04T16:59:24Z")

</div>

I am using SimpleITK through C++ (in fact I’m trying to implement an interface to a system that doesn’t support SWIG). It is unclear to me how to abort a SimpleITK filter. The system I am interfacing with provides a fu…

---

## [histogram equalization with exclusion of intensity above a given threshold](https://discourse.itk.org/t/histogram-equalization-with-exclusion-of-intensity-above-a-given-threshold/1231)

<div class="topic-metadata">

**Author:** [@tia](https://discourse.itk.org/u/tia)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 11:20pm UTC](https://discourse.itk.org/t/histogram-equalization-with-exclusion-of-intensity-above-a-given-threshold/1231 "2018-08-29T23:20:41Z")

</div>

Hello, I would like to perform histogram equalization on an image, but would like to exclude intensity values greater than a maximum threshold value from the equalization calculation (e.g. I have a stent embedded in sof…

---

## [Python - Read TIFF stacks with 3 and 4 pages](https://discourse.itk.org/t/python-read-tiff-stacks-with-3-and-4-pages/1209)

<div class="topic-metadata">

**Author:** [@JayKay](https://discourse.itk.org/u/JayKay)\
**Replies:** 3\
**Last updated:** [August 24, 2018, 11:33am UTC](https://discourse.itk.org/t/python-read-tiff-stacks-with-3-and-4-pages/1209 "2018-08-24T11:33:56Z")

</div>

Hi, I’m trying to read tiff stacks with 3 or 4 images into itk with python like: reader=itk.ImageFileReader.IF3.New(FileName=‘images.tif’) image=itk.Image.F3.New() reader.Update() image=readerA.GetOutput() Apparent…

---

## [Saving DICOM series after changing tags - individual files not recognized as same series](https://discourse.itk.org/t/saving-dicom-series-after-changing-tags-individual-files-not-recognized-as-same-series/1220)

<div class="topic-metadata">

**Author:** [@yannick\_s](https://discourse.itk.org/u/yannick_s)\
**Replies:** 1\
**Last updated:** [August 22, 2018, 3:54pm UTC](https://discourse.itk.org/t/saving-dicom-series-after-changing-tags-individual-files-not-recognized-as-same-series/1220 "2018-08-22T15:54:54Z")

</div>

Hi everyone, I have a directory with DICOM slice files from different patients, study dates and sequences. I can loop through them, put them in folders such that there is only one sequence per folder, study date and pat…

---

## [BinaryImageToShapeLabelMapFilter vs. LabelImageToShapeLabelMapFilter](https://discourse.itk.org/t/binaryimagetoshapelabelmapfilter-vs-labelimagetoshapelabelmapfilter/1214)

<div class="topic-metadata">

**Author:** [@Fijoy\_Vadakkumpadan](https://discourse.itk.org/u/Fijoy_Vadakkumpadan)\
**Replies:** 2\
**Last updated:** [August 21, 2018, 1:24pm UTC](https://discourse.itk.org/t/binaryimagetoshapelabelmapfilter-vs-labelimagetoshapelabelmapfilter/1214 "2018-08-21T13:24:08Z")

</div>

Hello, What’s the best filter to use to compute size/shape attributes of all connected components in an image? Looking at the docs, I see two filters, LabelImageToShapeLabelMapFilter and BinaryImageToShapeLabelMapFilte…

---

## [Should I switch from SimpleITK to Python ITK?](https://discourse.itk.org/t/should-i-switch-from-simpleitk-to-python-itk/1206)

<div class="topic-metadata">

**Author:** [@fepegar](https://discourse.itk.org/u/fepegar)\
**Replies:** 3\
**Last updated:** [August 18, 2018, 9:46pm UTC](https://discourse.itk.org/t/should-i-switch-from-simpleitk-to-python-itk/1206 "2018-08-18T21:46:12Z")

</div>

Hi all, I’ve been using SimpleITK for some years. I have only used ITK (C++) once. I feel like a lot effort is being put on the new itk Python package. I like SimpleITK because it’s… simple. But sometimes I’ve missed so…

---

## [Warning "no valid points..." with Powell optimizer and VersorRigid3DTransform](https://discourse.itk.org/t/warning-no-valid-points-with-powell-optimizer-and-versorrigid3dtransform/1161)

<div class="topic-metadata">

**Author:** [@aharris](https://discourse.itk.org/u/aharris)\
**Replies:** 3\
**Last updated:** [August 8, 2018, 8:25pm UTC](https://discourse.itk.org/t/warning-no-valid-points-with-powell-optimizer-and-versorrigid3dtransform/1161 "2018-08-08T20:25:34Z")

</div>

I’m hoping someone can have a look at my code and see where I’m going wrong. I had this warning (“no valid points…” is all I can read in the output window and the scroll bar at the bottom doesn’t function) when I first …

[Previous page](https://discourse.itk.org/c/beginner-questions/9.md?no_subcategories=false&page=37)

[Next page](https://discourse.itk.org/c/beginner-questions/9.md?no_subcategories=false&page=39)
