funny issue visualizing .ply files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

funny issue visualizing .ply files

gregmartjim
This post has NOT been accepted by the mailing list yet.
Hello

I got a funny issue while visualizing .ply files, if i try to open with the pcl_visualizer sometimes i get a message error :

~/Kermit/opensfm/depthmaps/merge.ply:1: parse error: couldn't read the magic string
[pcl::PLYReader::read] problem parsing header!
[pcl::PLYReader::read] problem parsing header!




but i f i align the first rows in the .ply file then i am able to open it.

non aligned rows

-21.0814 3.5770 -23.3132 0.639 -0.710 -0.297 32 37 56
-21.0313 3.5970 -23.1969 0.685 -0.686 -0.246 24 29 52
-20.9594 3.6094 -23.0508 0.404 -0.896 0.186 19 26 53
-20.3298 6.0390 -18.7619 0.129 0.776 0.617 30 42 28
-21.2690 7.5771 -18.4655 0.536 0.167 0.827 39 44 37
-21.2931 7.6203 -18.4530 0.482 -0.135 0.865 36 41 34

aligned rows

-24.2684 14.2080 -15.4023 0.827 -0.214 0.520 107 93 84
-24.2922 14.2544 -15.3852 0.668 -0.387 0.635 110 95 87
-24.3003 14.2881 -15.3562 0.668 -0.387 0.635 110 95 88
-24.3166 14.3284 -15.3333 0.687 -0.287 0.667 108 94 88
-24.3099 14.3500 -15.2930 0.228 -0.971 0.067 108 95 89


Does someone know what is happening ?


Regards

Gregorio