naver / dust3r

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

About center point when training #127

Open wuqun-tju opened 4 months ago

wuqun-tju commented 4 months ago

In the training step, I found there is a step cropping image according camera_intrinsic and make principal point to be center of image in https://github.com/naver/dust3r/blob/main/dust3r/datasets/co3d.py#L100 . I wonder cropping is necessary? Is it OK if I just resize image(That is the principal point may not in the center of image ), because for my dataset, They will lose some information if cropped in the margin.

yocabon commented 4 months ago

Hi, I don't have a definitive answer for you on that. All of these are choices we made, best I can say is to try and see if/how well it works.