Skip to content
Snippets Groups Projects
Commit ced6b0bd authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Tidy config

parent 6fdbaeb5
No related branches found
No related tags found
1 merge request!5Refactor/components
<?xml version="1.0"?>
<opencv_storage>
<Settings>
<!-- Number of inner corners per a item row and column. (square, circle) -->
<BoardSize_Width>9</BoardSize_Width>
<BoardSize_Height>6</BoardSize_Height>
<!-- The size of a square in some user defined metric system (pixel, millimeter)-->
<Square_Size>50</Square_Size>
<!-- The type of input used for camera calibration. One of: CHESSBOARD CIRCLES_GRID ASYMMETRIC_CIRCLES_GRID -->
<Calibrate_Pattern>"CHESSBOARD"</Calibrate_Pattern>
<!-- The input to use for calibration.
To use an input camera -> give the ID of the camera, like "1"
To use an input video -> give the path of the input video, like "/tmp/x.avi"
To use an image list -> give the path to the XML or YAML file containing the list of the images, like "/tmp/circles_list.xml"
-->
<!--Input>"images/CameraCalibration/VID5/VID5.xml"</Input-->
<!-- If true (non-zero) we flip the input images around the horizontal axis.-->
<Input_FlipAroundHorizontalAxis>0</Input_FlipAroundHorizontalAxis>
<!-- Time delay between frames in case of camera. -->
<Input_Delay>100</Input_Delay>
<!-- How many frames to use, for calibration. -->
<Calibrate_NrOfFrameToUse>25</Calibrate_NrOfFrameToUse>
<!-- Consider only fy as a free parameter, the ratio fx/fy stays the same as in the input cameraMatrix.
Use or not setting. 0 - False Non-Zero - True-->
<Calibrate_FixAspectRatio> 1 </Calibrate_FixAspectRatio>
<!-- If true (non-zero) tangential distortion coefficients are set to zeros and stay zero.-->
<Calibrate_AssumeZeroTangentialDistortion>1</Calibrate_AssumeZeroTangentialDistortion>
<!-- If true (non-zero) the principal point is not changed during the global optimization.-->
<Calibrate_FixPrincipalPointAtTheCenter> 1 </Calibrate_FixPrincipalPointAtTheCenter>
<!-- The name of the output log file. -->
<!--Write_outputFileName>"out_camera_data.xml"</Write_outputFileName-->
<!-- If true (non-zero) we write to the output file the feature points.-->
<Write_DetectedFeaturePoints>1</Write_DetectedFeaturePoints>
<!-- If true (non-zero) we write to the output file the extrinsic camera parameters.-->
<Write_extrinsicParameters>1</Write_extrinsicParameters>
<!-- If true (non-zero) we write to the output file the refined 3D target grid points.-->
<Write_gridPoints>1</Write_gridPoints>
<!-- If true (non-zero) we show after calibration the undistorted images.-->
<!--Show_UndistortedImage>1</Show_UndistortedImage-->
<!-- If true (non-zero) will be used fisheye camera model.-->
<Calibrate_UseFisheyeModel>0</Calibrate_UseFisheyeModel>
<!-- If true (non-zero) distortion coefficient k1 will be equals to zero.-->
<Fix_K1>0</Fix_K1>
<!-- If true (non-zero) distortion coefficient k2 will be equals to zero.-->
<Fix_K2>0</Fix_K2>
<!-- If true (non-zero) distortion coefficient k3 will be equals to zero.-->
<Fix_K3>0</Fix_K3>
<!-- If true (non-zero) distortion coefficient k4 will be equals to zero.-->
<Fix_K4>1</Fix_K4>
<!-- If true (non-zero) distortion coefficient k5 will be equals to zero.-->
<Fix_K5>1</Fix_K5>
</Settings>
</opencv_storage>
{
"vision": {
"type": "stereovideo",
"middlebury": {
"dataset": "",
"threshold": 2.0,
"scale": 0.5
},
"source": {
"flip": false,
"nostereo": false,
"scale": 1.0,
"flip_vert": false,
"max_fps": 25,
"width": 640,
"height": 480,
"crosshair": false
},
"calibrate": false,
"calibration": {
"board_size": [9,6],
"square_size": 50,
"frame_delay": 1.0,
"num_frames": 35,
"assume_zero_tangential_distortion": true,
"fix_aspect_ratio": true,
"fix_principal_point_at_center": true,
"use_fisheye_model": false,
"fix_k1": false,
"fix_k2": false,
"fix_k3": false,
"fix_k4": true,
"fix_k5": true,
"save": true,
"use_intrinsics": true,
"use_extrinsics": true,
"flip_vertical": false
},
"camera": {
"name": "Panasonic Lumix DMC-FZ300",
"focal_length": 25,
"sensor_width": 6.17,
"base_line": 0.1
},
"disparity": {
"algorithm": "libsgm",
"use_cuda": true,
"minimum": 0,
"maximum": 256,
"tau": 0.0,
"gamma": 0.0,
"window_size": 5,
"sigma": 1.5,
"lambda": 8000.0,
"filter": true
},
"display": {
"flip_vert": false,
"disparity": false,
"points": false,
"depth": false,
"left": false,
"right": false
},
"net": {
"listen": "tcp://*:9001",
"peers": []
},
"stream": {
"name": "dummy"
}
},
"reconstruction": {
"net": {
"peers": ["tcp://localhost:9001"]
},
"sources": [{"type": "net", "uri": "ftl://utu.fi/dummy/rgb-d"}],
"display": {
"flip_vert": false,
"disparity": false,
"points": true,
"depth": false,
"left": false,
"right": false
},
"registration": {
"reference-source" : "ftl://utu.fi/dummy/rgb-d",
"calibration" : {
"run": false,
"iterations" : 10,
"delay" : 1000,
"patternsize" : [9, 6]
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment