vmtk
Recent Changes - Search:

vmtk

projects

links

edit SideBar

VmtkScripts / Vmtkcenterlines

vmtkcenterlines

Description

compute centerlines from a branching tubular surface (see papers for details); seed points can be interactively selected on the surface, or specified as the barycenters of the open boundaries of the surface; if vmtk is compiled with support for TetGen, TetGen can be employed to compute the Delaunay tessellation of the input points

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
disabledDisabledbool1 0disable execution and piping
iSurfacevtkPolyData1  the input surface
ifileSurfaceInputFileNamestr1  filename for the default Surface reader
seedselectorSeedSelectorNamestr1["pickpoint","openprofiles","carotidprofiles","idlist","pointlist"]pickpointseed point selection method (pickpoint: interactive; openprofiles: choose among barycenters of open profiles of the surface; carotidprofiles: open profiles are automatically selected based on their z-axis coordinate (lower to higher: CCA, ECA, ICA)); idlist: list of surface point ids (specified as argument to -sourceids and -targetids); pointlist: list of surface points (specified as argument to -sourcepoints and -targetpoints)
sourceidsSourceIdsint-1 []list of source point ids
targetidsTargetIdsint-1 []list of target point ids
sourcepointsSourcePointsfloat-1 []list of source point coordinates
targetpointsTargetPointsfloat-1 []list of target point coordinates
endpointsAppendEndPointsbool1 0toggle append open profile barycenters to centerlines
nonmanifoldcheckCheckNonManifoldbool1 0toggle checking the surface for non-manifold edges
flipnormalsFlipNormalsbool1 0flip normals after outward normal computation; outward oriented normals must be computed for the removal of outer tetrahedra; the algorithm might fail so for weird geometries, so changing this might solve the problem
capdisplacementCapDisplacementfloat1 0.0displacement of the center points of caps at open profiles along their normals (avoids the creation of degenerate tetrahedra)
radiusarrayRadiusArrayNamestr1 MaximumInscribedSphereRadiusname of the array where radius values of maximal inscribed spheres have to be stored
endpointsAppendEndPointsbool1 0toggle append open profile barycenters to centerlines
resamplingResamplingbool1 0toggle centerlines resampling
resamplingstepResamplingStepLengthfloat1(0.0,)1.0distance between points in the resampled line
delaunaytessellationDelaunayTessellationvtkUnstructuredGrid1  optional input Delaunay tessellation
simplifyvoronoiSimplifyVoronoibool1 0toggle simplification of Voronoi diagram
usetetgenUseTetGenbool1 0toggle use TetGen to compute Delaunay tessellation
tetgendetectinterTetGenDetectInterbool1 1TetGen option
costfunctionCostFunctionstr1 1/Rspecify cost function to be minimized during centerline computation
ofileCenterlinesOutputFileNamestr1  filename for the default Centerlines writer
delaunaytessellationfileDelaunayTessellationOutputFileNamestr1  filename for the default DelaunayTessellation writer
voronoidiagramfileVoronoiDiagramOutputFileNamestr1  filename for the default VoronoiDiagram writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdint1 0script id
handleSelfself1  handle to self
oCenterlinesvtkPolyData1  the output centerlines
radiusarrayRadiusArrayNamestr1 MaximumInscribedSphereRadiusname of the array where radius values of maximal inscribed spheres are stored
eikonalsolutionarrayEikonalSolutionArrayNamestr1 EikonalSolution 
edgearrayEdgeArrayNamestr1 EdgeArray 
edgepcoordarrayEdgePCoordArrayNamestr1 EdgePCoordArray 
costfunctionarrayCostFunctionArrayNamestr1 CostFunctionArray 
delaunaytessellationDelaunayTessellationvtkUnstructuredGrid1   
voronoidiagramVoronoiDiagramvtkPolyData1   
poleidsPoleIdsvtkIdList1   
Edit - History - Print - Recent Changes - Search
Page last modified on February 05, 2012, at 02:30 PM