This class is for output sensor file.
More...
#include <output_sensor_file.h>
This class is for output sensor file.
Definition at line 16 of file output_sensor_file.h.
◆ OutputSensorFile()
| OutputSensorFile::OutputSensorFile |
( |
| ) |
|
◆ ~OutputSensorFile()
| OutputSensorFile::~OutputSensorFile |
( |
| ) |
|
|
inline |
◆ close()
| void OutputSensorFile::close |
( |
| ) |
|
|
virtual |
◆ closeOutputVideoFile()
| void OutputSensorFile::closeOutputVideoFile |
( |
| ) |
|
|
private |
◆ open()
| void OutputSensorFile::open |
( |
std::string |
input_file_name, |
|
|
int |
image_width, |
|
|
int |
image_height |
|
) |
| |
|
virtual |
Opens output files (video and/or csv)
- Parameters
-
| input_file_name | Input file name |
| image_width | Image Width |
| image_height | Image Height |
Implements IOutputSensor.
Definition at line 27 of file output_sensor_file.cpp.
◆ openOutputVideoFile()
| void OutputSensorFile::openOutputVideoFile |
( |
const std::string & |
input_file_name, |
|
|
int |
image_width, |
|
|
int |
image_height |
|
) |
| |
|
private |
Opens output video file.
- Parameters
-
| input_file_name | Input file name |
| image_width | Image Width |
| image_height | Image Height |
Definition at line 93 of file output_sensor_file.cpp.
◆ write()
| void OutputSensorFile::write |
( |
const cv::Mat & |
stitched_depth_frame_16bb, |
|
|
const cv::Mat & |
stitched_ir_frame_16bb, |
|
|
int |
image_width, |
|
|
int |
image_height |
|
) |
| |
|
virtual |
Writes one frame to output video file.
- Parameters
-
| stitched_depth_frame_16bb | - 16-bit stitched depth input |
| stitched_ir_frame_16bb | - 16Bit stitched IR input |
| image_width | - input image width |
| image_height | - input image height |
Implements IOutputSensor.
Definition at line 43 of file output_sensor_file.cpp.
◆ writeOutputVideoFile()
| void OutputSensorFile::writeOutputVideoFile |
( |
const cv::Mat & |
image | ) |
|
|
private |
◆ output_video_file_name_
| std::string OutputSensorFile::output_video_file_name_ |
|
private |
◆ output_video_writer_
| cv::VideoWriter* OutputSensorFile::output_video_writer_ |
|
private |
◆ video_enabled_
| bool OutputSensorFile::video_enabled_ |
|
private |
The documentation for this class was generated from the following files: