-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
PLY header conflict (vertex_indices) #968
Comments
See #579. |
The problem not solved.
Crash when you load a ply file with loadPLYFile. |
There is also #675 |
7 tasks
PCL trunk, it looks like this issue if fixed. 1.ply
2.ply
Test code#include <pcl/point_cloud.h>
#include <pcl/io/ply_io.h>
#include <pcl/common/common.h>
#include <pcl/visualization/pcl_visualizer.h>
typedef pcl::PointXYZ PointT;
typedef pcl::PointCloud<PointT> PointCloudT;
int main(int argc, char* argv[])
{
PointCloudT::Ptr pc_1 (new PointCloudT),
pc_2 (new PointCloudT);
pcl::io::loadPLYFile("/home/victor/1.ply", *pc_1);
pcl::io::savePLYFile("/home/victor/1_saved.ply", *pc_1);
pcl::io::loadPLYFile("/home/victor/1_saved.ply", *pc_2);
pcl::visualization::PCLVisualizer viewer;
viewer.addPointCloud(pc_2);
viewer.spin();
return (0);
} Test code with 1.ply
Test code with 2.ply
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rdcelis reported an issue with the PLY parser, the header is filled with
vertex_indices
instead ofvertex_index
See the PCL discussion for more information.
The text was updated successfully, but these errors were encountered: