From 8f46edae0dc6646604547fa6c3c2b18ad2aa0c6e Mon Sep 17 00:00:00 2001 From: JY251 <101054474+JY251@users.noreply.github.com> Date: Thu, 11 Jul 2024 22:23:13 +0900 Subject: [PATCH] Fix `imread` call to use `apply_gamma=False` instead of `ignoregamma=True` --- load_llff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/load_llff.py b/load_llff.py index 98b791637..fa00511d2 100644 --- a/load_llff.py +++ b/load_llff.py @@ -107,7 +107,7 @@ def _load_data(basedir, factor=None, width=None, height=None, load_imgs=True): def imread(f): if f.endswith('png'): - return imageio.imread(f, ignoregamma=True) + return imageio.imread(f, apply_gamma=True) else: return imageio.imread(f)