Adapting an ultrasonic image threshold method to eddy current images and defining a validation domain of the thresholding method