在调用 StatisticalOutlierRemoval 时遇到 double free or corruption
我在 PCL 源代码中加入了一些log,具体如下:
1 | 2: [INFO]1712543988.313661216: filter - CropBox |
在调用 StatisticalOutlierRemoval 时遇到 double free or corruption
我在 PCL 源代码中加入了一些log,具体如下:
1 | 2: [INFO]1712543988.313661216: filter - CropBox |
1 | $ tree test_a/ test_b/ |
1 | test_a/ |
1 | $ diff -aur test_a/ test_b/ |
1 | Only in test_b/: test_b.txt |
使用 pcl-tools 1.12.1 显示点云后出现 segmentation fault

使用 libpcl-dev-1.12.1 显示点云后显示一大串关于 vtk 的警告且最后出现 sgmentation fault
1 | 2024-03-27 07:06:36.626 ( 1.903s) [ 1B11AC80]vtkOpenGLPolyDataMapper:328 WARN| vtkOpenGLPolyDataMapper::SetGeometryShaderCode was deprecated for VTK 9.0 and will be removed in a future version. Use vtkOpenGLShaderProperty::SetGeometryShaderCode instead. |
miniconda从 https://docs.anaconda.com/free/miniconda/ 下载对应版本的安装脚本
1 | bash xx.sh |
根据提示安装完成后,重新打开terminal窗口
miniconda 创建单独的环境且安装 jupyter 等需要的包1 | conda env list |



1 | import matplotlib.pyplot as plt |


顾名思义取中值
1 | # Read in the image |
不小心使用 git drop stash 误删了暂存的内容 (或是 git stash pop 后丢失),怎么恢复?
其实drop后并没有真正删除暂存的内容,而是移除了对它的引用,所以通过一些操作是可以找回的。
git st 查看当前修改
1 | On branch master |
git stash 暂存修改
1 | Saved working directory and index state WIP on master: 4d74f8a fix spell |
git stash list 查看暂存内容列表
1 | stash@{0}: WIP on master: 4d74f8a fix spell |
git stash drop stash@{0} 移除暂存内容
1 | Dropped refs/stash@{0} (0b45536f1ce7e859a85f1459d6ae34fc6cdc4039) |