centos版pcl下载
http://cache.baiducontent.com/c?m=9f65cb4a8c8507ed19fa950d100b953f4c1597634b8a90406285c414d5391a564710e6a67060475ac4c50a2d0bab5e5b9ef4306f75527ea09bbede1d99eccc3f2ffe2423706b835612a419b8cb3026d620e70db7aa0ee7cdba3897b9d5a7db5244ca244538dfe78b2d5a529531e4516ca3f09619420356e7ac27658e1b2677&p=9239c75b86cc41ac5ab2c7710f0a83&newp=857ec64ad4d507b444bd9b7e0e14cb231610db2151d4d7176b82c825d7331b001c3bbfb423271203d4ce7a6407ac485fe8f63171330923a3dda5c91d9fb4c574799e612f6c&user=baidu&fm=sc&query=centos+pcl&qid=bdf85caf0009c111&p1=6
查看Install Howto
进https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/e/下载
epel-release-7-11.noarch.rpm
rpm -Uvh epel-release*rpm
yum install pcl-devel
也可以直接下载pcl-devel-1.7.2-1.el7.x86_64.rpm,用以下命令直接安装
rpm -Uvh pcl-devel-1.7.2-1.el7.x86_64.rpm
跑一个简单pcl程序
http://pointclouds.org/documentation/tutorials/range_image_creation.php#range-image-creation
第一步:gedit range_image_crea./range_image_visualization -l five_people.pcdtion.cpp
#include <pcl/range_image/range_image.h>
int main (int argc, char** argv) {
pcl::PointCloud<pcl::PointXYZ> pointCloud;
// Generate the data
for (float y=-0.5f; y<=0.5f; y+=0.01f) {
for (float z=-0.5f; z<=0.5f; z+=0.01f) {
pcl::PointXYZ point;
point.x = 2.0f - y;
point.y = y;
point.z = z;
pointCloud.points.push_back(point);
}