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

Function boundary

examples/image_processing/image_editing.cpp:82–86  ·  view source on GitHub ↗

* dimensions of the mask control the thickness of the boundary that * will be extracted by the following function */

Source from the content-addressed store, hash-verified

80 * will be extracted by the following function
81 */
82array boundary(const array &in, const array &mask) {
83 array ret_val = in - erode(in, mask);
84 normalizeImage(ret_val);
85 return ret_val;
86}
87
88int main(int argc, char **argv) {
89 try {

Callers 1

mainFunction · 0.85

Calls 2

erodeFunction · 0.85
normalizeImageFunction · 0.70

Tested by

no test coverage detected