Convert from cartesian to polar coordinates using ExtractCenterline

Hi all,

I’m trying to convert from Cartesian coordinates to polar coordinates for a heart lumen surface model. I used the module Extract Centerline to generate a centerline and Cross-section analysis to get some diameter data. However, I’m a bit confused from there.

  1. This table only contains ~2000 rows but the surface model should have 5002 points and the centerline curve has only 238 points. Where came those ~2000 points shown in the table and what is the column Distance mean?
  2. Are the values under the column Diameter the diameters of maximal inscribed spheres for each point on the centerline?
  3. Let’s say I’d like to save the mesh nodes on the surface model and convert their coordinates from Cartesian (Is this same as RAS btw?) to polar. Am I able to do this using the vmtk extension? If not, it would be greatly appreciated if anyone can suggest another method.

Thanks much,
Gening


The centerline curve is resampled at equal distances. Distance is distance from the curve starting point in millimeters.

Yes.

Yes, RAS coordinate system is Cartesian. VMTK can compute a consistent curve coordinate using parallel transport method (with normal vectors that are consistent along the curve, with minimal torsion). We implemented an improved version of the this coordianate system computation in Slicer, which allows setting the direction of the initial normal vector.

See Slicer’s MarkupsCurveCoordinateFrameTest for a full, detailed example. This is an example of the parallel transport based curve coordinate system: