LayoutNetv2 icon indicating copy to clipboard operation
LayoutNetv2 copied to clipboard

Questions about Matterport3D?

Open FocusK opened this issue 5 years ago • 3 comments
trafficstars

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 avatar Jul 13 '20 02:07 FocusK

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?

FocusK avatar Jul 13 '20 02:07 FocusK

@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.

zouchuhang avatar Jul 17 '20 20:07 zouchuhang

@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.

kopetri avatar Nov 15 '21 16:11 kopetri