color thresh thresholdtolerance parametertypedefault thresholdnumberPatternImage0.5 tolerancenumberPatternImage0 returnsImage