I wish the table data gives the minimum and the maximum radius too, between the two enpoints. At best, a graph of the measured radius at every millimeter would be helpful.
TARGETED METRICS
The image below shows a cross-section of a normal artery, where the radius is the same in every direction. In the pathological artery, the lumen morphology varies considerably.
I wish that we can click on any point of the centreline, and get the minimum and maximum radius at the chosen point in some way. At best, a plane perpendicular to the centreline could be drawn in the segment, and remains visible with its metrics shown in the view, or in a separate table.
CLINICAL RELEVANCE
We usually care of vessel diameter, not radius. The conversion is straightforward, but has yet to be done. An additional column showing diameters would be welcome.
The module looks nice! It could be added to SlicerVMTK extension.
I would just recommend to fix/improve two things:
The distance computation along the centerline. Currently, you project the centerline to a selected axis, but instead we should use distance along centerline. This distance should be fairly easy to compute (sum of Euclidean distances between points), but I am sure it can be already computed by VMTK (as far as I understand, this is called the āabscissaā and computed by filters like vmtkBranchMetrics).
Use the latest scripted module template in Extension Wizard module in latest Slicer Preview Release (that is downloaded July 1, 2020 or later), as it is greatly improved. Most importantly, the GUI is created in Qt Designer instead of manual scripting.
Once these are addressed, it would be great if you could submit a pull request to SlicerVMTK extension that adds this new module.
It means that you donāt need any code for creating the GUI, but use QtDesigner. It allows you to create your user interface by drag-and-dropping widgets and setting its properties.
I get ādesigner-real missingā message. This is home built Slicer, and designer-real is missing in the SuperBuild tree. This file does exist in factory packages. What config switch do I have to use to get it built ? Thanks.
Qt designer can be launched correctly in the build tree on Windows, but maybe there are issues on Linux or Mac. You can also try launching it using ./Slicer --designer. It would be great if you could investigate the issue and maybe even come up with a fix.
In the meantime, you can download and use an official Slicer build to run Qt Designer.
Not exactly what I thought of but quite near, this module can move a 2D view perpendicular to a centerline. What puzzles me is the amount of rotation in the 2D view when the path is convoluted. We wonāt have these rotations with Curve Planar Reformat.