[vtkusers] continuous saving of image frames

Dominik Szczerba domi at vision.ee.ethz.ch
Sun Apr 15 02:34:47 EDT 2007


I save the images to a ram disk.
Dominik

On Sunday 15 April 2007 01:14, Tim Soper wrote:
> Hi-
>    I've been writing a subclass for vtkVideoSource to grab frames in a
> custom application. I'm at the point where I would like to continuously
> save captured frames to individual files. While continuous display of video
> frames works nicely (30Hz+), saving the images using vtkPNGWriter or
> vtkBMPWriter (those are the two I tried) is drastically slowing my
> application. At most I can save 2-4 frames per second. To compare, I tried
> writing the bitmap data to files directly in a raw format using the c++
> command fwrite( ) and was able to save images easily at 10 fps. Is there a
> way to speed up the process using a vtkImageWriter subclass. Any help would
> be greatly appreciated.
>
> Tim Soper
>
> Research Assistant
> University of Washington
> Department of Bioengineering
> Box 352142
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers

-- 
Dominik Szczerba, PhD
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi



More information about the vtkusers mailing list