How to calculate width of a blob to the height of a blob
2 次查看(过去 30 天)
显示 更早的评论
How to filter out the blobs whose width/height >=0.2
0 个评论
回答(1 个)
Image Analyst
2014-1-15
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
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!