diff --git a/examples/datasets/colmap.py b/examples/datasets/colmap.py index 2d34734e6..f1d615beb 100644 --- a/examples/datasets/colmap.py +++ b/examples/datasets/colmap.py @@ -86,7 +86,7 @@ def __init__( params = np.empty(0, dtype=np.float32) camtype = "perspective" if type_ == 2 or type_ == "SIMPLE_RADIAL": - params = np.array([cam.k1], dtype=np.float32) + params = np.array([cam.k1, 0.0, 0.0, 0.0], dtype=np.float32) camtype = "perspective" elif type_ == 3 or type_ == "RADIAL": params = np.array([cam.k1, cam.k2, 0.0, 0.0], dtype=np.float32)