2013a student versionのストレージ制限
1 次查看(过去 30 天)
显示 更早的评论
Windows(64bit)のPCで2013a student version(32bit版)を使用しています. 画像処理(画像データは14.3GB)をしていると,read関数のなかで File could not be read due to an unexpected error. Reason: Read Failed Reason: Not enough storage is available to complete this operation. のエラーが出ます.
2013a student versionは Windows 64bit版がないため,32bit版をインストールしました. 32bit版にはデータ容量に(2GBまでの)制限があることが原因と考えられます. 最新版(2017b?)に更新することを検討していますが,2013aでも処理できる方法があればご教授頂きたいです. よろしくお願いします.
5 个评论
Tohru Kikawada
2018-1-29
動画だったのですね。もう少し具体的なイメージを持ちたいのですが、過去400フレームとの加算( imfuse )を毎フレーム行うという感じでしょうか。ウィンドウで処理をしていくようなイメージを持っています。
采纳的回答
Tohru Kikawada
2018-1-29
下記のように逐次的にフレームを加算するような処理ではいかがでしょうか。
全フレームをメモリに読み込まずに、1フレームずつ処理するような形なので、メモリの消費量も抑えられると思います。
v = VideoReader('xylophone.mp4');
currAxes = axes;
videoFused = im2uint16(readFrame(v));
while hasFrame(v)
videoFrame = im2uint16(readFrame(v));
videoFused = imlincomb(0.05,videoFrame,0.95,videoFused,'uint16');
image(videoFused, 'Parent', currAxes);
currAxes.Visible = 'off';
drawnow limitrate;
end
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!