2 #ifndef LVR2_IO_YAML_SCANIMAGE_IO_HPP 3 #define LVR2_IO_YAML_SCANIMAGE_IO_HPP 7 #include <yaml-cpp/yaml.h> 26 node[
"width"] = scanImage.
image.cols;
27 node[
"height"] = scanImage.
image.rows;
28 node[
"image_file"] = scanImage.
imageFile.string();
41 if(node[
"extrinsics"])
47 scanImage.
extrinsics = lvr2::Extrinsicsd::Identity();
50 if(node[
"extrinsics_estimate"])
68 #endif // LVR2_IO_YAML_PINHOLECAMERAMODEL_IO_HPP static bool decode(const Node &node, lvr2::ScanImage &scanImage)
boost::filesystem::path imageFile
Path to stored image.
void convert(COORD_SYSTEM from, COORD_SYSTEM to, float *point)
Extrinsicsd extrinsicsEstimate
Extrinsics estimate.
static constexpr char sensorType[]
Sensor type flag.
static Node encode(const lvr2::ScanImage &scanImage)
cv::Mat image
OpenCV representation.
Extrinsicsd extrinsics
Extrinsics.
Extrinsics< double > Extrinsicsd
4x4 extrinsic calibration (double precision)