Skip to main content

createCameraCalibrationFromWidthHeightFov

wemap-sdk-js


Function: createCameraCalibrationFromWidthHeightFov()

createCameraCalibrationFromWidthHeightFov(width, height, fovOfWidth): Calibration

Creates a pinhole camera from dimensions and a field of view Distortions are not considered

Parameters

width

number

the camera width

height

number

the camera height

fovOfWidth

number

the field of view along the width axis in radians

Returns

Calibration

the calibration matrix