MCPcopy Create free account
hub / github.com/Jiawei-Yang/FreeNeRF / visualize_depth

Function visualize_depth

internal/vis.py:301–306  ·  view source on GitHub ↗

Visualizes depth maps.

(x, acc, lo=None, hi=None)

Source from the content-addressed store, hash-verified

299
300
301def visualize_depth(x, acc, lo=None, hi=None):
302 """Visualizes depth maps."""
303
304 depth_curve_fn = lambda x: -jnp.log(x + jnp.finfo(jnp.float32).eps)
305 return visualize_cmap(
306 x, acc, cm.get_cmap('turbo'), curve_fn=depth_curve_fn, lo=lo, hi=hi)

Callers

nothing calls this directly

Calls 1

visualize_cmapFunction · 0.85

Tested by

no test coverage detected