[−][src]Function arrayfire::gray2rgb
pub fn gray2rgb<T>(input: &Array<T>, r: f32, g: f32, b: f32) -> Array<T> where
T: HasAfEnum + GrayRGBConvertible, Grayscale to Color(RGB) conversion
Parameters
ris fraction of red channel to appear in outputgis fraction of green channel to appear in outputbis fraction of blue channel to appear in output
#Return Values
An Array with image data in target color space