How to convert vascular segmentation result to “VascularNetwork.tre” file?

I kown that TubeTK can convert “VascularNetwork.tre” file to vascular image. However, I want to convert a vascular segmentation result to the unbranched segments represented by centerline points and radius, like “VascularNetwork.tre” file.
Do you have any advance for me? Thans a lot!
Best Wishes,

@Stephen_Aylward might have some advice.

I think that this problem could be solved with TubeTK. Could you have any advice? Thanks! @Stephen_Aylward