We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33a32a commit 0d35396Copy full SHA for 0d35396
examples/gsplat_utils/datasets/colmap.py
@@ -87,7 +87,7 @@ def __init__(
87
params = np.empty(0, dtype=np.float32)
88
camtype = "perspective"
89
if type_ == 2 or type_ == "SIMPLE_RADIAL":
90
- params = np.array([cam.k1], dtype=np.float32)
+ params = np.array([cam.k1, 0.0, 0.0, 0.0], dtype=np.float32)
91
92
elif type_ == 3 or type_ == "RADIAL":
93
params = np.array([cam.k1, cam.k2, 0.0, 0.0], dtype=np.float32)
0 commit comments