Operating system: windows
Slicer version: 4.11.20200930
In my project I use the VMTK plug in for segmentation. When creating the centerline I wonder if there is a possibility to export the data concerning the diameter and the distance as well as their coordinates at the same time. I explain with VMTK we can have either a table of the centerline concerning the diameters according to the distance or another table with the coordinates of some points of this centerline, but the two tables are not of the same dimension and so we can’t just add them to have all the information. is there another way to generate directly a table with all the information (x, y, z, diameter, distance)
Which module gives you the point coordinates of a centerline ? Is it a centerline model or a centerline curve ? The distance from the start of the centerline is available in ‘Centerline metrics’ module. Is it the module you’re referencing ? You title hints at ‘Vesselness Filtering’ module : can you precise your request ?
Thank you for your feedback, yes indeed the module CENTERLINE METRICS gives me distances and diameters, and the center line curve gives me the coordinates of the points. My question is to know if there is a way to have all this information in a single file.
I thought of exporting both types of information but the problem is that for a given centerline the dimensions of the two information tables are not the same.
The RAS coordinates can be added to the table provided by ‘Centerline metrics’, as in the picture below.
If that’s what you expect, I’ll send a pull request to update the ‘Centerline metrics’ module.
Please note that this module can work with centerline models created by the ‘Extract centerline’ module only. These models have an associated ‘Radius’ array, that is actually used by ‘Centerline metrics’. The latter module cannot work with centerline curves produced by ‘Extract centerline’ because these do not have an associated ‘Radius’ array for each constituting point. Besides, a markups curve can be modified in the UI, which would require recomputing all metrics. This computation is done in ‘Extract centerline’, and is quite a tough procedure.