Go to the documentation of this file.
9 #ifndef CVideoFileWriter_H
10 #define CVideoFileWriter_H
virtual ~CVideoFileWriter()
Destructor.
bool writeImage(const mrpt::img::CImage &img) const
Write image to the video file (method function, alternative to the operator <<).
bool isOpen() const
Return true if already successfully open with open() and not closed yet.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
CVideoFileWriter()
Default constructor, which does not open any file.
mrpt::void_ptr_noncopy m_video
A pointer to CvVideoWriter.
An output stream which takes a sequence of images and writes a video file in any of a given of compat...
void close()
Finish the file writing and close the file output.
const CVideoFileWriter & operator<<(const mrpt::img::CImage &img) const
Write image to the video file.
mrpt::img::TImageSize m_img_size
A copy of the video size.
A class for storing images as grayscale or RGB bitmaps.
GLsizei const GLchar ** string
TPixelCoord TImageSize
A type for image sizes.
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.
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |