If I capture a frame and then write it to JPG, like this:
VideoCapture capture = VideoCapture(0); capture.read(frame); imwrite("frame.jpg", frame);
ImageMagick identify says frame.jpg is Colorspace: sRGB.
I made this experiment because I read that OpenCV's default is BGR, not RGB.
Can I use CV_RGB2GRAY in cvtColor? Is RGB OpenCV's default?