From 5443c72d33160d81b49c91aae006dc0c0bb86994 Mon Sep 17 00:00:00 2001 From: David OK Date: Fri, 7 Jun 2024 00:27:48 +0100 Subject: [PATCH] ENH: add calibration parameters for consumer fisheye cameras. - GOPRO 7 Hero Black, Superview mode - Insta ONE RS 360 --- .../gopro-7-hero-black-superview.json | 16 +++++++++++++ data/camera-parameters/insta-oners-360.json | 15 ++++++++++++ .../iphone-12-mini-1440p-1x.json | 24 +++++++++---------- .../iphone-12-mini-4K-1x.json | 24 +++++++++---------- .../iphone-12-mini-HD-1x.json | 24 +++++++++---------- 5 files changed, 67 insertions(+), 36 deletions(-) create mode 100644 data/camera-parameters/gopro-7-hero-black-superview.json create mode 100644 data/camera-parameters/insta-oners-360.json diff --git a/data/camera-parameters/gopro-7-hero-black-superview.json b/data/camera-parameters/gopro-7-hero-black-superview.json new file mode 100644 index 000000000..f62e46758 --- /dev/null +++ b/data/camera-parameters/gopro-7-hero-black-superview.json @@ -0,0 +1,16 @@ +{ + "model": "GOPRO 7 Hero Black", + "mode": "Superview", + "focal_length": { + "x": 1665.17, + "y": 1604.16 + }, + "shear": 1.43155, + "principal_point": { + "x": 1368.04, + "y": 771.516 + }, + "k": [0.0984142, -0.975655, 0], + "p": [-0.00120209, 0.00196812], + "xi": 0.765742 +} diff --git a/data/camera-parameters/insta-oners-360.json b/data/camera-parameters/insta-oners-360.json new file mode 100644 index 000000000..bb059ca38 --- /dev/null +++ b/data/camera-parameters/insta-oners-360.json @@ -0,0 +1,15 @@ +{ + "model": "Insta OneRS 360", + "focal_length": { + "x": 1241.79, + "y": 1242.7 + }, + "shear": 0.356642, + "principal_point": { + "x": 540.279, + "y": 959.875 + }, + "k": [0.307218, -0.0697542, 0], + "p": [-0.00115393, 0.000505966], + "xi": 1.36077 +} diff --git a/data/camera-parameters/iphone-12-mini-1440p-1x.json b/data/camera-parameters/iphone-12-mini-1440p-1x.json index 24dce295b..1d50b8a56 100644 --- a/data/camera-parameters/iphone-12-mini-1440p-1x.json +++ b/data/camera-parameters/iphone-12-mini-1440p-1x.json @@ -1,14 +1,14 @@ { - "model": "iPhone 12 mini", - "mode": "1440p", - "zoom": 1, - "focal_length": { - "x": 1618.2896144891963, - "y": 1618.2896144891963 - }, - "shear": 0, - "principal_point": { - "x": 720, - "y": 960 - } + "model": "iPhone 12 mini", + "mode": "1440p", + "zoom": 1, + "focal_length": { + "x": 1618.2896144891963, + "y": 1618.2896144891963 + }, + "shear": 0, + "principal_point": { + "x": 720, + "y": 960 + } } diff --git a/data/camera-parameters/iphone-12-mini-4K-1x.json b/data/camera-parameters/iphone-12-mini-4K-1x.json index e03f12ebc..8417f4d27 100644 --- a/data/camera-parameters/iphone-12-mini-4K-1x.json +++ b/data/camera-parameters/iphone-12-mini-4K-1x.json @@ -1,14 +1,14 @@ { - "model": "iPhone 12 mini", - "mode": "4K", - "zoom": 1, - "focal_length": { - "x": 3229.074544798197, - "y": 3229.074544798197 - }, - "shear": 0, - "principal_point": { - "x": 1080, - "y": 1920 - } + "model": "iPhone 12 mini", + "mode": "4K", + "zoom": 1, + "focal_length": { + "x": 3229.074544798197, + "y": 3229.074544798197 + }, + "shear": 0, + "principal_point": { + "x": 1080, + "y": 1920 + } } diff --git a/data/camera-parameters/iphone-12-mini-HD-1x.json b/data/camera-parameters/iphone-12-mini-HD-1x.json index b838139c2..b54f01259 100644 --- a/data/camera-parameters/iphone-12-mini-HD-1x.json +++ b/data/camera-parameters/iphone-12-mini-HD-1x.json @@ -1,14 +1,14 @@ { - "model": "iPhone 12 mini", - "mode": "HD", - "zoom": 1, - "focal_length": { - "x": 1649.2068306381805, - "y": 1649.2068306381805 - }, - "shear": 0, - "principal_point": { - "x": 540, - "y": 960 - } + "model": "iPhone 12 mini", + "mode": "HD", + "zoom": 1, + "focal_length": { + "x": 1649.2068306381805, + "y": 1649.2068306381805 + }, + "shear": 0, + "principal_point": { + "x": 540, + "y": 960 + } }