- Get the pixel position of most distant white pixels / or See Distance Transform
- Calculate the distance between those pixels (Euclidean, or other)
Help finding length of an image
3 views (last 30 days)
Show older comments
I need to find the length of the spray. I have a couple of images similar to this one in a loop that I need to find the length for in a loop.
Please help.

0 Comments
Answers (2)
KALYAN ACHARJYA
on 3 Jan 2020
Edited: KALYAN ACHARJYA
on 3 Jan 2020
Steps:
0 Comments
Image Analyst
on 3 Jan 2020
Edited: Image Analyst
on 3 Jan 2020
Use bwferet(), introduced in r2019a.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!