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 and point cloud #19
Comments
Sorry for late response. If you are interested in generating point cloud, you can change the following line in lib/renderer/gl/data/prt.vs Then you can directly obtain point cloud rendered from the input view by |
The output depth should be normalized to [0,1] corresponding to [zNear, zFar] in the original space. As zNear=-100 and zFar=100, your depth renormalization code seems incorrect to me. |
In the first comment: In the third comment: As your reply, the first comment was the way you wrote, but there is a little deviation from the input mesh. If I replace the third comment about Thanks for quick reply~ |
Notice that there are two pieces of code in
PIFu/lib/renderer/gl/render.py
When I try to recover the point cloud from the depth value, the result shows that there is an error in the depth direction. If I translate the point cloud, it can match the original mesh.
I don't know if there's something wrong with my understanding of the camera model that makes the code incorrect, I hope to get your help, thanks!
The text was updated successfully, but these errors were encountered: