CN101564300B - Gait cycle detection method based on regional characteristics analysis - Google Patents

Gait cycle detection method based on regional characteristics analysis Download PDF

Info

Publication number
CN101564300B
CN101564300B CN2009100721714A CN200910072171A CN101564300B CN 101564300 B CN101564300 B CN 101564300B CN 2009100721714 A CN2009100721714 A CN 2009100721714A CN 200910072171 A CN200910072171 A CN 200910072171A CN 101564300 B CN101564300 B CN 101564300B
Authority
CN
China
Prior art keywords
gait
frame
gait cycle
ellipse
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2009100721714A
Other languages
Chinese (zh)
Other versions
CN101564300A (en
Inventor
王科俊
贲晛烨
唐墨
阎涛
王晨晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Engineering University
Original Assignee
Harbin Engineering University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN2009100721714A priority Critical patent/CN101564300B/en
Publication of CN101564300A publication Critical patent/CN101564300A/en
Application granted granted Critical
Publication of CN101564300B publication Critical patent/CN101564300B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

本发明提供的是一种基于区域特征分析的步态周期检测方法。包括行人目标轮廓的获取和步态周期检测;所述的行人目标轮廓的获取的方法为,首先从视频中提取单帧图像进行灰度变换,然后计算各像素点在逐帧中的中值,作为整个序列的背景图像,最后采用背景减除法提取人体目标,用数学形态学填补二值化图像的空洞、单连通分析提取人的侧影,使人体居中,将图像的大小统一为64*64像素;所述的步态周期检测是将步态周期分析问题转化为单帧的图形区域特征分析问题,即根据每帧中图形区域的特征变化情况来分析步态的周期。本发明不但计算量小,而且已经达到人主观判断步态周期的精度,为实时的步态识别提供了可能。

Figure 200910072171

The invention provides a gait cycle detection method based on regional feature analysis. Including the acquisition of pedestrian target contours and gait cycle detection; the method for obtaining the pedestrian target contours is to first extract a single frame image from the video for grayscale transformation, and then calculate the median value of each pixel point frame by frame, As the background image of the entire sequence, the background subtraction method is used to extract the human body target, the hole in the binarized image is filled by mathematical morphology, and the silhouette of the person is extracted by simple connectivity analysis, the human body is centered, and the size of the image is unified to 64*64 pixels The gait cycle detection is to convert the gait cycle analysis problem into a single-frame graph area feature analysis problem, that is, to analyze the gait cycle according to the feature change of the graph area in each frame. The invention not only has a small amount of calculation, but also has reached the accuracy of subjectively judging the gait cycle, and provides the possibility for real-time gait recognition.

Figure 200910072171

Description

基于区域特征分析的步态周期检测方法 Gait Cycle Detection Method Based on Regional Feature Analysis

(一)技术领域(1) Technical field

本发明涉及的是一种模式识别技术,具体地说是一种步态识别中的步态周期检测方法。The invention relates to a pattern recognition technology, in particular to a gait cycle detection method in gait recognition.

(二)背景技术(2) Background technology

步态识别的目的是根据人们走路的姿势进行身份识别。步态识别可以在不让研究对象觉察的情况下得到该步态特征,具有非侵犯性、非接触性、对系统分辨率要求不高、远距离、难以伪装,受环境影响小等优点。因此,从视频监控的观点来看,步态是远距离情况下最有潜力的生物特征。步态识别在门禁系统、安全监控、人机交互、医疗诊断等领域具有广泛的应用前景和经济价值,因此激发了国内外广大科研工作者的研究热情。The purpose of gait recognition is to identify people based on their walking posture. Gait recognition can obtain the gait characteristics without the research object being aware of it. It has the advantages of non-invasiveness, non-contact, low requirement for system resolution, long-distance, difficult to camouflage, and little environmental impact. Therefore, from the viewpoint of video surveillance, gait is the most potential biometric feature in long-distance situations. Gait recognition has broad application prospects and economic value in the fields of access control systems, security monitoring, human-computer interaction, medical diagnosis, etc., so it has stimulated the enthusiasm of researchers at home and abroad.

步态序列图像是周期性的时空联合信号,如果研究整段视频来识别个体,不但造成数据量大的缺点,而且信息上还存在冗余。因此需要运用周期分析的方法来确定起始帧和结束帧,进而确定一个步态周期,从而在一个周期内提取特征,达到最终识别的目的。国内、外很多研究者在步态周期检测上做了研究,BenAbdelkader等人通过计算人体轮廓的自相似性来确定步态周期;BenAbdelkader等人还根据边界矩形框的宽度分析步态的周期性;Collins等人分析了人体高度和宽度的周期性变化,进而观测步态周期;Kale等人通过观察人体宽度向量的范数随时间的变化来分析步态的周期特性;Boulgouris等人用前景像素之和的自相关性判断步态的周期;Sarkar等人采用人体区域下半部分像素点的多少的周期特性确定步态的周期性变化;Li等人将步态排成自相似图(SSP),然后采用线性局部嵌入(LLE)的非线性降维方法提取一维的保留了原始几何形状的特征来分析步态的周期性;陈实等人以步态序列中所有行人轮廓区域外接矩形框作为图像区域,在图像区域自底而上的1/4高度内,等量水平分割三个区域,计算各区累计轮廓点数,得到相应的点分布直方图特征检测出步态周期;这些方法普遍存在计算量大的缺点。由于步态周期分割的准确程度严重影响了步态识别问题的精度,现有大多数文献都是在假定步态周期分割很好的情况下提出的步态识别算法。The gait sequence image is a periodic spatio-temporal joint signal. If the whole video is studied to identify individuals, it will not only cause the disadvantage of large amount of data, but also there will be redundancy in the information. Therefore, it is necessary to use the method of cycle analysis to determine the start frame and end frame, and then determine a gait cycle, so as to extract features in a cycle to achieve the purpose of final recognition. Many researchers at home and abroad have done research on gait cycle detection. BenAbdelkader et al. determined the gait cycle by calculating the self-similarity of human body contours; BenAbdelkader et al. also analyzed the periodicity of gait according to the width of the bounding rectangle; Collins et al. analyzed the periodic changes in the height and width of the human body, and then observed the gait cycle; Kale et al. analyzed the periodic characteristics of the gait by observing the norm of the human body width vector over time; Boulgouris et al. used the foreground pixel and the autocorrelation to judge the cycle of gait; Sarkar et al. used the periodic characteristics of the number of pixels in the lower half of the human body area to determine the periodic change of gait; Li et al. arranged the gait into a self-similar map (SSP), Then, the linear local embedding (LLE) non-linear dimensionality reduction method is used to extract one-dimensional features that retain the original geometric shape to analyze the periodicity of gait; Chen Shi et al. take all pedestrian contour areas in the gait sequence as a rectangular frame In the image area, within the 1/4 height of the image area from bottom to top, three areas are equally divided horizontally, the cumulative contour points of each area are calculated, and the corresponding point distribution histogram features are obtained to detect the gait cycle; these methods are commonly used to calculate The disadvantage of large quantity. Since the accuracy of gait cycle segmentation seriously affects the accuracy of gait recognition problems, most of the existing literature proposes gait recognition algorithms under the assumption that the gait cycle segmentation is very good.

与本发明相关的公开报道包括:Public reports related to the present invention include:

[1]BenAbdelkader C,Culter R,Davis L.Motion based recognition of people in eigengaitspace[C]In:proceedings of the IEEE International Conference on Automatic Face and GestureRecognition.Washington DC,USA,2002:254-259P;[1]BenAbdelkader C, Culter R, Davis L.Motion based recognition of people in eigengaitspace[C]In:proceedings of the IEEE International Conference on Automatic Face and GestureRecognition.Washington DC, USA, 2002:254-259P;

[2]Boulgouris N V,Plataniotis K N,Hatzinakos D.Gait recognition using dynamic timewarping[C].2004 IEEE 6th Workshop on Multimedia Signal Processing,2004:263-266;[2] Boulgouris N V, Plataniotis K N, Hatzinakos D. Gait recognition using dynamic timewarping [C]. 2004 IEEE 6th Workshop on Multimedia Signal Processing, 2004: 263-266;

[3]Li Hong-gui,Shi Cui-ping,Li Xing-guo.LLE based gait recognition[C].In:Proceedings of2005 International Conference on Machine Learning and Cybernetics,2005,7:4516-4521;[3] Li Hong-gui, Shi Cui-ping, Li Xing-guo. LLE based gait recognition [C]. In: Proceedings of2005 International Conference on Machine Learning and Cybernetics, 2005, 7: 4516-4521;

[4]陈实,马天骏,黄万红,等.用于步态识别的多层窗口图像矩.电子与信息学报,2009,31(1):116-119。[4] Chen Shi, Ma Tianjun, Huang Wanhong, et al. Multi-layer window image moments for gait recognition. Journal of Electronics and Information Technology, 2009, 31(1): 116-119.

(三)发明内容(3) Contents of the invention

本发明的目的在于提供一种能够有效提高步态周期检测速度和精度,从而为实时的步态识别提供可能的基于区域特征分析的步态周期检测方法。The purpose of the present invention is to provide a gait cycle detection method based on regional feature analysis that can effectively improve the speed and accuracy of gait cycle detection, thereby providing possibility for real-time gait recognition.

本发明的目的是这样实现的:The purpose of the present invention is achieved like this:

包括行人目标轮廓的获取和步态周期检测;所述的行人目标轮廓的获取的方法为:首先从视频中提取单帧图像进行灰度变换,然后计算各像素点在逐帧中的中值,作为整个序列的背景图像,最后采用背景减除法提取人体目标,用数学形态学填补二值化图像的空洞、单连通分析提取人的侧影,使人体居中,将图像的大小统一为64*64像素;所述的步态周期检测是将步态周期分析问题转化为单帧的图形区域特征分析问题,即根据每帧中图形区域的特征变化情况来分析步态的周期,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期。Including the acquisition of pedestrian target contours and gait cycle detection; the method for obtaining the pedestrian target contours is: first extracting a single frame image from the video for grayscale transformation, and then calculating the median value of each pixel point frame by frame, As the background image of the entire sequence, the background subtraction method is used to extract the human body target, the hole in the binarized image is filled by mathematical morphology, and the silhouette of the person is extracted by simple connectivity analysis, the human body is centered, and the size of the image is unified to 64*64 pixels ; The gait cycle detection is to convert the gait cycle analysis problem into a single-frame graphic area feature analysis problem, that is, analyze the gait cycle according to the characteristic change situation of the graphic area in each frame, from the first occurrence of local The extremum to the third occurrence of the local extremum is a gait cycle.

本发明还可以包括:The present invention may also include:

1、所述的图形区域特征是每帧中图形区域的面积、质心、拟合椭圆或圆、特殊点、边界框特征中的一种。1. The feature of the graphic area is one of the area, centroid, fitted ellipse or circle, special point, and bounding box feature of the graphic area in each frame.

2、所述的面积是固有面积、凸壳面积、填充空洞后的面积或固有面积占凸壳的比例中的一种。2. The area mentioned is one of the intrinsic area, the convex hull area, the area after filling the cavity, or the ratio of the intrinsic area to the convex hull.

3、所述的拟合椭圆或圆是人体区域具有相同的二阶空间矩的椭圆的长、短轴以及离心率或者与人体区域的面积相等的圆。3. The fitting ellipse or circle is the major axis, minor axis and eccentricity of the ellipse having the same second-order space moment in the human body region or a circle equal to the area of the human body region.

4、所述的边界框特征是运动人体边界框的宽度逐帧变化或者运动人体占边界框比例的变化。4. The bounding box feature is that the width of the bounding box of the moving body changes frame by frame or the proportion of the moving body in the bounding box changes.

本发明的主要效果在于:不但计算量小,而且已经达到人主观判断步态周期的精度,为实时的步态识别提供了可能。The main effect of the invention is that not only the amount of calculation is small, but also the accuracy of subjectively judging the gait cycle has been achieved, which provides the possibility for real-time gait recognition.

(四)附图说明(4) Description of drawings

图1步态周期检测的流程图;The flowchart of Fig. 1 gait cycle detection;

图2(a)-图2(e)提取人体目标的预处理过程,其中:图2(a)灰度变换、图2(b)背景重建、图2(c)背景减除、图2(d)人体轮廓、图2(e)标准化中心化;Figure 2(a)-Figure 2(e) The preprocessing process of human target extraction, in which: Figure 2(a) grayscale transformation, Figure 2(b) background reconstruction, Figure 2(c) background subtraction, Figure 2( d) Human body contour, Fig. 2(e) normalized centering;

图3步态序列图像;Figure 3 Gait sequence images;

图4凸壳示意图;Fig. 4 schematic diagram of convex hull;

图5(1)-图5(20)各种方法检测步态周期,其中图5(1)根据固有面积,图5(2)根据凸壳面积,图5(3)根据填充空洞后的面积,图5(4)根据图形占凸壳的比例,图5(5)根据质心的纵坐标,图5(6)根据质心的横坐标,图5(7)根据拟合椭圆长轴,图5(8)根据拟合椭圆短轴,图5(9)根据拟合椭圆离心率,图5(10)根据拟合圆的直径,图5(11)根据right-top横坐标,图5(12)根据right-top纵坐标,图5(13)根据right-bottom横坐标,图5(14)根据right-bottom纵坐标,图5(15)根据left-bottom横坐标,图5(16)根据left-bottom纵坐标,图5(17)根据left-top横坐标,图5(18)根据left-top纵坐标,图5(19)根据人体边界框的宽度,图5(20)根据图形占边界框的比例;Figure 5(1)-Figure 5(20) various methods to detect the gait cycle, in which Figure 5(1) is based on the intrinsic area, Figure 5(2) is based on the area of the convex hull, and Figure 5(3) is based on the area after filling the cavity , Figure 5(4) is based on the proportion of graphics to the convex hull, Figure 5(5) is based on the ordinate of the centroid, Figure 5(6) is based on the abscissa of the centroid, Figure 5(7) is based on the long axis of the fitted ellipse, Figure 5 (8) According to the minor axis of the fitted ellipse, Figure 5(9) is based on the eccentricity of the fitted ellipse, Figure 5(10) is based on the diameter of the fitted circle, Figure 5(11) is based on the right-top abscissa, Figure 5(12 ) according to the right-top ordinate, Fig. 5(13) according to the right-bottom abscissa, Fig. 5(14) according to the right-bottom ordinate, Fig. 5(15) according to the left-bottom abscissa, Fig. 5(16) according to The left-bottom ordinate, Figure 5 (17) is based on the left-top abscissa, Figure 5 (18) is based on the left-top ordinate, Figure 5 (19) is based on the width of the human body bounding box, and Figure 5 (20) is based on the figure. The scale of the bounding box;

图6存在空洞的步态单帧图像,图6中的4帧从左至右分别为图3中的第10、12、22和49帧,圆圈标注了真实步态轮廓上出现的空洞;Figure 6 shows a single-frame image of a gait with holes. The four frames in Figure 6 are frames 10, 12, 22, and 49 in Figure 3 from left to right, and the circles mark the holes that appear on the real gait outline;

图7图形区域拟合的椭圆,其中1为椭圆的焦点,2为椭圆的长轴,3为椭圆的短轴,4椭圆;Fig. 7 The ellipse fitted by the graphic area, where 1 is the focus of the ellipse, 2 is the major axis of the ellipse, 3 is the minor axis of the ellipse, and 4 is the ellipse;

图8(1)-图8(2)八个特殊点的定位,图8(1)为一般情况,图8(2)为(1)的特殊情况,其中1为top-right,2为right-top,3为right-bottom,4为bottom-right,5为top-left,6为left-top,7为left-bottom,8为bottom-left;Figure 8(1)-Figure 8(2) The positioning of the eight special points, Figure 8(1) is the general situation, Figure 8(2) is the special case of (1), where 1 is top-right, 2 is right -top, 3 is right-bottom, 4 is bottom-right, 5 is top-left, 6 is left-top, 7 is left-bottom, 8 is bottom-left;

图9人体区域的边界框。Figure 9. Bounding boxes of human body regions.

(五)具体实施方式(5) Specific implementation methods

本发明的基于区域特征分析的步态周期检测方法包括行人目标轮廓的获取和步态周期检测;所述的行人目标轮廓的获取的方法为:首先从视频中提取单帧图像进行灰度变换,然后计算各像素点在逐帧中的中值,作为整个序列的背景图像,最后采用背景减除法提取人体目标,用数学形态学填补二值化图像的空洞、单连通分析提取人的侧影,使人体居中,将图像的大小统一为64*64像素;所述的步态周期检测是将步态周期分析问题转化为单帧的图形区域特征分析问题。即根据每帧中图形区域的特征变化情况来分析步态的周期;从第一次出现局部极值到第三次再出现局部极值即为一个步态周期。The gait cycle detection method based on regional feature analysis of the present invention includes the acquisition of pedestrian target contours and gait cycle detection; the method for obtaining the pedestrian target contours is: first extracting a single frame image from the video for gray scale transformation, Then calculate the median value of each pixel in frame by frame as the background image of the entire sequence, and finally use the background subtraction method to extract the human target, use mathematical morphology to fill the hole in the binary image, and extract the silhouette of the person through simple connectivity analysis. The human body is centered, and the size of the image is unified to 64*64 pixels; the gait cycle detection is to transform the gait cycle analysis problem into a single frame graphic area feature analysis problem. That is, the gait cycle is analyzed according to the characteristic change of the graphic area in each frame; from the first occurrence of the local extremum to the third occurrence of the local extremum is a gait cycle.

所述的步态周期检测方法是:根据每帧中图形区域的面积、质心、拟合椭圆或圆、特殊点和边界框等特征的变化情况来分析步态的周期。The gait cycle detection method is as follows: analyzing the gait cycle according to the changes of features such as the area, center of mass, fitting ellipse or circle, special point and bounding box of the graphic area in each frame.

所述的根据每帧中图形区域的面积变化情况来分析步态的周期是:根据运动人体的固有面积、凸壳面积、填充空洞后的面积以及固有面积占凸壳的比例来进行步态周期检测,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期。The cycle of analyzing the gait according to the area change of the graphic area in each frame is: according to the inherent area of the moving human body, the area of the convex hull, the area after filling the cavity, and the ratio of the inherent area to the convex hull to perform the gait cycle Detection, from the first occurrence of local extremum to the third reappearance of local extremum is a gait cycle.

所述的根据每帧中图形区域的质心变化情况来分析步态的周期是:根据运动人体的质心纵坐标和横坐标逐帧变化情况进行步态周期检测,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期。The described analysis of the cycle of gait according to the change of the center of mass of the graphic area in each frame is: to detect the gait cycle according to the change of the center of mass ordinate and abscissa of the moving human body frame by frame, from the first occurrence of local extremum to The third occurrence of the local extremum is a gait cycle.

所述的根据每帧中图形区域的拟合椭圆(或圆)变化情况来分析步态的周期是:根据与人体区域具有相同的二阶空间矩的椭圆的长、短轴以及离心率或者与人体区域的面积相等的圆的直径逐帧变化情况进行步态周期检测,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期;The cycle of analyzing the gait according to the variation of the fitting ellipse (or circle) of the graphic area in each frame is: according to the long axis, the short axis and the eccentricity of the ellipse with the same second-order space moment as the human body area or with The gait cycle is detected by the frame-by-frame change of the diameter of the circle with the same area in the human body area. From the first occurrence of the local extremum to the third occurrence of the local extremum is a gait cycle;

所述的根据每帧中图形区域的特殊点变化情况来分析步态的周期:由于人走路的过程中,肩膀相对于人体质心是来回晃动的,采用right-top点来判定步态的周期性变化是行之有效的,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期;The gait cycle is analyzed according to the change of special points in the graphic area in each frame: since the shoulders shake back and forth relative to the center of mass of the human body during walking, the right-top point is used to determine the gait cycle Sexual changes are effective, from the first occurrence of local extremum to the third reappearance of local extremum is a gait cycle;

所述的根据每帧中图形区域的边界框变化情况来分析步态的周期是:根据运动人体边界框的宽度逐帧变化或者根据运动人体占边界框比例的变化进行步态周期检测,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期。The described analysis of the cycle of gait according to the change of the bounding box of the graphics area in each frame is: according to the frame-by-frame change of the width of the bounding box of the moving human body or according to the change of the proportion of the bounding box of the moving human body, the gait cycle detection is performed, from the first A gait cycle is defined as the occurrence of a local extremum once to the third reappearance of a local extremum.

下面结合附图举例对本发明做更详细地描述:The present invention is described in more detail below in conjunction with accompanying drawing example:

1.为了提取人体目标,首先从原始视频中提取单帧图像进行灰度变换(如图2(a));然后计算各像素点在逐帧中的的中值,作为整个序列的背景图像(如图2(b));最后,采用背景减除法提取人体目标(如图2(c)),用数学形态学填补二值化图像的空洞、单连通分析提取人的侧影(如图2(d)).为了消除图像大小对识别的影响应使人体居中,将图像的大小统一为64*64像素(如图2(e))。1. In order to extract the human target, first extract a single frame image from the original video for grayscale transformation (as shown in Figure 2(a)); then calculate the median value of each pixel point in each frame as the background image of the entire sequence ( As shown in Figure 2(b)); finally, the background subtraction method is used to extract the human body target (as shown in Figure 2(c)), and mathematical morphology is used to fill the holes in the binarized image, and the simple connectivity analysis is used to extract the silhouette of the person (as shown in Figure 2(c) d). In order to eliminate the influence of image size on recognition, the human body should be centered, and the size of the image should be unified to 64*64 pixels (as shown in Figure 2(e)).

2.步态周期检测2. Gait cycle detection

在进行前面所述的图像序列预处理之后,将步态周期分析问题转化为单帧的图形区域特征分析问题。以一段含有53帧的序列(如图3)为例分析它的步态周期。分析提出的五类10种基于区域特征分析的步态周期检测方法,分别是根据图像中运动人体的面积、质心、拟合椭圆(或圆)的属性、一些特殊点、边界框的变化情况来判定步态的周期。After the above-mentioned image sequence preprocessing, the problem of gait cycle analysis is transformed into the problem of feature analysis of the graphic region of a single frame. Take a sequence containing 53 frames (as shown in Figure 3) as an example to analyze its gait cycle. Five types of 10 gait cycle detection methods based on regional feature analysis are proposed, which are based on the area, center of mass, attributes of the fitted ellipse (or circle), some special points, and changes in the bounding box of the moving human body in the image. Determine the period of the gait.

2.1基于区域特征----面积的步态周期检测方法2.1 Gait cycle detection method based on area feature-area

在这里,对于图形区域面积特征,我们主要考虑的是运动人体的固有面积、凸壳面积以及填充空洞后的面积。Here, for the area feature of the graphic area, we mainly consider the inherent area of the moving human body, the area of the convex hull, and the area after filling the cavity.

令区域中的像素集为R,如果f(r,c)=1,A表示区域的固有面积:Let the pixel set in the region be R, if f(r,c)=1, A represents the intrinsic area of the region:

AA == ΣΣ (( rr ,, cc )) ∈∈ RR ff (( rr ,, cc )) -- -- -- (( 11 ))

f(r,c)表示(r,c)处的灰度值。A意味着图像区域像素点的数目。f(r, c) represents the gray value at (r, c). A means the number of pixels in the image area.

在计算几何学中,实向量空间V中的一点集X的凸壳为最小包含这个点集所形成的区域的边界,并且这个点集为平面上非空有限凸集,如图4所示为一凸壳的直觉图片。对于一个平面物体,凸壳很容易设想成弹性延展的包围特定物体的多边形线框,并且假想这个弹性可延展的多边形线框是一层受张力的膜。但是,在这种情况下平衡面(最小能量面)可能不是凸壳。为了说明在实向量空间V的集合X的凸壳存在,更直接地表达凸集的形式,令X的凸集被描述为来自于X中点的有限子集的凸集合,集合中的点的形式为∑j=1 ntjxj,这里n为任意自然数,tj是非负数,且 Σ j = 1 n t j = 1 , xj(j=1,…,n)为X中的点。所以,X的凸集表示为Hconvex(X):In computational geometry, the convex hull of a point set X in the real vector space V is the boundary of the area formed by the minimum containing this point set, and this point set is a non-empty finite convex set on the plane, as shown in Figure 4 An intuitive picture of a convex hull. For a planar object, the convex hull is easily conceived as an elastically stretchable polygonal wireframe surrounding the particular object, and this elastically stretchable polygonal wireframe is assumed to be a membrane under tension. However, the equilibrium surface (minimum energy surface) may not be a convex hull in this case. In order to illustrate the existence of a convex hull of the set X in the real vector space V, and express the form of the convex set more directly, let the convex set of X be described as a convex set from a finite subset of points in X, the points in the set The form is ∑ j=1 n t j x j , where n is any natural number, t j is a non-negative number, and Σ j = 1 no t j = 1 , x j (j=1,...,n) is a point in X. So, the convex set of X is expressed as H convex (X):

Hh convexconvex (( Xx )) == {{ ΣΣ ii == 11 kk αα ii xx ii || xx ii ∈∈ Xx ,, αα ii ∈∈ RR ,, αα ii ≥&Greater Equal; 00 ,, ΣΣ ii == 11 kk αα ii == 11 ,, kk == 1,21,2 ,, ·· ·· ·· }} -- -- -- (( 22 ))

注意X至少包含一个凸集(例如:整个空间V),任何包含X的凸集的交集是所有包含X的凸集的交集。事实上,如果X是一个N维向量空间的子集,根据上面的定义式最多用N+1个凸点结合就足够了。二维平面和三维空间有限点集和几何物体是特例。Note that X contains at least one convex set (eg: the entire space V), and the intersection of any convex set containing X is the intersection of all convex sets containing X. In fact, if X is a subset of an N-dimensional vector space, it is sufficient to combine at most N+1 bumps according to the above definition. Finite point sets and geometric objects in two-dimensional plane and three-dimensional space are special cases.

2.1.1根据每帧图像中运动人体的固有面积变化来观测步态的周期性2.1.1 Observing the periodicity of gait according to the inherent area change of the moving human body in each frame image

如图5(1)所示,当人体四肢张开的角度最大时(如图像序列中的第5、17、29和41帧),二值图像白色区域最大,此刻的二值图像中运动人体的面积最大;当四肢合拢时(如图像序列中的第11、23、35和47帧),此刻的运动人体的面积最小。因此通过单帧图像中运动人体的面积是可以看出步态序列图像的周期性的。例如从第5帧到第28帧就是一个步态周期;从第11帧到第34帧也是一个完整周期。在这段步态序列中可以找到很多组步态周期,因为周期的起点没有定义。特别地,我们可以定义:每个步态周期的起点为四肢张开的角度最大,从这一帧到第二次出现四肢张开的角度最大时为半个周期;从这一帧到第三次出现四肢张开的角度最大时为整个周期。As shown in Figure 5(1), when the angle of the limbs of the human body is the largest (such as the 5th, 17th, 29th and 41st frames in the image sequence), the white area of the binary image is the largest, and the moving human body in the binary image at this moment The area of the body is the largest; when the limbs are closed (such as the 11th, 23rd, 35th and 47th frames in the image sequence), the area of the moving human body at this moment is the smallest. Therefore, the periodicity of the gait sequence image can be seen through the area of the moving human body in a single frame image. For example, from frame 5 to frame 28 is a gait cycle; from frame 11 to frame 34 is also a complete cycle. Many groups of gait cycles can be found in this gait sequence, since the start point of the cycle is not defined. In particular, we can define: the starting point of each gait cycle is the maximum angle of limb opening, from this frame to the second occurrence of the maximum angle of limb opening is half a cycle; from this frame to the third The time when the angle of opening of the limbs is the largest for the first time is the whole cycle.

2.1.2根据每帧图像中运动人体区域的凸壳面积的周期性变化来观测步态的周期性2.1.2 Observe the periodicity of gait according to the periodic change of the convex hull area of the moving human body area in each frame of image

使用凸壳内像素点的数目多少来探测步态的周期性如图5(2)所示,但是若有噪声点的影响时,这种方法就要受到一定的影响。正因为在预处理时去除了噪声,所以在估计步态的周期性上可以使用该方法。我们发现:在第11、23、35和48帧出现凸壳面积最小,在第6、17、29和42帧出现凸壳面积最大。那么该方法与方法1具有类似的结论,与方法1不同的是:方法1计算的是实际人体区域的像素点数,而该方法将人体区域做了近似,是求凸壳内像素点的数目。因此,该方法(如图5(2))比方法1(如图5(1))对于每一帧都具有更大的面积,但是周期性基本不变。Using the number of pixels in the convex hull to detect the periodicity of the gait is shown in Figure 5(2), but if there are noise points, this method will be affected to a certain extent. Since the noise is removed during preprocessing, this method can be used to estimate the periodicity of the gait. We find that the smallest convex hull area occurs at frames 11, 23, 35, and 48, and the largest convex hull area occurs at frames 6, 17, 29, and 42. Then this method has a similar conclusion to method 1. The difference from method 1 is that method 1 calculates the number of pixels in the actual human body area, while this method approximates the human body area to find the number of pixels in the convex hull. Therefore, this method (as shown in Fig. 5(2)) has a larger area for each frame than method 1 (as shown in Fig. 5(1)), but the periodicity is basically unchanged.

2.1.3根据每帧图像中运动人体区域填充空洞后的面积的周期性变化来观测步态的周期性2.1.3 Observing the periodicity of gait according to the periodic change of the area after filling the cavity in the moving human body area in each frame of image

该方法可以解决前期图像预处理中存在步态轮廓的空洞缺陷问题,但是同时对于这种类似于第10、12、22和49帧中出现的空洞确实是真实的步态轮廓的情况也将其空洞填充。图6中的4帧从左至右分别为图3中的第10、12、22和49帧,圆圈标注了真实步态轮廓上出现的空洞。此方法判定周期性的效果图如图5(3),它与方法1的效果图5(1)十分相近,也呈现出明显的周期性。This method can solve the problem of hole defects in the gait contour in the early image preprocessing, but at the same time, for the situation that the holes appearing in the 10th, 12th, 22nd and 49th frames are indeed the real gait contour Void filling. The four frames in Figure 6 are the 10th, 12th, 22nd and 49th frames in Figure 3 from left to right, and the circles mark the holes that appear on the real gait contour. Figure 5(3) shows the effect diagram of judging periodicity by this method, which is very similar to the effect diagram 5(1) of method 1, and also shows obvious periodicity.

2.1.4根据每帧图像中运动人体占凸壳的比例变化来观测步态的周期性2.1.4 Observing the periodicity of the gait according to the change in the proportion of the moving human body in the convex hull in each frame of image

该方法是方法2.1.1和方法2.1.2的综合。如图5(4)所示,在第6、17、31和42帧中,该比值出现了局部最小值;而在第12、24、36和48帧中,该比值出现了局部最大值。同理可以判定从第6帧到第30帧,从第17帧到第41帧,从第12帧到第35帧,从第24帧到第47帧都是单独的步态周期。This method is a combination of Method 2.1.1 and Method 2.1.2. As shown in Fig. 5(4), in the 6th, 17th, 31st and 42nd frames, the ratio has a local minimum value; in the 12th, 24th, 36th and 48th frame, the ratio has a local maximum value. Similarly, it can be determined that from frame 6 to frame 30, from frame 17 to frame 41, from frame 12 to frame 35, and from frame 24 to frame 47 are all separate gait cycles.

2.2基于区域特征----质心的步态周期检测方法2.2 Gait cycle detection method based on regional features-centroid

区域R质心的横、纵坐标为:The horizontal and vertical coordinates of the centroid of the region R are:

rr ‾‾ == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR rr -- -- -- (( 33 ))

cc ‾‾ == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR cc -- -- -- (( 44 ))

如图5(5)、(6)所示,分别为质心纵坐标和横坐标逐帧变化情况,通过质心的横坐标变化来确定周期不及用质心的纵坐标效果明显。所以在这里我们采用根据质心的纵坐标变化的情况判定步态的周期,我们发现在第11、23、35、48帧出现了质心纵坐标的局部极小值点,所以第11帧到第34帧是一个周期,第23帧到第47帧也是一个周期。但是,这种方法与根据人体固有面积来判定周期的方法有一些出入,但是不大。并且我们用肉眼观察第47帧与第48帧中运动人体的形状差异也是不大的。As shown in Figure 5 (5) and (6), they are the frame-by-frame changes of the ordinate and abscissa of the center of mass, respectively. The effect of determining the cycle through the change of the abscissa of the center of mass is not as good as using the ordinate of the center of mass. So here we judge the gait cycle based on the change of the ordinate of the center of mass. We found that the local minimum point of the ordinate of the center of mass appeared in the 11th, 23rd, 35th, and 48th frames, so the 11th to the 34th frame A frame is a cycle, and frames 23 to 47 are also a cycle. However, there are some differences between this method and the method of judging the period according to the inherent area of the human body, but not so much. And we observe with the naked eye that there is not much difference in the shape of the moving human body in the 47th frame and the 48th frame.

2.3基于区域特征----拟合椭圆(或圆)的步态周期检测方法2.3 Gait cycle detection method based on regional features - fitting ellipse (or circle)

2.3.1根据与图形区域具有相同的二阶空间矩的椭圆的长、短轴、离心率来观测步态的周期性2.3.1 Observing the periodicity of gait according to the major, minor axis and eccentricity of the ellipse with the same second-order space moment as the graph area

区域的二阶空间矩有三个,分别表示为二阶行矩μrr、二阶列矩μcc和二阶混合矩μrc,定义如下:There are three second-order spatial moments of the region, which are respectively expressed as the second-order row moment μ rr , the second-order column moment μ cc and the second-order mixing moment μ rc , which are defined as follows:

μμ rrrr == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( rr -- rr ‾‾ )) 22 -- -- -- (( 55 ))

μμ cccc == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( cc -- cc ‾‾ )) 22 -- -- -- (( 66 ))

μμ rcrc == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( rr -- rr ‾‾ )) (( cc -- cc ‾‾ )) -- -- -- (( 77 ))

μrr表示偏离行均值的行变差,μcc表示偏离列均值的列变差,μrc表示偏离中心的行列变差,它们不随二维形状的平移和尺度变化而变化,因此常用于描述简单的形状。μ rr represents the row variation from the row mean, μ cc represents the column variation from the column mean, and μ rc represents the row and column variation from the center. They do not change with the translation and scale of the two-dimensional shape, so they are often used to describe simple shape.

如果区域R为椭圆,其中心位于原点,则R可以表示为:If the region R is an ellipse with its center at the origin, then R can be expressed as:

R={(r,c)|dr2+2erc+fc2≤1}    (8)R={(r,c)|dr 2 +2erc+fc 2 ≤1} (8)

则椭圆方程的系数d、e和f与二阶矩μrr、μcc和μrc之间的关系为:Then the relationship between the coefficients d, e and f of the elliptic equation and the second order moments μ rr , μ cc and μ rc is:

dd ee ee ff == 11 44 (( μμ rrrr μμ cccc -- μμ rcrc 22 )) μμ cccc -- μμ rcrc -- μμ rcrc μμ rrrr -- -- -- (( 99 ))

有了椭圆方程的系数d、e和f,我们可以确定椭圆长、短轴及其方向,由于椭圆方程系数与二阶矩μrr、μcc和μrc具有上述关系,因此我们由μrr、μcc和μrc可以确定椭圆的长、短轴及其方向,讨论如表1所示,注意:下面的方向角是从纵轴沿逆时针转动的方向。With the coefficients d, e and f of the elliptic equation, we can determine the length, minor axis and direction of the ellipse. Since the coefficients of the elliptic equation have the above-mentioned relationship with the second-order moments μ rr , μ cc and μ rc , we have μ rr , μ cc and μ rc can determine the major axis, minor axis and direction of the ellipse. The discussion is shown in Table 1. Note: the direction angle below is the direction of turning counterclockwise from the vertical axis.

表1根据二阶空间矩计算拟合椭圆的长、短轴及其方向Table 1 Calculation of the major and minor axes and directions of the fitted ellipse based on the second-order space moment

Figure G2009100721714D00082
Figure G2009100721714D00082

图7来诠释椭圆定位和长、短轴的定位,椭圆的方向角为水平的虚线和椭圆长轴的夹角。根据与图形区域具有相同的二阶空间矩的椭圆的长、短轴以及离心率来寻找步态的周期规律,实验结果分别为图5(7)、(8)和(9)所示。因为当四肢合拢时,拟合椭圆的短轴最短,离心率最大,而拟合椭圆的长轴在行人行走过程中变化不明显,所以图5(8)和图(9)的效果比较好,有很明显的周期性。在图5(8)中,第11、23、35和47帧出现短轴的局部最小值情况,同时恰好也是离心率出现局部最大值情况。我们发现第47帧和第48帧短轴的长度很接近,这就很好地诠释了基于质心的方法和基于固有面积的方法在判定步态周期时为什么会出现差异。Figure 7 illustrates the positioning of the ellipse and the positioning of the major and minor axes. The direction angle of the ellipse is the angle between the horizontal dotted line and the major axis of the ellipse. According to the major axis, minor axis and eccentricity of the ellipse with the same second-order space moment as the graphic area, the periodic law of gait is found. The experimental results are shown in Figure 5 (7), (8) and (9) respectively. Because when the limbs are closed, the short axis of the fitting ellipse is the shortest and the eccentricity is the largest, while the long axis of the fitting ellipse does not change significantly during the pedestrian walking process, so the effects of Figure 5 (8) and Figure (9) are better. There is a clear cyclicality. In Fig. 5(8), the local minimum value of the short axis occurs in the 11th, 23rd, 35th and 47th frame, and it happens to be the local maximum value of the eccentricity at the same time. We found that the lengths of the minor axis in frame 47 and frame 48 are very close, which explains why there is a difference between the method based on the center of mass and the method based on the intrinsic area when determining the gait cycle.

2.3.2根据拟合圆的直径的变化情况来判定步态的周期性2.3.2 Determine the periodicity of gait according to the change of the diameter of the fitted circle

我们用一个圆去拟合运动人体的区域,使得这个圆的面积与人体区域的面积相等,那么用相对于每帧人体区域的圆的直径来观测步态的周期性,我们实际计算的是

Figure G2009100721714D00091
其中:Area表示人体区域的面积,也即这个区域含有的像素点数。如图5(10)所示为通过拟合圆的直径来观测步态周期性的效果图,它与图5(1)形状类似,而且该方法与基于固有面积判定的周期定位是一致的。We use a circle to fit the area of the moving human body so that the area of this circle is equal to the area of the human body area. Then we use the diameter of the circle relative to the human body area of each frame to observe the periodicity of the gait. What we actually calculate is
Figure G2009100721714D00091
Among them: Area represents the area of the human body area, that is, the number of pixels contained in this area. As shown in Figure 5(10), the effect diagram of observing gait periodicity by fitting the diameter of the circle is similar to that in Figure 5(1), and this method is consistent with the periodic positioning based on the inherent area determination.

2.4基于区域特征----一些特殊点的步态周期检测方法2.4 Gait cycle detection method based on regional features - some special points

图8定义八个特殊点:top-left、top-right、left-top、right-top、left-bottom、right-bottom、bottom-left和bottom-right,其中(2)为(1)的特殊情况。Figure 8 defines eight special points: top-left, top-right, left-top, right-top, left-bottom, right-bottom, bottom-left and bottom-right, where (2) is the special point of (1) Condition.

由于人走路的过程中,四肢相对于人体质心是来回晃动的,所以采用右肢边界来判定步态的周期性变化是行之有效的,如图5(11)、(12)所示分别为right-top点横、纵坐标随步态序列帧的变化情况,可以看出用这个点的纵坐标来检测周期效果不好,所以采用该点的横坐标的变化情况来判定,第12帧到第35帧和第24帧到第47帧分别都是单独的步态周期,这个周期判定的结论与方法1基本一致;如图5(13)、(14)所示分别为right-bottom点横、纵坐标随步态序列帧的变化情况,我们依然可以看出用这个点的纵坐标来检测周期效果不好。left-bottom和left-top点大部分都对应左肢边界的位置,因此通过这两点也能看出来步态的周期性变化,如图5(15)、(16)、(17)、(18)分别为left-bottom横坐标、left-bottom纵坐标、left-top横坐标和left-top纵坐标随步态序列帧的变化情况,虽然周期效果不好,但是通过这些点可以看出步态的周期性变化。根据每帧图像运动人体区域中一些特殊点的位置变化情况来判定步态的周期性变化,虽然该方法简单,但是必须保证前期的预处理足够好,若图像中存在大量的噪声点,将导致步态周期的分割错误。Since the limbs shake back and forth relative to the center of mass of the human body during walking, it is effective to use the boundary of the right limb to determine the periodic change of gait, as shown in Figure 5(11) and (12) It is the change of the abscissa and ordinate of the right-top point with the frame of the gait sequence. It can be seen that using the ordinate of this point to detect the period is not effective, so the change of the abscissa of the point is used to judge, the 12th frame The 35th frame and the 24th frame to the 47th frame are all separate gait cycles. The conclusion of this cycle judgment is basically the same as that of method 1; The horizontal and vertical coordinates change with the frame of the gait sequence. We can still see that using the vertical coordinate of this point to detect the period is not effective. Most of the left-bottom and left-top points correspond to the position of the left limb boundary, so the periodic changes of gait can also be seen through these two points, as shown in Figure 5 (15), (16), (17), ( 18) The left-bottom abscissa, left-bottom ordinate, left-top abscissa and left-top ordinate change with the gait sequence frame. Although the cycle effect is not good, you can see the gait through these points. periodic changes in state. The periodic change of gait is determined according to the position changes of some special points in the moving body area of each frame of image. Although this method is simple, it must be ensured that the early preprocessing is good enough. If there are a large number of noise points in the image, it will lead to Segmentation errors of the gait cycle.

2.5基于区域特征----边界框的步态周期检测方法2.5 Gait cycle detection method based on region feature----bounding box

有时为了粗略地了解一个区域位于一幅图像的什么位置,这时要用到区域的边界框,边界框是一个矩形,由水平和竖直四条边把整个区域包围起来,并与区域的最上、最下、最左和最右的点相接。如图9所示为人体区域的边界框。Sometimes in order to roughly understand where an area is located in an image, the bounding box of the area is used at this time. The bounding box is a rectangle that surrounds the entire area by four horizontal and vertical sides and is connected to the top, The bottommost, leftmost and rightmost points meet. Figure 9 shows the bounding box of the human body area.

用每帧中边界框的宽度变化来观测步态的周期性变化的情况如图5(19)所示,由于它的局部最小值点与它附近点的差异很小,所以我们用它的局部最大值点(例如:对应于第6、17、29和43帧)来估计步态的周期性,从第6帧到第28帧和从第17帧到第42帧都是单独的步态周期。我们还可以根据运动人体区域占边界框比例的变化来判定步态的周期性,如图5(20)所示。极值中的局部最小值与它们附近的点差异较小,所以使用局部最小值点来判断并不合适。而极值中的局部最大值点与它们附近的点差异较大,当第12、24、35和48帧时,出现了该比值的局部最大值,所以从第12帧到第34帧和从第24帧到第47帧都是单独的步态周期。Using the width change of the bounding box in each frame to observe the periodic change of gait is shown in Fig. 5(19). Since its local minimum point has little difference from its nearby points, we use its local Maximum points (for example: corresponding to frames 6, 17, 29 and 43) to estimate the periodicity of the gait, from frame 6 to frame 28 and from frame 17 to frame 42 are separate gait cycles . We can also determine the periodicity of the gait according to the change in the proportion of the moving body area to the bounding box, as shown in Figure 5 (20). The local minima in extreme values are less different from the points near them, so it is not appropriate to use local minimum points for judgment. However, the local maximum point in the extreme value is quite different from the points near them. When the 12th, 24th, 35th and 48th frame, the local maximum value of the ratio appeared, so from the 12th frame to the 34th frame and from the Frames 24 to 47 are all individual gait cycles.

3对比各种步态周期检测方法3 Comparison of various gait cycle detection methods

总结以上五类简单而且有效的步态周期检测方法,其中可行的10种基于区域特征分析(包括:固有面积、凸壳面积、去空洞面积、人体占凸壳比例、质心纵坐标、拟合椭圆短轴、拟合椭圆离心率、拟合圆的直径、right-top(bottom)横坐标和人体占边界框比例等等)判定周期特性总结为表2。它们的优点在于计算简便,计算量远远小于文献[1][2][3][4],容易实现,而且达到了人主观判断的精度。凸壳面积法、拟合椭圆短轴法、拟合椭圆离心率法、right-top(bottom)横坐标法得到的步态周期信号都比较平滑。固有面积法、去空洞面积法、质心纵坐标法、拟合椭圆短轴法、拟合椭圆离心率法、拟合圆直径法和人体占边界框比例法对噪声的鲁棒性较强,而凸壳面积法、right-top(bottom)横坐标法和人体占凸壳比例法对噪声的鲁棒性较弱,所以在采用这三种方法进行周期检测时,必先做好图像序列的预处理工作。除拟合椭圆的短轴和离心率法除外,其它方法均必须在预处理的标准中心化之后进行,而由于拟合椭圆的短轴和离心率法具有尺度、平移不变性,这两种周期检测的方法可以在预处理的标准中心化之前进行。固有面积法、去空洞面积法、拟合椭圆短轴法、拟合椭圆离心率法、拟合圆的直径法和right-top(bottom)横坐标法均能得到这个步态序列的周期是24帧的结论,其他方法存在判断23或25帧的结论。这些方法判定步态周期出现差异也是正常的,因为即使是肉眼观察也很难区分某两帧间的差异。Summarize the above five simple and effective gait cycle detection methods, of which 10 are feasible based on regional feature analysis (including: intrinsic area, convex hull area, cavity removal area, proportion of human body to convex hull, centroid ordinate, fitting ellipse The short axis, the eccentricity of the fitted ellipse, the diameter of the fitted circle, the right-top (bottom) abscissa and the proportion of the human body to the bounding box, etc.) are summarized in Table 2. Their advantage is that the calculation is simple, the amount of calculation is far less than the literature [1] [2] [3] [4], easy to implement, and has reached the accuracy of human subjective judgment. The gait cycle signals obtained by convex hull area method, fitting ellipse minor axis method, fitting ellipse eccentricity method and right-top (bottom) abscissa method are all relatively smooth. The inherent area method, the void area method, the centroid ordinate method, the fitting ellipse minor axis method, the fitting ellipse eccentricity method, the fitting circle diameter method and the human body to bounding box ratio method are more robust to noise, while The convex hull area method, the right-top (bottom) abscissa method and the human body to convex hull ratio method are less robust to noise, so when using these three methods for periodic detection, the image sequence must be pre-prepared. Process work. Except for the minor axis and eccentricity method of fitting ellipse, other methods must be carried out after the standard centering of preprocessing, and because the minor axis and eccentricity method of fitting ellipse have scale and translation invariance, the two cycles The method of detection can be performed prior to standardization of preprocessing. The inherent area method, the void area method, the fitting ellipse minor axis method, the fitting ellipse eccentricity method, the fitting circle diameter method and the right-top (bottom) abscissa method can all get the period of this gait sequence to be 24 frame conclusion, other methods exist to judge the conclusion of 23 or 25 frames. It is normal for these methods to determine the difference in gait cycle, because it is difficult to distinguish the difference between two frames even with the naked eye.

表2各种方法判定步态周期特性的总结Table 2 Summary of various methods to determine gait cycle characteristics

Figure G2009100721714D00101
Figure G2009100721714D00101

本专利将步态周期分析问题转化为单帧的图形区域特征分析问题,提出了五类基于区域特征分析(包括:面积、质心、拟合的椭圆(或圆)、一些特殊点和边界框)的步态周期检测方法。其中包括10种简单而且可行的步态检测方法:固有面积法、凸壳面积法、去空洞面积法、人体占凸壳比例法、质心纵坐标法、拟合椭圆短轴法、拟合椭圆离心率法、拟合圆的直径法、right-top(bottom)横坐标法和人体占边界框比例法等等。它们都达到了人为判断步态周期的精度。拟合椭圆短轴法和拟合椭圆离心率法的性能最佳,不但得到的步态周期信号平滑、对噪声的鲁棒性较强,而且具有尺度、平移不变性,这两种周期检测的方法可以在预处理的标准中心化之前进行,这样大大地减少了其他周期帧关于图像处理的计算量,而且也缩短了步态识别前期处理工作的时间。This patent transforms the problem of gait cycle analysis into a single-frame graphic region feature analysis problem, and proposes five types of region-based feature analysis (including: area, centroid, fitted ellipse (or circle), some special points and bounding boxes) gait cycle detection method. It includes 10 simple and feasible gait detection methods: intrinsic area method, convex hull area method, hollow area method, human body to convex hull ratio method, centroid ordinate method, fitting ellipse minor axis method, fitting ellipse centrifugal Rate method, diameter method of fitting circle, right-top (bottom) abscissa method, human body proportion method, etc. They all achieve the accuracy of human judgment of gait cycle. Fitting ellipse minor axis method and fitting ellipse eccentricity method have the best performance, not only the obtained gait cycle signal is smooth, robust to noise, but also has scale and translation invariance. The method can be performed before standard preprocessing, which greatly reduces the calculation amount of other periodic frames related to image processing, and also shortens the time of preprocessing work for gait recognition.

Claims (1)

1.一种基于区域特征分析的步态周期检测方法,包括行人目标轮廓的获取和步态周期检测;其特征是:所述的行人目标轮廓的获取的方法为,首先从视频中提取单帧图像进行灰度变换,然后计算各像素点在逐帧中的中值,作为整个序列的背景图像,最后采用背景减除法提取人体目标,用数学形态学填补二值化图像的空洞、单连通分析提取人的侧影,使人体居中,将图像的大小统一为64*64像素;所述的步态周期检测是将步态周期分析问题转化为单帧的图形区域特征分析问题,即根据每帧中图形区域的特征变化情况来分析步态的周期,从第一次出现局部极值到第三次再出现局部极值即为一个步态周期;所述的图形区域特征是每帧中图形区域的拟合椭圆;所述的拟合椭圆是人体区域具有相同的二阶空间矩的椭圆的长、短轴以及离心率,根据与图形区域具有相同的二阶空间矩的椭圆的长、短轴、离心率来观测步态的周期性,1. A gait cycle detection method based on regional feature analysis, comprising the acquisition of the pedestrian target profile and the gait cycle detection; it is characterized in that: the method for the acquisition of the pedestrian target profile is to first extract a single frame from the video The image is grayscale transformed, and then the median value of each pixel in each frame is calculated as the background image of the entire sequence. Finally, the background subtraction method is used to extract the human target, and the hole in the binarized image is filled with mathematical morphology. Simple connectivity analysis Extract the silhouette of people, make the human body center, and unify the size of the image to 64*64 pixels; the gait cycle detection is to convert the gait cycle analysis problem into a single frame graphic area feature analysis problem, that is, according to the The characteristic changes of the graphic area are used to analyze the cycle of gait, and it is a gait cycle from the first occurrence of local extremum to the third occurrence of local extremum; Fitting ellipse; said fitting ellipse is the major axis, the minor axis and the eccentricity of the ellipse with the same second-order space moment in the human body region, according to the major axis, minor axis, eccentricity to observe the periodicity of gait, 区域的二阶空间矩有三个,分别表示为二阶行矩μrr、二阶列矩μcc和二阶混合矩μrc,定义如下:There are three second-order spatial moments of the region, which are respectively expressed as the second-order row moment μ rr , the second-order column moment μ cc and the second-order mixing moment μ rc , which are defined as follows: μμ rrrr == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( rr -- rr ‾‾ )) 22 μμ cccc == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( cc -- cc ‾‾ )) 22 μμ rcrc == 11 AA ΣΣ (( rr ,, cc )) ∈∈ RR (( rr -- rr ‾‾ )) (( cc -- cc ‾‾ )) A表示区域的固有面积,为区域R质心的横坐标,
Figure FSB00000328166100015
为区域R质心的纵坐标;μrr表示偏离行均值的行变差,μcc表示偏离列均值的列变差,μrc表示偏离中心的行列变差,它们不随二维形状的平移和尺度变化而变化,
A represents the intrinsic area of the region, is the abscissa of the centroid of the region R,
Figure FSB00000328166100015
is the ordinate of the centroid of the region R; μ rr represents the row variation deviated from the row mean, μ cc represents the column variation deviated from the column mean, μ rc represents the row and column variation deviated from the center, and they do not change with the translation and scale of the two-dimensional shape while changing,
如果区域R为椭圆,其中心位于原点,则R表示为:If the region R is an ellipse with its center at the origin, then R is expressed as: R={(r,c)|dr2+2erc+fc2≤1}R={(r,c)|dr 2 +2erc+fc 2 ≤1} 则椭圆方程的系数d、e和f与二阶矩μrr、μcc和μrc之间的关系为:Then the relationship between the coefficients d, e and f of the elliptic equation and the second order moments μ rr , μ cc and μ rc is: dd ee ee ff == 11 44 (( μμ rrrr μμ cccc -- μμ rcrc 22 )) μμ cccc -- μμ rcrc -- μμ rcrc μμ rrrr 有了椭圆方程的系数d、e和f,确定椭圆长、短轴及其方向,由于椭圆方程系数与二阶矩μrr、μcc和μrc具有上述关系,因此由μrr、μcc和μrc确定椭圆的长、短轴及其方向。With the coefficients d, e and f of the ellipse equation, the length, minor axis and direction of the ellipse are determined. Since the coefficients of the ellipse equation have the above-mentioned relationship with the second-order moments μ rr , μ cc and μ rc , it is determined by μ rr , μ cc and μ rc determines the major and minor axis of the ellipse and its direction.
CN2009100721714A 2009-06-03 2009-06-03 Gait cycle detection method based on regional characteristics analysis Expired - Fee Related CN101564300B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100721714A CN101564300B (en) 2009-06-03 2009-06-03 Gait cycle detection method based on regional characteristics analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100721714A CN101564300B (en) 2009-06-03 2009-06-03 Gait cycle detection method based on regional characteristics analysis

Publications (2)

Publication Number Publication Date
CN101564300A CN101564300A (en) 2009-10-28
CN101564300B true CN101564300B (en) 2011-03-16

Family

ID=41280787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100721714A Expired - Fee Related CN101564300B (en) 2009-06-03 2009-06-03 Gait cycle detection method based on regional characteristics analysis

Country Status (1)

Country Link
CN (1) CN101564300B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102613964B (en) * 2012-03-12 2013-12-25 深圳市视聆科技开发有限公司 Method and system for acquiring physiological signal cycle
WO2014033885A1 (en) 2012-08-30 2014-03-06 富士通株式会社 Image processing device, image processing method, and image processing program
CN104346606B (en) * 2014-10-30 2017-07-07 东北大学 abnormal gait analysis method and system
CN104537340B (en) * 2014-12-19 2018-01-05 华南理工大学 A kind of new gait cycle generation method
CN108830259A (en) * 2018-06-30 2018-11-16 天津大学 Gait recognition method based on average difference image
CN109330605A (en) * 2018-09-07 2019-02-15 福建工程学院 A kind of gait cycle automatic division method and computer equipment
CN113936253B (en) * 2021-12-16 2022-03-01 深圳致星科技有限公司 Material conveying operation cycle generation method, storage medium, electronic device and device

Also Published As

Publication number Publication date
CN101564300A (en) 2009-10-28

Similar Documents

Publication Publication Date Title
CN101564300B (en) Gait cycle detection method based on regional characteristics analysis
US10417775B2 (en) Method for implementing human skeleton tracking system based on depth data
CN101398886B (en) Rapid three-dimensional face identification method based on bi-eye passiveness stereo vision
CN102902355B (en) The space interaction method of mobile device
CN108038420B (en) A Human Action Recognition Method Based on Depth Video
WO2017219391A1 (en) Face recognition system based on three-dimensional data
CN103177247B (en) A kind of object detection method merging various visual angles information
CN102509104B (en) Confidence map-based method for distinguishing and detecting virtual object of augmented reality scene
CN101216885A (en) A Pedestrian Face Detection and Tracking Algorithm Based on Video
CN108573231B (en) Human body behavior identification method of depth motion map generated based on motion history point cloud
CN104298981A (en) Face microexpression recognition method
CN110263605A (en) Pedestrian's dress ornament color identification method and device based on two-dimension human body guise estimation
CN103514608A (en) Movement target detection and extraction method based on movement attention fusion model
CN109359549A (en) A Pedestrian Detection Method Based on Mixed Gaussian and HOG_LBP
CN112749671A (en) Human behavior recognition method based on video
CN106599806A (en) Local curved-surface geometric feature-based human body action recognition method
CN101908153A (en) A Method for Head Pose Estimation in Low Resolution Image Processing
CN103886287B (en) Perspective-crossing gait recognition method based on 3D projection
CN101727568B (en) Foreground action estimation device and foreground action estimation method
CN108470178A (en) A kind of depth map conspicuousness detection method of the combination depth trust evaluation factor
CN116740647A (en) High-voltage transmission line dance monitoring method based on binocular cameras and deep learning
CN112801037A (en) Face tampering detection method based on continuous inter-frame difference
CN104217211B (en) Multi-visual-angle gait recognition method based on optimal discrimination coupling projection
KR101931220B1 (en) Apparatus and Method for Body Components Detection
CN108564043A (en) A kind of Human bodys' response method based on time-space distribution graph

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110316

Termination date: 20170603