Lines Matching defs:registration
27 // Boolean the know if the registration it's done
51 * CREATE MODEL REGISTRATION OBJECT
56 ModelRegistration registration;
64 // Mouse events for model registration
69 int n_regist = registration.getNumRegist();
75 bool is_registrable = registration.is_registrable();
78 registration.registerPoint(point_2d, point_3d);
79 if( registration.getNumRegist() == registration.getNumMax() ) end_registration = true;
104 namedWindow("MODEL REGISTRATION", WINDOW_KEEPRATIO);
107 setMouseCallback("MODEL REGISTRATION", onMouseModelRegistration, 0 );
120 registration.setNumMax(num_registrations);
132 vector<Point2f> list_points2d = registration.get_points2d();
133 vector<Point3f> list_points3d = registration.get_points3d();
138 // If the registration is not finished, draw which 3D point we have to register.
139 // If the registration is finished, breaks the loop.
143 int n_regist = registration.getNumRegist();
148 drawCounter(img_vis, registration.getNumRegist(), registration.getNumMax(), red);
153 drawText(img_vis, "END REGISTRATION", green);
154 drawCounter(img_vis, registration.getNumRegist(), registration.getNumMax(), green);
159 imshow("MODEL REGISTRATION", img_vis);
167 vector<Point2f> list_points2d = registration.get_points2d();
168 vector<Point3f> list_points3d = registration.get_points3d();
185 imshow("MODEL REGISTRATION", img_vis);
201 // Check if keypoints are on the surface of the registration image and add to the model
246 imshow("MODEL REGISTRATION", img_vis);
252 destroyWindow("MODEL REGISTRATION");