2013a student versionのストレージ制限

2 views (last 30 days)
Yasuko Hirono
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
Tohru Kikawada on 29 Jan 2018
動画だったのですね。もう少し具体的なイメージを持ちたいのですが、過去400フレームとの加算( imfuse )を毎フレーム行うという感じでしょうか。ウィンドウで処理をしていくようなイメージを持っています。
Yasuko Hirono
Yasuko Hirono on 29 Jan 2018
n×1536×1152×3(unit8)(n:動画のフレーム数)のデータに対して,毎フレーム1536×1152×3(unit8)を加算しています.

Sign in to comment.

Accepted Answer

Tohru Kikawada
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
  1 Comment
Yasuko Hirono
Yasuko Hirono on 31 Jan 2018
ご丁寧にありがとうございました.

Sign in to comment.

More Answers (0)

Categories

Find more on イメージ in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!