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

Function ht_get_best_hough_point

tools/python/src/image4.cpp:50–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50point ht_get_best_hough_point (
51 hough_transform& ht,
52 const point& p,
53 const numpy_image<float>& himg
54)
55{
56 DLIB_CASSERT(num_rows(himg) == ht.size() && num_columns(himg) == ht.size() &&
57 get_rect(ht).contains(p) == true,
58 "\t point hough_transform::get_best_hough_point()"
59 << "\n\t Invalid arguments given to this function."
60 << "\n\t num_rows(himg): " << num_rows(himg)
61 << "\n\t num_columns(himg): " << num_columns(himg)
62 << "\n\t size(): " << ht.size()
63 << "\n\t p: " << p
64 );
65 return ht.get_best_hough_point(p,himg);
66}
67
68template <
69 typename T

Callers

nothing calls this directly

Calls 6

get_rectFunction · 0.85
get_best_hough_pointMethod · 0.80
num_rowsFunction · 0.50
num_columnsFunction · 0.50
sizeMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected