Making a video - quality issue

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!

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

提问:

2013-7-16

Community Treasure Hunt

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

Start Hunting!

Translated by