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

why near: 2 and far: 6 #188

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

why near: 2 and far: 6 #188

013292 opened this issue May 28, 2023 · 1 comment

Comments

@013292
Copy link

013292 commented May 28, 2023

In the article it is said "For experiments with synthetic images, we scale the scene so that it lies within a cube of side length 2 centered at the origin, and only query the representation within this bounding volume", and in the code the near is set to 2 and the far is set to 6. Feel confused about that.
Thank you :-)

@samadbarrikhojasteh
Copy link

It depends on which dataset you are using. 4 and 6 are for datasets from blender (load-blender.py file) while the load_llff.py file uses another method to calculate near and far amounts. On the other hand, [-1,1] cube is for normalizing datasets along with each axis (x,y, z). Indeed, they bring the dataset into limited intervals (cubes) to have the simplest process. In summary, [-1.1] normalized cube method is not the same near and far method. You can eliminate only near and far concepts in particular datasets.

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