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

Function sobel

src/api/cpp/sobel.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15namespace af {
16
17void sobel(array &dx, array &dy, const array &img, const unsigned ker_size) {
18 af_array af_dx = 0;
19 af_array af_dy = 0;
20 AF_THROW(af_sobel_operator(&af_dx, &af_dy, img.get(), ker_size));
21 dx = array(af_dx);
22 dy = array(af_dy);
23}
24
25array sobel(const array &img, const unsigned ker_size, const bool isFast) {
26 array dx;

Callers 4

sobelFilterFunction · 0.50
sobelFilterFunction · 0.50
mainFunction · 0.50
sobelFilterFunction · 0.50

Calls 5

sqrtFunction · 0.85
absFunction · 0.70
af_sobel_operatorFunction · 0.50
arrayClass · 0.50
getMethod · 0.45

Tested by

no test coverage detected