Skip to main content
. 2016 Jul 28;16(8):1182. doi: 10.3390/s16081182
Algorithm 3 Two-level tracking algorithm.
  • 1:

    function TRACKING(O{t}, O{t1})

  • 2:

        C|O{t}|×|O{t1}|0

  • 3:

        for each object o{t}O{t} do

  • 4:

            for each stixel q{t}o do

  • 5:

               Find correspondence q{t1} for q{t}

  • 6:

               Find the object o{t1}O{t1} associated to q{t1}

  • 7:

               if o{t1} found and o{t}o{t1}<τmax_obst_dist then

  • 8:

                   C(o{t},o{t1})C(o{t},o{t1})+1

  • 9:

               end if

  • 10:

            end for

  • 11:

        end for

  • 12:

    end function