Object detection in an image
9 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am a beginner at image processing in MATLAB and I am asking about examples of how to detect squares in an image.
1 件のコメント
Meg Noah
2022 年 1 月 7 日
Are these binary (black and white) or greyscale images?
I'd suggest learning about morphological filters - erode, dilate, open, close, etc.
These spatial operators can be used to find and sort by size squares, rectangles, and other shapes.
Look at imopen and imclose.
回答 (2 件)
Image Analyst
2021 年 12 月 30 日
Don't turn in the code as if it were your own invention though or you could get in trouble with your university.
1 件のコメント
Image Analyst
2021 年 12 月 30 日
No one said it would be easy. But I think your professor thinks you're capable enough or else they wouldn't have assigned it to you as homework. Everyone has confidence in you except you.
yanqi liu
2021 年 12 月 31 日
編集済み: yanqi liu
2022 年 1 月 2 日
yes,sir,delete this comment
7 件のコメント
Image Analyst
2022 年 1 月 2 日
At least click the "Vote" icon on her (and my) answers to give her credit for spending the time to help you. 🙂
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!