Open chester256 opened 5 years ago
Perhaps my statement was not clear. Let me re-state the problem. For instance, I have to crop the RGB info in 005_color.ply (/scenenn/contrib/color_ply), and concatenate the color info to 005.ply (/scenenn/contrib/nyu_class). Since the ply files do not store vertex indices info, so I have to match the points between 005_color.ply and 005.ply based on their xyz. They should share same xyz since they store same points with different attributes. However, the above code shows that the xyz is not shared between 005_color.ply and 005.ply. Could you please tell me how to map the color info in color_ply to nyu_class? Thank you very much.
BTW, nyu_class still lacks 20+ scenes. It will be great if you upload them. Thank you very much.
As I remember, the geometry mismatch between ply files are not an issue as the order of the vertices when converted from TSDF is not changed. It means, you can just read the geometry once, and get other data channels from other files if needed.
Please see https://github.com/hkust-vgd/scenenn/issues/9#issuecomment-528227631 for the 76 scenes data. Thanks.
As I remember, the geometry mismatch between ply files are not an issue as the order of the vertices when converted from TSDF is not changed. It means, you can just read the geometry once, and get other data channels from other files if needed.
Please see #9 (comment) for the 76 scenes data. Thanks.
Thanks for your reply. I just tried on 005.ply and it really works. Thank you very much.
Thanks for your work. I am trying to preprocess data like what you did in CVPR'18 (Pointwise Conv), but with different block sizes, strides. etc. However, there seem to be numerical misalignments between /scenenn/contrib/color_ply and /scenenn/contrib/nyu_class. Since I want to get points with raw RGB (raw object colors) and category-level semantic annotations, I have to combine scenes in color_ply and nyu_class. However, when I read them in PlyData, there seem to be numerical misalignments between their global xyz. Below is the code :
It seems that positions (xyz) do not match between color_ply and nyu_class, in other words, there is no one-to-one correspondence relationship between points in color_ply and nyu_class, so that I cannot map the real object color in color_ply to nyu_class. Could you please help me with this? In addition, the numerical problem may caused by the python lib PlyData, if so, could you please provide the preprocess tools/scripts used in aforementioned CVPR'18 paper? Thank you very much.