Object detection in an image
Show older comments
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 Comment
Meg Noah
on 7 Jan 2022
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.
Answers (2)
Image Analyst
on 30 Dec 2021
3 votes
Don't turn in the code as if it were your own invention though or you could get in trouble with your university.
1 Comment
Image Analyst
on 30 Dec 2021
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.
yes,sir,delete this comment
7 Comments
Image Analyst
on 31 Dec 2021
Do you have a reference link for where to get the qr_code_extract() function?
Toqa Morshidi
on 2 Jan 2022
yanqi liu
on 2 Jan 2022
yes,sir,delete all the answer?
Toqa Morshidi
on 2 Jan 2022
Image Analyst
on 2 Jan 2022
At least click the "Vote" icon on her (and my) answers to give her credit for spending the time to help you. 🙂
Toqa Morshidi
on 2 Jan 2022
Categories
Find more on Morphological Operations 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!