- 博客(50)
- 收藏
- 关注
原创 Point Pair Feature 原理及代码详解 OpenCV-PCL详解系列(一、原理解析)
PPF PointPairFeature点对特征原理
2023-03-18 21:01:42
4342
原创 c++ 下使用open3d 计算点云的马氏距离,最邻近距离以及两点云间最邻近距离
c++ 下使用open3d 计算点云的马氏距离,最邻近距离以及两点云间最邻近距离
2022-06-26 10:00:00
539
原创 乌版图18.04 RTX3080 Tensorflow2.5 pytorch1.9环境配置
1、安装驱动:安装完后重启。2、下载对应版本cudahttps://developer.nvidia.com/cuda-11.2.0-download-archive?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=runfilelocal按提示安装,在安装过程不要在安装驱动了。修改bashrc文件:在文件中填入以下几句:export
2021-09-08 12:48:54
307
原创 pointnet中shared_mlp过程详细解析
pointnet网络模型如下图所示:暂时不关注input_transform和feature_transform。同时也不关注分割任务。从输入n×3到n×64的操作:(图中数字仅为示意,不代表具体计算)首先输入为n×3(n×1×3×1:点数×长×宽×通道数)有64个1×3的卷积核,每个卷积核对点云进行卷积操作,并生成一个通道,64个卷积核共计生成64个通道。(叙述过程省略了加偏置和激活的部分)得到的结果为n×64(n×1×1×64点数×长×宽×通道数)成功将数据升维。在将64维升到128维的
2021-08-13 13:36:57
2872
1
原创 cloudcompare对点云进行打标签
导入点云:选中点云:选择小剪刀:进行切割:切割完毕后选择要里面的还是外面的点云(都可)点击点击选中点云:点击+出现:点击ok(可自己改名字哦)选中另一点云:点击+点击ok:更改数值:点击ok全部选中,点击合并。选no保存为ascii完成...
2021-07-23 10:55:35
7058
15
原创 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>
错误如下:错误:7 http://packages.ros.org/ros/ubuntu bionic InRelease 下列签名无效: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <info@osrfoundation.org>获取:11 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]已下载 257 kB,
2021-07-06 13:45:04
15598
2
原创 PCL点云随机采样到固定点数
使用库:PCL环境:乌班图18.04语言:c++程序如下:#include <iostream>#include <pcl/visualization/pcl_visualizer.h> #include <pcl/visualization/cloud_viewer.h>#include <pcl/point_types.h>#include <pcl/common/common.h>#include <stdio.h&
2021-06-21 17:21:07
2839
1
原创 jupyter自由切换anaconda环境
conda env listconda activate <环境名>conda install ipykernelpython -m ipykernel install --name your name --display-name "your display name"查看自己安装的虚拟环境列表确定添加到jupyter的环境activate 该环境安装 ipykernel向ipykernel注入环境重新启动jupyter notebookjupyter notebook
2021-06-21 17:11:44
332
原创 小觅双目sdk地址
https://mynt-eye-d-sdk.readthedocs.io/zh_CN/latest/sdk/install_ubuntu_src.html
2021-06-17 20:34:42
217
原创 tensorflow2常用命令笔记(一)
tf.io.read_file(path)读取并输出文件内的所有内容tf.strings.substr()字符拆分tf.strings.regex_replace()替换tf.strings.strip()去除多余部分tf.strings.split()将字符分割为多个字符以换行符为分解对字符串进行分割,每一行为一个字符。tf.strings.to_number()将输入字符串转换为指定数值类型tf.reduce_mean()用于计算张量tensor沿着指定
2021-06-15 15:49:45
442
原创 乌班图20.04安装noetic版ROS
官网连接http://wiki.ros.org/noetic/Installation/Ubuntu可以安装不同的版本。安装ROS之前,第一件要解决的问题就是科学上网的 问题,这会减少很多的弯路。第二件事就是更换软件源:更换到阿里云、华为云等。第三件事:修改hosts文件:https://zhuanlan.zhihu.com/p/77483614参考这个链接,主要解决rosdep update问题。解决完以上问题按照步骤进行安装:第一步:sudo sh -c 'echo "deb h
2021-06-13 10:48:54
487
原创 nvcc -v报错nvcc fatal : No input files specified; use option --help for more information
运行nvcc -v时报错:nvcc fatal : No input files specified; use option --help for more information解决办法:换一个大写V
2021-06-12 21:03:37
22027
30
原创 PCL报错
报错:对‘pcl::search::Search<pcl::PointXYZ>::getName() const’未定义的引用添加以下头文件即可#include <pcl/search/impl/search.hpp>#include <pcl/impl/instantiate.hpp>#include <pcl/point_types.h>
2021-06-11 15:28:40
278
原创 PCL区域生长分割
直接看代码吧,基于PCL实现。库文件自己筛选以下吧#include <iostream>#include <pcl/visualization/pcl_visualizer.h> #include <pcl/common/common.h>#include <pcl/point_types.h>#include <fstream> #include <vector>#include <pcl/features/n
2021-06-11 15:26:32
149
原创 点云ESF特征分类(神经网络)
通过对点云进行ESF全局特征提取,训练神经网络分类器,对点云进行分类。ESF特征提取见上述链接。基于tensorflow2python代码如下:import tensorflow as tfimport numpy as npdataset =tf.data.Dataseta3 = np.loadtxt('')train1 = np.array(a3)label1 = np.loadtxt('')label1 = tf.one_hot(label1,depth=3)a4 = np.l
2021-06-10 13:36:55
788
2
原创 Shape mismatch: The shape of labels (received (3,)) should equal the shape of logits except for the
问题描述ValueError: Shape mismatch: The shape of labels (received (3,)) should equal the shape of logits except for the last dimension (received (1, 3)).问题分析:输入与接受的不一致查找问题:标签经过tf.one_hot进行处理。在训练模型时,一般会将label使用one hot编码,然后模型的loss使用“sparse_categorical_crosse
2021-06-09 10:39:25
1315
原创 点云全局特征ESF算法原理及实现
参考文献:Ensemble of Shape Functions for 3D Object Classification\quad引入了一种新的形状描述子ESF (Ensemble of shape Functions),这是一种基于描述部分点云表面距离、角度和面积分布的三种不同形状函数的全局形状描述子。\quadESF描述子是10个64位(10*64=640)大小的形状函数直方图的集合,描述点云簇的特征特性。下图是一个香蕉的样本ESF直方图,分别表示三个角度、三个面积、三个距离和一个距离比形状函数的
2021-06-01 16:27:42
3399
1
原创 c++余弦相似度
c++代码:void similarity(const vector< vector<float> >& similar, vector< vector<float> >& simil) { vector<float> s1_t; for(int i=0;i<similar.size();i++) { float s1=0;
2021-05-29 14:12:49
1315
原创 乌班图下C++读取文件夹下文件名
程序:#include <dirent.h>#include <vector>#include <string>#include <iostream>#include <Eigen/Dense>using namespace std;int main(int argc,char *argv[]){DIR *dp;struct dirent *dirp;dp=opendir(argv[1]);int n=0;vector&
2021-05-27 09:51:04
485
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人