Research Article

Research on the Application of Visual SLAM in Embedded GPU

Algorithm 2

Optimization of feature detection algorithms and nonmaximum suppression algorithm processes.
Input: Image Gaussian pyramid Collection d_Ip[0…levelNum], Gaussian pyramid layers levelNum
Output: A set of feature points
1 Perform feature detection and nonmaximum suppression alternately
2 for i 1 to levelNum
3  gpuFeatureDetect(d_Ip[i]);
4  Pt[i-1][0…Nt2] nonmaximumSuppression(Pt[i-1][0…Nt1]);
5  Pt[i][0…Nt1] gpuGetFeaturePoint();
6 end
7 Pt[levelNum][0…Nt2] nonmaximumSuppression(Pt[levelNum][0…Nt1]);
Note: The beginning of d refers to the data allocated in the video memory, Nt1 and Nt2 are the temporary number of feature points