Tilt a 2D image within a 3D space?
Mostrar comentarios más antiguos
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 comentarios
Jürgen
el 12 de Dic. de 2012
hi, the question is unclear, I am not a native speaker but tilting and rotating is the same no? There is an m-file in the file exchange for rotating in 3D around an axis, I saw a link in a post yesterday,
if you want to create new viewpoints on a scene you actually need three day information, in my opinion, on less you are speaking of rectification like in stereovision? e.g. If you do not have 3D data rotating your graph will not help rJ
nadine
el 12 de Dic. de 2012
Jürgen
el 13 de Dic. de 2012
So, no I am not German, :-) rather Belgian, close but no cigar :-) => Does the fucntion that Matt proposed do what you need?
nadine
el 21 de Dic. de 2012
Respuestas (2)
Bjorn Gustavsson
el 21 de Dic. de 2012
0 votos
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
Categorías
Más información sobre Geometric Transformation and Image Registration en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!