welcom i need help
조회 수: 3 (최근 30일)
이전 댓글 표시
i need work Rotational alignment to images foot The goal is to estimate the angle between y-axis and the major axis of the best matching ellipse. Having extracted the center of mass C = (x'; y') (which is also the center of the ellipse, and letting x' = x-x' and y' = y-y', then the angle of inclination is given image ..and work nor- malization in direction and position using Euclidian- distance-
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146084/image.png)
i need code in matlab to work this....thanks
댓글 수: 4
Joseph Cheng
2014년 11월 12일
so i think what john was asking for you to show us what you've done so far (with code) and we can help you out with what is not working. There are very few people on here that will do the work for you.
답변 (1개)
Image Analyst
2014년 11월 12일
See my code here: http://www.mathworks.com/matlabcentral/answers/154523-calculate-and-crop-image-based-on-coordinates#answer_151500. It finds the major axis and then rotates it level.
댓글 수: 3
Image Analyst
2014년 11월 12일
I don't understand the difference. Why can't my code work or work with a simple adaptation? Anyway I can't help since I need to leave town in about 12 hours for a funeral. It's just trivial math - I'm sure you can do it.
참고 항목
카테고리
Help Center 및 File Exchange에서 Assembly에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!