Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to train a Gaussian model using data from a pinhole camera and then render it in fisheye camera mode? #9

Open
bolunzhangQwQ opened this issue Sep 25, 2024 · 4 comments

Comments

@bolunzhangQwQ
Copy link

If possible, how should it be implemented specifically? Simply changing the is_fisheye parameter in the render doesn't seem to achieve it. Thank you for your valuable time.

@zmliao
Copy link
Owner

zmliao commented Sep 25, 2024

It is possible but some bugs are reported when training on pinhole camera model. We will release a debugged version later.

If you want to train a Gaussian model from a certain camera model, use the command below:
python train.py
-s
-m
--images
--colmaps
--bs 3
--ds 1
--camera_model <FISHEYE/PINHOLE>
--train_random_background

@zmliao
Copy link
Owner

zmliao commented Sep 25, 2024

Config the arguments to change your camera model when training or rendering.

@bolunzhangQwQ
Copy link
Author

I'll try later. Looking forward to your code, thank you.

@zmliao
Copy link
Owner

zmliao commented Sep 29, 2024

I'll try later. Looking forward to your code, thank you.

I have found a bug, that the focals of the pinhole camera are different from the fisheye camera. Try to load the intrinsics using /dlsr/nerfstudio/transforms_undistorted.json when training from pinhole cameras. I will release the code after debugging the dataloader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants