A method for extracting and matching gesture features of image is disclosed. An input gesture image is captured, and then a closed curve formed by a binary contour image of the gesture image is determined by preprocessing the gesture image. A curvature scale space (CSS) image of the gesture image is drawn based on the closed curve. Feature parameters of a plurality of sets of the gesture image are determined by extracting first plural peaks from the CSS image as basis points, and each feature parameter of the plurality of sets of the gesture image is compared with each feature parameter of a plurality of reference gesture shapes represented as a basis point of the maximal peak, thereby determining a gesture shape corresponding to the gesture image.

Patent
   7068843
Priority
Mar 29 2002
Filed
Jul 31 2002
Issued
Jun 27 2006
Expiry
Aug 06 2024
Extension
737 days
Assg.orig
Entity
Large
16
4
all paid
1. A method for extracting and matching gesture features of an image, comprising the steps of:
(A) capturing an input gesture image;
(B) determining a closed curve formed by a binary contour image of the gesture image by preprocessing the gesture image;
(C) drawing a curvature scale space (CSS) image of the gesture image based on the closed curve;
(D) determining feature parameters of a plurality of sets of the gesture image by extracting first plural peaks from the CSS image as basis points, wherein each peak is a local maximum larger than a critical value and each feature parameter of the sets of the gesture image is obtained by performing the steps of:
(D1) calculating all sets of the peaks in the CSS image to form a coordinate-peak set:

{(uii)}i=1, . . . ,NOriginal={(u11), (u22), . . . ,(ujj), . . . ,(uNN)},
where N is the number of detected peaks in the CSS image;
(D2) taking uj as a basis point to normalize the coordinate-peak set through a circular rotation as a normalized coordinate-peak set:

{(uii)}i=1, . . . ,Nnormalized={(0,σj), . . . , (uj+1−ujj+1), . . . ,(1+u1−ujj), . . . , (1+uj−1−ujj−1)}
where u1<u2< . . . <uj< . . . <uN and uj is a u-axis coordinate having a maximal peak in the coordinate-peak set; and
(D3) selecting first T largest peaks as basis points to normalize the coordinate-peak set for obtaining T sets of normalized feature parameter FI={{(uiIiI)}i=1, . . . ,Nt−Normalized|t=1,2, . . . ,T}, where I is the input gesture image; and
(E) comparing each feature parameter obtained in step (d) of the sets of the gesture image with each feature parameter of a plurality of reference gesture shapes for determining a gesture shape corresponding to the gesture image.
2. The method as claimed in claim 1, wherein in step (C), the CSS image is obtained by performing the steps of:
(C1) determining a curvature
κ ( u ) = x . ( u ) y ¨ ( u ) - x ¨ ( u ) y . ( u ) ( x . 2 ( u ) + y . 2 ( u ) ) 3 / 2
 of a closed curve Γσ={x(u), y(u)}, where u is a normalized arc length parameter;
x . ( u ) = 2 x u 2 , x ¨ ( u ) = x u , x . ( u ) = x u , and y ¨ ( u ) = 2 y u 2 ;
(C2) performing an operation with respect to the closed curve Γ and a Gauss function g(u,σ) to determine a smooth curvature function Γσ={X(u,σ), Y(u,σ)} and its curvature
κ ( u , σ ) = X u ( u , σ ) Y uu ( u , σ ) - X uu ( u , σ ) Y u ( u , σ ) ( X u ( u , σ ) 2 + Y u ( u , σ ) 2 ) 3 / 2 ,
 where σ is standard deviation,
X ( u , σ ) = x ( u ) * g ( u , σ ) = x ( v ) . 1 σ 2 π . exp ( - ( u - v ) 2 2 σ 2 ) v ,
Xu(u,σ)=x(u)*gu(u,σ), Xuu(u,σ)=x(u)*guu(u,σ),

Yu(u,σ)=y(u)*gu(u,σ), Yuu(u,σ)=y(u)*guu(u,σ),
g u ( u , σ ) = u g ( u , σ ) , and g uu ( u , σ ) = 2 u 2 g ( u , σ ) ; and
(C3) utilizing different standard deviations a to find a location having zero curvature in Γσ, and continuously drawing all locations having zero curvature under different standard deviations σ.
3. The method as claimed in claim 2, wherein the normalized arc length parameter u has a value between 0 and 1.
4. The method as claimed in claim 2, wherein in step (C2), the operation performed with respect to the closed curve Γ and the Gauss function g(u,σ) is a convolution operation.
5. The method as claimed in claim 2, wherein in step (C2), the Gauss function is:
g ( u , σ ) = 1 σ 2 π · exp ( - u 2 2 σ 2 ) .
6. The method as claimed in claim 2, wherein in step (C3), in the u−σ coordinate, a position of κ(u,σ)=0 is defined as the zero curvature point.
7. The method as claimed in claim 1, wherein in step (D), the feature parameter FCkS of a predetermined reference gesture shape represented as a basis point of the maximal peak is expressed as FCkS={{(uj,CkSj,CkS) }j=1, . . . ,M1−Normalized}, 1≦k≦κ, where κ is the number of the types of the reference gesture shapes stored in the database, Ck is a type represented by the reference gesture shape, M is the number of the peaks of the reference gesture shape, and S is the reference gesture shape.
8. The method as claimed in claim 7, wherein step (E) comprises the steps of:
(E1) comparing each feature parameter FI of T sets of the gesture image with each feature parameter FCkS of the reference gesture shapes, where 1≦k≦κ for obtaining a plurality of sets of matched values MATCHt1 defined as a sum of a distance of the matched peaks and a distance of the unmatched peaks between two sets of feature parameters, and expressed as:
MATCH t1 = matched peaks ( u i I - u j , C k S ) 2 + ( σ i I - σ j , C k S ) 2 + unmatched peaks σ i I + unmatched peaks σ j , C k S ;
(E2) determining a similarity between the feature parameter FI of the gesture image and the feature parameter FCkS of the reference gesture shapes by performing a distance function:

dist(FI,FCkS)=min{MATCHt1}; and
(E3) utilizing a decision function:
D ( F I ) = C j if dist ( F I , F C j S ) = min 1 k K { dist ( F I , F C k S ) }
to determine a reference gesture shape of the gesture image.
9. The method as claimed in claim 8, wherein in step (E3), a nearest neighbor algorithm is utilized to recognize a gesture for finding the nearest reference gesture shape with respect to the gesture image for determining a gesture shape corresponding to the gesture image.

1. Field of the Invention

The present invention relates to the field of image recognition and, more particularly, to a method for extracting and matching gesture features of image by performing a curvature scale space (CSS) image operation.

2. Description of Related Art

In the field of gesture recognition, the vision-based static gesture recognition is made possible by recognizing posture or shape of a gesture image. Hence, techniques about extracting and matching gesture features (e.g., posture or shape) of image are critical with respect to image recognition.

Conventionally, two modes of description are employed to recognize gesture features of image. One is characterized by utilizing gesture region description to describe a region occupied by an object. Shape moment descriptors are utilized to calculate the shape moments at various stages for obtaining a quantitative shape feature description which is in turn used as description parameters irrespective of size, rotation angle, and movement of an object. For example, Zernike moment (ZM) or pseudo-Zernike moment (PZM) is used as shape feature vector. The other one is known as a gesture shape boundary description for describing a real contour of image. It is characterized by converting a contour coordinate into a frequency region by Fourier descriptors so as to extract Fourier coefficients as features. It also provides description parameters which are irrespective of size, rotation angle, and movement of an object. Alternatively, an orientation histogram is utilized to obtain all edge points of a contour in order to obtain an orientation as features by calculation.

However, the above conventional techniques are not reliable due to noise interference. For example, in the case of utilizing gesture region description to describe a region, the shape moment descriptors are suitable for gesture shape description while its result is not reliable due to noise interference in searching a shape centroid or shape center. Furthermore, in the case of gesture shape boundary description, although Fourier descriptors is suitable for the description of gesture contour, it is also susceptible to noise interference, and its result is related to the number of edge points of contour to be processed. Moreover, the orientation histogram utilized to obtain all edge points of a contour is sensitive to the rotation angle. Therefore, it is desirable to provide a novel method for extracting and matching gesture features of image to mitigate and/or obviate the aforementioned problems.

An object of the present invention is to provide a method for extracting and matching gesture features of image in which curvature scale space is utilized to describe a gesture contour of image for preventing image shape from being adversely affected by size, rotation angle, and movement of image, thereby providing a reliable feature description.

Another object of the present invention is to provide a method for extracting and matching gesture features of image for increasing an accuracy of gesture recognition.

To achieve the objects, the method for extracting and matching gesture features of image of the present invention comprises the steps of: capturing an input gesture image; determining a closed curve formed by a binary contour image of the gesture image by preprocessing the gesture image; drawing a curvature scale space (CSS) image of the gesture image based on the closed curve, calculating feature parameters of a plurality of sets of the gesture image by extracting first plural peaks from the CSS image as basis points, and comparing each feature parameter of the plurality of sets of the gesture image with each feature parameter of a plurality of reference gesture shapes represented as a basis point of the maximal peak for determining a gesture shape corresponding to the gesture image.

Other objects, advantages, and novel features of the invention will become more apparent from the detailed description when taken in conjunction with the accompanying drawings.

FIG. 1 is a flow chart illustrating a process of extracting and matching gesture features of image according to the invention;

FIG. 2 schematically illustrating a circle of curvature according to the invention;

FIG. 3 is a flow chart illustrating a process of calculating curvature scale space image according to the invention;

FIG. 4A and FIG. 4B are schematic drawings of binary contour image of first gesture and second gesture according to the invention respectively;

FIG. 5A and FIG. 5B are charts depicting curvature scale space images of FIGS. 4A and 4B respectively;

FIG. 6 is a chart depicting a normalized curvature scale space image of FIG. 5A;

FIG. 7 is a flow chart illustrating a process of calculating feature parameter of gesture images according to the invention;

FIG. 8 is a flow chart illustrating a process of comparing feature parameter of input gesture image with feature parameter of predetermined reference gesture shape according to the invention; and

FIG. 9 schematically illustrates the comparison in the flow chart illustrated in FIG. 8.

With reference to FIG. 1, there is shown a preferred embodiment of process of extracting and matching gesture features of image in accordance with the present invention. At first, there is captured an input gesture image (step S101). Because a gesture feature is recognized based on a contour of gesture image in the present invention, the next step is to obtain a closed curve formed by binary contour image of the input gesture image by dividing the input gesture image by means of image preprocessing technique (step S102). The technique of calculating binary contour image is well known, and thus a detailed description is deemed unnecessary.

The process further comprises enabling an image processing device to draw a curvature scale space (CSS) image of gesture contour image based on the closed curve (step S103). Then, there are calculated feature parameters FI of T sets of input gesture image by extracting first T peaks from CSS image for use as basis points (step S104). In this embodiment, the peak is a local maximum larger than a critical value which is decided by image processing device. It is known that gesture shape is not smooth, i.e., there are projections like finger tips and depression-like areas between thumb and index finger. Further, a high degree of depression implies a large peak of CSS image. Thus, a peak larger than the critical value represents a recessed portion of the gesture while a peak smaller than the critical value can be viewed as interference which is omitted accordingly.

For the purpose of recognizing a gesture feature represented by feature parameter FI, there is provided a database including K reference gesture shapes in which a feature parameter FCkS is represented as a basis point of maximal peak, where 1≦k≦K, for being compared with the feature parameter FI. In general, a static gesture can be used to represent a certain digit. For example, the index finger represents digit “1”, the index finger plus middle finger represent digit “2”, the five fingers of a hand represent digit “5”, and so on. In this embodiment, the database contains various shapes of reference gesture, including different sizes, movements, and rotation angles of gesture, for representing different digits. In addition, the database may contain other various shapes of static gesture such as sign language gesture.

The process further comprises a final step of comparing each feature parameter FI of T sets of gesture image with each feature parameter FCkS selected from K reference gesture shapes represented as a basis point of maximal peak, where 1≦k≦K. In the T×K results, a nearest neighbor algorithm is employed to recognize gesture for finding a nearest reference gesture shape with respect to input gesture image so as to determine a gesture shape corresponding to the input gesture image (step S105).

With reference to FIG. 3 in conjunction with FIG. 2, the detailed process of the step S103 for calculating CSS image is illustrated. In FIG. 2, curvature κ at point P of closed curve Γ is defined as either gradient angle of tangent φ with respect to arc length parameter u on the instant of time or an inverse of radius r of circle of curvature R. Thus, curvature κ can be expressed in the following equation:

κ = ϕ u = 1 r .

Also, closed curve Γ can be expressed as {x(u), y(u)} in terms of arc length parameter u in which u is normalized to have a value between 0 and 1. After rearrangement, above curvature κ of closed curve Γ can be expressed as follows:

κ ( u ) = x . ( u ) y ¨ ( u ) - x ¨ ( u ) y . ( u ) ( x . 2 ( u ) + y . 2 ( u ) ) 3 / 2 ( step S 301 ) ; where x . ( u ) = x u , x ¨ ( u ) = 2 x u 2 , y . ( u ) = y u and y ¨ ( u ) = 2 y u 2 ;

Next, a convolution operation is performed with respect to closed curve Γ and an one-dimensional Gauss function g(u,σ) for obtaining a smooth curvature function Γσ={X(u,σ), Y(u,σ)} and its curvature

κ ( u , σ ) = X u ( u , σ ) Y uu ( u , σ ) - X uu ( u , σ ) Y u ( u , σ ) ( X u ( u , σ ) 2 + Y u ( u , σ ) 2 ) 3 / 2 ( step S 302 ) ,
where σ is standard deviation. The Gauss function can be expressed as follows:

g ( u , σ ) = 1 σ 2 π exp ( - u 2 2 σ 2 ) ,

X ( u , σ ) = x ( u ) * g ( u , σ ) = - x ( v ) · 1 σ 2 π · exp ( - ( u - v ) 2 2 σ 2 ) v , Y ( u , σ ) = y ( u ) * g ( u , σ ) = - y ( v ) · 1 σ 2 π · exp ( - ( u - v ) 2 2 σ 2 ) v .

Moreover, Xu(u,σ), Xuu(u,σ), Yu(u,σ) and Yuu(u,σ) of curvature κ(u,σ) are expressed respectively as follows:
Xu(u,σ)=x(u)*gu(u,σ), Xuu(u,σ)=x(u)*guu(u,σ),
Yu(u,σ)=y(u)*gu(u,σ), Yuu(u,σ)=y(u)*guu(u,σ),

where g u ( u , σ ) = u g ( u , σ ) and g uu ( u , σ ) = 2 u 2 g ( u , σ ) .

Generally, a smooth curve has a higher resolution when σ is relatively small while having a lower resolution when σ is relatively large. Hence, the contour drawn by Γσ={X(u,σ), Y(u,σ)} is more smooth as σ increases. Finally, different standard deviations σ are used to find a location having zero curvature in Γσ={X(u,σ), Y(u,σ)} and thus all locations having zero curvature are drawn under different standard deviations σ (S303). As a result, a CSS image of input gesture image contour is obtained. With reference to FIGS. 4A and 4B, there are shown schematic drawings of binary contour image of first gesture 10 and second gesture 20. Based on the above process, charts depicting first gesture 10 and second gesture 20 of CSS images shown in FIGS. 4A and 4B are determined as illustrated in FIGS. 5A and 5B respectively. In each of FIGS. 5A and 5B, indicated by numerals 11 and 21 respectively, axis of abscissa is u which is normalized to have a value between 0 and 1 and axis of ordinate is σ. In the u−σ coordinate, the position of κ(u,σ)=0 is defined as zero curvature point.

In response to the drawing of CSS image of input gesture image and an extraction of first T peaks as basis points, an extraction of T sets of normalized gesture feature parameter FI is performed in which each set of normalized gesture feature parameter FI is calculated based on a process illustrated in the flow chart of FIG. 7. First, all sets of peaks in CSS image are calculated to form a set of coordinate-peak (step S701), which is denoted as u−σ set, and expressed as

{(uii)}i=1, . . . , NOriginal=(u11), (u22), . . . , (uJJ), . . . , (uNN)}, where N is the number of all detected peaks in CSS image. In case that u1<u2< . . . <uj< . . . <uN, uj is the basis point. The u−σ set can be expressed as follows after being normalized through a circular rotation:
{(u11)}1=1, . . . , NNormalized={(0,σj), . . . , (uj+1−ujj+1), . . . , (1+u1−uj1), . . . , (1+uj−1−ujj−1)}  (step S702).

With reference to FIGS. 5A and 6, the u−σ coordinate 11 in FIG. 5A represents one that a circular rotation has not been performed thereon, and the peak is 731. If uj is defined as peak in u-axis, a chart as shown un FIG. 6 is obtained by performing a circular rotation with respect to uj (i.e., basis point). That is, a normalized u−σ coordinate 12 is the one obtained by utilizing a corresponding coordinate of peak as basis point in which u=0 is the position that peak corresponds to u-axis.

The first several peaks have about equal values while exhibiting significant curvature changes in the CSS image of gesture shape due to rugged shape of static gesture in which peak may occur at each of three recessed portions between fingers except the thumb. As a result, an unstable state may occur. For example, in FIGS. 4A and 4B, peaks of u−σ coordinates 11 and 21 formed by CSS images occur at different recessed portions between fingers while the same gesture is shown. In FIG. 5A, peak occurs at the recessed portion between the thumb and index finger. In FIG. 5B, peak occurs at the recessed portion between the index and middle fingers. For the purpose of obtaining a stable state, it is required to select the first T peaks that are larger than a critical value. Then, the first T peaks are utilized to normalize u−σ coordinate based on their coordinate values. As a result, T sets of normalized feature parameter FI={{(u1I1I)}I=1, . . . , Nt-Normalized |t=1, 2, . . . , T} are obtained, where I is the input gesture image (step S703).

After obtaining the feature parameter FI of the input gesture image, the step S105 as shown in FIG. 1 is performed again to compare FI with feature parameter FCkS of reference gesture shape which has a peak as basis point. As a result, a possible similarity between FI and FCkS is obtained to determine a corresponding gesture shape of input gesture image. The feature parameter FCkS of predetermined reference gesture shape represented as a basis point of the maximal peak in the database can be expressed as FCkS={{(uj,CkS, σj,CkS)}j=1, . . . , MI-Normalized}, where 1≦k≦K, K is the number of types of reference gesture shapes stored in the database, Ck is a type represented by reference gesture shape, M is the number of peaks of reference gesture shape, and S is the reference gesture shape.

With reference to FIG. 8, there is shown a flow chart illustrating a process of comparing FI and FCkS. First, each feature parameter FI of T sets of gesture image is compared with each feature parameter FCkS of K reference gesture shapes, where 1≦k≦K, in order to obtain T×K sets of matched values MATCHt1 (step S801), wherein MATCHtI is defined as a sum of distance of matched peaks and distance of unmatched peaks between two sets. Thus, MATCHt1 can be expressed as follows:

MATCH t1 = matched peaks ( u i I - u j , C k S ) 2 + ( σ i I - σ j , C k S ) 2 + unmatched peaks σ i I + unmatched peaks σ j , C k S .

A similarity between feature parameter of input gesture image and feature parameter of reference gesture shape is obtained by performing a distance function (step S802). The distance function can be expressed as:dist(FI,FCkS)=min{MATCHt1}, which indicates that a small distance refers to a high similarity of two shapes.

Finally, a decision function is utilized to determine a reference gesture shape of the input gesture image (step S803). Since a nearest neighbor algorithm is used as gesture recognition, the decision function can be expressed as follows:

D ( F I ) = C J if dist ( F I , F C j S ) = min 1 k K { dist ( F I , F C k S ) } .

The comparison in the flow chart illustrated in FIG. 8 can be schematically shown in FIG. 9. In conclusion, a real gesture shape of input gesture image can be obtained by a plurality of comparisons.

In view of the foregoing, it is known that the invention utilizes the CSS technique to draw a contour of gesture image, which can be applied in games, human computer interfaces, sign language recognition, video surveillance, image and video retrieval, etc. Particularly, the invention is suitable in game related applications which require features of gesture recognition, smooth manipulation, highly interaction between players and game, to greatly increase entertainment effect.

Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.

Chang, Chin-Chen, Huang, Yea-Shuan

Patent Priority Assignee Title
10354127, Jan 12 2007 SINOEAST CONCEPT LIMITED System, method, and computer program product for alerting a supervising user of adverse behavior of others within an environment by providing warning signals to alert the supervising user that a predicted behavior of a monitored user represents an adverse behavior
7295707, Jan 29 2003 Industrial Technology Research Institute Method for aligning gesture features of image
7792328, Jan 12 2007 LinkedIn Corporation Warning a vehicle operator of unsafe operation behavior based on a 3D captured image stream
7801332, Jan 12 2007 LinkedIn Corporation Controlling a system based on user behavioral signals detected from a 3D captured image stream
7840031, Jan 12 2007 International Business Machines Corporation Tracking a range of body movement based on 3D captured image streams of a user
7877706, Jan 12 2007 International Business Machines Corporation Controlling a document based on user behavioral signals detected from a 3D captured image stream
7971156, Jan 12 2007 SNAP INC Controlling resource access based on user gesturing in a 3D captured image stream of the user
8269722, Feb 02 2009 Industrial Technology Research Institute Gesture recognition system and method thereof
8269834, Jan 12 2007 International Business Machines Corporation Warning a user about adverse behaviors of others within an environment based on a 3D captured image stream
8295542, Jan 12 2007 International Business Machines Corporation Adjusting a consumer experience based on a 3D captured image stream of a consumer response
8577087, Jan 12 2007 International Business Machines Corporation Adjusting a consumer experience based on a 3D captured image stream of a consumer response
8588464, Jan 12 2007 International Business Machines Corporation Assisting a vision-impaired user with navigation based on a 3D captured image stream
8600185, Jan 31 2011 Dolby Laboratories Licensing Corporation Systems and methods for restoring color and non-color related integrity in an image
9208678, Jan 12 2007 SINOEAST CONCEPT LIMITED Predicting adverse behaviors of others within an environment based on a 3D captured image stream
9389780, Apr 11 2014 QUANTA COMPUTER INC. Touch-control system
9412011, Jan 12 2007 SINOEAST CONCEPT LIMITED Warning a user about adverse behaviors of others within an environment based on a 3D captured image stream
Patent Priority Assignee Title
4783829, Feb 23 1983 Hitachi, Ltd. Pattern recognition apparatus
6128003, Dec 20 1996 Hitachi, Ltd. Hand gesture recognition system and method
6215890, Sep 26 1997 National Institute of Information and Communications Technology Incorporated Administrative Agency Hand gesture recognizing device
6256033, Oct 15 1997 Microsoft Technology Licensing, LLC Method and apparatus for real-time gesture recognition
///
Executed onAssignorAssigneeConveyanceFrameReelDoc
Jul 23 2002CHANG, CHIN-CHENIndustrial Technology InstituteASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0131550724 pdf
Jul 23 2002HUANG, YEA-SHUANIndustrial Technology InstituteASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS 0131550724 pdf
Jul 31 2002Industrial Technology Research Institute(assignment on the face of the patent)
Date Maintenance Fee Events
Dec 28 2009M1551: Payment of Maintenance Fee, 4th Year, Large Entity.
Dec 27 2013M1552: Payment of Maintenance Fee, 8th Year, Large Entity.
Dec 27 2017M1553: Payment of Maintenance Fee, 12th Year, Large Entity.


Date Maintenance Schedule
Jun 27 20094 years fee payment window open
Dec 27 20096 months grace period start (w surcharge)
Jun 27 2010patent expiry (for year 4)
Jun 27 20122 years to revive unintentionally abandoned end. (for year 4)
Jun 27 20138 years fee payment window open
Dec 27 20136 months grace period start (w surcharge)
Jun 27 2014patent expiry (for year 8)
Jun 27 20162 years to revive unintentionally abandoned end. (for year 8)
Jun 27 201712 years fee payment window open
Dec 27 20176 months grace period start (w surcharge)
Jun 27 2018patent expiry (for year 12)
Jun 27 20202 years to revive unintentionally abandoned end. (for year 12)