-
Notifications
You must be signed in to change notification settings - Fork 135
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
NaN in frame.IIII.position.hdf5 #13
Comments
Hi! Great question. NaN values can and do occur in the Hypersim images when there is no scene geometry at that pixel. In the case of
White values in the In summary, you're seeing a NaN value because there is no geometry at that pixel, and therefore the pixel's world-space position is undefined. |
We also came across this issue when we tried to use the Evermotion data set in a multi view geometry application. Quite many scenes have small portions that have undefined geometry information. When trying to backproject all pixels
we'd expect We did not cross-compare whether huge reprojection errors are always caused by undefined geometry information. |
@rikba this analysis is great! I could imagine that 30k images (roughly half of the images in Hypersim) contain at least a few pixels with undefined geometry. As we see in the original post above, all it takes is for there to be a visible open window in an otherwise well-behaved image, and you'll get some undefined values. So 30k seems plausible to me. As you already mentioned, it would be interesting to see how many of those >100px max errors are due to undefined geometry. Is that information stored in your error statistics CSV file? Or are the NaN values being converted to finite floating-point values somehow by the time they are saved to your CSV. I hope it is the former. The other (finite) reprojection errors tell us exactly what scenes are affected by #24. This analysis is very valuable! Thank you 😄 |
Unfortunately, the latter. We did not check the values in |
Hi there
I am using
ai_035_001/images/scene_cam_00_geometry_hdf5/frame.0001.position.hdf5
to get the world positions of all pixels seen on the image.When looking at pixel (257,837), and printing the 3D point by
print('xyz_world: ', xyz_world[257,837,:])
, I get a NaN vector backxyz_world: [nan nan nan]
.Is there any meaning behind the nan value used for a xyz world point?
Thanks
The text was updated successfully, but these errors were encountered: