# VMTK

**URL:** https://discourse.slicer.org/c/community/vmtk/28.md?page=4

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

**Page:** 5

---

## [Vmtkmarchingcubes error No Image](https://discourse.slicer.org/t/vmtkmarchingcubes-error-no-image/20789)

<div class="topic-metadata">

**Author:** [@Lottep](https://discourse.slicer.org/u/Lottep)\
**Replies:** 4\
**Last updated:** [November 26, 2021, 5:40pm UTC](https://discourse.slicer.org/t/vmtkmarchingcubes-error-no-image/20789 "2021-11-26T17:40:00Z")

</div>

Hello everyone, I am a new user of VMTK and I have finished multiple tutorials to get familiar with the software. Now I wanted to use VMTK for my own data, I have read in the dcm file and performed levelsetsegmentation.…

---

## [vmtkimagefeatures](https://discourse.slicer.org/t/vmtkimagefeatures/20652)

<div class="topic-metadata">

**Author:** [@biplabketan](https://discourse.slicer.org/u/biplabketan)\
**Replies:** 0\
**Last updated:** [November 17, 2021, 5:39am UTC](https://discourse.slicer.org/t/vmtkimagefeatures/20652 "2021-11-17T05:39:56Z")

</div>

Please let me know the correct parameter settings for vmtkimagefeatures for coronary artery segmentation from dicom.

---

## [Morphological changes analysis](https://discourse.slicer.org/t/morphological-changes-analysis/20624)

<div class="topic-metadata">

**Author:** [@SPoloni](https://discourse.slicer.org/u/SPoloni)\
**Replies:** 5\
**Last updated:** [November 16, 2021, 9:20pm UTC](https://discourse.slicer.org/t/morphological-changes-analysis/20624 "2021-11-16T21:20:34Z")

</div>

Hi all! I want to study the morphological changes on 2 models of the same vascular district acquired in time. After the registration and the computation of the distances between the two models, give a point on the centr…

---

## [Extra or missing triangle with vmtksurfaceendclipper script](https://discourse.slicer.org/t/extra-or-missing-triangle-with-vmtksurfaceendclipper-script/20530)

<div class="topic-metadata">

**Author:** [@Antoine\_Mathieu](https://discourse.slicer.org/u/Antoine_Mathieu)\
**Replies:** 3\
**Last updated:** [November 10, 2021, 4:52pm UTC](https://discourse.slicer.org/t/extra-or-missing-triangle-with-vmtksurfaceendclipper-script/20530 "2021-11-10T16:52:59Z")

</div>

Dear all, I am using the vmtksurfaceendclipper script to clip the extremities of a segmentation and the output surface often contains either an extra or missing triangle part: vmtksurfaceendclipper -ifile "C:/temp/debu…

---

## [Mean radius per branch + plot radius along branch](https://discourse.slicer.org/t/mean-radius-per-branch-plot-radius-along-branch/20399)

<div class="topic-metadata">

**Author:** [@ames](https://discourse.slicer.org/u/ames)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 3:23pm UTC](https://discourse.slicer.org/t/mean-radius-per-branch-plot-radius-along-branch/20399 "2021-11-10T15:23:09Z")

</div>

Dear all, I am processing a surface model of the LIMA-LAD bypass in VMTK. I managed to split the domain in separate regions using VMTKBranchExtractor and VMTKBranchClipper, as shown in the figure. For each branch I want…

---

## [Centerline bifurcations for multiple inlets](https://discourse.slicer.org/t/centerline-bifurcations-for-multiple-inlets/20444)

<div class="topic-metadata">

**Author:** [@som1197](https://discourse.slicer.org/u/som1197)\
**Replies:** 10\
**Last updated:** [November 8, 2021, 10:40pm UTC](https://discourse.slicer.org/t/centerline-bifurcations-for-multiple-inlets/20444 "2021-11-08T22:40:33Z")

</div>

Hello, I had some issues with the blanking array which is not generated correctly when multiple inlet branches are present. Consider the following example: I have 2 inputs coming from the left and right vertebral arter…

---

## [Vmtkflowextensions](https://discourse.slicer.org/t/vmtkflowextensions/19656)

<div class="topic-metadata">

**Author:** [@ames](https://discourse.slicer.org/u/ames)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 9:10pm UTC](https://discourse.slicer.org/t/vmtkflowextensions/19656 "2021-11-04T21:10:04Z")

</div>

I am using vmtkflowextensions to add short flow extensions to the inlet and outlets of my 3D model. In the attached screencapture it can be seen that the flow extension does not fit nicely to the domain. vmtksurfacer…

---

## [Convert VTK model to STL while maintaining GroupIds](https://discourse.slicer.org/t/convert-vtk-model-to-stl-while-maintaining-groupids/20380)

<div class="topic-metadata">

**Author:** [@ames](https://discourse.slicer.org/u/ames)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 4:42pm UTC](https://discourse.slicer.org/t/convert-vtk-model-to-stl-while-maintaining-groupids/20380 "2021-10-27T16:42:19Z")

</div>

Dear all, I am processing a surface model of the LIMA-LAD bypass in VMTK. I managed to split the domain in separate regions using VMTKBranchExtractor and VMTKBranchClipper, as shown in the figure. In the VTK file format…

---

## [vmtkcenterlinesections doesn't work sometime](https://discourse.slicer.org/t/vmtkcenterlinesections-doesnt-work-sometime/18729)

<div class="topic-metadata">

**Author:** [@Dongwei](https://discourse.slicer.org/u/Dongwei)\
**Replies:** 3\
**Last updated:** [October 22, 2021, 5:56am UTC](https://discourse.slicer.org/t/vmtkcenterlinesections-doesnt-work-sometime/18729 "2021-10-22T05:56:41Z")

</div>

Hi, I am using vmtkcenterlinesections to calculate the cross-sectional area of my vessel. But sometimes the function brokes for certain vessel geometry… It says ‘executing vmtkcenterlinesections’, then directly exit wit…

---

## [VMTK compatibility in mac m1](https://discourse.slicer.org/t/vmtk-compatibility-in-mac-m1/19683)

<div class="topic-metadata">

**Author:** [@Weiqiang\_Liu](https://discourse.slicer.org/u/Weiqiang_Liu)\
**Replies:** 2\
**Last updated:** [September 21, 2021, 9:43pm UTC](https://discourse.slicer.org/t/vmtk-compatibility-in-mac-m1/19683 "2021-09-21T21:43:49Z")

</div>

I use 3D slicer extension VMTK to extract the centerline and do diameter analysis. I use my own STL file and follow the guidelines in youtube. But I got: Failed to compute results: VMTK library is not found. I also trie…

---

## [vtkvmtkCenterlineBranchExtractorfunction bug](https://discourse.slicer.org/t/vtkvmtkcenterlinebranchextractorfunction-bug/19761)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 0\
**Last updated:** [September 20, 2021, 2:44pm UTC](https://discourse.slicer.org/t/vtkvmtkcenterlinebranchextractorfunction-bug/19761 "2021-09-20T14:44:53Z")

</div>

hi, i use vtkvmtkCenterlineBranchExtractor to calculate branch centerline,but i find there have bug that is the number of points is different the last offset value and i don’t use the function i can get the same numb…

---

## [Add CFD simulation Model in next VMTK Version?](https://discourse.slicer.org/t/add-cfd-simulation-model-in-next-vmtk-version/19602)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 2\
**Last updated:** [September 14, 2021, 2:53am UTC](https://discourse.slicer.org/t/add-cfd-simulation-model-in-next-vmtk-version/19602 "2021-09-14T02:53:20Z")

</div>

hi,i find SimVascular CFD simulation tool from here https://simvascular.github.io/,the solver is svSolver,is there planning to add CFD model in next VMTK Version? thank you

---

## [Build and release VMTK via GitHub Actions](https://discourse.slicer.org/t/build-and-release-vmtk-via-github-actions/19574)

<div class="topic-metadata">

**Author:** [@rupertnash](https://discourse.slicer.org/u/rupertnash)\
**Replies:** 4\
**Last updated:** [September 10, 2021, 9:17am UTC](https://discourse.slicer.org/t/build-and-release-vmtk-via-github-actions/19574 "2021-09-10T09:17:29Z")

</div>

For $reasons I need VMTK available for multiple versions of python. So I created a simple Github workflow to build VTK, ITK, and VMTK and bundle up the binaries. This is here: https://github.com/hemelb-codes/vmtk-build …

---

## [Cannot obtain the center line.](https://discourse.slicer.org/t/cannot-obtain-the-center-line/18112)

<div class="topic-metadata">

**Author:** [@zhang-qiang-github](https://discourse.slicer.org/u/zhang-qiang-github)\
**Replies:** 1\
**Last updated:** [September 7, 2021, 7:11pm UTC](https://discourse.slicer.org/t/cannot-obtain-the-center-line/18112 "2021-09-07T19:11:07Z")

</div>

I have two arteries, like: I can obtain the centerline for one artery, but fail for the other one. It failed to obtain the centerline between the two red point. The runni…

---

## [Mapping and Patching result have inanition](https://discourse.slicer.org/t/mapping-and-patching-result-have-inanition/18988)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 2\
**Last updated:** [August 31, 2021, 1:17am UTC](https://discourse.slicer.org/t/mapping-and-patching-result-have-inanition/18988 "2021-08-31T01:17:05Z")

</div>

hi,i follow the example of An example: WSS and OSI along a branching vascular district from here:http://www.vmtk.org/tutorials/MappingAndPatching.html,i set params -longitudinalpatchsize 0.5 -circularpatches 12,but the r…

---

## [Failed to load VMTK libraries in Vesselness Filtering](https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367)

<div class="topic-metadata">

**Author:** [@simone](https://discourse.slicer.org/u/simone)\
**Replies:** 1\
**Last updated:** [August 27, 2021, 1:36am UTC](https://discourse.slicer.org/t/failed-to-load-vmtk-libraries-in-vesselness-filtering/19367 "2021-08-27T01:36:29Z")

</div>

Hi, I am using Slicer 4.11.20210226 on macOS 11.5. I am trying to use Vesselness Filtering but I get the error above. This is the full log: \[DEBUG\]\[Qt\] 26.08.2021 11:07:13 \[\] (unknown:0) - Session start time …: 2021-08-…

---

## [Use segmentation from Segment Editor as initialization for Level Set Segmentation](https://discourse.slicer.org/t/use-segmentation-from-segment-editor-as-initialization-for-level-set-segmentation/19329)

<div class="topic-metadata">

**Author:** [@tossin](https://discourse.slicer.org/u/tossin)\
**Replies:** 2\
**Last updated:** [August 25, 2021, 3:08pm UTC](https://discourse.slicer.org/t/use-segmentation-from-segment-editor-as-initialization-for-level-set-segmentation/19329 "2021-08-25T15:08:54Z")

</div>

From what I can tell, the Level Set Segmentation panel from the Slicer VMTK Extension only allows initialization from scratch using colliding fronts or fast marching. However, I’d like to be able to use Level Set Segmen…

---

## [Is there a way to segment stenotic coronary arteries?](https://discourse.slicer.org/t/is-there-a-way-to-segment-stenotic-coronary-arteries/19142)

<div class="topic-metadata">

**Author:** [@Mattia\_Chiesa](https://discourse.slicer.org/u/Mattia_Chiesa)\
**Replies:** 3\
**Last updated:** [August 11, 2021, 1:44pm UTC](https://discourse.slicer.org/t/is-there-a-way-to-segment-stenotic-coronary-arteries/19142 "2021-08-11T13:44:28Z")

</div>

Dear all, I’d like to automatically segment the three main coronaries (LCA (LDA+LCX) and RCA) feeding DICOM of stenotic patients into 3D slicer. I followed these 2 VMTK tutorials: https://www.youtube.com/watch?v=yi07m…

---

## [What should be included in CMakeLists.txt to start a VMTK C++ project?](https://discourse.slicer.org/t/what-should-be-included-in-cmakelists-txt-to-start-a-vmtk-c-project/18734)

<div class="topic-metadata">

**Author:** [@frankiole](https://discourse.slicer.org/u/frankiole)\
**Replies:** 1\
**Last updated:** [August 10, 2021, 9:01pm UTC](https://discourse.slicer.org/t/what-should-be-included-in-cmakelists-txt-to-start-a-vmtk-c-project/18734 "2021-08-10T21:01:14Z")

</div>

Hi, I am trying to implement VMTK functions in my C++ code. I am able to run my program using both ITK and VTK libraries, however I cannot access VMTK libraries. I’ve already built VMTK, and I’m tweaking my CMakeLists.t…

---

## [AbcissaMetric does not write](https://discourse.slicer.org/t/abcissametric-does-not-write/19012)

<div class="topic-metadata">

**Author:** [@cborras](https://discourse.slicer.org/u/cborras)\
**Replies:** 0\
**Last updated:** [August 1, 2021, 11:40am UTC](https://discourse.slicer.org/t/abcissametric-does-not-write/19012 "2021-08-01T11:40:50Z")

</div>

Operating system: Windows 10 Hi everybody! I am working on aortas and I am using this command for the writing of the angular and abcissa coordinates: #vmtkbranchmetrics -ifile aorta\_clipped.vtp -centerlinesfile Ht\_Lum\_…

---

## [How to use VMTKLab CFD model in my project?](https://discourse.slicer.org/t/how-to-use-vmtklab-cfd-model-in-my-project/18848)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 6\
**Last updated:** [July 28, 2021, 7:01pm UTC](https://discourse.slicer.org/t/how-to-use-vmtklab-cfd-model-in-my-project/18848 "2021-07-28T19:01:11Z")

</div>

hi,i want simulation CFD in my project,i find the VMTKLab is suitable,but i don’t know how to use it just like vmtk library?

---

## [vmtkMeshGenerator error](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 2\
**Last updated:** [July 27, 2021, 9:18am UTC](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889 "2021-07-27T09:18:08Z")

</div>

hi,i use vmtkMeshGenerator to get volume meshing,follow this example:http://www.vmtk.org/tutorials/MeshGeneration.html,but i get the error that is TetGen command line options: pq1.414000q10.000000q165.000000YsT1.000000e-…

---

## [Conda install not working due to incompatibilities](https://discourse.slicer.org/t/conda-install-not-working-due-to-incompatibilities/18865)

<div class="topic-metadata">

**Author:** [@perecanals](https://discourse.slicer.org/u/perecanals)\
**Replies:** 2\
**Last updated:** [July 22, 2021, 9:51am UTC](https://discourse.slicer.org/t/conda-install-not-working-due-to-incompatibilities/18865 "2021-07-22T09:51:42Z")

</div>

Hi, OS: Linux (Ubuntu 20.04.2) I was trying to install VMTK via conda in an already created environment (Python 3.7.10) and I get the following error: Found conflicts! Looking for incompatible packages. This can take …

---

## [How to calculate surface length with centerline project into surface](https://discourse.slicer.org/t/how-to-calculate-surface-length-with-centerline-project-into-surface/18747)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 8\
**Last updated:** [July 21, 2021, 11:51am UTC](https://discourse.slicer.org/t/how-to-calculate-surface-length-with-centerline-project-into-surface/18747 "2021-07-21T11:51:18Z")

</div>

hi,i have centerline and centerlinesection,i want to calculate surfce line length,like this,green line is centerline and blue line is surface line,how to get this blue line?

---

## [Help installing SlicerVMTK Extension](https://discourse.slicer.org/t/help-installing-slicervmtk-extension/17711)

<div class="topic-metadata">

**Author:** [@KyleVanBeek](https://discourse.slicer.org/u/KyleVanBeek)\
**Replies:** 2\
**Last updated:** [July 18, 2021, 3:06am UTC](https://discourse.slicer.org/t/help-installing-slicervmtk-extension/17711 "2021-07-18T03:06:54Z")

</div>

Hello, I am looking for a straightforward tutorial for downloading the SlicerVMTK extension as I do not have a computer science background. All tutorials found online involve the usage of python and while it may be a s…

---

## [How to avoid the holes caused by branch splitting, or repair it](https://discourse.slicer.org/t/how-to-avoid-the-holes-caused-by-branch-splitting-or-repair-it/18582)

<div class="topic-metadata">

**Author:** [@JunjieWu](https://discourse.slicer.org/u/JunjieWu)\
**Replies:** 5\
**Last updated:** [July 15, 2021, 2:57am UTC](https://discourse.slicer.org/t/how-to-avoid-the-holes-caused-by-branch-splitting-or-repair-it/18582 "2021-07-15T02:57:27Z")

</div>

I have something trouble in branch splitting of vascular bifurcation. Holes are created at the junction of the dividing lines, and i can’t use vmtksurfacecapper to fix it. How can i avoid it, or repair it ? vmtkbranchcl…

---

## [how to generate multiple mesh files with different time steps](https://discourse.slicer.org/t/how-to-generate-multiple-mesh-files-with-different-time-steps/18596)

<div class="topic-metadata">

**Author:** [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 1:32am UTC](https://discourse.slicer.org/t/how-to-generate-multiple-mesh-files-with-different-time-steps/18596 "2021-07-12T01:32:58Z")

</div>

Hi, than you for sharing the PARTICLE TRACING example with vmtk,i have problem that how to generate different timestep meshs,can anyone share some example code or tools how to use it generate different timestep meshes? …

---

## [Method Requires VTK Object Error](https://discourse.slicer.org/t/method-requires-vtk-object-error/18386)

<div class="topic-metadata">

**Author:** [@Bastien\_Saunois](https://discourse.slicer.org/u/Bastien_Saunois)\
**Replies:** 3\
**Last updated:** [July 8, 2021, 10:18am UTC](https://discourse.slicer.org/t/method-requires-vtk-object-error/18386 "2021-07-08T10:18:52Z")

</div>

I am implementing the extract Network algorithm, but I get an issue with this line : networkExtraction.SetInputData(surfacePolyData) I get this error : method requires a VTK object I saw on some forums that it could …

---

## [Import issue of vmtk libraries](https://discourse.slicer.org/t/import-issue-of-vmtk-libraries/18321)

<div class="topic-metadata">

**Author:** [@Bastien\_Saunois](https://discourse.slicer.org/u/Bastien_Saunois)\
**Replies:** 5\
**Last updated:** [June 28, 2021, 8:45am UTC](https://discourse.slicer.org/t/import-issue-of-vmtk-libraries/18321 "2021-06-28T08:45:54Z")

</div>

I am trying to re-use the ExtractCenterline.py code. In the script there are 2 imports that interest me : import vtkvmtkComputationalGeometryPython as vtkvmtkComputationalGeometry import vtkvmtkMiscPyt…

---

## [Where is the code for computation of centerline?](https://discourse.slicer.org/t/where-is-the-code-for-computation-of-centerline/18183)

<div class="topic-metadata">

**Author:** [@Bastien\_Saunois](https://discourse.slicer.org/u/Bastien_Saunois)\
**Replies:** 4\
**Last updated:** [June 18, 2021, 8:19am UTC](https://discourse.slicer.org/t/where-is-the-code-for-computation-of-centerline/18183 "2021-06-18T08:19:11Z")

</div>

Hi, I am trying to use VMTK to compute the centerline of a hollowed cylinder with Python. But I can’t find the code responsible of computing the centerline. Could someone guide me to this certain code? I would appreci…

[Previous page](https://discourse.slicer.org/c/community/vmtk/28.md?page=3)

[Next page](https://discourse.slicer.org/c/community/vmtk/28.md?page=5)
