image flipping using a function
11 views (last 30 days)
Show older comments
if true
My Animation
writerObj = VideoWriter('myAnimation2','MPEG-4');
writerObj.FrameRate = 1;
open(writerObj);
RGB1 = imread('spiderman.jpg');
RGB2 = imread('deadpool.jpg');
RGB3 = imread('hulk.jpg');
RGB4 = imread('spiderman.jpg');
imgArray = {RGB1, RGB2, RGB3, RGB4};
for i = 1:4
frm=im2frame(imgArray{i});
writeVideo(writerObj,frm);
end
close(writerObj);
function RGB = flipud(RGB1, RGB2, RGB3, RGB4);
load myAnimation2
Is is possible do this or this is wrong?
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!