MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / load_depth

Function load_depth

external_src/scaffnet-pytorch/src/data_utils.py:112–144  ·  view source on GitHub ↗

Loads a depth map from a 16-bit PNG file Arg(s): path : str path to 16-bit PNG file multiplier : float multiplier for encoding float as 16/32 bit unsigned integer data_format : str HW, CHW, HWC Returns: numpy[float32]

(path, multiplier=256.0, data_format='HW')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected