[問題] movie2avi 的問題? 已回收
clear; clc;
Height = 480;
Width = 720;
% Record the movie
for j = 1:20
X = floor(256*rand(Height,Width));
% scatter(X(:,1),X(:,2))
colormap(gray(256));
image(X)
axis off
F(j) = getframe;
end
for j=21:1:60
if mod(j,2) == 0
X = 128*ones(Height,Width);
else
X = zeros(Height,Width);
end
colormap(gray(256));
image(X)
axis off
F(j) = getframe;
end
movie2avi(F,'test3n','compression','none')
movie(F,1,15)
用以上的程式碼所產生的avi檔
在播放時在右和下方會各有一條白線(雖然在matlab自已播的時候沒有)
有誰碰過類似的問題 以及該如何解決?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.120.66.134