How to fit small line segments on an image?

1 view (last 30 days)
To automate data analysis, I would like to fit lines over white pixels (in the image attached) to estimate its length. I am wondering if there exists a library in Matlab that would automatically detect clusters of white pixels and fit lines over them?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!