Skip to main content
. 2020 Mar 27;20(7):1870. doi: 10.3390/s20071870
Algorithm 1 Data association
Input:
 Initial camera position p¯;
 HD Map M;
 Extracted features F;
Output:
 Correspondence c
1: c0=Possible_correspond(M,F)
2: for each c13(L)c0 do
3:  c^=c13(L)
4:  Calculate x^* based on c^ according to Equation (14).
5:  c*=Closest_correspond (M,F,x^*)
6:  if x^*p¯1<D then
7:   C=Cc*
8:  end if
9: end for
10: c=C(size(C)==MAX(size(C)))