HOW I CAN SOLVE THIS,, HELP PLEASE :) NEED CODING
1 view (last 30 days)
Show older comments
how to know the size of each angle of tiles ?
0 Comments
Answers (4)
Image Analyst
on 20 May 2012
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 Comments
KURNIAWAN
on 20 May 2012
1 Comment
Walter Roberson
on 20 May 2012
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
on 20 May 2012
Your Question is still here and still active. Please do not open duplicate questions. Your duplicate question has been deleted.
0 Comments
KURNIAWAN
on 20 May 2012
2 Comments
Walter Roberson
on 21 May 2012
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
on 21 May 2012
I agree with Walter that duplicate questions are annoying and that this reduces the chance to get an answer.
See Also
Categories
Find more on Logical 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!