9 #ifndef CVideoFileWriter_H
10 #define CVideoFileWriter_H
A class for storing images as grayscale or RGB bitmaps.
An output stream which takes a sequence of images and writes a video file in any of a given of compat...
bool writeImage(const mrpt::img::CImage &img) const
Write image to the video file (method function, alternative to the operator <<).
void close()
Finish the file writing and close the file output.
mrpt::void_ptr_noncopy m_video
A pointer to CvVideoWriter.
virtual ~CVideoFileWriter()
Destructor.
const CVideoFileWriter & operator<<(const mrpt::img::CImage &img) const
Write image to the video file.
CVideoFileWriter()
Default constructor, which does not open any file.
bool isOpen() const
Return true if already successfully open with open() and not closed yet.
mrpt::img::TImageSize m_img_size
A copy of the video size.
bool open(const std::string &out_file, double fps, const mrpt::img::TImageSize &frameSize, const std::string &fourcc=std::string(""), bool isColor=true)
Open a file for writing the video.
GLsizei const GLchar ** string
TPixelCoord TImageSize
A type for image sizes.
Classes for computer vision, detectors, features, etc.