Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- camCoor = np.array([0.,0.,0.,1.])
- camCoor[2] = cam.near
- deltaY = (cam.top - cam.bottom)/cam.imageHeight
- deltaX = (cam.right - cam.left)/cam.imageWidth
- camCoor[0] = deltaX * col + cam.left
- camCoor[1] = deltaY * row + cam.bottom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement