| 48 | } |
| 49 | |
| 50 | point 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 | |
| 68 | template < |
| 69 | typename T |
nothing calls this directly
no test coverage detected