Time-of-Flight Library(ToF) 4.0.1
|
|
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 Camera &camera) | |
Construct the csf writer from a camera. | |
CsfWriter (StringView file_location, const CameraConfig &camera_config, const Calibration &calibration, StringView serial) | |
Construct csf writer from calibration and configuration. | |
void | write_frame (const Data &frame) |
Write frame to csf file. | |
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 21 of file csf_writer.hpp.
|
inline |
Construct from pointer.
Definition at line 24 of file csf_writer.hpp.
|
inline |
Construct the csf writer from a camera.
file_location | Path to where the csf file should be created |
camera | The camera to get the camera config and calibration file from |
Definition at line 32 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 40 of file csf_writer.hpp.
|
inline |