saving a sequences of images

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.

Risposte (3)

Igor
Igor il 18 Giu 2011

0 voti

frame2im, getframe, addframe, movie2avi
Image Analyst
Image Analyst il 18 Giu 2011

0 voti

6 Commenti

ram m
ram m il 20 Giu 2011
for 1:framenum
figure(i)
imshow(frame1),title(i);
vidseq(i).cdata(:,:,:)=frame1
end
I have all my edited frames stores to frame1 for every loop.
and have them stored.
I want to save them as images.(and I have used an yuv sequence)
I want to know how can I save these frame1 loop for my images
Walter Roberson
Walter Roberson il 20 Giu 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
ram m il 20 Giu 2011
Thank you Sir,
I am able to save the frames(tif images(frame1.tif,frame2.tid...framen.tif))
Can you help me how save them to a folder and make a video file with the images saved.
ram m
ram m il 20 Giu 2011
I have created a folder
figure(i)
imshow(frame1),title(i);
vidseq(i).cdata(:,:,:)=frame1;
mkdir('ROI frames');
filename = sprintf('frame1_%d.jpeg', i);
imwrite(frame1,filename);
Can you tell me how can i save the frame to the folder "ROI frames"
Walter Roberson
Walter Roberson il 20 Giu 2011
filename = sprintf('ROI frames/frame1_%d.jpeg', i);
ram m
ram m il 20 Giu 2011
thankyou Sir

Accedi per commentare.

Categorie

Scopri di più su Convert Image Type in Centro assistenza e File Exchange

Richiesto:

il 18 Giu 2011

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by