r/computervision • u/Fast-Compote7194 • Oct 18 '26
Help: Project Advice on identifying loop-like structures and measuring angles in 2D curves
Hi everyone,
I'm working on a scientific image-analysis problem where I have manually annotated 2D centerlines representing curving structures. I can extract the ordered coordinates of these paths, but I'm struggling to quantify certain geometric features reliably.
Some paths contain multiple tight turns or loop-like structures, while others have gentle bends. My main challenges are:
- Identifying individual loops within a longer, irregular curve.
- Distinguishing genuine loop-like structures from ordinary bends or crossings.
- Measuring the opening angle of an irregular or asymmetric loop in a reproducible way.
I've experimented with spline fitting, curvature-based methods, turning-angle detection, and geometric fitting, but none has reliably identified the structures I want to measure.
I'd appreciate suggestions on suitable mathematical or computational geometry approaches for detecting these structures and defining their angles.
I'm particularly interested in methods that can be validated against manually identified examples, rather than simply producing a numerical result.
Thank you for any suggestions or references!
1
u/[deleted] Oct 18 '26
[removed] — view removed comment