main content

estimate geometric parameters of a single camera -凯发k8网页登录

estimate geometric parameters of a single camera

description

the camera calibrator app allows you to estimate camera intrinsics, extrinsics, and lens distortion parameters. you can use these camera parameters for various computer vision applications. these applications include removing the effects of lens distortion from an image, measuring planar objects, or reconstructing 3-d scenes from multiple cameras.

open the camera calibrator app

  • matlab® toolstrip: on the apps tab, under image processing and computer vision, click the app icon.

  • matlab command prompt: enter cameracalibrator.

examples

this example shows you the two ways to open the camera calibrator app.

type cameracalibrator on the matlab command line or select it from the matlab desktop apps tab.

related examples

    programmatic use

    cameracalibrator opens the camera calibrator app, which enables you to compute parameters needed to remove the effects of lens distortion from an image.

    cameracalibrator(imagefolder,squaresize) opens the app and loads calibration images from a specified folder and specifies the size of the checkerboard squares contained in the images. the squaresize input must be a scalar in millimeters.

    cameracalibrator(imagefolder,squaresize,squaresizeunits) opens the app, loads calibration images, specifies the checkerboard square size, and the square size units. the squaresizeunits input must be specified as 'millimeters' (default), 'centimeters', or 'inches'.

    cameracalibrator(___,highdistortion) opens the app as described by previous syntaxes and additionally specifies a high distortion logical highdistortion. set highdistortion to true when the images contain a high level of distortion, which is typical of a wide field of view camera. set highdistortion to false (default) when the images do not contain a high level of distortion.

    cameracalibrator(sessionfile) opens the app and loads a saved camera calibration session. set the sessionfile to the name of the saved session file. the name must include the path to the mat file containing the saved session.

    version history

    introduced in r2013b

    see also

    apps

    classes

    • |

    functions

    • | | | | | | | |
    网站地图