The system has three subsystems:
- The Total Station
- The camera
- The focal adjustment
Calibration requires taking readings on a number of targets. Readings are of two kinds:
- The photograph
- The tacheometric reading
As of now, I've developed sufficient code to make the device move progressively to focus on an array of targets. The next task - more challenging - is to set an algorithm on Halcon to extract full edge contours. Now, this involves several rather empirical parameters and nothing but experimentation will get us a good combination (there is no right combination).
The last stage, later, will be to develop a refraction model and test the whole thing on some giant rocks in the Alps. I hope I can get to that stage!