! WHAT THIS OBJECT REPRESENTS This is the objective function we really want to minimize when looking for a transformation matrix. That is, we would like the transformed points to be as close as possible to their "to" points. Here, closeness is measured using Euclidean distance. !*/
| 534 | |
| 535 | !*/ |
| 536 | obj( |
| 537 | const std::vector<dlib::vector<double,2> >& from_points_, |
| 538 | const std::vector<dlib::vector<double,2> >& to_points_ |
| 539 | ) : |
| 540 | from_points(from_points_) , |
| 541 | to_points(to_points_) |
| 542 | {} |
| 543 | const std::vector<dlib::vector<double,2> >& from_points; |
| 544 | const std::vector<dlib::vector<double,2> >& to_points; |
| 545 |
nothing calls this directly
no outgoing calls
no test coverage detected