Used Video Sequence Is RGB24
Info
This question is closed. Reopen it to edit or answer.
Video Importing and Avoiding Storeage (Runtime)
1 view (last 30 days)
Show older comments
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 Comment
Answers (1)
Sean de Wolski
on 17 Jan 2012
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 Comments
Sean de Wolski
on 18 Jan 2012
So use the second inptu argument to read() which specifies the frame index
read(obj,567) %reads the 567th frame.
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!