Skip to content

Commit

Permalink
schema: add equirectangular camera model flag
Browse files Browse the repository at this point in the history
  • Loading branch information
David Torres Ocana (TME) committed Jul 27, 2023
1 parent 7106ca4 commit 67267b5
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 22 deletions.
22 changes: 2 additions & 20 deletions dgp/datasets/base_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,8 @@

AVAILABLE_DATUM_TYPES = ("image", "point_cloud", "radar_point_cloud")
AVAILABLE_DISTORTION_PARAMS = (
'k1',
'k2',
'k3',
'k4',
'k5',
'k6',
'p1',
'p2',
'alpha',
'beta',
'xi',
's1',
's2',
's3',
's4',
'taux',
'tauy',
'fov',
'fisheye',
'w',
'k1', 'k2', 'k3', 'k4', 'k5', 'k6', 'p1', 'p2', 'alpha', 'beta', 'xi', 's1', 's2', 's3', 's4', 'taux', 'tauy',
'fov', 'fisheye', 'w', 'equirectangular'
)


Expand Down
2 changes: 2 additions & 0 deletions dgp/proto/geometry.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ message CameraIntrinsics {
// Parameters for Double Sphere model
double xi = 25;

// Flag to indicate camera model is Equirectangular
int32 equirectangular = 26;
}
11 changes: 9 additions & 2 deletions dgp/proto/geometry_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 67267b5

Please sign in to comment.