Skip to main content
. 2021 Jul 5;21(13):4592. doi: 10.3390/s21134592
Algorithm 2: Gait feature image generation algorithm.
Input: Gait signal
Output: Gait feature image
  • 1 

    forcolumnLin gait signaldo

  • 2 

       M=Max(L)

  • 3 

       N=Min(L)

  • 4 

       for xi in L do

  • 5 

        xmap=xiNMN×255

  • 6 

       end

  • 7 

       return L_map

  • 8 

    end

  • 9 

    return signal_map

  • 10 

    Extraction of feature matrix with sliding window

  • 11 

    Convert the feature matrix into a feature map