line length in image

2 次查看(过去 30 天)
is there a way to get all the lenghts (in pixels) of curved lines in an images (like the one below)?
lenght being the total lenght of the lines (not just the the distance of X and Y)

采纳的回答

Mark Sherstan
Mark Sherstan 2019-1-29
Use bwdist() and look at the answer here for an example.

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by