Re: MATLAB Video Acquisition
- From: Iain <Iain@xxxxxxxxxxxxxxxxxx>
- Date: Wed, 14 Dec 2005 09:36:39 +0000
On 13 Dec 2005 22:21:53 -0800, agarwal.abhishek@xxxxxxxxx wrote:
> Dear Group Members
>
> I am working on real-time panaromic video generation using three
> cameras.
> As a prototype, I am implementing the solution in MATLAB, just to see
> if things work out well. Also, instead of normal CCD cameras I am using
> webcams as of now. Since the algorithm is still very crude, and is not
> real-time, I have to capture video streams from the 3 cameras and store
> them for further processing.
> Now the problem that I am facing is of memory overflow. Due to the
> difference between the rate at which frames are coming-in into memory
> and the rate at which frames are being stored on secondary storage is
> quite significant, I always end up getting memory errors (even with 11
> seconds of capture).
>
> Settings and Configurations:
>
> Pentium4 3 GHz
> 256 MB RAM (Cannot be changed, constraint)
> 3 Logitech USB Webcams
> Resolution '640 x 480' (Cannot be changed, constraint)
> Frame Rate '6 fps'
> Returned Color Space 'Grayscale'
> imaqmem '100000000' (100 MB)
> LoggingMode 'Disk&Memory' (Memory, for I need the timestamps)
> Trigger 'Manual'
> FramesPerTrigger 'Inf'
> Video stored as 'AVIObject'
>
> Is there a way out to get rid of the memory overflows? What other
> properties can be tweaked to reduce the memory requirements? Also, any
> other information, comments or URLs are welcome.
>
> Any sort of help will be highly appreciated.
> Thanking You All
>
> Abhishek Agarwal
> New Delhi
This seems odd. net bandwidth of the 3 cameras should be around 5MB/sec
(assuming 256 bit grey scale depth). This is WELL within the capabilities
of even a modest disk sub system.
Or is it Matlab which is causing the problem?
You may wish to create a DS program to grab the AVI files and then process
them in MATLAB.
Iain
--
Iain Downs (DirectShow MVP)
Commercial Software Therapist
www.idcl.co.uk
.
- References:
- MATLAB Video Acquisition
- From: agarwal.abhishek@xxxxxxxxx
- MATLAB Video Acquisition
- Prev by Date: Re: Overlay surface disable??
- Next by Date: Re: Fastest way of processing each frame of a video?
- Previous by thread: MATLAB Video Acquisition
- Next by thread: RE: MATLAB Video Acquisition
- Index(es):
Relevant Pages
|