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

Function py_gaussian_blur

tools/python/src/image.cpp:90–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88
89template <typename T>
90py::tuple py_gaussian_blur (
91 const numpy_image<T>& img,
92 double sigma = 1,
93 int max_size = 1001
94)
95{
96 numpy_image<T> out;
97 auto rect = gaussian_blur(img, out, sigma, max_size);
98 return py::make_tuple(out, rect);
99}
100
101template <typename T>
102py::tuple py_label_connected_blobs (

Callers

nothing calls this directly

Calls 2

gaussian_blurFunction · 0.85
make_tupleFunction · 0.85

Tested by

no test coverage detected