MCPcopy Create free account
hub / github.com/HugoTini/DeepBump / apply

Function apply

module_normals_to_height.py:62–88  ·  view source on GitHub ↗

Computes a height map from the given normal map. 'normals_img' must be a numpy array in C,H,W format (with C as RGB). 'seamless' is a bool that should indicates if 'normals_img' is seamless.

(normals_img, seamless, progress_callback)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

normals_to_gradFunction · 0.85
copy_flipFunction · 0.85
frankot_chellappaFunction · 0.85

Tested by

no test coverage detected