How can I get the " camera calibration file " , " projector setting file " , and " checkerboard pattern file " , for the projectorcalibration.c file , which under the directory of , opencv_contrib/modules/structured_light/samples ?
The C code is as following :
static void help()
cout << “\nThis example calibrates a camera and a projector” << endl;
cout << “To call: ./example_structured_light_projectorcalibration <cam_settings_path> "
" <proj_settings_path> <chessboard_path> <calibration_basename>”
" cam settings are parameters about the chessboard that needs to be detected to"
" calibrate the camera and proj setting are the same kind of parameters about the chessboard"
" that needs to be detected to calibrate the projector" << endl;
and also the following in main() :
Settings camSettings, projSettings; CommandLineParser parser(argc, argv, keys); String camSettingsPath = parser.get<String>(0); String projSettingsPath = parser.get<String>(1); String patternPath = parser.get<String>(2);