One Logo Pool Ball
CoreMedia · IOS API REFERENCE

CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.Calibration

struct · iOS 26.0+ · SDK 27.1

struct Calibration

Members (28)

init · iOS 26.0+

init

TypeScript
init(rawValue: _CoreFoundation_CFDictionary): (CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration) | null
Swift declaration
init?(rawValue: CFDictionary)

Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.

get · iOS 26.0+

rawValue

TypeScript
getRawValue($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): _CoreFoundation_CFDictionary
Swift declaration
var rawValue: CFDictionary { get }

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 26.0+

identifier

TypeScript
getIdentifier($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): number
Swift declaration
var identifier: Int32

Unique number associated with a lens.

set · iOS 26.0+

identifier

TypeScript
setIdentifier($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: number): void
Swift declaration
var identifier: Int32

Unique number associated with a lens.

get · iOS 26.0+

algorithmKind

TypeScript
getAlgorithmKind($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_AlgorithmKind
Swift declaration
var algorithmKind: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.AlgorithmKind

The camera calibration methodology.

set · iOS 26.0+

algorithmKind

TypeScript
setAlgorithmKind($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_AlgorithmKind): void
Swift declaration
var algorithmKind: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.AlgorithmKind

The camera calibration methodology.

get · iOS 26.0+

intrinsicMatrix

TypeScript
getIntrinsicMatrix($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): SDKHandle
Swift declaration
var intrinsicMatrix: simd_float3x3

The 3x3 camera intrinsic matrix for camera calibration. It has the following contents: | fx | s | cx | | 0 | fy | cy | | 0 | 0 | 1 | fx and fy are the focal length in pixels. For square pixels, they will have the same value. cx and cy are the coordinates of the principal point. The origin is the upper left of the frame. s is an optional skew factor.

set · iOS 26.0+

intrinsicMatrix

TypeScript
setIntrinsicMatrix($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: SDKHandle): void
Swift declaration
var intrinsicMatrix: simd_float3x3

The 3x3 camera intrinsic matrix for camera calibration. It has the following contents: | fx | s | cx | | 0 | fy | cy | | 0 | 0 | 1 | fx and fy are the focal length in pixels. For square pixels, they will have the same value. cx and cy are the coordinates of the principal point. The origin is the upper left of the frame. s is an optional skew factor.

get · iOS 26.0+

radialAngleLimit

TypeScript
getRadialAngleLimit($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): number
Swift declaration
var radialAngleLimit: Float

Outer limit of the calibration validity in degrees of angle eccentric from the optical axis. The value is linked to radial distortion corrections with k1 and k2.

set · iOS 26.0+

radialAngleLimit

TypeScript
setRadialAngleLimit($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: number): void
Swift declaration
var radialAngleLimit: Float

Outer limit of the calibration validity in degrees of angle eccentric from the optical axis. The value is linked to radial distortion corrections with k1 and k2.

get · iOS 26.0+

extrinsicOriginSource

TypeScript
getExtrinsicOriginSource($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_ExtrinsicOriginSource
Swift declaration
var extrinsicOriginSource: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.ExtrinsicOriginSource

Identifies how the origin of the camera system's extrinsics are determined.

set · iOS 26.0+

extrinsicOriginSource

TypeScript
setExtrinsicOriginSource($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_ExtrinsicOriginSource): void
Swift declaration
var extrinsicOriginSource: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.ExtrinsicOriginSource

Identifies how the origin of the camera system's extrinsics are determined.

get · iOS 26.0+

distortionCoefficients

TypeScript
getDistortionCoefficients($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): SDKHandle
Swift declaration
var distortionCoefficients: SIMD4<Float>

The first and second radial distortion coefficients (k1 and k2) used to correct the distortion that appeared as curved lines for straight lines and the first and second tangential distortion coefficients (p1 and p2) used to correct the distortion caused by a lens's improper alignment of physical elements.

set · iOS 26.0+

distortionCoefficients

TypeScript
setDistortionCoefficients($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: SDKHandle): void
Swift declaration
var distortionCoefficients: SIMD4<Float>

The first and second radial distortion coefficients (k1 and k2) used to correct the distortion that appeared as curved lines for straight lines and the first and second tangential distortion coefficients (p1 and p2) used to correct the distortion caused by a lens's improper alignment of physical elements.

get · iOS 26.0+

xFrameAdjustmentsPolynomial

TypeScript
getXFrameAdjustmentsPolynomial($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): SDKHandle
Swift declaration
var xFrameAdjustmentsPolynomial: SIMD3<Float>

Three element polynomial for mapping x axis UV parameters with an adjustment using the equation `x' = polynomialX[0] + polynomialX[1]*x + polynomialX[2]*x^3`.

set · iOS 26.0+

xFrameAdjustmentsPolynomial

TypeScript
setXFrameAdjustmentsPolynomial($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: SDKHandle): void
Swift declaration
var xFrameAdjustmentsPolynomial: SIMD3<Float>

Three element polynomial for mapping x axis UV parameters with an adjustment using the equation `x' = polynomialX[0] + polynomialX[1]*x + polynomialX[2]*x^3`.

get · iOS 26.0+

yFrameAdjustmentsPolynomial

TypeScript
getYFrameAdjustmentsPolynomial($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): SDKHandle
Swift declaration
var yFrameAdjustmentsPolynomial: SIMD3<Float>

Three element polynomial for mapping y axis UV parameters with an adjustment using the equation `y' = polynomialY[0] + polynomialY[1]*y + polynomialY[2]*y^3`.

set · iOS 26.0+

yFrameAdjustmentsPolynomial

TypeScript
setYFrameAdjustmentsPolynomial($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: SDKHandle): void
Swift declaration
var yFrameAdjustmentsPolynomial: SIMD3<Float>

Three element polynomial for mapping y axis UV parameters with an adjustment using the equation `y' = polynomialY[0] + polynomialY[1]*y + polynomialY[2]*y^3`.

get · iOS 26.0+

extrinsicOrientationQuaternion

TypeScript
getExtrinsicOrientationQuaternion($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): SDKHandle
Swift declaration
var extrinsicOrientationQuaternion: SIMD3<Float>

Camera’s orientation to a world or scene coordinate system. The orientation value is a unit quaternion (ix, iy, and iz) instead of the classical 3x3 matrix.

set · iOS 26.0+

extrinsicOrientationQuaternion

TypeScript
setExtrinsicOrientationQuaternion($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: SDKHandle): void
Swift declaration
var extrinsicOrientationQuaternion: SIMD3<Float>

Camera’s orientation to a world or scene coordinate system. The orientation value is a unit quaternion (ix, iy, and iz) instead of the classical 3x3 matrix.

get · iOS 26.0+

intrinsicMatrixProjectionOffset

TypeScript
getIntrinsicMatrixProjectionOffset($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): number
Swift declaration
var intrinsicMatrixProjectionOffset: Float

Offset of the point of perspective relative to the rectilinear projection.

set · iOS 26.0+

intrinsicMatrixProjectionOffset

TypeScript
setIntrinsicMatrixProjectionOffset($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: number): void
Swift declaration
var intrinsicMatrixProjectionOffset: Float

Offset of the point of perspective relative to the rectilinear projection.

get · iOS 26.0+

intrinsicMatrixReferenceDimensions

TypeScript
getIntrinsicMatrixReferenceDimensions($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): { width: number; height: number }
Swift declaration
var intrinsicMatrixReferenceDimensions: CGSize

Image dimensions to which the camera’s intrinsic matrix values are relative.

set · iOS 26.0+

intrinsicMatrixReferenceDimensions

TypeScript
setIntrinsicMatrixReferenceDimensions($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: { width: number; height: number }): void
Swift declaration
var intrinsicMatrixReferenceDimensions: CGSize

Image dimensions to which the camera’s intrinsic matrix values are relative.

get · iOS 26.0+

role

TypeScript
getRole($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_LensRole
Swift declaration
var role: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensRole

Specifies the particular use of the lens in the camera system (e.g., left or right for a stereo system).

set · iOS 26.0+

role

TypeScript
setRole($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_LensRole): void
Swift declaration
var role: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensRole

Specifies the particular use of the lens in the camera system (e.g., left or right for a stereo system).

get · iOS 26.0+

domain

TypeScript
getDomain($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration): CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_LensDomain
Swift declaration
var domain: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensDomain

Specifies the kind of lens (e.g., color).

set · iOS 26.0+

domain

TypeScript
setDomain($self: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_Calibration, value: CMFormatDescription_Extensions_Value_CameraCalibrationDataLensCollection_LensDomain): void
Swift declaration
var domain: CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensDomain

Specifies the kind of lens (e.g., color).

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.Calibration

The iOS SDK compiler rejected this binding: type 'CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.Calibration' does not conform to protocol 'OneSDKNamedConstants'

CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.Calibration.init(algorithmKind:identifier:domain:role:distortionCoefficients:xFrameAdjustmentsPolynomial:yFrameAdjustmentsPolynomial:radialAngleLimit:intrinsicMatrix:intrinsicMatrixProjectionOffset:intrinsicMatrixReferenceDimensions:extrinsicOriginSource:extrinsicOrientationQuaternion:)

The iOS SDK compiler rejected this binding: cannot find type 'simd_float3x3' in scope

All CoreMedia types →