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

Function py_suppress_non_maximum_edges2

tools/python/src/image3.cpp:319–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319numpy_image<float> py_suppress_non_maximum_edges2 (
320 const py::tuple& horz_and_vert_gradients
321)
322{
323 numpy_image<float> out, horz, vert;
324 horz = horz_and_vert_gradients[0];
325 vert = horz_and_vert_gradients[1];
326 suppress_non_maximum_edges(horz,vert,out);
327 return out;
328}
329
330template <typename T>
331std::vector<point> py_find_peaks (

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected