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

Function ht_get_line_properties

tools/python/src/image4.cpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37template <typename T>
38py::tuple ht_get_line_properties (
39 const hough_transform& ht,
40 const dlib::vector<T,2>& p
41)
42{
43 DLIB_CASSERT(get_rect(ht).contains(p));
44 double angle_in_degrees;
45 double radius;
46 ht.get_line_properties(p, angle_in_degrees, radius);
47 return py::make_tuple(angle_in_degrees, radius);
48}
49
50point ht_get_best_hough_point (
51 hough_transform& ht,

Callers

nothing calls this directly

Calls 4

get_rectFunction · 0.85
make_tupleFunction · 0.85
get_line_propertiesMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected