blob: 2dbf25dfe1579f9aa1bbe2b09427ba90fb924504 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "src/wall-atlas.hpp"
#include <vector>
#include <opencv2/core/mat.hpp>
namespace floormat::wall_tool {
struct options
{
String input_dir, input_file, output_dir;
};
struct frame
{
Vector2ui size;
cv::Mat4b mat;
};
struct state
{
options& opts;
const wall_atlas_def& old_atlas;
wall_atlas_def& new_atlas;
std::vector<frame>& frames;
int& error;
};
} // namespace floormat::wall_tool
|