Visualizes depth maps.
(x, acc, lo=None, hi=None)
| 299 | |
| 300 | |
| 301 | def 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) |
nothing calls this directly
no test coverage detected