Tilt a 2D image within a 3D space?
조회 수: 4 (최근 30일)
이전 댓글 표시
Hello, The images i have need to be "tiltable", which means, Id like to display them and then via mouse reposition the camera/ Viewpoint. I do not want to rotate the image, but only change its elevation (?I guess?). Im thinking of using the view function.. if that is correct, would somebody be able to give me an example of how to do this? Greetings,nad
댓글 수: 4
Jürgen
2012년 12월 13일
So, no I am not German, :-) rather Belgian, close but no cigar :-) => Does the fucntion that Matt proposed do what you need?
답변 (2개)
Bjorn Gustavsson
2012년 12월 21일
This file exchange submission should let you wrap an image to any flat surface: http://www.mathworks.se/matlabcentral/fileexchange/3777-tcolor-a-fast-pcolor-that-likes-rgb-images
Then you can use the regular zoom and rotate functionalities of the ordinary matlab figure window. Further, you should have no problems modifying this function to also include a vertical component of the surface you want to wrap the image onto.
HTH
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!