How to calculate width of a blob to the height of a blob
Show older comments
How to filter out the blobs whose width/height >=0.2
Answers (1)
Image Analyst
on 15 Jan 2014
0 votes
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
Categories
Find more on Region and Image Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!