Go to the documentation of this file.
7 #ifndef OUTPUT_SENSOR_FILE_H
8 #define OUTPUT_SENSOR_FILE_H
19 void open(std::string input_file_name,
int image_width,
int image_height);
20 void write(
const cv::Mat& stitched_depth_frame_16bb,
const cv::Mat& stitched_ir_frame_16bb,
21 int image_width,
int image_height);
void close()
Closes all opened output files.
void write(const cv::Mat &stitched_depth_frame_16bb, const cv::Mat &stitched_ir_frame_16bb, int image_width, int image_height)
Writes one frame to output video file.
std::string output_video_file_name_
OutputSensorFile()
Constructor for OutputSensorFile class.
void open(std::string input_file_name, int image_width, int image_height)
Opens output files (video and/or csv)
void openOutputVideoFile(const std::string &input_file_name, int image_width, int image_height)
Opens output video file.
This class is for output sensor file.
void closeOutputVideoFile()
Closes output video file.
void writeOutputVideoFile(const cv::Mat &image)
Writes output video file.
This is base class for output.
cv::VideoWriter * output_video_writer_