problem with thresholding
problems with hysteresis
all accuracy tests were passed