pcl中的体素滤波

体素滤波

  Voxel滤波作为一种很常见的滤波方法,但是其PCL内部代码却值得学习,因此今天转载一篇关于pcl中实现的体素滤波的方法。
基本上参考博客:https://blog.csdn.net/u013630299/article/details/105661194

linux command usage

一些常用的Linux的命令记录

Common Command

  1. 查看当前系统的版本
1
cat /etc/issue
  1. 查看当前所安装的软件
1
dpkg -l
  1. 查看某软件安装路径

dpkg -L | grep ftp 查看ftp的位置

WindowBat实战

  • 自动拷贝文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@echo off
cls
cd ./bin

REM 打印当前文件夹中的dll名称
dir *.dll

for /r %%j in (*.dll) do (
REM 拷贝Release版的dll到指定目录
echo %%j | find "_d" || xcopy %%j E:path\Release\ /Y
REM 拷贝Debug版的dll到指定目录
echo %%j | find "_d" && xcopy %%j E:path\Debug\ /Y
)

PAUSE
  • 批量自动移动文件并自动建立同名文件夹
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
REM 首先遍历最外层的文件夹,
for /f %%i in ('"dir /ad/b/on *.*"') do (
echo "First Dir: %%~fi"
REM MKDIR OF DESTINATION
md E:\Destination\%%i
cd %%~fi
REM 获取到子文件夹之后再递归遍历子文件夹
for /f %%j in ('"dir /ad/b/on *.*"') do (
echo "Second Dir:%%~fj"
REM MKDIR OF DESTINATION
md E:\Destination\%%i\%%j
cd %%~fj
REM 拷贝每个文件到预定的路径中
for %%k in (*.las) do (
echo "Third Dir:%%~fk"
REM COPY EACH LAS FILE
xcopy %%k E:\Destination\%%i\%%j\ /E /D /R /Y
)
REM 返回到上层文件夹,继续后续的遍历
cd ..
)
REM 同理
cd ..
)
REM 脚本运行完之后不退出
pause

WindowBat

bat中的一些语法学习,用于MicroStation多人编译

Parameter Setting

1、系统参数

%SystemRoot% === C:(%windir% 同样)
%ProgramFiles% === C:Files
%USERPROFILE% === C:and Settings(子目录有“桌面”,“开始菜单”,“收藏夹”等)
%APPDATA% === C:and SettingsData
%TEMP% === C:11~1(%TEM% 同样)
%APPDATA% === C:and SettingsData
%OS% === Windows_NT (系统)
%Path% === %SystemRoot%;%SystemRoot%;%SystemRoot%(原本的设置)
%HOMEDRIVE% === C: (系统盘)
%HOMEPATH% === and Settings :: 枚举当前的环境变量

OSG中的坐标系

OSG中的坐标系和OpenGL中的坐标系

OSG中采用四元数表示旋转:osg::Quat(angle to rotate, rotate around axis);

///***
///Q quaternion * P quaternion means that first conduct a rotation P,Second conduct a rotation Q, means a fusion about two rotations with a multiplication operation ///***

The osg coordinate definition as left-hand coordinate which is right-front-up(x-y-z) and the OpenGL coordinate definition also as left-hand coordinate which is right-up-behind(x-y-z), z axis is pointer to outside the screen The OSG default viewport is along down direction, so heading is rotate to be equal to the y positive direction, rotate axis is x axis

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×