The invention discloses a head-shoulder sequence
image segmentation method based on double-
pattern matching and edge
thinning, and the method is carried out as per the following steps: step 1, determining a face position, namely, adopting the
Bayesian risk decision to determine the face area by considering the distribution of the face on a
color plane; step 2, determining the head-shoulder area, namely, considering the head-shoulder area as a combination of two rectangular areas, one as head rectangle and the other as shoulder rectangle, setting the width of the shoulder rectangle as three times of the width of the head rectangle, and finally determining the head rectangle through adopting two rectangular moving templates and taking the proportion falling in the two template areas as the matching standard; and step 3, edge
thinning, namely, adopting the Canny
edge detection operator to acquire the accurate contour of a moving object. The head-shoulder sequence
image segmentation method has the benefits that the
Bayesian risk decision mechanism is adopted to determine the face position, the double-
pattern matching algorithm is adopted to further determine the head-shoulder area, and finally the edge
thinning is conducted, as a result, the
algorithm can efficiently segment the head-shoulder sequence.