MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / focal2fov

Function focal2fov

utils/graphics_utils.py:123–124  ·  view source on GitHub ↗
(focal, pixels)

Source from the content-addressed store, hash-verified

121 return pixels / (2 * math.tan(fov / 2))
122
123def focal2fov(focal, pixels):
124 return 2*math.atan(pixels/(2*focal))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected