

1
淺讀文章Scan Context,從英文字面理解就是“掃描 上下文”。類比于我們閱讀的時(shí)候,需要理解上下文,才能明白其意,LidarSLAM在進(jìn)行回環(huán)檢測(cè)的時(shí)候,也需要將“上下文” (之前的數(shù)據(jù))進(jìn)行比較,方才知道我們是不是又走到了之前的同一個(gè)地方(回環(huán))。Scan Context這篇文章由韓國(guó)KAIST大學(xué)的Giseop Kim和Ayoung Kim所寫,它的主要特點(diǎn)是提出了Scan Context這個(gè)非直方圖的全局描述符,來(lái)幫助我們對(duì)“上下文”(當(dāng)前/之前的數(shù)據(jù))進(jìn)行更快速、有效地搜索。典型的應(yīng)用就是在LiDAR SLAM中進(jìn)行回環(huán)檢測(cè)和Place Recognition。2
提出的方法?The representation that preserves absolute location information of a point cloud in each bin (如圖2所示)?Efficient bin encoding function? Two-step search algorithm3
算法流程
3.1 Scan Context的創(chuàng)建
(1) 與Shape Context的淵源
Scan Context這個(gè)算法其實(shí)一開始是由Shape Context [2] 所啟發(fā)的,而Shape Context是把點(diǎn)云的 local Keypoint 附近的點(diǎn)云形狀 encode 進(jìn)一個(gè)圖像中。Scan Context的不同在于,它不僅僅是count the number of points,而是采用了maximum height of pointsin each bin(簡(jiǎn)單來(lái)說(shuō),就是取每一個(gè)bin中的所有point的z軸最高點(diǎn)的value作為這個(gè)bin的value)。(2) 為什么選擇Maximum height?
a. The reason for using the height is to efficiently summarize the vertical shape of surrounding structures.b. In addition, the maximum height says which part of the surrounding structures is visible from the sensor.c. This egocentric visibility has been a well-known concept in the urban design literature for analyzing an identity of a place(3) Partition a 3D scan
首先,對(duì)每一次Scan進(jìn)行分割:? Nr: number of rings (黃色圈圈)? Ns: number of sectors (淺藍(lán)色/綠色?的格子)? Lmax: 雷達(dá)每一個(gè)射線的最遠(yuǎn)距離? Radial Gap between rings =

(4) 給每個(gè)Bin進(jìn)行賦值:Bin Encoding


(5) Scan Context Matrix
A scan context I is finally represented as a Nr × Ns matrix as:
3.2 Similarity Score的計(jì)算
假設(shè)我們得到了一對(duì)Scan Context的矩陣,我們要計(jì)算他們倆(




–
大師兄:恩,這是個(gè)好問(wèn)題。假設(shè)咱們回到同一個(gè)地方,那有可能是沿著相反的方向回來(lái)的,那咱們的Viewpoint就發(fā)生了變化,這個(gè)Scan Context矩陣就會(huì)發(fā)生偏移!這樣就會(huì)導(dǎo)致Column順序發(fā)生變化。大師兄:所幸的是,只要location是在同一個(gè)地方,不管你的方向朝著哪里,至少row order不會(huì)發(fā)生太大變化。咱們只需要關(guān)心column shift這個(gè)問(wèn)題。在文章中,上面大師兄和小紅薯對(duì)話中的問(wèn)題,如下圖所示:

3.3 Two-phase Search Algorithm
文中提到,有三種主流的Place Recognition的Search Algorithm:? Pairwise Similarity Scoring? Nearest Neighbor Search搜索? Sparse Optimization本文中采用了pairwise scoring和nearest search來(lái)實(shí)現(xiàn)有效的Hierarchical Search。(1) Ring Key
在3.2節(jié)中我們提到的公式(6)進(jìn)行最短距離計(jì)算時(shí),要先找到最佳旋轉(zhuǎn)n? ,計(jì)算量很大,所以在本文中提出了一種"Two-phase Search",并提出了Ring key這個(gè)Descriptor(描述子)來(lái)進(jìn)行匹配搜索:Ring key is a rotation-invariant descriptor, which is extracted from a scan context. Each row of a scan context, r, is encoded into a single real value via ring encoding function . The first element of the vector k is from the nearest circle from a sensor, and following elements are from the next rings in order as illustrated in Fig. 4
(2) KD-Tree
? 在得到ring key向量 k 之后,文章用了 k 構(gòu)建KD Tree。
? 用ring key of the query到這個(gè)KD Tree中搜索K個(gè)最相似的scan indexex(K是個(gè)heuristic number)
? 得到最相似的K個(gè)scan后,用上文中公式(6)進(jìn)行Similarity Score計(jì)算.
? 滿足條件的最近的candidatec?這個(gè)位置被選為revisited place,也就是loop的地方:
4
Scan Context算法延伸
4.1 ICP Initial Value中的應(yīng)用
由上文3.2節(jié)的公式(7)需要找到一個(gè)n ? 旋轉(zhuǎn),使得兩個(gè)點(diǎn)云之間的距離最小。這里其實(shí)也可以作為ICP的一個(gè)初始值,即predicted pose,來(lái)加快converge的過(guò)程。文章的Experiment部分對(duì)此進(jìn)行了試驗(yàn),發(fā)現(xiàn)用Scan Context進(jìn)行ICP初始化效果確實(shí)更好:


-
算法
+關(guān)注
關(guān)注
23文章
4710瀏覽量
95416 -
SLAM
+關(guān)注
關(guān)注
24文章
441瀏覽量
32510
原文標(biāo)題:ScanContext 論文詳解 - 用途:Lidar SLAM 回環(huán)檢測(cè)、空間描述符
文章出處:【微信號(hào):3D視覺工坊,微信公眾號(hào):3D視覺工坊】歡迎添加關(guān)注!文章轉(zhuǎn)載請(qǐng)注明出處。
發(fā)布評(píng)論請(qǐng)先 登錄
STM32H747的USB無(wú)法連接到電腦,電腦提示“未知USB設(shè)備,(設(shè)備描述符請(qǐng)求失?。?,怎么解決?
STM32G0b1 USB device cdc顯示設(shè)備描述符請(qǐng)求失敗的原因?怎么解決?
ART-PI H750-USB-MSC設(shè)備描述符異常的原因?怎么解決?
通過(guò) FX3 以 5200*3900 分辨率、15fps 的速度從我的 fpga 傳輸視頻數(shù)據(jù)流,但無(wú)法設(shè)置最小/最大比特率描述符值,怎么解決?
將CY7C68013A連接到基板管理控制器 (BMC),讀取設(shè)備描述符時(shí)發(fā)生FX2超時(shí)錯(cuò)誤怎么解決?
使用官方評(píng)估板STM32H563ZI進(jìn)行USB虛擬串口開發(fā),下載后電腦提示USB設(shè)備無(wú)法識(shí)別,設(shè)備描述符請(qǐng)求失敗怎么解決?
利用VLM和MLLMs實(shí)現(xiàn)SLAM語(yǔ)義增強(qiáng)

服務(wù)器數(shù)據(jù)恢復(fù)——Ext4文件系統(tǒng)umount失敗的數(shù)據(jù)恢復(fù)案例

嵌入式學(xué)習(xí)-飛凌嵌入式ElfBoard ELF 1板卡-網(wǎng)絡(luò)編程示例之網(wǎng)絡(luò)socket程序編程
激光雷達(dá)在SLAM算法中的應(yīng)用綜述

Linux--IO多路復(fù)用(select,poll,epoll)
聊一聊以太網(wǎng)發(fā)送描述符

評(píng)論