CameraIntrinsics
Camera intrinsics. This is a copy of the ARCore CameraIntrinsics class.
Declaration
open class CameraIntrinsicsProperties
| Name | Type | Summary |
|---|---|---|
| focalLengthArray | FloatArray | - |
| imageDimensionsArray | IntArray | - |
| principalPointArray | FloatArray | - |
Functions
| Name | Type | Summary |
|---|---|---|
| getFocalLength | FloatArray | Returns the camera's focal length in pixels. The focal length is conventionally represented in pixels. For a detailed explanation, please see Disecting the Camera Matrix, Part 3: The Intrinsic Matrix. Pixels-to-meters conversion can use SENSOR_INFO_PHYSICAL_SIZE and SENSOR_INFO_PIXEL_ARRAY_SIZE in the Android Characteristics API. |
| getImageDimensions | IntArray | Returns a int[2] containing the image dimensions. The order of values is {width, height}. |
| getPrincipalPoint | FloatArray | Returns a float[2] containing the principal point. The order of values is {cx, cy}. |
| toFloatArray | Array<FloatArray> | Returns a float[3][3] representing the camera's intrinsic matrix. |
Relationships
derived: CameraIntrinsicsFromARCore