Function arrayfire::rgb2gray
[−]
[src]
pub fn rgb2gray(input: &Array, r: f32, g: f32, b: f32) -> Array
Color(RGB) to Grayscale conversion
Parameters
r
is fraction of red channel to appear in outputg
is fraction of green channel to appear in outputb
is fraction of blue channel to appear in output
Return Values
An Array with image data in target color space