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

The meaning of preprocess_cameras.py #42

Open
013292 opened this issue May 16, 2023 · 1 comment
Open

The meaning of preprocess_cameras.py #42

013292 opened this issue May 16, 2023 · 1 comment

Comments

@013292
Copy link

013292 commented May 16, 2023

I've got the sense that world_mat_ is the projection matrix converting 3d world coordinates to 2d pixel image coordinates; 'scale_mat_' is the normalization transform to move and scale the 3d object in world space to let it be centered at the origin and inside a unit sphere.
My question is why do we need to do that in such a sophisticated way? I checked the normalization matrix on DTU and data_BlendedMVS, It seems that for each object the normalization matrices are the same for all views. Then what kind of scenarios are this preprocess for? Thank you :-)

@guangxuwang
Copy link

@013292 i dont want to scale the 3d object, how can i revise the code?

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