Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeapLabTHU/ActiveNeRF
/ ptstocam
Function
ptstocam
load_llff.py:136–138 ·
view source on GitHub ↗
(pts, c2w)
Source
from the content-addressed store, hash-verified
134
return
m
135
136
def
ptstocam(pts, c2w):
137
tt = np.matmul(c2w[:3,:3].T, (pts-c2w[:3,3])[...,np.newaxis])[...,0]
138
return
tt
139
140
def
poses_avg(poses):
141
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected