I have two points and a segmentation and I would like to obtain the center line. I did that using the extension VMTK and now I would like to do this in my phyton script, just like an other part of my process.
Can I use slicer.modules.extractcenterline.logic() for that? How? Can anybody share un example to guide me? I saw the extratcenterline.py but Im really lost.