Introduction - If you have any usage issues, please Google them yourself
OpenCV color image to gray image conversion.
Read into the image files, color image into a gray conversion image and then display the image on the screen.
Development environment: vs2010+ opencv.