| 375 | } |
| 376 | |
| 377 | std::vector<std::string> getAvailableTestScenes(Problem problem_) |
| 378 | { |
| 379 | switch (problem_) |
| 380 | { |
| 381 | case Problem::PerspectiveNPointFitting: |
| 382 | return { "pose6dscene" }; |
| 383 | case Problem::LineFitting: |
| 384 | return { "adam" }; |
| 385 | case Problem::FundamentalMatrixFitting: |
| 386 | return { "head", "johnssona", "Kyoto" }; |
| 387 | case Problem::HomographyFitting: |
| 388 | return { "graf", "Eiffel", "adam" }; |
| 389 | case Problem::RigidTransformationFitting: |
| 390 | return { "rigid_pose_example" }; |
| 391 | default: |
| 392 | return { "fountain" }; |
| 393 | } |
| 394 | } |
| 395 | |
| 396 | bool initializeSceneRigidPose( |
| 397 | const std::string& scene_name_, |