cannot exporting high resolution video?

5 ビュー (過去 30 日間)
nines
nines 2023 年 2 月 4 日
編集済み: Sulaymon Eshkabilov 2023 年 2 月 4 日
Hello all,
I am having issues exporting a video and want to make it high resolution:
vidObj = VideoWriter('moviev.avi');
vidObj.Quality = 100; hold on % 1) trying to make video obj high res
vidObj.FrameRate = 1;
open(vidObj);
figure('units','pixels','position',[30 30 1920 1080]); hold on % 2) trying to make resolution high
for k = 1:numel(whole_ts)-1
plot(whole_ts(k:k+1), ts(k:k+1), '-blue'); hold on
pause(0.0001)
set(gcf,'renderer','Painters'); hold on % 3) use painters to try to make resolution high
frame = getframe(gcf); hold on
writeVideo(vidObj, frame);
end
close(vidObj);
I have tried both line 1, 2, and 3 in order to make the output image high resolution - but the avi image still comes out blurry. Do you have any suggestions?
Thanks!

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023 年 2 月 4 日
編集済み: Sulaymon Eshkabilov 2023 年 2 月 4 日
Try this function: exportgraphics()
See DOC

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by