Improvements before MAX IV test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user