compute Pinhole Camera Intrinsics
fun computePinholeCameraIntrinsics(projectionMatrix: FloatArray, width: Int, height: Int, result: PinholeCameraIntrinsicParameters)
Computes pinhole camera intrinsic parameters from provided projection matrix and viewport size.
Parameters
projection Matrix
array containing values of 4x4 matrix defining projection matrix.
width
width of viewport expressed in pixels.
height
height of viewport expressed in pixels.
result
instance where computed pinhole camera intrinsic parameters will be stored.