[src] Function arrayfire::load_image
pub fn load_image<T>(filename: String, is_color: bool) -> Array<T> where
T: HasAfEnum + RealNumber,
Load Image into Array
Only, Images with 8/16/32 bits per channel can be loaded using this function.
Parameters
filenameis aboslute path of the image to be loaded.is_colorindicates if the image file at given path is color or gray scale.
Return Arrays
An Array with pixel values loaded from the image