hawkeye camera support(not tested)

This commit is contained in:
meelstorm
2025-08-19 12:45:50 +02:00
parent f80b275ad8
commit 6ef6aced8d
170 changed files with 20190 additions and 72 deletions

View File

@@ -35,4 +35,20 @@ public class CannyOperation:BaseOperation
Threshold1 = br.ReadInt32();
Threshold2 = br.ReadInt32();
}
public override void Save(Dictionary<string, object> dict)
{
base.Save(dict);
dict[nameof(Threshold1)] = Threshold1;
dict[nameof(Threshold2)] = Threshold2;
}
public override void Load(Dictionary<string, object> dict)
{
base.Load(dict);
if (dict.ContainsKey(nameof(Threshold1)))
Threshold1 = Convert.ToInt32(dict[nameof(Threshold1)]);
if (dict.ContainsKey(nameof(Threshold2)))
Threshold2 = Convert.ToInt32(dict[nameof(Threshold2)]);
}
}