[][src]Function arrayfire::rgb2gray

pub fn rgb2gray<T>(input: &Array<T>, r: f32, g: f32, b: f32) -> Array<T> where
    T: HasAfEnum + GrayRGBConvertible

Color(RGB) to Grayscale conversion

Parameters

#Return Values

An Array with image data in target color space