Find rectangular blobs in binary images

I have vertical and horizontal (rectangular) strips in binary image. I want to extract the strips which meet the criteria of specified length and specified width. Area based methods like bwareaopen or bwpropfilt does not help due to no control on second dimention. Any idea thanks

2 个评论

specifically: reactangular regions having at least 4 ones in x and 10 ones in y.
Post your image. Usually when people ask for image processing advice, they give us an image to look at. Doesn't that make sense? About all I can say now is to use imcrop().

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Processing Toolbox 的更多信息

提问:

Az
2017-9-14

Community Treasure Hunt

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

Start Hunting!

Translated by