20 "ba3640bba38f19c8f2d5e86e045eeae5"},
22 "487cdfacffc8fc8247a5b21e860a3794",
"color"},
24 "augmented-icl-nuim/office2-depth-clean.zip",
25 "386203a7a5dae21db6d8430ae36dcc8b",
"depth"},
27 "augmented-icl-nuim/office2-depth-simulated.zip",
28 "13f1c5b7c4f44524fa91f7ba87e44bb5",
"depth_noisy"},
30 "698f2f09da7d2ed3fcb604889e6f8479"},
32 "dcbd567442f29bd6080d74b5a384cd0d"},
34 "d8d7b6d29e754c2993a6eba4fd8d89ea"},
40 std::vector<std::string> all_paths;
43 point_cloud_path_ = extract_dir +
"/office.ply";
44 all_paths.push_back(point_cloud_path_);
47 for (
int i = 0; i <= 2537; i++) {
48 const std::string
path =
49 extract_dir +
"/color/" +
fmt::format(
"{:05d}.jpg", i);
50 color_paths_.push_back(
path);
51 all_paths.push_back(
path);
55 for (
int i = 0; i <= 2537; i++) {
56 const std::string
path =
57 extract_dir +
"/depth/" +
fmt::format(
"{:05d}.png", i);
58 depth_paths_.push_back(
path);
59 all_paths.push_back(
path);
63 for (
int i = 0; i <= 2537; i++) {
64 const std::string
path =
65 extract_dir +
"/depth_noisy/" +
fmt::format(
"{:05d}.png", i);
66 noisy_depth_paths_.push_back(
path);
67 all_paths.push_back(
path);
71 oni_path_ = extract_dir +
"/office2.oni";
72 all_paths.push_back(oni_path_);
75 trajectory_path_ = extract_dir +
"/office2-traj.txt";
76 all_paths.push_back(trajectory_path_);
79 noise_model_path_ = extract_dir +
"/dist-model.txt";
80 all_paths.push_back(noise_model_path_);
filament::Texture::InternalFormat format
const std::string GetExtractDir() const
Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}.
void CheckPathsExist(const std::vector< std::string > &paths) const
Check if the paths exists after extraction.
Dataset class with one or more downloaded file.
RedwoodIndoorOffice2(const std::string &data_root="")
std::string CloudViewerDownloadsPrefix()
static const std::vector< DataDescriptor > data_descriptors
static const std::string path
Generic file read and write utility for python interface.