Advertisement
Guest User

Untitled

a guest
Aug 30th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. warper->warp(img, K, cameras[img_idx].R, INTER_LINEAR, BORDER_REFLECT, imgWarped);
  2. warper->warp(mask, K, cameras[img_idx].R, INTER_LINEAR, BORDER_CONSTANT, maskWarped);
  3.  
  4. cameras_global[imageCounter].ppx = 0.5 * image.size().width;
  5. cameras_global[imageCounter].ppy = 0.5 * image.size().height;
  6. cameras_global[imageCounter].focal = image.size().width * M_SQRT2;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement