2013a student versionのストレージ制限
2 views (last 30 days)
Show older comments
Yasuko Hirono
on 29 Jan 2018
Commented: Yasuko Hirono
on 31 Jan 2018
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 Comments
Tohru Kikawada
on 29 Jan 2018
動画だったのですね。もう少し具体的なイメージを持ちたいのですが、過去400フレームとの加算( imfuse )を毎フレーム行うという感じでしょうか。ウィンドウで処理をしていくようなイメージを持っています。
Accepted Answer
Tohru Kikawada
on 29 Jan 2018
下記のように逐次的にフレームを加算するような処理ではいかがでしょうか。
全フレームをメモリに読み込まずに、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
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!