How to calculate width of a blob to the height of a blob

7 views (last 30 days)
How to filter out the blobs whose width/height >=0.2

Answers (1)

Image Analyst
Image Analyst on 15 Jan 2014
Use regionprops to get the boundingbox. Then get the ratio. Then use ismember. See my Image Segmentation Tutorial for demonstration of that. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862

Community Treasure Hunt

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

Start Hunting!