The source code that is included with the QuickLINK 2 installer is a good resource. Below is the general flow of how the calibration works using the API.
- Create a calibration container calling
QLCalibration_Create()
.
- Initialize the calibration by calling
QLCalibration_Initialize()
.
- Get all the target locations by calling
QLCalibration_GetTargets()
.
- Iterate through the targets and calibrate each one by first drawing a target on the screen and then calling
QLCalibraion_Calibrate
.
- After all the targets are calibrated you can get the scores for each target by calling
QLCalibration_GetScoring()
.
- If the scores are not satisfactory then you can repeat steps 4-6 for the desired target(s) until the scores are satisfactory.
- Once the scores are satisfactory you can finalize the calibration process by calling
QLCalibration_Finalize()
.
- Apply the calibration to the device by calling
QLDevice_ApplyCalibration()
.
The only thing that may be different from the sample application and what you want to do is that the sample application uses openCV to draw the calibration targets and it only calibrates a subset of the entire display. The functionality is the same though.
answered
24 Sep '14, 16:18
phyatt ♦♦
157●16●60●80
accept rate:
8%