Create a image rotating animation with a image and a set of angle data
1 view (last 30 days)
Show older comments
I have a jpg. file and a set of data contains rotation angle. I want to make an animation which shows how the picture rotate with the angle changing. What command should I use to make the animation? I have an idea of how to create a avi. with a series of images, how can I create a set of rotated image?
2 Comments
John D'Errico
on 29 Dec 2015
Please stop posting your question every hour, just because you are in a hurry for an answer. All that happens is your spare questions will get deleted.
Image Analyst
on 29 Dec 2015
There was a bug in the Answers forum from yesterday until sometime this morning where you'd click "Submit" and it would never finished. If you clicked Submit a second time, it would post a second time but wouldn't tell you. Then if you tried to leave or refresh the page it would ask you if you wanted to leave without submitting. Then if you refreshed, you'd see multiple posts - one for every time you submitted. That's why we're seeing multiple comments, questions, or answers over the last day, or at least one possible reason why. I delete them when I see them so you may not have seen any. It looks like the Answers team has discovered and fixed this pesky bug which pops up every now and then.
Accepted Answer
Image Analyst
on 29 Dec 2015
See attached demo which rotates an image. In the loop, you can call imwrite() with a new filename each time if you want to save the images.
0 Comments
More Answers (0)
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!