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

Function bottomhat

examples/image_processing/morphing.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33array bottomhat(const array& img, const array& mask) {
34 return (morphclose(img, mask) - img);
35}
36
37array border(const array& img, const int left, const int right, const int top,
38 const int bottom, const float value = 0.0) {

Callers 1

morphing_demoFunction · 0.85

Calls 1

morphcloseFunction · 0.85

Tested by

no test coverage detected