MATLAB Answers

Image Region Analyzer issue in measuring length/

2 views (last 30 days)
Mohammed Al Khasawneh
Mohammed Al Khasawneh on 15 Oct 2020
Answered: Shraddha Jain on 8 Mar 2021
I want to measure a length of some fibers using Image region analyzer so I can to filter them after that. because in properties length option dose not exist.

Answers (1)

Shraddha Jain
Shraddha Jain on 8 Mar 2021
Hi Al,
The Image Region Analyzer uses regionprops function to identify regions in the image and calculate properties of these regions. There is no length property available in Image Region Analyzer or regionprops as you mentioned above. A possible workaround is to use the 'Extrema' property in the regionprops function which details the x- and y- coordinates of the connected components of the image.
Hope this helps!

Community Treasure Hunt

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

Start Hunting!