Introduction - If you have any usage issues, please Google them yourself
1 using OpenCV open a color image display
2 converted to grayscale and saved as a file
3 the second value and save it to a file (best to use the scroll bar interactive input binarization threshold the image binarization effect real change better the reference OpenCV sample program edge.c)