6 #include "../lib/args.h" 7 #include "../lib/json.h" 8 #include "../lib/opencv.h" 9 #include "../lib/string.h" 15 int main(
int argc,
const char* argv[]) {
16 get_args(argc, argv,
"in_cors.json out_cors.json removed_feat1,removed,feat2,...");
21 std::vector<std::string> removed_cors =
explode(
',', removed_cors_str);
22 for(
const std::string& removed_feature_name : removed_cors) {
23 cors.
features.erase(removed_feature_name);
Set of features, each on set of views.
std::map< std::string, image_correspondence_feature > features
int main(int argc, const char *argv[])
image_correspondences image_correspondences_arg()
std::string out_filename_arg()
void export_image_corresponcences(const image_correspondences &cors, const std::string &filename)
std::vector< std::string > explode(char separator, const std::string &str)
void get_args(int argc, const char *argv[], const std::string &usage)