Skip to content

Instantly share code, notes, and snippets.

@berak
Created September 4, 2012 11:52
Show Gist options
  • Save berak/3620558 to your computer and use it in GitHub Desktop.
Save berak/3620558 to your computer and use it in GitHub Desktop.
// vfhv file1 file2 ...
int main(int argc, char* argv[])
{
pcl::visualization::PCLHistogramVisualizer h_vis;
for ( int i=1; i<argc; i++ )
{
pcl::PointCloud<pcl::VFHSignature308>::Ptr vfhs (new pcl::PointCloud<pcl::VFHSignature308>);
pcl::io::loadPCDFile ( argv[i], *vfhs);
h_vis.addFeatureHistogram(*vfhs , 308, argv[i]);
}
h_vis.spin();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment