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
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
Image Analyst 2021년 12월 30일

3 개 추천

There are plenty of examples in the File Exchange:
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
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
yanqi liu 2021년 12월 31일
편집: yanqi liu 2022년 1월 2일

1 개 추천

yes,sir,delete this comment

댓글 수: 7

Image Analyst
Image Analyst 2021년 12월 31일
Do you have a reference link for where to get the qr_code_extract() function?
yanqi liu
yanqi liu 2022년 1월 1일
편집: yanqi liu 2022년 1월 2일
yes,sir,delete this comment
Toqa Morshidi
Toqa Morshidi 2022년 1월 2일
Thank you so much sir! I have sent you a msg. Kindly check it, please?
yanqi liu
yanqi liu 2022년 1월 2일
yes,sir,delete all the answer?
Toqa Morshidi
Toqa Morshidi 2022년 1월 2일
Yes, please.
And again, thank you so much!
Image Analyst
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. 🙂
Toqa Morshidi
Toqa Morshidi 2022년 1월 2일
Sorry,sir. It is my first time to use mathworks and I don't know these things but I really appreciate your effort and time.

댓글을 달려면 로그인하십시오.

질문:

2021년 12월 30일

댓글:

2022년 1월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by