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;
}
those settings xml files probably do not exist, they are specific to your current setup. you will need 2 (similar) xml files, one for the camera and one for the projector with content like:
Mr. Berak :
Thanks for your reply very very much !
For a ChessBoard pattern , and the sample xml file you give me , can you give me the picture of the pattern ?
So I can understand how to calculate the value of :
Mr. Berak :
Thanks for your reply very very much !
For a ChessBoard pattern , and the sample xml file you give me , can you give me the picture of the pattern ?
So I can understand how to calculate the value of :