MCPcopy Create free account
hub / github.com/Visillect/CubePlusPlus / linearize

Function linearize

code/utils/cube_io.py:20–31  ·  view source on GitHub ↗

Args: img(np.array) black_lvl(int) saturation_lvl(int): 2**14-1 is a common value. Not all images have the same value.

(img, black_lvl=2048, saturation_lvl=2**14-1)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

calc_gtFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected