I’m new to 3D Slicer. I have a full-body 3D STL model and would like to display slice images at arbitrary positions (see attached picture) and obtain both the perimeter and area of each slice.
I’ve found that if I manually draw a closed curve, Slicer will show the perimeter, but is there a way to have Slicer automatically extract the contour and measure the perimeter (and area) for me?
It would mean pulling in the VMTK libraries. StenosisMeasurement2D would be the elect module to add this functionality, as @yoshi can get both the area and the perimeter. But then, how to integrate this calculation in the module, since it does not fit in the spirit of the module?
An independent script still using VMTK is also an option.
The last option would be to consider the cell ids: investigate their neighbourhood relationship, so as not to require VMTK. I may start delving into that in the coming days.
For example, if I want to get the area and perimeter of the slice shown in the Red window, and the slice intersects both legs, two cross-sections are displayed.
Even if multiple cross-sections are present, I would like to obtain the area and perimeter for each one as separate closed curves.
I’m not sure what would be the best way to implement this, but if we could select the slice view (e.g., Red, Green, Yellow), run the calculation, and have the area and perimeter results appear in a table, it would be very useful for anatomical measurements.