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

Function rgb2hsv

src/backend/cpu/hsv_rgb.cpp:30–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29template<typename T>
30Array<T> rgb2hsv(const Array<T>& in) {
31 Array<T> out = createEmptyArray<T>(in.dims());
32
33 getQueue().enqueue(kernel::rgb2hsv<T>, out, in);
34
35 return out;
36}
37
38#define INSTANTIATE(T) \
39 template Array<T> hsv2rgb<T>(const Array<T>& in); \

Callers

nothing calls this directly

Calls 3

getQueueFunction · 0.50
dimsMethod · 0.45
enqueueMethod · 0.45

Tested by

no test coverage detected