Go to the documentation of this file.
73 const std::string& out_file,
double fps,
75 const std::string& fourcc = std::string(
""),
bool isColor =
true);
virtual ~CVideoFileWriter()
Destructor.
Copyright (C) 2010 Hauke Strasdat Imperial College London Copyright (c) 2005-2020,...
bool isOpen() const
Return true if already successfully open with open() and not closed yet.
spimpl::impl_ptr< T > pimpl
CVideoFileWriter()
Default constructor, which does not open any file.
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.
mrpt::pimpl< Impl > m_video
mrpt::img::TImageSize m_img_size
A copy of the video size.
A class for storing images as grayscale or RGB bitmaps.
const CVideoFileWriter & operator<<(const mrpt::img::CImage &img)
Write image to the video file.
A pair (x,y) of pixel coordinates (integer resolution).
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.
bool writeImage(const mrpt::img::CImage &img)
Write image to the video file (method function, alternative to the operator <<).
Page generated by Doxygen 1.8.18 for MRPT 2.0.4 at Thu Sep 24 07:14:18 UTC 2020 | |