Loading...
Decompose a 3×3 upper-triangular camera intrinsic matrix K into its individual parameters.
The intrinsic matrix K has the form:
K=fx00sfy0cxcy1
where:
Given such a matrix, extract and return these parameters as a dictionary with keys 'fx', 'fy', 'cx', 'cy', and 'skew'.
This decomposition is a fundamental step in camera calibration and is used extensively in 3D reconstruction, augmented reality, and visual SLAM.
K = [[800.0, 0.0, 320.0],
[0.0, 800.0, 240.0],
[0.0, 0.0, 1.0]]{'fx': 800.0, 'fy': 800.0, 'cx': 320.0, 'cy': 240.0, 'skew': 0.0}'fx', 'fy', 'cx', 'cy', and 'skew'.{'fx': 800.0, 'fy': 800.0, 'cx': 320.0, 'cy': 240.0, 'skew': 0.0}.