| 75 | } // namespace internal |
| 76 | |
| 77 | void StereoFusionOptions::Print() const { |
| 78 | #define PrintOption(option) LOG(INFO) << #option ": " << (option); |
| 79 | LOG_HEADING2("StereoFusion::Options"); |
| 80 | PrintOption(mask_path); |
| 81 | PrintOption(max_image_size); |
| 82 | PrintOption(min_num_pixels); |
| 83 | PrintOption(max_num_pixels); |
| 84 | PrintOption(max_traversal_depth); |
| 85 | PrintOption(max_reproj_error); |
| 86 | PrintOption(max_depth_error); |
| 87 | PrintOption(max_normal_error); |
| 88 | PrintOption(check_num_images); |
| 89 | PrintOption(use_cache); |
| 90 | PrintOption(cache_size); |
| 91 | const auto& bbox_min = bounding_box.first.transpose().eval(); |
| 92 | const auto& bbox_max = bounding_box.second.transpose().eval(); |
| 93 | PrintOption(bbox_min); |
| 94 | PrintOption(bbox_max); |
| 95 | #undef PrintOption |
| 96 | } |
| 97 | |
| 98 | bool StereoFusionOptions::Check() const { |
| 99 | CHECK_OPTION_GE(min_num_pixels, 0); |
no outgoing calls
no test coverage detected