Testing canny edge detection

Edge detection looks promising for getting thresholds.