Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveVisionLab/DFNet
/ normalize
Function
normalize
dataset_loaders/seven_scenes.py:147–148 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
145
return
img_depth
146
147
def
normalize(x):
148
return
x / np.linalg.norm(x)
149
150
def
viewmatrix(z, up, pos):
151
vec2 = normalize(z)
Callers
2
viewmatrix
Function · 0.70
normalize_recenter_pose
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected