VMTKBIFURCATIONSECTIONS(1)
π NAME π
okay so bestie, welcome to vmtkbifurcationsections β literally the manual page for the vmtk script vmtkbifurcationsections, and yes the whole thing is a User Commands situation, we're in section 1, no cap π
β¨ DESCRIPTION β¨
okay so picture this: automatic pipingβ¦ vmtkbifurcationsectionsβ¦ parsing optionsβ¦ vmtkbifurcationsections. that's the whole opener, we move β¨
vmtkbifurcationsections : it computes branch sections that are located a fixed number of spheres away from each bifurcation. and the tea is: the script takes in, as input, the surface AND the relative centerlines β both of them already split into branches. no un-split business allowed, we're being specific here π¦
πΈ Input arguments πΈ
-idId (str,1); default=0β the script id, the little name tag of the script π-handleSelf (self,1) β a handle to self, like holding your own hand but make it code π«Ά-disabledDisabled (bool,1); default=0β set it and execution AND piping get disabled, we're sitting this one out π΄-iSurface (vtkPolyData,1) β the input surface, already split into branches (saying it again bc it matters)-ifileSurfaceInputFileName (str,1) β filename for the default Surface reader π-centerlinesCenterlines (vtkPolyData,1) β the input centerlines, also already split into branches-centerlinesfileCenterlinesInputFileName (str,1) β filename for the default Centerlines reader π-distancespheresNumberOfDistanceSpheres (int,1); default=1β how far from the bifurcation we take the sections; the distance is expressed in number of inscribed spheres, where each sphere touches the center of the previous one. so like a lil chain of spheres holding hands and each one's touching the center of the one before π-radiusarrayRadiusArrayName (str,1); default=MaximumInscribedSphereRadiusβ the name of the array where the centerline radius is stored-groupidsarrayGroupIdsArrayName (str,1); default=GroupIdsβ the name of the array where the centerline group ids are stored-centerlineidsarrayCenterlineIdsArrayName (str,1); default=CenterlineIdsβ the name of the array where the centerline ids are stored-tractidsarrayTractIdsArrayName (str,1); default=TractIdsβ the name of the array where the centerline tract ids are stored-blankingarrayBlankingArrayName (str,1); default=Blankingβ the name of the array where the centerline blanking information about branches is stored-bifurcationsectiongroupidsBifurcationSectionGroupIdsArrayName (str,1); default=BifurcationSectionGroupIdsβ the name of the array where the group id each section belongs to has to be stored-bifurcationsectionbifurcationgroupidsBifurcationSectionBifurcationGroupIdsArrayName (str,1); default=BifurcationSectionBifurcationGroupIdsβ the name of the array where the bifurcation group id each section belongs to has to be stored-bifurcationsectionpointBifurcationSectionPointArrayName (str,1); default=BifurcationSectionPointβ the name of the array where the point at which bifurcation sections are defined has to be stored-bifurcationsectionnormalBifurcationSectionNormalArrayName (str,1); default=BifurcationSectionNormalβ the name of the array where the bifurcation section normals have to be stored-bifurcationsectionareaBifurcationSectionAreaArrayName (str,1); default=BifurcationSectionAreaβ the name of the array where the area of bifurcation sections has to be stored-bifurcationsectionminsizeBifurcationSectionMinSizeArrayName (str,1); default=BifurcationSectionMinSizeβ the name of the array where the minimum diameter of each section has to be stored-bifurcationsectionmaxsizeBifurcationSectionMaxSizeArrayName (str,1); default=BifurcationSectionMaxSizeβ the name of the array where the maximum diameter of each bifurcation section has to be stored-bifurcationsectionshapeBifurcationSectionShapeArrayName (str,1); default=BifurcationSectionShapeβ the name of the array where the shape index of each bifurcation section has to be stored, i.e. the ratio between minimum and maximum diameter π-bifurcationsectionclosedBifurcationSectionClosedArrayName (str,1); default=BifurcationSectionClosedβ the name of the array containing1if a section is closed and0otherwise-bifurcationsectionorientationBifurcationSectionOrientationArrayName (str,1); default=BifurcationSectionOrientationβ the name of the array containing0if a section is upstream and0downstream its bifurcation (yes bestie, the original says0twice, we report the facts, not our feelings π)-bifurcationsectiondistancespheresBifurcationSectionDistanceSpheresArrayName (str,1); default=BifurcationSectionDistanceSpheresβ the name of the array containing the number of spheres away from the bifurcation that the section is located at-sectionpointgroupidOutputSectionPointGroupId (int,1)>= 0; default=Noneβ no default, so don't just leave it vibing-sectionpointbifurcationgroupidOutputSectionPointBifurcationGroupId (int,1)>= 0; default=Noneβ same energy,Noneuntil you say otherwise-ofileBifurcationSectionsOutputFileName (str,1) β filename for the default BifurcationSections writer π
π Output arguments π
-idId (str,1); default=0β script id, hello again bestie π (yes it shows up on both lists, that's just how the page reads)-handleSelf (self,1) β handle to self, encore π«Ά-oBifurcationSections (vtkPolyData,1) β the output sections, the actual β¨goodsβ¨-bifurcationsectiongroupidsBifurcationSectionGroupIdsArrayName (str,1); default=BifurcationSectionGroupIdsβ the name of the array where the group id each section belongs to are stored-bifurcationsectionbifurcationgroupidsBifurcationSectionBifurcationGroupIdsArrayName (str,1); default=BifurcationSectionBifurcationGroupIdsβ the name of the array where the bifurcation group id each section belongs to has to be stored-bifurcationsectionpointBifurcationSectionPointArrayName (str,1); default=BifurcationSectionPointβ the name of the array where the point at which bifurcation sections are defined are stored-bifurcationsectionnormalBifurcationSectionNormalArrayName (str,1); default=BifurcationSectionNormalβ the name of the array where bifurcation section normals are stored-bifurcationsectionareaBifurcationSectionAreaArrayName (str,1); default=BifurcationSectionAreaβ the name of the array where the area of bifurcation sections are stored-bifurcationsectionminsizeBifurcationSectionMinSizeArrayName (str,1); default=BifurcationSectionMinSizeβ the name of the array where the minimum diameter of each section are stored-bifurcationsectionmaxsizeBifurcationSectionMaxSizeArrayName (str,1); default=BifurcationSectionMaxSizeβ the name of the array where the minimum diameter of each bifurcation section has to be stored β οΈ (no i'm not fixing it, the page literally says minimum here, i just report π₯)-bifurcationsectionshapeBifurcationSectionShapeArrayName (str,1); default=BifurcationSectionShapeβ the name of the array where the shape index of each bifurcation section are stored, i.e. the ratio between minimum and maximum diameter-bifurcationsectionclosedBifurcationSectionClosedArrayName (str,1); default=BifurcationSectionClosedβ the name of the array containing1if a section is closed and0otherwise-bifurcationsectionorientationBifurcationSectionOrientationArrayName (str,1); default=BifurcationSectionOrientationβ the name of the array containing0if a section is upstream and0downstream its bifurcation (again with the double0, iconic)-bifurcationsectiondistancespheresBifurcationSectionDistanceSpheresArrayName (str,1); default=BifurcationSectionDistanceSpheresβ the name of the array containing the number of spheres away from the bifurcation the section is located at-sectionpointOutputSectionPoint (float,3); default=[]β an empty list until you fill it, the potential is real β-sectionnormalOutputSectionNormal (float,3); default=[]β also starting from nothing, we love a blank slate π-sectionareaOutputSectionArea (float,1); default=0.0β zero point zero, we begin π
and that's the whole page bestie, no details left behind, every flag accounted for, we ate π β¨
oh and before i go β the whole vibe check: this is vmtkbifurcationsections version 1.5, dated April 2026, and that's the official sign-off right there. mwah π«Άπ
π¦ where this page comes from
- ubuntu stonking: vmtk 1.5.0+dfsg1-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms