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

Method image

src/api/cpp/graphics.cpp:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59void Window::setColorMap(const ColorMap cmap) { _cmap = cmap; }
60
61void Window::image(const array& in, const char* const title) {
62 af_cell temp{_r, _c, title, _cmap};
63 AF_THROW(af_draw_image(get(), in.get(), &temp));
64}
65
66void Window::plot(const array& in, const char* const title) {
67 af_cell temp{_r, _c, title, AF_COLORMAP_DEFAULT};

Callers 15

kmeans_demoFunction · 0.80
generate_imageFunction · 0.80
sweFunction · 0.80
templateMatchingDemoFunction · 0.80
harris_demoFunction · 0.80
susan_demoFunction · 0.80
fast_demoFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 3

af_draw_imageFunction · 0.50
getFunction · 0.50
getMethod · 0.45

Tested by

no test coverage detected