Time-of-Flight Library(ToF)
3.2.2
|
|
The csf writer class takes care of writing depth frames to disk. More...
#include <csf_writer.hpp>
Public Member Functions | |
CsfWriter (tof_csf_writer_t ptr=nullptr) | |
Construct from pointer. | |
CsfWriter (StringView file_location, const CameraConfig &camera_config, const Calibration &calibration, StringView serial) | |
Construct csf writer from calibration and configuration. More... | |
void | write_frame (const Data &frame) |
Write frame to csf file. More... | |
The csf writer class takes care of writing depth frames to disk.
The class has to be created from either a Camera or csf reader, because it needs information about the camera that was used to record the depth frames. Therefore you should only write depth frames coming from one camera into the same writer
Definition at line 24 of file csf_writer.hpp.
|
inline |
Construct csf writer from calibration and configuration.
file_location | Path to where the csf file should be created |
camera_config | Camera configuration |
calibration | Calibration |
serial | Serial number of camera |
Definition at line 37 of file csf_writer.hpp.
|
inline |