Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Video Importing and Avoiding Storeage (Runtime)

1 回表示 (過去 30 日間)
Tejas Kulkarni
Tejas Kulkarni 2012 年 1 月 17 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I Am new to Video processing or working on Video Sequence. I am facing some minor problems regarding taking the video as input sequence. My Objective's are 1. Load a Video sequence into MATLAB, but not store it. 2. Point and select the point on the Running Video Sequence and Keep Tracing or Tracking it. 3. Generate A Graph or Relative movement of the point with its previous position( not the starting ) and store the Data in a file.
I strated my Objective 1 using mmreader and Videoreader function but they required pre-allocation of memory (Struct) which poses problems for a large sequence and 'Out Of Memory' Porblems. (Am Not allowed to use VisionReader or step function from the Vision toolbox "CODE" or the said toolbox sequence)
  1 件のコメント
Tejas Kulkarni
Tejas Kulkarni 2012 年 1 月 17 日
Used Video Sequence Is RGB24

回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 1 月 17 日
I don't see how you could load something but not store it MATLAB.
You could just load a little bit at a time and store that and overwrite it or clear it when you're done. You can do this using the read() capabilities of the mmreader object.
  2 件のコメント
Tejas Kulkarni
Tejas Kulkarni 2012 年 1 月 18 日
Yes I know the Function "read(obj)" and I have tried if but the problem comes with the memory. It shows me the following error.
??? Not enough memory available for 6755 frames.
That is the reason am asking for some sort of run-time method or efficient method that will not allocate my memory. My objective and interest lies in only 7 frames +-3 from present.
Sean de Wolski
Sean de Wolski 2012 年 1 月 18 日
So use the second inptu argument to read() which specifies the frame index
read(obj,567) %reads the 567th frame.

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by