MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / loadImage

Function loadImage

src/api/cpp/imageio.cpp:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace af {
16
17array loadImage(const char* filename, const bool is_color) {
18 af_array out = 0;
19 AF_THROW(af_load_image(&out, filename, is_color));
20 return array(out);
21}
22
23array loadImageMem(const void* ptr) {
24 af_array out = 0;

Callers 15

TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
cannyImageOtsuBatchTestFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
momentsOnImageTestFunction · 0.85
susanTestFunction · 0.85

Calls 2

af_load_imageFunction · 0.50
arrayClass · 0.50

Tested by

no test coverage detected