MCPcopy Create free account
hub / github.com/danini/graph-cut-ransac / getAvailableTestScenes

Function getAvailableTestScenes

examples/cpp_example.cpp:377–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377std::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
396bool initializeSceneRigidPose(
397 const std::string& scene_name_,

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected