Improvements before MAX IV test

This commit is contained in:
2024-04-25 20:11:58 +02:00
parent 2c8e1fd83d
commit ea70b27e85
80 changed files with 1835 additions and 1781 deletions
+3
View File
@@ -56,6 +56,9 @@ void FindSpots(DeviceOutput &output,
strong_pixel = false;
}
if (image[coord] > 32760)
strong_pixel = false;
if (settings.signal_to_noise_threshold > 0) {
int64_t in_minus_mean = image[coord] * valid_count - sum;
if ((in_minus_mean * in_minus_mean <= threshold)