Skip to main content
. 2016 Jul 28;16(8):1182. doi: 10.3390/s16081182
Algorithm 1 Clustering algorithm.
  • 1:

    function CLUSTERING(Q{t})

  • 2:

        O

  • 3:

        o

  • 4:

        for each stixel qiQ, from left to right do

  • 5:

            if |depth(qi)depth(qi1)|>τdepth_dist then

  • 6:

               if width(o)>τmin_width then

  • 7:

                   o

  • 8:

               end if

  • 9:

            end if

  • 10:

            ooqi

  • 11:

        end for

  • 12:

    end function