diff options
author | gennyble <gen@nyble.dev> | 2023-09-10 02:44:01 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-09-10 02:44:01 -0500 |
commit | a962ba9c853a797e9a41b2830ec0181b167d8cd9 (patch) | |
tree | 7de53dfcaf87c5d4b43f2e8b38161eb193c136ad /lri-proto/proto/distortion.proto | |
parent | 70187683361d97a8b5a251567323c323c90302f2 (diff) | |
download | lri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.tar.gz lri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.zip |
reorg
Diffstat (limited to 'lri-proto/proto/distortion.proto')
-rw-r--r-- | lri-proto/proto/distortion.proto | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lri-proto/proto/distortion.proto b/lri-proto/proto/distortion.proto new file mode 100644 index 0000000..cdd8f33 --- /dev/null +++ b/lri-proto/proto/distortion.proto @@ -0,0 +1,31 @@ +syntax = "proto2"; + +package ltpb; + +import "point2f.proto"; +import "rectanglei.proto"; + +message Distortion { + optional Polynomial polynomial = 1; + message Polynomial { + required Point2F distortion_center = 1; + required Point2F normalization = 2; + repeated float coeffs = 3 [packed = true]; + optional float fit_cost = 4; + optional RectangleI valid_roi = 5; + } + + optional CRA cra = 2; + message CRA { + required Point2F distortion_center = 1; + required float sensor_distance = 2; + required float exit_pupil_distance = 3; + required float pixel_size = 4; + repeated Point2F cra = 5; + repeated Point2F coeffs = 6; + optional float fit_cost = 7; + optional RectangleI valid_roi = 8; + optional float lens_hall_code = 9; + optional float distance_hall_ratio = 10; + } +} |