-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I just found an issue with how we were generating crops for panos in Seattle.
The issue is that the depth data in both Seattle and DC/Newberg is the same resolution. BUT the pano sizes are different resolutions. The function that calculates the crop size (predict_crop_size) uses GSV_IMAGE_WIDTH and GSV_IMAGE_HEIGHT to decide where in the depth data file to sample BUT when it tries to sample depth data for the points on the bottom or right of the panorama, it can’t find any data because the resolution of the depth data didn’t increase with the resolution of the panorama. This can be fixed by instead of inputting the panorama’s actual width and height to the function, always inputting 13312 and 6656 (the resolution of the DC/Newberg images). Right now when the function fails, it falls back onto a less accurate function that calculates crop size based on position in the image.
I don’t think this is a big deal for the ASSETS paper because of how few labels are on the very bottom and right of the panos, but it is definitely something that we should fix and it makes me wonder how many other pieces of code are being affected in weird ways by the difference in resolution. I think that this thread can be a place to gather and resolve any additional bugs we find related to image resolution.