I am using Python and would like to remove the short branches from the aorta in the image below. My goal is to obtain a clean, tubular representation of the aorta. The purpose is to eliminate noise in order to calculate the cross-sectional area of the aorta in the Python code. Below is the current implementation, which includes the centerline and curved lines.
As far as I know, the branch clipper module is not yet available for implementation in Python. What extensions or libraries would you recommend for this task? Any guidance on the methods to achieve this would be greatly appreciated.