about summary refs log tree commit diff
path: root/lri-proto/proto/sensor_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/sensor_characterization.proto
parent70187683361d97a8b5a251567323c323c90302f2 (diff)
downloadlri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.tar.gz
lri-rs-a962ba9c853a797e9a41b2830ec0181b167d8cd9.zip
reorg
Diffstat (limited to 'lri-proto/proto/sensor_characterization.proto')
-rw-r--r--lri-proto/proto/sensor_characterization.proto26
1 files changed, 26 insertions, 0 deletions
diff --git a/lri-proto/proto/sensor_characterization.proto b/lri-proto/proto/sensor_characterization.proto
new file mode 100644
index 0000000..d66aa4a
--- /dev/null
+++ b/lri-proto/proto/sensor_characterization.proto
@@ -0,0 +1,26 @@
+syntax = "proto2";
+
+package ltpb;
+
+message SensorCharacterization {
+    required float black_level = 1;
+    required float white_level = 2;
+    optional float cliff_slope = 3;
+    
+    repeated VstNoiseModel vst_model = 4;
+    message VstNoiseModel {
+        required uint32 gain = 1;
+        required float threshold = 2;
+        required float scale = 3;
+        
+        required VstModel red = 4;
+        message VstModel {
+            required float a = 1;
+            required float b = 2;
+        }
+        
+        required VstModel green = 5;
+        required VstModel blue = 6;
+        optional VstModel panchromatic = 7;
+    }
+}