org.naokishibata.examples
Class BGVideoWriter

java.lang.Object
  extended by org.naokishibata.examples.BGVideoWriter
All Implemented Interfaces:
java.lang.Runnable

public class BGVideoWriter
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
BGVideoWriter(java.lang.String fn, java.lang.String fourcc, double fps, int width, int height, int is_color)
           
 
Method Summary
 void close()
           
static BGVideoWriter cvCreateVideoWriter(java.lang.String fn, java.lang.String fourcc, double fps, int width, int height, int is_color)
           
 void cvWriteFrame(IplImage img)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BGVideoWriter

public BGVideoWriter(java.lang.String fn,
                     java.lang.String fourcc,
                     double fps,
                     int width,
                     int height,
                     int is_color)
Method Detail

cvCreateVideoWriter

public static BGVideoWriter cvCreateVideoWriter(java.lang.String fn,
                                                java.lang.String fourcc,
                                                double fps,
                                                int width,
                                                int height,
                                                int is_color)

run

public void run()
Specified by:
run in interface java.lang.Runnable

cvWriteFrame

public void cvWriteFrame(IplImage img)

close

public void close()