Introduction - If you have any usage issues, please Google them yourself
Analysis to determine from the image histogram of the gray value threshold with the set T into two categories, and then based on two types of mean-variance (between-class variance) and various types of variance (intra-party worse) than to determine the threshold for the largest.