OpenDroneMap / OpenSfM parametersΒΆ

Orthority can read frame camera interior parameters from OpenDroneMap cameras.json files, and frame camera interior and exterior parameters from OpenDroneMap / OpenSfM reconstruction.json files. A subset of the OpenDroneMap / OpenSfM camera models are supported. Supported models with their corresponding Orthority model are shown below:

OpenDroneMap / OpenSfM model(s)

Orthority model

perspective, simple_radial, radial, brown

brown

fisheye

fisheye

Similar to the Orthority interior parameter format, interior parameters in cameras.json or reconstruction.json files are defined as dictionaries of camera ID keys, and nested parameter dictionary values. E.g.:

            "v2 dji fc6310r 5472 3648 brown 0.6666": {
                "projection_type": "brown",
                "width": 1368,
                "height": 912,
                "focal_x": 0.6664614123723713,
                "focal_y": 0.6664614123723713,
                "c_x": -0.0015460447606643697,
                "c_y": 0.004751874732641298,
                "k1": -0.2640629100413887,
                "k2": 0.10188934223670705,
                "p1": 0.0007345906274317972,
                "p2": 0.0002595206713083041,
                "k3": -0.02581956399353581
            }

Exterior parameters in the reconstruction.json file, consist of filename keys, and nested parameter dictionary values. Only the rotation, translation and camera parameters are used. E.g.:

            "100_0005_0142": {
                "rotation": [
                    2.6377883686995003,
                    0.04659603116816312,
                    -0.011098950252461201
                ],
                "translation": [
                    -74.05929513354764,
                    -17.729274677054462,
                    222.56652676404326
                ],
                "camera": "v2 dji fc6310r 5472 3648 brown 0.6666",
                "orientation": 1,
                "capture_time": 1554980828.0,
                "gps_dop": 0.0452,
                "gps_position": [
                    80.00551205995056,
                    -119.0703752419322,
                    186.43838159088045
                ],
                "vertices": [],
                "faces": [],
                "scale": 1.0,
                "covariance": [],
                "merge_cc": 0
            },