Function opencv::imgproc::cvt_color [] [src]

pub fn cvt_color(src: &Mat, dst: &Mat, code: i32, dstCn: i32) -> Result<(), String>

converts image from one color space to another

default value for arguments: - dstCn: default 0