naver / dust3r

DUSt3R: Geometric 3D Vision Made Easy
https://dust3r.europe.naverlabs.com/
Other
4.65k stars 515 forks source link

Wrong Intrinsics #64

Closed zjrandom951 closed 3 months ago

zjrandom951 commented 3 months ago

There seems to be an issue with the camera's intrinsics, some focal is 0.

vincent-leroy commented 3 months ago

Was an image transposed fromportrait to landscape? It seems the intrinsics matrices rows are simply permuted as expected when transposing from portrait to landscape as in https://github.com/naver/dust3r/blob/main/dust3r/datasets/base/base_stereo_view_dataset.py#L202

zjrandom951 commented 3 months ago

image image

when i try to run the training script, if the image resulotion is not square, then there is a probability that the diagonal element of the camera's intrinsics matrix is 0

zjrandom951 commented 3 months ago

thanks, it should be because the image was transposed.