Review Article

Real-Time Height Measurement for Moving Pedestrians

Algorithm 1

Multilayer iterative average algorithm (MLIA).
Input: S-initial head region extracted by the MSER-based segmentation.
Procedure:
(1)n= count (S);
(2), ;
(3), ;
(4), ;
(5)while do
(7)  ;
(8)  ;
(9)  n = count (S);
(10)  ,
(11)  , ;
(12)  , ;
(13)end while
Output: -the average of the pixels in the head region.