Advertisement
Guest User

Untitled

a guest
Mar 30th, 2015
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. camCoor = np.array([0.,0.,0.,1.])
  2.  
  3. camCoor[2] = cam.near
  4. deltaY = (cam.top - cam.bottom)/cam.imageHeight
  5. deltaX = (cam.right - cam.left)/cam.imageWidth
  6. camCoor[0] = deltaX * col + cam.left
  7. camCoor[1] = deltaY * row + cam.bottom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement