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

Depth render output shape #19

Open
2454511550Lin opened this issue Apr 30, 2024 · 1 comment
Open

Depth render output shape #19

2454511550Lin opened this issue Apr 30, 2024 · 1 comment

Comments

@2454511550Lin
Copy link

Thank you for the amazing work. I encounter a problem regarding the shape of the rendered depth map. I tried to retrieve the rendered_image and rendered_depth by running:

rendered_image, radii, rendered_depth, rendered_alpha = rasterizer(...)

I expect rendered_image has the shape of (3, Width, Hight), and rendered_depth has the shape of (1, Width, Hight).

However, what I got is (3, 719, 1279) for rendered_image (which is correct regarding my image resolution), but (1536351,) for the rendered_depth. I am wondering why rendered_depth is a flat vector? Also, I cannot reshape it to any H x W that makes sense to my scene. If other people does not got a flat vector but (1, Width, Hight), please let me know.

Any help or suggestions would be greatly appreciated!!

@2454511550Lin
Copy link
Author

I realize that my rendered_depth is of the same size as the number of Gaussian spheres in the scene. Can someone help me understand what it actually stands for? It is the depth of all the Gaussian spheres under the current camera view? Thanks a lot!

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

1 participant