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

Questions about Matterport3D? #5

Open
FocusK opened this issue Jul 13, 2020 · 3 comments
Open

Questions about Matterport3D? #5

FocusK opened this issue Jul 13, 2020 · 3 comments

Comments

@FocusK
Copy link

FocusK commented Jul 13, 2020

Hi! Thanks for your great work.
I have downloaded the annotated layout files of Matterpot3D and generate Manhattan-aligned panoramas. I wonder how to get the real corner id of the panoramic image from the annotation file?

@FocusK
Copy link
Author

FocusK commented Jul 13, 2020

I can't understand "corner labeling block, we only annotate the corner in the horizontal direction because you can easily get the corner in the vertical direction from cameraHeight and layoutHeight."? Thus I can't get the gt corid. If it is convenient, can you let me learn the corresponding .py file?

@zouchuhang
Copy link
Owner

zouchuhang commented Jul 17, 2020

@FocusK Thanks for your interests in our work. In the Matterport3D dataset, we've provided each corner based on the uv coordinate, that means you can extract the GT cor_id from it. You can refer to the functions in "pano.py" to convert from uv coordinate to pixel coordinate.

@kopetri
Copy link

kopetri commented Nov 15, 2021

@zouchuhang Unfortunately, there is no function in "pano.py" which computes the correct vertical values for a given horizontal point. Can you please clarify this? Thank you.

The code I was looking for is here: convert json annotation to corner txt
Beware: Matterport3D equirectangular images have 2048x1024 resolution. The script expects 1024x512.

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

3 participants