-
Notifications
You must be signed in to change notification settings - Fork 62
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
What is the camera rotation for panorama images? #9
Comments
Hi Daxuan, Thanks for your interest in our dataset. The direction of the camera in the panorama is always along the negative y-axis. Please make sure your alignment process is correct. Best, |
Hi Jia, Thanks for the reply and suggestion. Daxuan |
Hi Daxuan, Hope you are doing good. Can you help me understand how you generated this point cloud from the panorama? Specifically, how did you use the camera parameters to get the point cloud given that only the camera location is provided for the panoramas. Also, I am trying to generate a point cloud from the perspective images but my point cloud is Thanks! Micael |
Hi Micael, I'm using the panorama Depth images to generate the point cloud. It's quite simple. You can take the image center as the polar coordinate's 0,0, and evenly divide the width to 360 degrees and height to 180 degrees, then apply some trigonometry to convert it into cartesian coordinate. I get the below code from my old backups and don't know if it contains bugs since I do not have access to my school computer due to the COVID19 issue... Feel free to try it and let me know if you run into any problem. `import cv2 NUM_SECTIONS = -1 class PointCloudReader():
if name == "main": Hope it helps, Daxuan |
Hi Daxuan, I was able generate the point cloud using your code. Thanks a lot for the explanation and the code. I really appreciate your help. Best, Micael |
Hi I just replicated @kimren227 's your code and was wandering, why there are these strong artifacts in the line of sight to the windows. I wasn't expecting that in a synthetic dataset. Is this due to any image smoothing in the depth image ? |
Hi,
First of all, I want to thank you for this great dataset.
I try to generate point clouds based on the panorama images, however, only camera xyz location are provided. I'm wondering where can I find the camera rotation parameters?
If I assume the camera has the same rotation, the point clouds generated are miss stitched.
Thanks,
Daxuan
The text was updated successfully, but these errors were encountered: