Help finding length of an image

3 次查看(过去 30 天)
Sai Ongole
Sai Ongole 2020-1-2
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.
Screen Shot 2020-01-02 at 10.26.19 AM.png

回答(2 个)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020-1-3
编辑:KALYAN ACHARJYA 2020-1-3
Steps:
  1. Get the pixel position of most distant white pixels / or See Distance Transform
  2. Calculate the distance between those pixels (Euclidean, or other)

Image Analyst
Image Analyst 2020-1-3
编辑:Image Analyst 2020-1-3
Use bwferet(), introduced in r2019a.

Community Treasure Hunt

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

Start Hunting!

Translated by