A fixed threshold value operation: Threshold () function
function is a gray image obtained in a threshold binary image to remove noise or
double treshold (InputArray src, OutputArray dst , double thresh, double maxval, int type)
2 adaptive threshold operation: adaptiveThreshold function
void adaptiveThreshold (InputArray src, OutputArray dst , double maxValue, int adaptiveMethod, int thresholdType, int blockSize, double C)