Introduction - If you have any usage issues, please Google them yourself
open cv for grayscale and mouse view the gray value of each point on the graph, cvThreshold, onMouse cvThreshold (original graphics IplImage data structure, IplImage data structure calculation results, the threshold value, the maximum threshold value, CV_THRESH_BINARY)