Identify all objects within a binary image, get the max lengths of all objects

Hello fellow MATLAB users. I'm trying to find the total of the max length of all the individual objects within this image, i.e., the total length by summing up the individual lengths of the the red double-headed arrows marked in this image. Any help will be greatly appreciated.

Answers (1)

Looks like you want the bounding box width and height. So see my Image Segmentation Tutorial in my File Exchange

Asked:

on 3 Apr 2019

Answered:

on 3 Apr 2019

Community Treasure Hunt

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

Start Hunting!