buaacyw / GaussianEditor

[CVPR 2024] GaussianEditor: Swift and Controllable 3D Editing with Gaussian Splatting
https://buaacyw.github.io/gaussian-editor/
Other
1k stars 47 forks source link

readColmapCameras_hw #56

Open Nieschlafen opened 2 weeks ago

Nieschlafen commented 2 weeks ago
    if intr.model=="SIMPLE_PINHOLE":
        focal_length_x = intr.params[0]/h_scale
        FovY = focal2fov(focal_length_x, height)
        FovX = focal2fov(focal_length_x, width)

In line 204 of the readColmapCameras_hw function in the dataset_reader.py file, this h_scale doesn't seem to be defined, but I don't know why the program sometimes runs and sometimes doesn't