Skip to content

Which 4 distortion parameters are needed for a fisheye camera? #1713

@Michael-Manning

Description

@Michael-Manning

Related:
alicevision/AliceVision#45
#921
#1484
#1647
#1649

I am attempting to apply the distortion parameters created by the CameraCalibration utility/OpenCV to the CameraInit node for a fisheye camera.

The CameraCalibration utility provides:

  • image size
  • focal
  • principal coordinates
  • K1 K2 K3 radial distortion coefficients

Additionally, OpenCV will provide the p1 and p2 tangential distortion coefficients.

The common theme among all the related issues is that the parameters should be applied in this order:
0 - k1
1 - k2
2 - k3
3 - p1
4 - p2

However, as pointed out in #1649, the camera type you select might be what determines which distortion parameters are required. The camera type tooltip states that radial3 contains the 3 radial distortion parameters and that brown uses the additional 2 tangential parameters. This is all coherent with the linked issues related to this topic, but what about fisheye cameras which require 4 parameters?

How do I Identify and acquire the 4 distortion parameters for a fisheye camera?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions