Making a video - quality issue

1 Ansicht (letzte 30 Tage)
Seeker
Seeker am 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!

Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by