Lines Matching refs:image

45 // Markers' space could either be normalized or image (pixels). This is defined
46 // by the single character in the file. P means markers in the file is in image
80 // stored in image space and camera intrinsics will not be refined if markers
129 // viewing an image.
131 // image identifies which image this camera represents.
135 EuclideanCamera() : image(-1) {}
136 EuclideanCamera(const EuclideanCamera &c) : image(c.image), R(c.R), t(c.t) {}
138 int image;
154 // A Marker is the 2D location of a tracked point in an image.
157 // in the image identified by an image. All markers for to the same target
160 int image;
202 // Returns a pointer to the camera corresponding to a image.
204 const int image) {
205 if (image < 0 || image >= all_cameras->size()) {
208 EuclideanCamera *camera = &(*all_cameras)[image];
209 if (camera->image == -1) {
217 const int image) {
218 if (image < 0 || image >= all_cameras.size()) {
221 const EuclideanCamera *camera = &all_cameras[image];
222 if (camera->image == -1) {
228 // Returns maximal image number at which marker exists.
234 int max_image = all_markers[0].image;
236 max_image = std::max(max_image, all_markers[i].image);
355 // vector element with number i will contain camera for image i.
397 camera.image = file_reader.Read<int>();
401 if (camera.image >= all_cameras->size()) {
402 all_cameras->resize(camera.image + 1);
405 (*all_cameras)[camera.image].image = camera.image;
406 (*all_cameras)[camera.image].R = camera.R;
407 (*all_cameras)[camera.image].t = camera.t;
435 marker.image = file_reader.Read<int>();
448 // Apply camera intrinsics to the normalized point to get image coordinates.
450 // camera coordinates (i.e. the principal point is at (0, 0)) to get image
477 // Apply focal length and principal point to get the final image coordinates.
603 // camera at image i.
684 EuclideanCamera *camera = CameraForImage(all_cameras, marker.image);
692 double *current_camera_R_t = &all_cameras_R_t[camera->image](0);
811 // Namely, if problem has got markers stored in image (pixel)