Making a video - quality issue

2 views (last 30 days)
Seeker
Seeker on 16 Jul 2013
I have 100 matrices that I am drawing with the function imagesc(). I am making a movie from these images.
This is my code
myObj=VideoWriter('test.avi');
open(myObj);
for i=1:100
imagesc(F(:,:,i));
drawnow
frame=getframe(figure(1));
writeVideo(myObj,frame);
end
close(myObj)
This works fine and it does produce wanted .avi file, but the quality is quite poor. Any suggestions?
Many thanks!

Answers (0)

Community Treasure Hunt

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

Start Hunting!