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

Method obj

dlib/geometry/point_transforms.h:536–542  ·  view source on GitHub ↗

! 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. !*/

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected