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

Function morph3d

src/api/c/morph.cpp:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108
109template<typename T>
110static inline af_array morph3d(const af_array &in, const af_array &mask,
111 bool isDilation) {
112 const Array<T> &input = getArray<T>(in);
113 const Array<T> &filter = castArray<T>(mask);
114 Array<T> out = morph3d<T>(input, filter, isDilation);
115 return getHandle(out);
116}
117
118af_err morph(af_array *out, const af_array &in, const af_array &mask,
119 bool isDilation) {

Callers 2

af_dilate3Function · 0.70
af_erode3Function · 0.70

Calls 5

swapFunction · 0.85
getHandleFunction · 0.70
dimsMethod · 0.45
ndimsMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected