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

Function ht_get_line

tools/python/src/image4.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16template <typename T>
17line ht_get_line (
18 const hough_transform& ht,
19 const dlib::vector<T,2>& p
20)
21{
22 DLIB_CASSERT(get_rect(ht).contains(p));
23 auto temp = ht.get_line(p);
24 return line(temp.first, temp.second);
25}
26
27template <typename T>
28double ht_get_line_angle_in_degrees (

Callers

nothing calls this directly

Calls 4

get_rectFunction · 0.85
get_lineMethod · 0.80
lineClass · 0.50
containsMethod · 0.45

Tested by

no test coverage detected