I am studying Computer Vision, one of the assignment professor asked me to write your own function to convert the rgb to grayscale. Now I know how to do it in python using opencv. Can you please point out the implementation files for cvtColor in opencv 3.0 version. so that I can take look at how its implemented.