public static void intrinsicFromAbsoluteQuadratic ( DMatrixRMaj Q , DMatrixRMaj P , CameraPinhole intrinsic ) { DMatrixRMaj tmp = new DMatrixRMaj ( 3 , 4 ) ; DMatrixRMaj tmp2 = new DMatrixRMaj ( 3 , 3 ) ; CommonOps_DDRM . mult ( P , Q , tmp ) ; CommonOps_DDRM . multTransB ( tmp , P , tmp2 ) ; decomposeDiac ( tmp2 , intrinsic ) ; }
Extracts the intrinsic camera matrix from a view given its camera matrix and the dual absolute quadratic .