The present invention is generally directed to the field of computer vision, and more particularly to the automatic estimation and tracking of the pose, i.e., position and/or orientation, of an object within a video image.
The ability to accurately estimate the three-dimensional position and orientation of an object, based solely upon video images of the object, is of increasing interest in the field of computer vision. For example, interactive human interface applications require the ability to quickly and accurately track the pose of a user. Information regarding the user's body position must be at or near real-time, to adjust the display of the interface in a meaningful, timely manner. For instance, an application which displays a three-dimensional view of an object requires accurate tracking of the position and orientation of the user's head, in order to present the frames containing an image of the object from an appropriate perspective.
In general, previous approaches to pose tracking often relied on assumed models of shape, to track motion in three dimensions from intensity data, i.e., image brightness. Other approaches have employed depth data in conjunction with the image brightness information to estimate pose. Direct parametric motion has also been explored for both rigid and affine models. In this approach, it is preferable to utilize constraints in the analysis of the image data, to reduce the number of computations that are required to estimate the pose of a figure. A comprehensive description of brightness constraints that are implied by the rigid motion of an object was presented by Horn and Weldon, “Direct Methods for Recovering Motion”, International Journal of Computer Vision 2:51-76 (1998). Image stabilization and object tracking using an affine model with direct image intensity constraints is described in Bergen et al., “Hierarchical Model-Based Motion Estimation”, European Conference on Computer Vision, pages 237-252 (1992). This reference discloses the use of a coarse-to-fine algorithm to solve for large motions.
The application of affine models to track the motion of a user's head, as well as the use of non-rigid models to capture expression, is described in Black and Yacoob, “Tracking and Recognizing Rigid and Non-Rigid Facial Motions Using Local Parametric Models of Image Motion,” International Conference on Computer Vision (1995). This paper describes the use of a planar face-shape for tracking gross head motion, which limits the accuracy and range of motion that can be captured. A similar approach, using ellipsoidal shape models and perspective projection, is described in Basu et al., “Motion Regularization for Model-Based Head Tracking”, International Conference on Pattern Recognition (1996). The method described in this publication utilizes a pre-computed optic flow representation, instead of direct brightness constraints. It explicitly recovers rigid motion parameters, rather than an affine motion in the image plane. Rigid motion is represented using Eular angles, which can pose certain difficulties at singularities.
The tracking of articulated-body motion presents additional complexities within the general field of pose estimation. A variety of different techniques have been proposed for this particular problem. Some approaches use constraints from widely separated views to disambiguate partially occluded motions, without computing depth values. Examples of these approaches are described, for example, in Yamamoto et al., “Incremental Tracking of Human Actions From Multiple Views”, Proc. IEEE CVPR, pages 2-7, Santa Barbara, Calif. (1998), and Gavrila and Davis, “3D Model-Based Tracking of Humans in Action: A Multi-View Approach”, Proc. CVPR, pages 73-80, San Francisco, Calif. (June 1996).
The use of a twist representation for rigid motion, which is more stable and efficient to compute, is described in Bregler and Malik, “Tracking People With Twists and Exponential Maps”, Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition, Santa Barbara, Calif. (June 1998). This approach is especially suited to the estimation of chained articulated motion. The estimation of twist parameters is expressed directly in terms of an image brightness constraint with a scaled orthographic projection model. It assumes a generic ellipsoidal model of object shape. To recover motion and depth, constraints from articulation and information from multiple widely-spaced camera views is used. This method is not able to estimate the rigid translation in depth of an unconnected object, given a single view.
The techniques which exhibit the most robustness tend to fit the observed motion data to a parametric model before assigning specific pointwise correspondences between successive images. Typically, this approach results in non-linear constraint equations which must be solved using iterative gradient descent or relaxation methods, as described in Pentland and Horowitz, “Recovery of Non-Rigid Motion and Structure”, PAMI, 13(7), pp. 730-742 (July 1991), and Lin, “Tracking Articulated Objects in Real-Time Range Image Sequences”, Proc. IEEE ICCV, Volume 1, pages 648-653, Greece (September 1999). The papers by Bregler et al. and Yamamoto et al. provide notable exceptions to this general trend. Both result in systems with linear constraint equations, that are created by combining articulated-body models with dense optical flow.
In the approach suggested by Yamamoto et al., the constraints between limbs are maintained by sequentially estimating the motion of each parent limb, adjusting the hypothesized position of a child limb, and then estimating the further motion of the child limb. This approach is conceptually simpler than the one suggested by Bregler et al., but results in fewer constraints on the motion of the parent limbs. In contrast, the method of Bregler et al. takes full advantage of the information provided by child limbs, to further constrain the estimated motions of the parents.
Both Yamamoto et al. and Bregler et al. use a first-order Taylor series approximation to the camera-body rotation matrix, to reduce the number of parameters that are used to represent this matrix. Furthermore, both use an articulated model to generate depth values that are needed to linearize the mapping from three-dimensional body motions to observe two-dimensional camera-plane motions.
The various techniques which employ depth information to estimate pose have typically utilized sparse depth data, e.g. representative sample points in an image. Recent imaging techniques now make it possible to obtain dense depth information, e.g. a depth value for all, or almost all, of the pixels in an image. Furthermore, this data can be obtained at video rates, so that it is real-time, or near real-time. It is an objective of the present invention to provide techniques for estimating pose which employ dense depth data.
In accordance with one aspect of the present invention, dense depth data that is obtained at real-time rates is employed to estimate the pose of an articulated figure, using a model of connected patches. In another aspect of the invention, the dense depth data is used in conjunction with image intensity information to improve pose tracking performance. The range information is used to determine the shape of an object, rather than assume a generic model or estimate structure from motion. The shape data can be updated with each frame, offering a more accurate representation across time than one which is provided by an initial, or off-line, range scan. In accordance with this feature of the invention, a depth constraint equation, which is a counterpart to the classic brightness change constraint equation, is employed. Both constraints are used to jointly solve for motion estimates.
By observing the change in depth directly, rather than inferring it from intensity change over time, more accurate estimates of object motion can be obtained, particularly for rotation out of the image plane and translation in depth. Depth information is also less sensitive to illumination and shading effects than intensity data as an object translates and rotates through space. Hence, the dense depth data is frequently more reliable than the brightness information.
In the case of articulated joints, twist mathematics are used to capture the motion constraints. Unlike previous approaches, a first-order Taylor series expansion is not employed to approximate the body-rotation matrix. Rather, this approximation is achieved by solving the constraints on a transformed parameter set, and remapping the results into the original parameter set using a closed-form non-linear function.
As a further feature of the invention, the brightness change constraint equation and the depth change constraint equation are re-derived, using shifted foci of expansions. This extension permits the constraints to be used on large motions without iteration. The constraint matrices are also modified to decouple the updates of body rotation and body translation from one another.
These and other features of the invention are described in greater detail hereinafter, with reference to various examples that are illustrated with the assistance of the accompanying figures.
a and 3b are illustrations of a planar patch model for a single segment and two articulated segments of a figure, respectively;
To facilitate an understanding of the invention, it is described hereinafter with reference to its application in the context of estimating and tracking the pose of an articulated object, such as the human body, since this example presents a particularly interesting and useful application of the invention. It will be appreciated, however, that the practical utility of the invention is not limited to this particular situation. Rather, the invention can be employed with success in a variety of different situations, such as the estimation of the pose of singular rigid objects.
In the implementation of the invention, the pose of a figure is estimated by determining a reference, or initial pose, and then tracking changes over successive images to obtain an updated estimate of the pose. In the context of the following description, the term “pose” is employed in a generic sense, to indicate either or both of the position of the object within a three-dimensional space, and the orientation of the object at that position, e.g., the rotational position of the object, or individual components of the object, relative to three orthogonal axes. In other words, the term “pose” encompasses motion in any or all of six degrees of freedom, namely translation along three orthogonal axes and rotation about three orthogonal axes. It will be appreciated that the invention can be applied to estimate only the position of the object, without regard to its orientation, or only the orientation of the object, without regard to its global position.
The range information which is provided by such a system is dense data. In the context of the present invention, “dense” data is understood to mean data obtained from a predefined, fixed sampling grid that is independent of the parameter being determined, such as the pose of the figure. In a preferred implementation of the invention, the sample grid comprises the array of pixels on the image sensing device, e.g. CCD, of the camera. In this case, each pixel provides one sample of depth data. Rather than employ the data from every pixel, it is also possible to obtain depth data with a different resolution by means of a coarser, but regular, sampling grid that is established a priori, e.g. every 2nd pixel, every 5th pixel, etc. The data is also dense in the temporal sense, i.e. it is obtained at a regular sampling interval, such as a video frame rate.
Within the image processor 14, frame-to-frame changes in the image intensity and/or depth information are used to track the motion of the object and thereby estimate its pose. Three-dimensional motion of each point in space induces a corresponding two-dimensional motion of the projection of that point onto the image plane of the camera. In accordance with the invention, two different approaches are employed to estimate the pose from the camera outputs. One approach utilizes the range data alone, and employs a shape model to determine the figure's pose. In the other approach, both brightness information and range data are employed, without reference to a shape model. The pose estimate is obtained by computing the velocity of each point on the object from frame to frame. In the following description, capital letters are employed to represent parameter values in the three-dimensional space, and lower case values are employed for the corresponding parameters in the two-dimensional image plane. Hence, the coordinates of a point in three-dimensional space is expressed as [X,Y,Z], and its corresponding point in the camera image plane is identified as [x,y].
Before describing the manner in which dense depth data is employed to estimate pose in accordance with the invention, a background discussion of the use of brightness data in the image processor 14 is presented. The velocity of a point in the video image is computed in accordance with a standard brightness change constraint equation for image velocity estimation. This equation arises from the assumption that intensities undergo only local translations from one frame to the next in an image sequence. This assumption does not hold true for all points in the image, however, since it ignores phenomena such as object self-occlusion, i.e., a portion of the object disappears from view as it rotates away from the camera, and changes in intensity due to changes in lighting, e.g., the object moves into a shadow.
The brightness change constraint equation can be expressed as follows, for image frames at times t and t+1:
B(x,y,t+1)=B(x−vx,y−vy,t) (1)
where B(x,y,t) is the image brightness, or intensity, at time t, and vx and vy are the motions in X and Y, after projection onto the image plane. If it is assumed that the time-varying image intensity is well approximated by a first-order Taylor series expansion, the right side of Equation 1 can be expanded to obtain:
B(x,y,t+1)=B(x,y,t)−vxBx(x,y,t)−vyBy(x,y,t) (2)
where Bx(x,y,t) and By(x,y,t) are image intensity gradients with respect to x and y as a function of space and time. Rearranging these terms into matrix form yields a commonly employed gradient formulation of the brightness change constraint equation:
This equation can be used to estimate image plane velocities, but 3-D real-world velocities are desired. For a perspective camera with focal length f, the relationship between the two sets of velocities may be derived from the perspective camera projection equations
Taking the derivatives of these equations with respect to time yields
This can be written in matrix form as
The right side of the above equation can be substituted into Equation 3 to obtain the constraint equation in terms of 3-D object velocities:
where {right arrow over (V)}=[VX VY VZ]T. The 3-D object velocities {right arrow over (V)} are then further constrained according to rigid body object motion. Any rigid body motion can be expressed in terms of the instantaneous object translation {right arrow over (P)}=[PXPY PZ]T and the instantaneous rotation of the object about an axis {right arrow over (Ω)}=[ωX ωY ωZ]T. {right arrow over (Ω)} describes the orientation of the axis of rotation, and |{right arrow over (Ω)}| is the magnitude of rotation per unit time. For small rotations,
{right arrow over (V)}={right arrow over (T)}+{right arrow over (Ω)}×{right arrow over (X)}={right arrow over (T)}−{right arrow over (X)}×{right arrow over (Ω)} (7)
The cross-product of two vectors may be rewritten as the product of a skew-symmetric matrix and a vector. Applying this to the cross product {right arrow over (X)}×{right arrow over (Ω)} results in:
Equation 7 can be rearranged into the convenient matrix form
{right arrow over (V)}=Q{right arrow over (φ)} (8)
by defining the motion parameter vector φ as [{right arrow over (T)} {right arrow over (Ω)}]T, and defining the matrix
The Q matrix may also be written in terms of image x and y coordinates, instead of 3-D world X and Y coordinates, in order to be consistent with the constraint equation as derived thus far:
Using either form of Q, substitution of the right side of Equation 8 for {right arrow over (V)} in Equation 6 produces a single linear equation relating image intensity derivatives to rigid body motion parameters under perspective projection at a single pixel:
Since video-rate depth information is available via the range processor 16, in accordance with the present invention changes in the depth image over time can be related to rigid body motion in a manner similar to that shown for intensity information above, and employed in the image processor 14 to estimate pose. For rigid bodies, an object point which appears at a particular image location (x, y) at time t will appear at location (x+vx, y+vy) at time t+1. The depth values at these corresponding locations in image space and time should therefore be the same, except for any depth translation the object point undergoes between the two frames. This can be expressed in a form similar to Equation 1:
Z(x,y,t)+Vz(x,y,t)=Z(x+vx(x,y,t),y+vy(x,y,t),t+1) (12)
The same series of steps described above for deriving the brightness constraint on rigid body motion can now be used to derive an analogous linear depth change constraint equation on rigid body motion. First-order Taylor series expansion, followed by rearrangement into matrix form, produces
Use of perspective camera projection to relate image velocities to 3-D world velocities yields
Finally, 3-D world velocities are constrained to rigid body motion by introducing the Q matrix
This linear equation for relating depth gradient measurements to rigid body motion parameters at a single pixel is the depth analog to Equation 11.
In many applications, it is possible to approximate the camera projection model as orthographic instead of perspective without introducing significant error in 3-D world coordinate estimation. For pose tracking algorithms, use of orthographic projection simplifies the constraint equations derived previously, making the solution of linear systems of these equations much less computationally intensive.
To derive the orthographic analogs of Equations 11 and 15, the perspective projection relationship is replaced with the orthographic projection equations x=X and y=Y, which in turn imply that vx=Vx and vy=Vy. Hence, Equation 5 is replaced by the simpler equation
Proceeding through the remainder of the derivation of Equation 11 yields its orthographic projection analog:
−Bt=[Bx By 0]Ω{right arrow over (φ)} (17)
Similar modification to the derivation of the depth change produces the orthographic counterpart to Equation 15:
−Zt=[Zx Zy−1]Q{right arrow over (φ)} (18)
At each time step, registered intensity and depth images are obtained. Intensity and depth gradients are computed with respect to image coordinates x and y, and with respect to time, at each pixel location. Intensity and depth constraint equations of the form of (11) and (15) can be written for each pixel location. Because the intensity constraint equations (11) are linear, they can be combined across N pixels by stacking the equations in matrix form: HI{right arrow over (φ)}I={right arrow over (b)}I.
HIεN×6, where each row is the vector obtained by multiplying out the right side of Equation 12 at a single pixel i. {right arrow over (b)}IεN×1, where the ith element is −Bt at pixel i. The I subscripts on the variables indicate that they reflect only the use of intensity constraints. Provided that N>6, this system of linear equations will over-constrain the motion parameters {right arrow over (φ)}I so that they can be solved by the least-squares method:
{right arrow over (φ)}I−(HITHI)−1HIT{right arrow over (b)}I (19)
The linear depth constraint equations can be combined similarly across N pixels to form the linear system HD{right arrow over (φ)}D={right arrow over (b)}D, where HDεN×6, {right arrow over (b)}zεN×1, and the elements of HD and {right arrow over (b)}D are derived from Equation 15 in a manner analogous to that explained for the intensity linear system above. The D subscripts on the variables indicate that they reflect only the use of depth constraints. Provided that N>6, the motion parameters {right arrow over (φ)}D can be solved according to the least-squares method, as in Equation 19.
The intensity and depth linear systems can be combined into a single linear system for constraining the motion parameters {right arrow over (φ)}: H{right arrow over (φ)}={right arrow over (b)}, where H=[HIλHD]T, and {right arrow over (b)}={right arrow over (b)}=[{right arrow over (b)}Iλ{right arrow over (b)}D]T.
The scaling factor, λ, provides control over the weighting of depth constraints relative to intensity constraints. In cases where depth can be expected to be more reliable than intensity, such as under fast-changing lighting conditions, it is preferable to set λ to a value higher than 1, but under other conditions, such as when depth information is much noisier than intensity, lower λ values are preferably used. The least-squares solution to the above equation is
{right arrow over (φ)}=−(HTH)−1HT{right arrow over (b)} (20)
To estimate the motion of an object, it is preferable to combine the constraint equations only across pixel locations which correspond to the object, and for which intensity, depth, and their derivatives are well-defined. To do this, a support map w(x,y)ε[0,1] is used which indicates the probability that each pixel corresponds to the object of interest and that its measurements and derivatives are reliable. The least-squares solution is modified to weight the contribution of the constraint from pixel location (x,y) according to w(x,y):
{right arrow over (φ)}=−(HTWTWH)−1HTWT{right arrow over (b)} (21)
WεN×N is a diagonal matrix whose entry W(i,i)=w(xi,yi). If a binary support map is used, i.e., all values of w(x,y) are either 0 or 1, the W matrix can be omitted, and H and {right arrow over (b)} are removed from all rows corresponding to pixels i for which w(xi,yi)=0. A support map may also be applied in similar fashion when solving for motion parameters using depth or intensity constraints only. The three support maps for these different constraint combinations do not need to be the same.
The motions estimated between individual pairs of frames are added together to form an estimate of cumulative object motion over time. It may be beneficial to supplement this tracking technique with another algorithm for determining when motion estimation has accumulated substantial error, and to reinitialize the object shape estimate at these times.
In a preferred embodiment of the invention, velocities of the visible points on the figure can be translated into rotations and translations of the figure and its limbs relative to the world coordinates, using twist mathematics. The brightness and depth constraint equations, Equations 5 and 13, can be combined as follows:
This formulation gives 2N equations in terms of 3N unknown motion vectors (vx, vy, and vz for each point) where N is the number of visible points on an articulated figure. Two of the vectors are in the image plane and the third is in the real world. In order to translate image-plane velocities into world-coordinate velocities, a camera model is employed. Using a perspective camera model and assuming that the origin of the world coordinate system is at the camera and the z-axis is along the viewing axis of the camera, so that
results in:
This constraint simply changes the unknown parameters. The total is still 2N equations in terms of 3N unknowns (vx, vy, and vz for each point).
A twist
is a 6-element vector with the first 3 elements, v, indirectly representing the translation and the last three elements ω representing the axis (and sometimes the amount) of rotation. As a matter of convention, if the twist is used with an explicit scaling term θ, then |ω|=1; otherwise, the magnitude of ω is set according to the amount of rotation. The twist can be used to form a 4×4 matrix, through the operation of the “hat operator”:
When exponentiated, this 4×4 matrix gives the rotation/translation matrix
where e{circumflex over (ω)}θ is the rotation and p=((I−e{circumflex over (ω)}θ){circumflex over (ω)}+ωωTθ)v is the translation, which maps x, y and z to v.
Using twists, the world coordinates (qs) of any point on the body can be expressed as a function of time, of the point's limb number (k), of the pose parameters (ξ0 and θ), and of the point's limb-centric coordinates (qb):
qs(t)=gsb(ξ0(t),θ(t)|k,ξ1, . . . , ξK-1)qb
where K is the number of articulated limbs in the figure. The mapping from limb-centric coordinates to world coordinates is done by translation/rotation as dictated by a “reference configuration” for the kth limb, gsk(0); by the translations/rotations eξ
Each limb's reference configuration gives the translation and rotation from that limb's coordinate system to the world coordinate system, when the body is positioned at ξ0=0 and when all of the joint angles are zero. The extra degrees of freedom given by the reference configuration simplifies the task of describing the geometry of the articulated joint locations. Given a specific pose, the transformation from the limb's coordinate frame to the world coordinate frame is:
For notational simplicity hereinafter, gsb(ξ0(t),θ(t)|k,ξ1, . . . ξK−1) will be identified as gsb.
Using this description of the world coordinates of each body point in terms of the articulated-pose parameters, the world velocities can be related to the rotations and translations of the K coordinate frames that are tied to the K limbs of the figure. Since qs(t)=gsbqb and qb is independent of time:
The second line of the above identity is derived from the inverse of the identity qs(t)=gsbqb. The third line is by definition: {circumflex over (V)}sbs={dot over (g)}sbgsb−1 is a 4×4 matrix describing the motion of the kth limb's coordinate frame relative to the world coordinate frame, in terms of world coordinates. Using {circumflex over (V)}sbs, a 6×1 vector, to describe this coordinate transformation makes use of the special structure {dot over (g)}sbgsb−1. Specifically, the first three rows and columns of {dot over (g)}sbgsb−1 are skew symmetric and the bottom row is all zeros. qs(t)=[qX qY qZ1]T is the homogenous world coordinates of the body point at time t. More generally, qX, qY, and qZ are the coordinates of the point within a coordinate system that is tied to the world coordinate system by some known translation and rotation. Reformulating the above equation,
Hence, the X-, Y- and Z-axis motion of each point on the body is obtained by multiplying the 6 motion parameters for each limb by the matrix. At this point, each limb has been forced to be internally rigid. This reduces the number of unknown parameters down to 6 parameters per limb (the 6 elements of Vsbs for that limb). There are now 2N equations in terms of 6K unknowns, where K is the number of articulated limbs.
The solution is further constrained by taking advantage of the interconnections between limbs. To do this, Vsbs for the kth limb is described in terms of the articulated-pose parameters:
where Vs0s is the velocity due to the motion of the body relative to the world coordinates and the Jacobian value Ji−1,is(θi)θi is the velocity due to the motion of the ith joint along the articulated chain to the kth limb. Using the identity {circumflex over (V)}sbs=ĝsbgsb−1 provides:
Thus, six parameters are employed for the torso, but all other limbs are reduced to one degree of freedom θ for each limb. To simplify this further, the adjoint of a rotation/translation matrix,
is defined as
Using this definition, gξg−1=(Adj(g)ξ){circumflex over ( )}, where ( ){circumflex over ( )} means that the hat operator is applied to the vector contained within the parentheses. Using this identity,
Ji−1,is(θi)=Adj(eξ0eξ
The velocity due to the motion of the figure relative to the world coordinates should allow for unconstrained rotations and translations. An easy way to do this is to express these motions in terms of the 4×4 transformation matrix, instead of in terms of the twist coordinates. Let
Then:
This constraint is linear in terms of the unknowns ({dot over (R)}0 and {dot over (p)}0) but it is not tightly constrained. {dot over (R)}0 has 9 unknowns, instead of the 3 unknowns that can be used to describe a rotation or its derivative. This over-parameterization is corrected by noting that the first 3 rows/columns of {circumflex over (V)}s0s must be skew symmetric. To capture this structure, the rotational component of the frame velocity is defined as ωv
It is significant to note that this is not a “small angle approximation” such as is often used for mapping a rotation matrix down onto its rotation axis. The identity ωv
Substituting and rearranging, the velocity of the torso is mapped back to the twists, with six degrees of freedom, as follows:
Once an estimate is obtained for ωv
{dot over (R)}0{circumflex over (ω)}v
There are now 2N linear constraint equations in terms of K+5 unknowns ((ωv
Discrete-time approximations to the time derivatives, {dot over (R)}0, {dot over (p)}0, and {dot over (θ)}k−1 are then determined. A forward-difference approximation to the body-translation and joint-angle derivatives is used:
{dot over (p)}0(t)→p0(t+1)
{dot over (θ)}i(t)→θi(t+1)−θi(t) (30)
A forward-difference approximation to the body-rotation derivative {dot over (R)}0 is not desirable since using this approximation destroys the orthonormal structure of the rotation matrix R0. Instead, a central-difference approximation is preferred:
Using this central difference approximation along with Equation 29 and a first-order linear interpolation for the half-sample delay, produces:
so that
Combining Equations 22, 23, 25, 26, 27, 28 and 30 again results in 2N linear constraint equations in terms of K+5 unknowns. The difference is that the unknowns are now the updated parameters ωv
The quality of the above constraints depends on the accuracy of the first-order Taylor-series expansion used in the brightness and depth constraints. This first-order approximation often fails on large motions. Conventionally, this type of failure is compensated by estimating the motion, warping the images according to that motion estimate and repeating. This iterative estimation approach has several drawbacks. It is computationally expensive, requiring sample interpolation of the image being warped, re-computation of its spatial derivatives, and multiple formulations and solutions of the constraint equations at each time step. It introduces interpolation errors, both in the warped image values and in the spatial derivatives. Finally, for large motions, the initial motion estimates may actually point away from the true solution. The accuracy of the constraints can be improved without iteration, without interpolation, and without recomputing spatial derivatives, by allowing the focus of expansions (FOE) of each point to shift “independently” by some integer amount, (Sx, Sy). Shifting the FOE by (Sx, Sy), the constraints become:
Equation 32 treats each constraint equation as if the t+1th frame translated rigidly by (Sx, Sy). As long as (Sx, Sy) is integer valued, it is not necessary to interpolate the image. Since the equations assume rigid translation, there is no need to recompute the spatial derivatives of the tth frame (as would be required to warp the t+1th frame). Even though each individual constraint derived from Equation 32 acts as though the frame was rigidly translated, the set of constraints across the visible image does not have to share (Sx, Sy) values. Instead, at each pixel, a new (Sx, Sy) can be selected according to the expected shift for that pixel.
This provides the freedom to choose a distinct value (Sx, Sy) for each visible point on the figure. This could be done within the traditional iterative motion estimation framework, by estimating the motion without shifting first to get an initial hypothesis for the image motion. Using that approach, the offset dictated for each pixel is rounded by the unshifted motion estimates to the nearest integer values, and those values are used for (Sx, Sy) in Equation 32. The motion is then re-estimated according to the constraint equations generated by Equation 32. This process could be iterated as often as needed to converge to a stable motion estimate.
It is more preferable, however, to use the cross correlations between times t and t+1 of the brightness and depth images. This cross correlation is evaluated for each limb separately, allowing a small number of 2D (image plane) translations and rotations. To avoid the overhead of image interpolation, zero-order hold can be used to provide non-zero rotations of the limbs. A nominal translation/rotation is selected for each limb, based on the peak of this cross correlation.
Having selected a nominal translation/rotation of the FOEs for a limb, for each point on the limb the integer-valued offset is used for Sx and Sy nearest to the offset dictated by the selected translation/rotation. Again, Sx and Sy are preferably integers to reduce the computation and to avoid interpolation errors.
Equation 32, with Equations 23, 25, 26, 27, 28 and 30, provides N brightness and N depth constraints, which can be solved with least squares, on K+5 unknowns (p0(t+1), R0(t+1), and θ1(t+1) through θK−1(t+1)). From that solution, Equation 31 provides the non-linear mapping from ωv
Camera-centric coordinates are preferably used in the constraint Equation 23. However, any coordinate system can be used that is offset by a known rotation/translation from the camera coordinate system for the coordinates (qX, qY, qZ) used in Equation 25, to eliminate bias. To improve the conditioning of the constraint equation, the centroid of the visible figure is chosen as the origin of (qx, qy, qz).
Any orientation/translation can be used as a reference configuration gsk(0) in Equation 24. The following discussion explains a preferred way to use this freedom to avoid estimation errors due to cross coupling between the body position and the body rotation estimates.
Equation 28 includes cross coupling between the estimates for {dot over (p)}o and ωv
This bias is avoided by re-parameterizing the twists, at each time step, so that p0=0. This can be done without affecting the coordinate-system origin for (qX, qY, qZ) by adjusting gsk(0), the reference configurations for the limbs (see Equation 24). This allows the conditioning of the constraints to be improved (as previously described) while still avoiding coupling.
To remove this coupling without altering the articulated figure's geometry,
is subtracted from each internal joint
(An offset of R0Tp0 is implicitly added to the last column of gsk(0). However, since gsk(0) never actually appears in the final constraint equations, this offset is more conceptual than computational.) This maintains the original geometry since, if exp
When these transformations are used to remove the cross-coupling between {dot over (p)}0 and ωv
In accordance with a second aspect of the invention, the dense depth data can be employed in conjunction with a shape model to estimate the pose of an articulated figure. As in the previous approach which employs the constraint equations, a figure is tracked by incrementally estimating its pose at regular intervals, e.g. for each video frame. In other words, sequential state estimation is employed to obtain the figure's pose.
State estimation is the process of determining a set of parameters for a given model that best accounts for a set of observations within the realm of that which can be expected. More specifically, the state estimation finds the most probable sequence of states given a set of observations and a set of expectations, in other words the sequence of states with the maximum a posteriori probability. However, since real image data attained from the video cameras are subject to noise and occlusions, the observations will generally have some erroneous or missing elements. In order to alleviate the effects of these imperfections on the results, the process of maximizing the agreement of the observations with a model is refined by considering a priori expectations, such as smooth motions or bounded accelerations or velocities. As a result, the process is generalized to minimizing a residual, where the residual takes into the account the agreement or correlation of a proposed state with the observations, as well as some measure of the unexpectedness or innovation of the proposed state, based on past history.
A more detailed block diagram of the image processing portion of the system for estimating pose of an articulated figure in accordance with this aspect of the invention is illustrated in
The model 20 consists of a set of connected planar patches, each of which is in the shape of the convex hull of two circles.
The visible surface of each articulated segment of the figure is modeled by a single patch, such as that shown in
Within the comparator 26, a determination is made for each pixel u of each segment Sk, of the correlation between the observed and expected inputs. This correlation is based the difference between the range I(u) that is observed on the actual input for the pixel, and the range Rk(u) that is predicted by the segment. Since there are likely to be errors in both the measurement and the model, the magnitude of the difference is compared against a finite threshold. Pixels whose difference values lie above or below the threshold are respectively identified as being far from or close to the surface.
Since the surface patches of the model are planar, they have a uniform range across their widths, i.e., in a direction perpendicular to an axis intersecting the two nodes. However, for many three-dimensional objects, the measured range will vary across the width of the object, due to its thickness. This discrepancy could result in erroneous correlation results. Therefore, as a second measure, the correlation between the observed input and the estimated input is confined to an area near the boundary of a segment. A true segment boundary has pixels of the segment inside the boundary, and pixels pertaining to other structure outside the boundary. Hence, the depth value for pixels that are just inside the boundary should fit the segment model, and the depth of pixels just outside the boundary would not be expected to fit the model.
The correlation between the observed depth data and the expected state therefore comprises a sum over all segments, and over all pixels of a segment, of the observed farness and the expected farness.
To determine the estimate, the state generator 22 selects the set of two-dimensional parameters (xi, yi, ri) for which the difference between the observed and estimated depth values, summed over all of the pixels for all of the figure segments, is a minimum. Preferably, this minimum is determined by using a least squares fit. The various hypotheses can be generated, for example, by starting with the state that was estimated for the previous frame, and then proposing new hypothesized states which have configurations that are close to those of the previous estimate. Since the pose estimates are updated at a fairly high rate, e.g., video frame rates, the object of interest is not expected to change size or position significantly from one estimate to the next. This can be taken into account during the generation of new hypotheses, by weighting those which are closet to the most recent estimate as more likely than those which are farther away.
From the foregoing, therefore, it can be seen that the present invention provides a mechanism for estimating the pose of an object from dense depth data. Of particular significance, the techniques of the present invention can be employed to estimate the pose of articulated objects, as well as solid objects. In one approach, the pose is estimated on the basis of the depth data alone, through the use of a model consisting of planar patches. A second approach dispenses with the need for a model, by using both depth and brightness data, in conjunction with appropriate constraint equations.
It will be appreciated by those of ordinary skill in the art that the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The presently disclosed embodiments are therefore considered in all respects to be illustrative, and not restrictive. The scope of the invention is indicated by the appended claims, rather than the foregoing description, and all changes that come within the meaning and range of equivalence thereof are intended to be embraced therein.
This disclosure is based upon, and claims priority from, provisional U.S. Patent Application No. 60/123,329, filed Mar. 8, 1999, and provisional U.S. Patent Application No. 60/124,158, filed Mar. 10, 1999, the contents of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60123329 | Mar 1999 | US | |
60124158 | Mar 1999 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09520964 | Mar 2000 | US |
Child | 11195039 | Aug 2005 | US |