View full-text article in PMC Sensors (Basel). 2019 Sep 12;19(18):3944. doi: 10.3390/s19183944 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2019 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Progressive refinement of 6DoF poses {Pi}i=1N for sequence of frames {fi}i=1N by optimizing pose graph G. 1: for d=2 to N2 do 2: for i=1 to N do 3: j:=(i+d)modN 4: Ti→j:=Pj−1·Pi 5: oij:=OVERLAP(fi,fj,Ti→j) 6: if oij>to then 7: Ti→j,e:=CLSREGISTARTION(fi,fj,Ti→j,oij) 8: if e≤MEDIANRANGE(fi)·tr+ta then 9: G:=G∪{EDGE(i,j,Ti→j)} 10: end if 11: end if 12: end for 13: P1,P2,…,PN=OPTIMIZE(G) 14: end for 15: return P1,P2,…,PN