Reading greyscale video files
Hi, I was wondering if there was a way to read in greyscale video files in OpenCV. I currently have to convert greyscale video into RGB format outside OpenCV, read it in and again convert it to greyscale using cvtColor() function... Is there anyway I can omit these counterintuitive steps and just grab greyscale frames from original video files?
how do you convert to grb ? if you have a way to read that video, you might as well skip the videocapture, and use the frames directly.
I convert the original video to RGB outside OpenCV using VLC Media Player.