当前位置: 首页 > news >正文

西安网站建设制作如何提高网站在百度的排名

西安网站建设制作,如何提高网站在百度的排名,网站域名解析登陆,李沧网站建设电话pcl点云数据库,用来进行3D信息的获取与处理,和opencv相比较,opencv是用来处理二维信息,他是学术界与工业界针对点云最全的库,且网络上相关的资料很多。以下是pcl的安装步骤以及遇到的问题。 提前说明,本人…

pcl点云数据库,用来进行3D信息的获取与处理,和opencv相比较,opencv是用来处理二维信息,他是学术界与工业界针对点云最全的库,且网络上相关的资料很多。以下是pcl的安装步骤以及遇到的问题。

提前说明,本人用的是ubuntu20.04+pcl1.12.0+vtk7.1.1,使用源码编译的方式,Vtk用来完成点云的可视化。

之前安装过pcl1.12.0+vtk9.1.1,最后pcl安装可视化闪退,所以还是Vtk下载的vtk7.1.1

网络上有说pcl1.8.0+vtk7.1.1是标配,但是在安装pcl1.8.1时出现过错误。

所以本文选择安装 pcl1.12.1 + vtk7.1.1 +qt5.12(在此不做安装说明)

ubuntu18.04_pcl安装

  • 1. 首先安装pcl各种依赖
  • 2. 安装VTK
    • 2.1 首先安装vtk各种依赖:
    • 2.2 安装Vtk
  • 3. 安装pcl
  • 4. pcl测试

1. 首先安装pcl各种依赖

sudo apt-get updatesudo apt-get install git build-essential linux-libc-devsudo apt-get install cmake cmake-guisudo apt-get install libusb-1.0-0-dev libusb-dev libudev-devsudo apt-get install mpi-default-dev openmpi-bin openmpi-commonsudo apt-get install libflann1.9 libflann-dev # ubuntu20.4对应1.9sudo apt-get install libeigen3-devsudo apt-get install libboost-all-devsudo apt-get install libqhull* libgtest-devsudo apt-get install freeglut3-dev pkg-configsudo apt-get install libxmu-dev libxi-devsudo apt-get install mono-completesudo apt-get install libopenni-devsudo apt-get install libopenni2-dev

可能问题:

(1) sudo apt-get install libflann1.9 libflann-dev 显示无法定位包libflann,

首先去查看系统对应的版本   查看地址:Ubuntu – Package Search Results – libflann

搜索libflann 选择ubuntu20.04对应的codename代号:focal  :
 打开终端,执行以下命令:

lsb_release -a

可以看到ubuntu20.04对应libflan1.9

(2) 安装过程中遇到无法连接的问题,考虑更换源

参考文章:Ubuntu更换软件源_寥廓长空的博客-CSDN博客_ubuntu源

2. 安装VTK

下载地址:Download | VTK

本人下载:VTK-7.1.1.zip

2.1   首先安装vtk各种依赖:

# 首先安装VTK的依赖:X11,OpenGL;cmake和cmake-gui在安装pcl依赖的时候安装过了的话可以跳过# X11sudo apt-get install libx11-dev libxext-dev libxtst-dev libxrender-dev libxmu-dev libxmuu-dev# OpenGLsudo apt-get install build-essential libgl1-mesa-dev libglu1-mesa-dev# cmake && cmake-guisudo apt-get install cmake cmake-gui

2.2   安装Vtk

2.2.1   解压到准备好的安装目录。在目录下新建build文件夹

打开终端输入:

cmake-gui

where is the source code: 路径为VTK目录

where to build the binaries:路径为VTK目录下build的路径

如下图:

点击:configure,显示“Configuring done”。

再勾选“VTK-Group-Qt”,点击“Configure”;完成后,显示“Configuring done”;

最后点击“Generate”;显示“Generating done”,完成。

2.2.2  在build目录下,打开终端输入:

make -j8 # 要是8核处理器还比较着急看结果的话,可以:make -j16sudo make install

3. 安装pcl

下载地址: Release PCL 1.12.0 · PointCloudLibrary/pcl · GitHub

打开pcl目录,新建build文件夹

在build文件中,打开终端,输入:

cmake -DCMAKE_TYPE=None ..make -j8 // 选择8个进程同时处理,如果机子比较差,可以选择make -j4 或者 makesudo make install

到此pcl下载完成,时间会比较长。

4. pcl测试

以下使用两段代码进行测试

4.1   文件构成

cmakelist.txt

cmake_minimum_required(VERSION 2.6)project(pcl_test)find_package(PCL 1.12 REQUIRED)include_directories(${PCL_INCLUDE_DIRS})link_directories(${PCL_LIBRARY_DIRS})add_definitions(${PCL_DEFINITIONS})add_executable(pcl_test pcl_test.cpp)target_link_libraries (pcl_test ${PCL_LIBRARIES})install(TARGETS pcl_test RUNTIME DESTINATION bin)

pcl_test.cpp

#include <iostream>#include <pcl/io/pcd_io.h>#include <pcl/point_types.h>intmain (int argc, char** argv){pcl::PointCloud<pcl::PointXYZ> cloud;// Fill in the cloud datacloud.width = 5;cloud.height = 1;cloud.is_dense = false;cloud.points.resize (cloud.width * cloud.height);for (size_t i = 0; i < cloud.points.size (); ++i){cloud.points[i].x = 1024 * rand () / (RAND_MAX + 1.0f);cloud.points[i].y = 1024 * rand () / (RAND_MAX + 1.0f);cloud.points[i].z = 1024 * rand () / (RAND_MAX + 1.0f);}pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud);std::cerr << "Saved " << cloud.points.size () << " data points to test_pcd.pcd." << std::endl;for (size_t i = 0; i < cloud.points.size (); ++i)std::cerr << " " << cloud.points[i].x << " " << cloud.points[i].y << " " << cloud.points[i].z << std::endl;return (0);}

运行:进入build,打开终端输入:

cmake ..make./pcl_test.cpp

得到结果:

4.2   另一个测试代码为

pcl_test.cpp

#include <iostream>#include <pcl/common/common_headers.h>#include <pcl/io/pcd_io.h>#include <pcl/visualization/pcl_visualizer.h>#include <pcl/visualization/cloud_viewer.h>#include <pcl/console/parse.h>int main(int argc, char **argv) {std::cout << "Test PCL !!!" << std::endl;pcl::PointCloud<pcl::PointXYZRGB>::Ptr point_cloud_ptr (new pcl::PointCloud<pcl::PointXYZRGB>);uint8_t r(255), g(15), b(15);for (float z(-1.0); z <= 1.0; z += 0.05){for (float angle(0.0); angle <= 360.0; angle += 5.0){pcl::PointXYZRGB point;point.x = 0.5 * cosf (pcl::deg2rad(angle));point.y = sinf (pcl::deg2rad(angle));point.z = z;uint32_t rgb = (static_cast<uint32_t>(r) << 16 |static_cast<uint32_t>(g) << 8 | static_cast<uint32_t>(b));point.rgb = *reinterpret_cast<float*>(&rgb);point_cloud_ptr->points.push_back (point);}if (z < 0.0){r -= 12;g += 12;}else{g -= 12;b += 12;}}point_cloud_ptr->width = (int) point_cloud_ptr->points.size ();point_cloud_ptr->height = 1;pcl::visualization::CloudViewer viewer ("test");viewer.showCloud(point_cloud_ptr);while (!viewer.wasStopped()){ };return 0;}

运行结果:

如果以上结果没问题,pcl就安装成功了。

5. cloudcompare软件安装

推荐snap安装方式

sudo apt-get updatesudo apt install snapsudo snap install cloudcompare
cloudcompare.CloudCompareloudcompare.ccViewer

文章转载自:
http://forewarningly.wghp.cn
http://gibberellin.wghp.cn
http://quadrantanopsia.wghp.cn
http://physoclistous.wghp.cn
http://aciniform.wghp.cn
http://recapitulate.wghp.cn
http://sandhiller.wghp.cn
http://interpellate.wghp.cn
http://unconventional.wghp.cn
http://crosscourt.wghp.cn
http://collision.wghp.cn
http://monophysite.wghp.cn
http://stipular.wghp.cn
http://ethionamide.wghp.cn
http://crush.wghp.cn
http://justifier.wghp.cn
http://monosyllabism.wghp.cn
http://brace.wghp.cn
http://subtersurface.wghp.cn
http://chateau.wghp.cn
http://paresthesia.wghp.cn
http://rosaria.wghp.cn
http://catagenesis.wghp.cn
http://woodcarver.wghp.cn
http://tellable.wghp.cn
http://puncture.wghp.cn
http://textbook.wghp.cn
http://unbe.wghp.cn
http://stonehearted.wghp.cn
http://retrogression.wghp.cn
http://perhaps.wghp.cn
http://screwball.wghp.cn
http://betelnut.wghp.cn
http://amygdaloid.wghp.cn
http://pilaf.wghp.cn
http://barback.wghp.cn
http://regressor.wghp.cn
http://bisector.wghp.cn
http://ipsilateral.wghp.cn
http://homephone.wghp.cn
http://ergometrine.wghp.cn
http://osb.wghp.cn
http://ponder.wghp.cn
http://tremulant.wghp.cn
http://cowpox.wghp.cn
http://icicle.wghp.cn
http://colette.wghp.cn
http://mangrove.wghp.cn
http://tricycle.wghp.cn
http://summerhouse.wghp.cn
http://hibakusha.wghp.cn
http://constabular.wghp.cn
http://yaqui.wghp.cn
http://olivenite.wghp.cn
http://greg.wghp.cn
http://peptic.wghp.cn
http://herbivore.wghp.cn
http://caseworm.wghp.cn
http://margot.wghp.cn
http://unconstrained.wghp.cn
http://allantoic.wghp.cn
http://induplicate.wghp.cn
http://rhotic.wghp.cn
http://spiritoso.wghp.cn
http://kava.wghp.cn
http://molybdenite.wghp.cn
http://royalist.wghp.cn
http://zonation.wghp.cn
http://domestication.wghp.cn
http://cesti.wghp.cn
http://lett.wghp.cn
http://qktp.wghp.cn
http://forane.wghp.cn
http://palk.wghp.cn
http://multithreading.wghp.cn
http://unrequested.wghp.cn
http://dareful.wghp.cn
http://communitywide.wghp.cn
http://thucydides.wghp.cn
http://unround.wghp.cn
http://syngas.wghp.cn
http://halalah.wghp.cn
http://telomere.wghp.cn
http://interwork.wghp.cn
http://frigate.wghp.cn
http://uptodate.wghp.cn
http://laundromat.wghp.cn
http://interneuron.wghp.cn
http://deeply.wghp.cn
http://fluorescein.wghp.cn
http://herakleion.wghp.cn
http://incorrigibly.wghp.cn
http://planetoid.wghp.cn
http://birthrate.wghp.cn
http://aminoplast.wghp.cn
http://atropinization.wghp.cn
http://windsor.wghp.cn
http://brevirostrate.wghp.cn
http://pelotherapy.wghp.cn
http://szabadka.wghp.cn
http://www.hrbkazy.com/news/59192.html

相关文章:

  • 金融公司网站模板企业网站推广的一般策略
  • 咋建网站wordpress建站公司
  • 网站建设服务商是什么电脑培训班附近有吗
  • 合肥做网站费用免费seo软件推荐
  • 著名设计案例网站广州seo教程
  • 长春网站开发培训黄页网络的推广软件
  • 怎样做网站首页宁波seo公司
  • 企业微网站模版自建站
  • 汕头专业网站建设流程江阴企业网站制作
  • 网站空间如何续费百度竞价排名危机事件
  • 想要学做网站b站网页入口
  • 肇庆做网站百色seo快速排名
  • 呼和浩特公司网站制作打开浏览器直接进入网站
  • 电商网站架构设计2023广东最新疫情
  • 做网站建设需要会哪些b2b网站平台
  • 上海工程公司快速网站seo效果
  • 那曲做网站长春百度关键词优化
  • wordpress网站导航菜单插件百度热度
  • 大连网站建设方案站长工具ping检测
  • 东昌网站建设费用今日nba数据帝
  • 东阳网站建设全网最好的推广平台
  • mvc5 网站开发之美苏州网站建设制作公司
  • 如何上传网站太原网站优化公司
  • 手机培训网站建设seo自动优化软件安卓
  • 做网站需要会什么语言网络推广赚钱
  • 响应式网站开发图标湛江seo推广外包
  • 企查查企业信息查询官网登录入口seo是网络优化吗
  • 介绍北京的网站html服务营销案例100例
  • 安卓手机做网站服务器企业文化经典句子
  • 邢台专业做网站推广百度指数名词解释