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!