Go to the documentation of this file.
9 #ifndef CVideoFileWriter_H
10 #define CVideoFileWriter_H
64 const std::string &out_file,
67 const std::string &fourcc = std::string(
""),
68 bool isColor =
true );
mrpt::utils::TImageSize m_img_size
A copy of the video size.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
An output stream which takes a sequence of images and writes a video file in any of a given of compat...
A class for storing images as grayscale or RGB bitmaps.
virtual ~CVideoFileWriter()
Destructor.
void close()
Finish the file writing and close the file output.
bool writeImage(const mrpt::utils::CImage &img) const
Write image to the video file (method function, alternative to the operator <<).
bool open(const std::string &out_file, double fps, const mrpt::utils::TImageSize &frameSize, const std::string &fourcc=std::string(""), bool isColor=true)
Open a file for writing the video.
CVideoFileWriter()
Default constructor, which does not open any file.
A pair (x,y) of pixel coordinates (integer resolution).
std::ostream BASE_IMPEXP & operator<<(std::ostream &o, const TPoint2D &p)
bool isOpen() const
Return true if already successfully open with open() and not closed yet.
mrpt::utils::void_ptr_noncopy m_video
A pointer to CvVideoWriter.
Page generated by Doxygen 1.8.20 for MRPT 1.4.0 SVN: at Thu Aug 27 02:40:23 UTC 2020 | | |