CodePudding user response:
Average gray paint is the RGB pixel three-channel addition, binary is more simple, setting the threshold value, gray level is greater than the threshold value after all 1, otherwise 0CodePudding user response:
Average gray paint is the RGB pixel three-channel addition, binary is more simple, setting the threshold value, gray level is greater than the threshold value after all 1, otherwise 0