about summary refs log tree commit diff
path: root/lri-proto/proto/vignetting_characterization.proto
diff options
context:
space:
mode:
authorgennyble <gen@nyble.dev>2023-09-10 02:44:01 -0500
committergennyble <gen@nyble.dev>2023-09-10 02:44:01 -0500
commita962ba9c853a797e9a41b2830ec0181b167d8cd9 (patch)
tree7de53dfcaf87c5d4b43f2e8b38161eb193c136ad /lri-proto/proto/vignetting_characterization.proto
parent70187683361d97a8b5a251567323c323c90302f2 (diff)
downloadlri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.tar.gz
lri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.zip
reorg
Diffstat (limited to 'lri-proto/proto/vignetting_characterization.proto')
-rw-r--r--lri-proto/proto/vignetting_characterization.proto30
1 files changed, 30 insertions, 0 deletions
diff --git a/lri-proto/proto/vignetting_characterization.proto b/lri-proto/proto/vignetting_characterization.proto
new file mode 100644
index 0000000..ccf93ec
--- /dev/null
+++ b/lri-proto/proto/vignetting_characterization.proto
@@ -0,0 +1,30 @@
+syntax = "proto2";
+
+package ltpb;
+
+import "matrix4x4f.proto";
+
+message VignettingCharacterization {
+    required CrosstalkModel crosstalk = 1;
+    message CrosstalkModel {
+        required uint32 width = 1;
+        required uint32 height = 2;
+        repeated Matrix4x4F data = 3;
+        repeated float data_packed = 4 [packed = true];
+    }
+    
+    repeated MirrorVignettingModel vignetting = 2;
+    message MirrorVignettingModel {
+        required int32 hall_code = 1;
+        required VignettingModel vignetting = 2;
+    }
+    
+    optional float relative_brightness = 3;
+    optional int32 lens_hall_code = 4;
+    
+    message VignettingModel {
+        required uint32 width = 1;
+        required uint32 height = 2;
+        repeated float data = 3 [packed = true];
+    }
+}