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

About Intrinsic Matrix #6

Open
GaryGky opened this issue Aug 19, 2021 · 4 comments
Open

About Intrinsic Matrix #6

GaryGky opened this issue Aug 19, 2021 · 4 comments

Comments

@GaryGky
Copy link

GaryGky commented Aug 19, 2021

May I ask how to get the intrinsic matrix of a photo if I want to use my own data to train GRF? And without the intrinsic matrix, will the performance of GRF significantly degrade?

@GaryGky GaryGky changed the title About Dataset About Intrinsic Matrix Aug 19, 2021
@alextrevithick
Copy link
Owner

alextrevithick commented Aug 24, 2021

The intrinsic matrix is necessary. So you have the poses but not the intrinsic matrix? If not, you can follow the instructions from NeRF to estimate the camera poses along with the intrinsic using COLMAP, then train GRF using the default LLFF hyperparamaters. To do that, follow the section on generating your own poses from the NeRF repo at https://github.com/bmild/nerf

@GaryGky
Copy link
Author

GaryGky commented Sep 10, 2021

OK. Thank you! May I ask one more thing?
I simply use this formula to generate intrinsic which assumes that the camera is without Distortion, is that reasonable?

intrinsic = np.array([[focal, 0., W / 2], [0, focal, H / 2], [0, 0, 1.]])

@alextrevithick
Copy link
Owner

Seems reasonable to me, assuming the principal point isn't too far from the center.

@GaryGky
Copy link
Author

GaryGky commented Sep 13, 2021

Thank you. I will have a try.

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