Algorithms (Jan 2023)

CUDA and OpenMp Implementation of Boolean Matrix Product with Applications in Visual SLAM

  • Amir Zarringhalam,
  • Saeed Shiry Ghidary,
  • Ali Mohades,
  • Seyed-Ali Sadegh-Zadeh

DOI
https://doi.org/10.3390/a16020074
Journal volume & issue
Vol. 16, no. 2
p. 74

Abstract

Read online

In this paper, the concept of ultrametric structure is intertwined with the SLAM procedure. A set of pre-existing transformations has been used to create a new simultaneous localization and mapping (SLAM) algorithm. We have developed two new parallel algorithms that implement the time-consuming Boolean transformations of the space dissimilarity matrix. The resulting matrix is an important input to the vector quantization (VQ) step in SLAM processes. These algorithms, written in Compute Unified Device Architecture (CUDA) and Open Multi-Processing (OpenMP) pseudo-codes, make the Boolean transformation computationally feasible on a real-world-size dataset. We expect our newly introduced SLAM algorithm, ultrametric Fast Appearance Based Mapping (FABMAP), to outperform regular FABMAP2 since ultrametric spaces are more clusterable than regular Euclidean spaces. Another scope of the presented research is the development of a novel measure of ultrametricity, along with creation of Ultrametric-PAM clustering algorithm. Since current measures have computational time complexity order, O(n3) a new measure with lower time complexity, O(n2), has a potential significance.

Keywords