camera-lens
Options: auto | perspective | brown | fisheye | fisheye_opencv | spherical | equirectangular | dual
Set a camera projection type. Manually setting a value can help improve geometric undistortion. By default the application tries to determine a lens type from the images metadata. . Default: auto
auto
: Automatic selection of best camera projection model.brown
: Robust rectilinear projection model. Preferred by auto
.fisheye
: Wide-angle / non-rectilinear projection model.perspective
: Legacy rectilinear projection model.spherical
: 360° camera projection model.auto
Resource |
Impact |
---|---|
CPU |
●○○ | Low |
GPU |
○○○ | None |
HDD |
●○○ | Low |
RAM |
●○○ | Low |
Time |
●○○ | Low |
What Are Camera Lens Models?
Camera Lens Models are projection/distortion models that OpenSFM uses to correct for the optics of the camera platforms that record our images. These corrections are essential for proper camera/scene modeling, and therefore, proper reconstruction of the data.
When are manual selections appropriate?
Manually choosing a Camera Lens Model is currently only recommended in the case of Spherical Cameras (GoPro Fusion, GoPro Max, Insta360, Kodak PixPro, etc.) as these are currently not detected automatically by OpenSFM.
Why would one use a particular Camera Lens Model?
In rare cases, OpenSFM may not be able to detect (or retrieve from its Camera database) the correct Camera Lens Model for your particular sensor, in which case you should select the closest appropriate model. When in doubt, try specifying brown
first.
Example Images
The following examples are all data taken with a standard Rectilinear Lens. Manual selection of the various Camera Lens Models is demonstrated to show some differences in how this will affect reconstruction.
auto
: Rectilinear Data
brown
: Rectilinear Data
fisheye
: Rectilinear Data
perspective
: Rectilinear Data
spherical
: Rectilinear Data
Learn to edit and help improve this page!