HOW I CAN SOLVE THIS,, HELP PLEASE :) NEED CODING
1 次查看(过去 30 天)
显示 更早的评论
how to know the size of each angle of tiles ?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147278/image.jpeg)
0 个评论
回答(4 个)
Image Analyst
2012-5-20
And why aren't they 90 degrees? Is the square not the whole image, but tilted and on a white canvass (background). Let's assume so. Can you threshold it? I think so. Do you have the Image Processing Toolbox? If so, did you try the corner detector corner()? Or threshold, then find the centroid and call bwboundaries to find the boundary coordinates, then find the ones farthest away from the centroid? Really all we need are the 4 corner coordinates and then we're all set - it's just basic trigonometry after that. What are the constraints? Can we assume the square is fairly square and aligned with the edges of the image or do we have to take into account general 4-sided polygons (diamonds, kite shapes, non-convex shapes, etc.) at any angle whatsoever. I'm sure you can think of some ways to approach it, and there are several that will work. Which method do you want to try?
0 个评论
KURNIAWAN
2012-5-20
1 个评论
Walter Roberson
2012-5-20
No. You need to answer Image Analyst's questions before anyone could consider giving you code for it.
Historically, it is not likely that anyone is going to give you the MATLAB code for this. However if you show us the code you have arrived at already, and ask us specific questions about error messages you are getting, then you are more likely to receive advice.
Walter Roberson
2012-5-20
Your Question is still here and still active. Please do not open duplicate questions. Your duplicate question has been deleted.
0 个评论
KURNIAWAN
2012-5-20
2 个评论
Walter Roberson
2012-5-21
The best way to remind people about your Question is to reply to the points that people have raised in responding to you. The major effect of creating a duplicate question on MATLAB Answers is that it annoys me and wastes my time as I tidy everything up -- time during which I am not answering Questions because I am busy making everything neat. Duplicate questions also often ignores the other regular volunteers. Some of the people asking Questions seldom receive a response because the regular volunteers are annoyed at how many duplicate questions the people ask.
Jan
2012-5-21
I agree with Walter that duplicate questions are annoying and that this reduces the chance to get an answer.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!