Display same image with different rotations
2 views (last 30 days)
Jorg Woehl on 8 Mar 2021
Edited: Jorg Woehl on 8 Mar 2021
I assume you are talking about 2D images:
% prepare an image but hide it initially (for better timing)
h = imagesc(peaks, 'Visible', 'off')
daspect([1,1,1]) % display image without distortion
axis off % don't draw axes
for alpha = 0:90:1350 % this produces a total of 16 images
% display the image view for one second
h.Visible = 'on'
% hide the image for half a second
h.Visible = 'off'