MCPcopy Create free account
hub / github.com/TencentARC/FreeSplatter / normalize

Function normalize

freesplatter/utils/recon_util.py:152–154  ·  view source on GitHub ↗

Normalization helper function.

(x)

Source from the content-addressed store, hash-verified

150
151
152def normalize(x):
153 """Normalization helper function."""
154 return x / np.linalg.norm(x)
155
156
157def generate_interpolated_path(poses, n_interp, spline_degree=5,

Callers 1

viewmatrixFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected