1 #include "../lib/args.h" 2 #include "../lib/dataset.h" 3 #include "../lib/filesystem.h" 13 int main(
int argc,
const char* argv[]) {
14 get_args(argc, argv,
"dataset_parameters.json [dataset_group]");
21 std::cout <<
'.' << std::flush;
26 if(! have_image) std::cout <<
"\nmissing image " << idx <<
" (" << view.
image_filename() <<
")\n";
27 if(! have_depth) std::cout <<
"\nmissing depth " << idx <<
" (" << view.
depth_filename() <<
")\n";
29 std::cout << std::endl;
bool file_exists(const std::string &filename)
std::string image_filename() const
dataset_view view(int x) const
std::string depth_filename() const
int main(int argc, const char *argv[])
dataset_group group(const std::string &grp) const
std::vector< view_index > indices() const
std::string string_opt_arg(const std::string &def="")
void get_args(int argc, const char *argv[], const std::string &usage)