1 #include "../lib/common.h" 2 #include "../lib/args.h" 3 #include "../lib/view_homography.h" 4 #include "../lib/border.h" 8 int main(
int argc,
const char* argv[]) {
9 get_args(argc, argv,
"homography.json/homographies.json width height out_border.json");
view_homography decode_view_homography(const json &j_hom)
bool is_single_view_homography(const json &j)
std::map< view_index, view_homography > view_homographies
border maximal_border(const view_homography &hom, real width, real height)
int main(int argc, const char *argv[])
void export_json_file(const json &j, const std::string &filename, bool compact)
std::string out_filename_arg()
json encode_border(const border &bord)
view_homographies decode_view_homographies(const json &j_homs)
void get_args(int argc, const char *argv[], const std::string &usage)