Skip to main content

Module camera_init

Module camera_init 

Source
Expand description

Initial camera parameters.

Structs§

FocalEstimate
Focal-length determination result.

Functions§

infer_focal
Focal-length rules. (W, H) is the input image size.
init_camera
Initializes a new camera: uses params as-is if given (flag set); otherwise EXIF/default focal length
lookup_sensor_width
Looks up sensor width by manufacturer and model (ignores case and whitespace; allows a model prefixed with the manufacturer).