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

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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu イメージ finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!