HOW I CAN SOLVE THIS,, HELP PLEASE :) NEED CODING

1 view (last 30 days)
how to know the size of each angle of tiles ?

Answers (4)

Image Analyst
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?

KURNIAWAN
KURNIAWAN on 20 May 2012
can u give me the M-FILE coding to solve this ?
  1 Comment
Walter Roberson
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.

Sign in to comment.


Walter Roberson
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.

KURNIAWAN
KURNIAWAN on 20 May 2012
i send the duplicate coz my question not answer yet :(
  2 Comments
Walter Roberson
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
Jan on 21 May 2012
I agree with Walter that duplicate questions are annoying and that this reduces the chance to get an answer.

Sign in to comment.

Tags

Products

Community Treasure Hunt

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

Start Hunting!