MCPcopy Index your code
hub / github.com/LeapLabTHU/ActiveNeRF / imread

Function imread

load_llff.py:108–112  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

106 return poses, bds
107
108 def imread(f):
109 if f.endswith('png'):
110 return imageio.imread(f, ignoregamma=True)
111 else:
112 return imageio.imread(f)
113
114 imgs = imgs = [imread(f)[...,:3]/255. for f in imgfiles]
115 imgs = np.stack(imgs, -1)

Callers 1

_load_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected