Video Saving
[Utils]

This videosaving is a lar util module intended to quickly save videos from a sequence of IPLImages. Can be used for media generation or debug purposes. More...

Collaboration diagram for Video Saving:

Data Structures

class  c_videosaving
 This is the class used to encapsulate the videosaving module code. More...

Files

file  videosaving.cpp
 

This is where the class methods are defined and etc.


file  videosaving.h
 

main header file for this module. The class definition.


Functions

 c_videosaving::c_videosaving (IplImage *src)
 Overloaded constructor for class. Give an example IPLImage so that the class knows the image size.
 c_videosaving::c_videosaving (IplImage *src, char *name)
 Overloaded constructor for class. Give an example IPLImage so that the class knows the image size plus the filename of the video.
 c_videosaving::~c_videosaving ()
 Destructor for class. Releases the video structure.
void c_videosaving::addframe (IplImage *src)
 Adds a frame to the video.
 c_videosaving::c_videosaving ()
 Dummy constructor for class.

Variables

time_t c_videosaving::rawtime
struct tmc_videosaving::timeinfo
char c_videosaving::tmp [1024]
char c_videosaving::str [1024]
CvVideoWriter * c_videosaving::vid

Detailed Description

This videosaving is a lar util module intended to quickly save videos from a sequence of IPLImages. Can be used for media generation or debug purposes.


Function Documentation

void c_videosaving::addframe ( IplImage *  src  )  [inherited]

Adds a frame to the video.

Parameters:
src the image that has the frame to be added.
c_videosaving::c_videosaving (  )  [inherited]

Dummy constructor for class.

c_videosaving::c_videosaving ( IplImage *  src,
char *  name 
) [inherited]

Overloaded constructor for class. Give an example IPLImage so that the class knows the image size plus the filename of the video.

Parameters:
src An example IPLImage
name the path and filename for the video that will be saved
c_videosaving::c_videosaving ( IplImage *  src  )  [inherited]

Overloaded constructor for class. Give an example IPLImage so that the class knows the image size.

Parameters:
src An example IPLImage
c_videosaving::~c_videosaving (  )  [inherited]

Destructor for class. Releases the video structure.


Variable Documentation

time_t c_videosaving::rawtime [private, inherited]
char c_videosaving::str[1024] [private, inherited]
struct tm* c_videosaving::timeinfo [private, inherited]
char c_videosaving::tmp[1024] [private, inherited]
CvVideoWriter* c_videosaving::vid [private, inherited]
Generated on Wed Jun 2 12:43:28 2010 for LAR Atlas by  doxygen 1.6.3