Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenImagingLab/4DSloMo
/ RGB2SH
Function
RGB2SH
utils/sh_utils.py:225–226 ·
view source on GitHub ↗
(rgb)
Source
from the content-addressed store, hash-verified
223
return
result
224
225
def
RGB2SH(rgb):
226
return
(rgb - 0.5) / C0
227
228
def
SH2RGB(sh):
229
return
sh * C0 + 0.5
Callers
1
create_from_pcd
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected