Intrinsics

data class Intrinsics(val width: Int, val height: Int, val ppx: Double, val ppy: Double, val fx: Double, val fy: Double, val model: DistortionModel)(source)

Stream intrinsics

Constructors

Link copied to clipboard
constructor(width: Int, height: Int, ppx: Double, ppy: Double, fx: Double, fy: Double, model: DistortionModel)

Properties

Link copied to clipboard
val fx: Double

focal length of the image plane, as a multiple of pixel width

Link copied to clipboard
val fy: Double

focal length of the image plane, as a multiple of pixel height

Link copied to clipboard
val height: Int

height of the stream image in pixels

Link copied to clipboard

distortion model of the image

Link copied to clipboard
val ppx: Double

horizontal coordinate of the principal point of the image, as a pixel offset from the left edge

Link copied to clipboard
val ppy: Double

vertical coordinate of the principal point of the image, as a pixel offset from the left edge

Link copied to clipboard
val width: Int

width of the stream image in pixels

Functions

Link copied to clipboard
fun unproject(x: Double, y: Double, depth: Double): Vector3