WMA link
Threshold
The option “Method” may be “Cluster” (use Otsu's threshold), “Median”, or “Mean”.
img = Import["ExampleData/hedy.tif"];
Threshold[img]
Binarize[img, %]
Threshold[img, Method -> "Mean"]
Threshold[img, Method -> "Median"]