rotate image using camup or cameraupvector
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to rotate image using camup or setting cameraupvector of current axes but as I apply this transformation axes labels rotate but image disappear.Since I have other entities also on same axes therefore I cant apply imrotate. Any suggestions
0 Commenti
Risposte (3)
Jan
il 11 Lug 2011
Images displayed by IMAGE or IMSHOW cannot be rotated. They are displayed only in a pure 2D view with standard orientation.
You can create a PATCH, which contains the image as CData or FaceVertexCData. Or a SURFACE with the FaceColor property set to 'texturemap' and the image stored in the CData. Both objects can be rotated freely.
2 Commenti
Jan
il 18 Lug 2011
@Gaurav: I've added a link to a nice FEX submission, which implements the display of images in 3D.
Sean de Wolski
il 18 Lug 2011
Use slice to plot your image. It can then be rotated at will.
doc slice
0 Commenti
Vedere anche
Categorie
Scopri di più su Geometric Transformation and Image Registration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!