| 538 | } |
| 539 | |
| 540 | std::vector<truth_instance> load_truth_instances(const image_info& info) |
| 541 | { |
| 542 | matrix<rgb_pixel> instance_label_image; |
| 543 | matrix<rgb_pixel> class_label_image; |
| 544 | |
| 545 | load_image(instance_label_image, info.instance_label_filename); |
| 546 | load_image(class_label_image, info.class_label_filename); |
| 547 | |
| 548 | return rgb_label_images_to_truth_instances(instance_label_image, class_label_image); |
| 549 | } |
| 550 | |
| 551 | std::vector<std::vector<truth_instance>> load_all_truth_instances(const std::vector<image_info>& listing) |
| 552 | { |
no test coverage detected