Vmtkmarchingcubes error No Image

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. After this I wanted to use marchingcubes but it shows the error: no image. Is there anyone who knows what possible has been going wrong?

Kind regards,


What is your end goal? Would you like to extract vessel centerline, quantify geometry, run CFD simulations, …?

My end goal is to obtain the geometry to use in Ansys for running CFD simulations.

OK. In this case, the first step is segmentation. For this, I’ve found that VMTK can automate segmentation of simple cases (large and/or well contrasted vessels), but these are trivially easy to segment using basically any of the automated segmentation tools in Segment Editor in Slicer (Grow from seeds, Local thresholding, Fast marching, etc.). For harder problems, you need to use a combination of interactive segmentation tools anyway (again, available in the Segment Editor).

VMTK has some useful features for CFD mesh generation, such as adding inlet/outlet extensions (but this can be probably more easily achieved using Segment Editor’s Draw tube effect) and adding layers of smaller elements at the the boundary.

Thankyou for your help and quick reply!