MCPcopy Create free account
hub / github.com/davisking/dlib / py_mbd

Function py_mbd

tools/python/src/image2.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109
110template <typename T>
111numpy_image<T> py_mbd (
112 const numpy_image<T>& img,
113 size_t iterations,
114 bool do_left_right_scans
115)
116{
117 numpy_image<T> out;
118 min_barrier_distance(img, out, iterations, do_left_right_scans);
119 return out;
120}
121
122numpy_image<unsigned char> py_mbd2 (
123 const numpy_image<rgb_pixel>& img,

Callers

nothing calls this directly

Calls 1

min_barrier_distanceFunction · 0.85

Tested by

no test coverage detected