PCL中将PCD文件转换成PLY文件
来源:互联网 发布:国内天价域名 编辑:程序博客网 时间:2024/06/07 03:23
// Pcd2Ply.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <pcl/io/pcd_io.h>#include <pcl/io/ply_io.h>#include<pcl/PCLPointCloud2.h>#include<iostream>#include<string>using namespace pcl;using namespace pcl::io;using namespace std;int PCDtoPLYconvertor(string & input_filename, string& output_filename){pcl::PCLPointCloud2 cloud;if (loadPCDFile(input_filename, cloud) < 0){cout << "Error: cannot load the PCD file!!!" << endl;return -1;}PLYWriter writer; writer.write(output_filename, cloud, Eigen::Vector4f::Zero(), Eigen::Quaternionf::Identity(), false, true);return 0;}int _tmain(int argc, _TCHAR* argv[]){string input_filename = "In.pcd";string output_filename = "Out.ply";PCDtoPLYconvertor(input_filename, output_filename);return 0;}
PLY文件乱码问题
原文点击这里
阅读全文
0 0
- PCL中将PCD文件转换成PLY文件
- PCL中将PCD文件转换成PLY文件
- 【PCL】将ply文件转换为pcd文件
- PCL读取PCD文件
- PCL生成.PCD文件
- pcl c++ 文件后缀名批处理修改 ply->pcd 走过的坑及问题
- pcl点云PCD文件
- PCL PLY转PCD及批量处理
- 2 pcl读取pcd文件并显示
- PCL:将点云写入PCD文件中
- 点云pcd格式转换成ply格式
- PCL——txt文件转到PCD文件
- ply格式转换成点云pcd格式
- PLY文件
- PLY文件
- pcl:三维模型obj格式转成pcl常用点云处理格式.pcd+matlab:.ply<->.pcd+其他.stl,.obj,.ply等三维格式互相转化方法
- DXF文件中将多段线凸度转换成圆弧
- ply文件加载
- 解决GitHub上下载速度慢的问题
- sonar入门(使用)
- GSON——基础了解
- CentOS一键安装IPSEC/IKEV2 VPN服务器
- Tomcat7的目录结构详解
- PCL中将PCD文件转换成PLY文件
- 【年度总结】之重复的力量
- STP——BPDU格式及字段说明
- 全栈工程师之路-中级篇之小程序开发-第三章第一节页面跳转及参数传递,跳转到更多页面
- 线程状态图
- 学习java并发实战编程(一)线程安全性
- 网络营销十大要点秒懂
- 北京台历挂历印刷
- Android Frament中add,repalce,hide,show用法