good thresholding. Could not get the sum of different frames to work OK