Skip to main content
. 2024 Nov 14;24(22):7270. doi: 10.3390/s24227270
Algorithm 1 The GP-PHD algorithm
  • Input: 

    wt1a,mt1a,Pt1aa=1Jt1, Zt, Tp, To

  •  1:

    Predict

  •  2:

    (1) predict newborn targets

  •  3:

    a=0

  •  4:

    for  j=1:Jγ,t  do

  •  5:

       a=a+1

  •  6:

       wtt1i=wγ,tj, mtt1i=mγ,tj, Ptt1i=Pγ,tj

  •  7:

    end for

  •  8:

    (2) predict existing targets

  •  9:

    for  j=1:Jt1  do

  • 10:

       a=a+1

  • 11:

       use (29)–(33) calculate the predictive parameters ms,tt1j and Ps,tt1j for the birth targets

  • 12:

    end for

  • 13:

    Jtt1=i

  • 14:

    Update

  • 15:

    for  j=1:Jtt1  do

  • 16:

       wta=1pd,twtt1a, mta=mtt1a, Pta=Ptt1a

  • 17:

    end for

  • 18:

    q=0

  • 19:

    for  b=1:length(Zt)  do

  • 20:

       q=q+1

  • 21:

       for j=1:Jtt1 do

  • 22:

           wtj=pd,twtt1jqtjz

  • 23:

           use (36), (38)–(48) calculate the update parameters mttj and Pttj

  • 24:

       end for

  • 25:

       use (37) calculate the update parameters wtj

  • 26:

    end for

  • 27:

    Jt=qJtt1+Jtt1

  • Output: 

    wti,mti,Ptii=1Jt