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

Function py_threshold_image

tools/python/src/image.cpp:46–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45template <typename T>
46numpy_image<unsigned char> py_threshold_image(
47 const numpy_image<T>& in_img
48)
49{
50 numpy_image<unsigned char> out_img;
51 threshold_image(in_img, out_img);
52 return out_img;
53}
54
55// ----------------------------------------------------------------------------------------
56

Callers

nothing calls this directly

Calls 1

threshold_imageFunction · 0.85

Tested by

no test coverage detected