MATLAB Answers

saving a sequences of images

4 views (last 30 days)
ram m
ram m on 18 Jun 2011
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.

  0 Comments

Sign in to comment.

Answers (3)

Walter Roberson
Walter Roberson on 18 Jun 2011
Please see this FAQ

  0 Comments

Sign in to comment.


Igor
Igor on 18 Jun 2011
frame2im, getframe, addframe, movie2avi

  0 Comments

Sign in to comment.


Image Analyst
Image Analyst on 18 Jun 2011

  6 Comments

Show 3 older comments
ram m
ram m on 20 Jun 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 on 20 Jun 2011
filename = sprintf('ROI frames/frame1_%d.jpeg', i);
ram m
ram m on 20 Jun 2011
thankyou Sir

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!