saving a sequences of images
Ältere Kommentare anzeigen
Hi
I want to save a sequences of images I have read the images from a video sequences and made some changes to each frames. now I am able to display the images using Imshow, i want to save these images and create a video sequence with the changes I have made to the frames. Can anyone help em with this.
figure(i) imshow(frame1),title(i);
this gives a list of figures, i want save these figures in a folder.
thank you.
Antworten (3)
Walter Roberson
am 18 Jun. 2011
0 Stimmen
Igor
am 18 Jun. 2011
0 Stimmen
frame2im, getframe, addframe, movie2avi
Image Analyst
am 18 Jun. 2011
0 Stimmen
See a complete demo in this thread: http://www.mathworks.com/matlabcentral/newsreader/view_thread/306289#831247
6 Kommentare
ram m
am 20 Jun. 2011
Walter Roberson
am 20 Jun. 2011
You will have to convert them from yuv to rgb to save them as images.
filename = sprintf('frame1_%d.tif', i);
imwrite(YourRGBImage,filename);
ram m
am 20 Jun. 2011
ram m
am 20 Jun. 2011
Walter Roberson
am 20 Jun. 2011
filename = sprintf('ROI frames/frame1_%d.jpeg', i);
ram m
am 20 Jun. 2011
Kategorien
Mehr zu Convert Image Type finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!