I am looking for a way to determine the camera calibration matrix using openCV or similar from a lens design in OpticsStudio. Points in 3D object space are trraced to 2D positions on the image sensor and you should know which 3D point corresponds to a 2D point.
One method would be to trace one field point (using object height) at a time and read out the spot position from the footprint diagram and then make a short python or matlab program to move around the field point and also change object distance.
Or is there a better/faster way? Can the grid distortion plot or similar be used for this somehow?
Best regards,
/Richard