MCPcopy Create free account
hub / github.com/Vegetebird/GraphMLP / world_to_camera

Function world_to_camera

common/camera.py:11–13  ·  view source on GitHub ↗
(X, R, t)

Source from the content-addressed store, hash-verified

9
10
11def world_to_camera(X, R, t):
12 Rt = wrap(qinverse, R)
13 return wrap(qrot, np.tile(Rt, (*X.shape[:-1], 1)), X - t)
14
15
16def camera_to_world(X, R, t):

Callers 1

prepare_dataMethod · 0.85

Calls 1

wrapFunction · 0.85

Tested by

no test coverage detected