Converts an image from one color space to another.
img_out = cvtColor(img_in, code[, nchannels])
cvtColor
convert an input image from one color space to another.
The conversion code name format is CV_<colorspace_src>2<colorspace_dst>
. Some typical examples: