Skip to content

Commit

Permalink
Merge pull request #6 from rodrygojose/review
Browse files Browse the repository at this point in the history
for real, fix gamma
  • Loading branch information
rodrygojose authored May 9, 2019
2 parents 87ed012 + 21ad428 commit 582b9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llff/poses/pose_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def load_data(basedir, factor=None, width=None, height=None, load_imgs=True):
if not load_imgs:
return poses, bds

imgs = [imageio.imread(f, ignoregamma=False)[...,:3]/255. for f in imgfiles]
imgs = [imageio.imread(f, ignoregamma=True)[...,:3]/255. for f in imgfiles]
imgs = np.stack(imgs, -1)

print('Loaded image data', imgs.shape, poses[:,-1,0])
Expand Down

0 comments on commit 582b9ea

Please sign in to comment.