You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some imported PLY files appear deformed when visualized in CloudViewer or PCLVisualizer. PCD files does not appear deformed :
The PCD file
The PLY file
Latest Trunk version (pulled april 9 2014)
Ubuntu 12.04 x64
PLY file header :
ply
format ascii 1.0
comment VCGLIB generated
element vertex 7334
property float x
property float y
property float z
element face 0
property list uchar int vertex_indices
end_header
Hi Victor, thanks for the showcase project. I can confirm the issue. So it has something to do specifically with visualization, because converting the file to pcd using pcl_ply2pcd yields a non-deformed cube.
@nizar-sallem Any ideas about what might be the issue?
Rodo - thanks for suggesting that. I finally found out what is going on. When
reading the PLY file a sensor_orientation_ field is somehow filled by
reading function (I don't know how it is happening since I have precompiled
version of PCL and I didn't have time to check it yet). If I call a
setIdentity() on sensor_orientation_ after reading the PLY file everything
is fine with displying.
Initializing sensor_orientation_ to the identity matrix might be a solution
I updated the test project, know we know exactly why the file is deformed:
Some imported PLY files appear deformed when visualized in CloudViewer or PCLVisualizer. PCD files does not appear deformed :
The PCD file
The PLY file
Latest Trunk version (pulled april 9 2014)
Ubuntu 12.04 x64
PLY file header :
Shared library dependencies :
See :
#510
#373
The text was updated successfully, but these errors were encountered: