# Patent

## Title
Three-dimensional motion capture

## Abstract

In one general aspect, a method is described. The method includes generating a positional relationship between one or more support structures having at least one motion capture mark and at least one virtual structure corresponding to geometry of an object to be tracked and positioning the support structures on the object to be tracked. The support structures has sufficient rigidity that, if there are multiple marks, the marks on each support structure maintain substantially fixed distances from each other in response to movement by the object. The method also includes determining an effective quantity of ray traces between one or more camera views and one or more marks on the support structures, and estimating an orientation of the virtual structure by aligning the determined effective quantity of ray traces with a known configuration of marks on the support structures.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation application of and thus claims the benefit of copending U.S. application Ser. No. 12/558,806, filed on Sep. 14, 2009, which is a continuation application of and thus claims the benefit of U.S. application Ser. No. 11/384,211, filed on Mar. 16, 2006 and issued as U.S. Pat. No. 7,848,564 on Dec. 7, 2010, which is a non-provisional application that claims the benefit of Provisional Application Ser. No. 60/662,973, filed on Mar. 16, 2005, the entire disclosures of which are incorporated by reference as part of the specification of this application.


TECHNICAL FIELD
This document relates to a motion capture system and method.
BACKGROUND
Motion capture is an approach to generating motion data that is based on tracking and recording the movement of real objects. One common application of motion capture is in animation where a realistic sequence of motion, e.g., by a human actor, can be captured and used to represent the motion of an animated object.
In some motion capture systems, an actor wears a black body suit. A number of white balls are attached to the suit at the actor's joints, e.g., shoulder, elbow, wrist. The actor then performs a sequence of movements which is digitally recorded by a number of cameras. The recorded data is then processed by a motion capture program.
The motion capture program recognizes the white balls as points. If multiple cameras record the same point in a frame and the locations of the cameras are known, the motion capture program can determine the 3D position of the point using triangulation. The motion capture system may determine 3D positions for all of the points in each of the frames. As used herein, the term “frame” refers to a period of time, or a collection of different periods of time, at which a 3D position of an object being captured is calculated.
The 3D points may be input into a fitting program that fits a virtual skeleton, which represents the bone structure of the object being captured by the system, to the 3D points. For example, an upper arm bone can be defined to exist between a point associated with a shoulder and a point associated with the elbow. The motion capture program may track the movement of the points from frame to frame, which, once fitted to the virtual skeleton, defines the movement of the skeleton from frame to frame.
In some systems, however, use of triangulation may require a relatively large number of cameras to capture each of the differently positioned points from multiple camera angles. Although only two cameras may be required to triangulate a single point, the two cameras typically need to track the point during each frame. As a result, if only two cameras are used, the cameras can lose track of a white ball as a result of the actor turning around. Thus, when an actor performs a scene with lots of motion, a large number of cameras, e.g., 20, are typically utilized to ensure that at least two cameras can track each white ball during each frame.
In some motion capture systems, it may be difficult to determine which white ball recorded with a first camera at a first angle corresponds with the same white ball taken from a second camera at a second angle. When the white balls recorded by two cameras are not correctly associated, the fitting program may produce some artifacts in the form of physically impossible motions in an attempt to fit the skeleton to the 3D points. For example, a leg can suddenly appear to move 180° from one frame to the next frame. While dramatic changes can be easy to spot, subtle mistakes may be difficult to catch.
Additionally, some motion capture systems tend to require refined lighting conditions. For example, the white balls can be formed as objects that reflect infrared (IR) light, and the cameras may be tuned to respond to IR light. When an IR light source is directed toward the white balls, the cameras pick up the points of IR light reflected back from the actor. This approach, however, may not work well on a traditional movie set because when the lights are turned up on a movie set they become quite hot and unintentionally flood the scene with IR light. As a result, the cameras may not be able to distinguish a point of reflected IR light from background noise.
SUMMARY
The present document relates to a system and method for 3D motion capture.
In one general aspect, a method is described. The method includes generating a positional relationship between one or more support structures having at least one motion capture mark and at least one virtual structure corresponding to geometry of an object to be tracked and positioning the support structures on the object to be tracked. The support structures has sufficient rigidity that, if there are multiple marks, the marks on each support structure maintain substantially fixed distances from each other in response to movement by the object. The method also includes determining an effective quantity of ray traces between one or more camera views and one or more marks on the support structures, and estimating an orientation of the virtual structure by aligning the determined effective quantity of ray traces with a known configuration of marks on the support structures.
In second general aspect, a system is described. The system includes an interface to receive recordings from one or more cameras. The recordings include image data of one or more marks on one or more rigid or semi-rigid support structures positioned on an object. The support structures have a substantially fixed position relative to virtual structures generated for the object. The system also includes a ray tracer to generate an effective quantity of ray traces between one or more camera views from the cameras and the marks, and an orientation estimator to estimate orientations of the virtual structures by aligning the effective quantity of ray traces with a known configuration of marks on the support structures.
In another general aspect, an apparatus is described. The apparatus includes a support structure configured to be affixed to an actor whose motion is to be tracked using one or more motion capture cameras, the support structure having a plurality of motion capture marks and sufficient rigidity that, in response to movement by the actor, the marks on the support structure maintain substantially fixed distances from each other.
In yet another general aspect, a motion capture system is described. The motion capture system includes at least one support structure configured to be affixed to an actor whose motion is to be tracked, the support structure having a plurality of motion capture marks and sufficient rigidity that, in response to movement by the actor, the marks on the support structure maintain substantially fixed distances from each other, a motion model comprising one or more virtual structures representing geometry of the actor to be tracked, and a computer system. The computer system is capable of executing a plurality of substantially simultaneous processes, including one or more processes to perform the following: (a) generate a positional relationship between the at least one support structure and the one or more virtual structures representing geometry of the actor; (b) determine an effective quantity of ray traces between one or more camera views and one or more marks on the support structures; and (c) estimate orientations of the virtual structures by aligning the effective quantity of ray traces with a known configuration of marks on the support structures.
The systems and techniques described here may provide one or more of the following advantages. First, accurate motion capture may be accomplished using a decreased number of cameras, which may reduce the cost and complexity of the system. Second, an object's motion may be captured in a variety of lighting conditions, which may include substantially complete darkness. Third, a three dimensional position of a mark on an object may be calculated even though the mark is only captured by one camera or is not captured at all. Fourth, a system may include an object model that facilitates prediction of motion based on a unique object's typical range of motion and physical structure.
The details of one or more embodiments are set forth in the accompanying drawings and the description below. Other features and advantages of the described embodiments will be apparent from the description and drawings, and from the claims.



DESCRIPTION OF DRAWINGS
FIG. 1 is a diagram illustrating an example of a motion capture system.
FIG. 2 is a flow chart illustrating an example of a method for processing frames of motion capture data.
FIG. 3 is a flow chart illustrating an example of a method for calculating a 3D position of each visible mark on each support structure in a frame.
FIG. 4 is a flow chart illustrating an example of a method for tracking each visible mark from a first frame to a second frame.
FIG. 5 is a block diagram illustrating an example of a computer.



Like reference symbols in the various drawings indicate like elements.
DETAILED DESCRIPTION
In a system 100 of FIG. 1, a number of marks, which may be detected by one or more camera(s), are placed on rigid or semi-rigid support structures. The support structures, in turn, are attached to an underlying object, such as an actor 114 or a body suit of the actor. As used herein, a rigid structure is one in which the movement of the marks on a same support structure is negligible relative to the marks' positions from each other. Additionally, a semi-rigid structure is one in which the movement of the marks on a same support structure is permitted, but the movement is substantially limited within a predetermined range. The amount of the movement between the marks may be based on several factors, such as the type of material used in the support structure and the amount of force applied to the support structure. For example, a flexible body suit, depending on materials used and methods of construction, may qualify as a “rigid” or “semi-rigid” support structure in the context of the disclosed techniques provided that it demonstrates the appropriate level of rigidity. Additionally, bands attached to a body suit may also qualify as the rigid or semi-rigid support structure.
In some embodiments, the mark-to-mark spacing on a support structure may determinable in techniques discussed in more detail below, and thus the spacing does not need to be known a-priori. The system can use one or more cameras to track different marks on the support structures. These marks may be used to estimate the motion (e.g., position and orientation in 3d space through time) of the support structures. The knowledge that each support structure is rigid (or semi-rigid) may be used in the estimation process discussed below and may facilitate reconstruction of the motion from a single camera.
In some embodiments, the marks can made of high-contrast materials, and may also optionally be lit with light emitting diodes (LEDs) or luminescent materials that are visible in the dark. These lighting qualities can enable cameras to capture the marks on the object in low lighting or substantially dark conditions. For example, an actor being filmed may walk from a well-lit area to a shadowed area. The marks may be captured despite the actor's movement into the shadowed area because the marks glow or emit light.
In operation, one or more video cameras can record a motion sequence, and store the images to a storage device, such as a tape or disk, for processing. Also, the images may be directly transmitted to a processing device for processing in real-time or near real-time.
An operator or algorithm computes the location of the camera and its visual properties, such as the camera's field of view, lens distortion, and orientation, while the sequence was being recorded. For example, an algorithm can derive the position of the camera given enough marks and information associated with the marks, such as the number, identification, and position of the marks captured by that camera.
FIG. 2 shows a flow chart that illustrates an example of a method 200 for processing frames of motion capture data to compute a relationship of the marks on a structure to the underlying object being tracked. In the embodiment shown in FIG. 2, each of the support structures is associated with a virtual structure, such as a virtual bone structure generated to model a skeleton of the object, in step 202. For example, the support structure may be a band that surrounds an actor's arm. The band can be ring shaped and occupies a 3D space defined by X, Y, and Z axes. The point in the object space of the ring where the values on the X, Y, and Z axes meet (e.g., X=Y=Z=0) is the geometric center of the band. In some embodiments, this geometric center may be substantially aligned with a geometric center of a virtual arm bone. In other embodiments, the geometric center of the virtual arm bone may be offset relative to the geometric center of the ring.
The cameras capture, or record, marks located on the support structures and the recordings are used to identify locations where the marks appear, as shown in step 204. An algorithm may calculate one or more ray traces extending from one or more cameras through one or more of the recorded marks, as shown in step 206. For example, algorithm may calculate two ray traces. Both ray traces may extend from a single camera view to a first recorded mark and a second recorded mark, respectively.
Information about the support structure, such the distance between the marks on the structure, the rigidity of the structure, and the geometry of the structure may be generated by the system (discussed in greater detail below) or input by a user. This information may define a configuration describing where the marks on a structure should or could occur. For illustrative purposes the configuration information is described herein as a virtual support structure in 3D space.
An algorithm can estimate the current 3D orientation of the virtual bone structures by aligning the virtual support structure with the 3D ray traces, as shown in step 210. This alignment may be implemented using several different types of solving algorithms, such as a maximum likelihood estimation or a Levenberg-Marquardt nonlinear minimization of a heuristic error function. The algorithm's solution will move the 3D position of the marks on the virtual support structures to lie on the 3D ray traces. After alignment, the current orientation of the virtual bone structures is known because the virtual support structure has a substantially fixed relationship to the orientation of its corresponding virtual bone structure.
In some embodiments, two or more cameras may record multiple observations of the same mark. The alignment algorithm may use every additional recording of a mark's position as an additional constraint in the solving calculation. If no marks on a support structure are captured by a camera, observations of marks on other support structures can be used to estimate the position of the uncaptured support structure, or at least constrain it to an area of space. For example, a support structure around and actor's elbow may not be visible, however, a support structure around the actor's wrist may be visible. The position of a virtual wrist bone corresponding to the wrist support structure may be calculated in the manner described above. Because the position of the virtual wrist bone is known, the possible locations of a virtual elbow bone corresponding to the elbow support structure are constrained to a limited area. This constraint may be based on an object motion model, which can substantially define the physical structure of the actor including a length of the actor's bone that connects the elbow to the wrist. The object motion model is discussed in more detail below.
Given these estimates or bounds for the 3D positions of the virtual bone structure, the motion of the underlying object can be estimated. In cases where the a position of a marks cannot be used to estimate the motion (e.g. some parts are not observed by any camera), one or more physical properties of the object, such as the natural limits of the range of motion for an actor's leg, can be used to infer the most likely position of the mark (and thus the motion of the object) based on current observation of virtual bone structures with known 3D positions and estimates derived from the placement of virtual bone structures at prior and future periods in time.
Optionally, an object motion model may be accessed, as shown in step 208, to further constrain the algorithm used to solve for the alignment of the ray traces with a known configuration of the marks. An object motion model can substantially define the motion of the underlying object. The mass and articulation properties of an object, the range of motion, velocity, and accelerations of a particular human's physique can be derived based on previously captured motion information for the object. For example, several cameras and a traditional motion capture device may capture an actor's bone lengths and typical range of movement by recording the actor's motions and triangulating the position of white balls placed on the actor. The captured motion may be then be used to derive a model specific to that actor.
After one frame of captured image data is processed, the method 200 can determine whether there are more frames of data to process, as shown in step 212. If there are more frames, the method can return to step 202. Otherwise, the method may end.
FIG. 1 shows a diagram that illustrates an example of a motion capture system 100. As shown in the FIG. 1 example, system 100 includes a number of support structures 110, and a number of marks 112 that are attached to each support structure 110.
In the present example, the support structures 110 are implemented as cylindrical bands that are wrapped around an underlying object, such as an actor 114. In some embodiments, the support structures 110 are rigid and cannot be flexed to a significant extent (e.g., relative to accuracy/precision of the cameras and/or motion capture program). Additionally, the support structures 110 may be semi-rigid and can be flexed in a limited manner.
Further, each of the support structures 110 can have any of a number of colors, such as a series of colors that sharply contrast with each other. In the FIG. 1 example, each of the support structures 110 has a series of alternating black and white square regions.
The marks 112, in turn, are attached to a support structure 110 so that a pair of adjacent marks 112 may be separated by a fixed or semi-fixed distance from each other when measured along an axis of the support structure 110 that passes through the marks. Each pair of adjacent marks 112, in turn, can be separated by the same distance. For example, a number of marks 112 can be formed on a support structure 110 so that the marks 112 are evenly spaced apart. In some embodiments, the marks do not need to be evenly spaced apart, but still may have a distance from other marks that does not substantially change.
When a rigid support structure 110 is utilized, the distance between an adjacent pair of marks 112 can be substantially fixed. As a result, the distance remains substantially unchanged when the underlying object 114 moves from one position to another position.
When a semi-rigid support structure 110 is utilized, the distance between an adjacent pair of marks 112 may not be fixed but rather may vary to a limited extent. As a result, the distance can vary within a range when the underlying object 114 moves from one position to another position. For example, the distance between an adjacent pair of marks 112 on a semi-rigid support structure 110 can vary because the structure 110 may flex or twist. In some embodiments, the amount of possible variation due to one or more forces applied to the support structure is measured and input into the system 100 to compensate for possible changes in observed distances between marks. Thus, a semi-rigid support member may restrict the movement of the marks 112 to a limited range of positions depending on variables, such as the material of the support member and the direction and magnitude of a force applied to the member.
In addition, the marks 112 can have any of one or more geometric shapes. For example, the marks 112 can be implemented with circles, triangles, squares, or rectangles. As shown in FIG. 1 example, each mark 112 has the same geometric shape, and is implemented with a dot.
In addition to having one or more shapes, the marks 112 can have any of one or more colors, such as colors that sharply contrast (e.g., a contrast ratio of 400:1) with the colors of the support structure 110. In FIG. 1 example, the marks 112 have a series of alternating contrasting colors (white and black) that are opposite to the series of alternating contrasting colors (black and white) on the support structure 110.
In addition, in some embodiments, the marks 112 can be implemented with a number of contrasting (e.g., black and white) lines. One advantage of using marks 112 with a number of contrasting lines is that the lines can be used to form a bar code which, in turn, can be used to uniquely identify the mark 112. For example, the computer 124 may include an index that correlates observed bar codes with particular marks. When a bar code is captured by a camera, the index may be access to identify which mark is specified by the code (e.g., the identified mark may be a mark placed at the inner side of the left elbow on an elbow support structure).
Further, the marks 112 can be covered with or composed of a luminous material, or can be self-illuminating, such as marks 112 that incorporate light emitting diodes (LEDs). For example, infra-red, self-illuminating marks 112 can be seen when it is substantially totally dark, and, as a result, provide invariance to lighting conditions.
Thus, the luminous or illuminated marks may facilitate performing motion capture of a scene at night or, more commonly, when an actor is walking out of a dark shadow into light; or the actor stands in a dark area among a number of characters, and then steps out into a light area.
The marks 112 can be planar with respect to the support structure 110, can be non-planar (e.g., protrude) with respect to the support structure 110, or a combination thereof. In the FIG. 1 example, each mark 112 is implemented with a dot that lies in the same plane as the support structure 110. Further, individual marks 116 which are unrelated to a support structure 110 can be used.
In addition to the support structures 110 and marks 112, system 100 also includes a one or more cameras 120 that capture images of the motion of the marks 112 as the actor 114 performs a series of movements. Further, system 100 includes a storage medium 122 that is connected to the cameras 120 to digitally record the images captured by the cameras 120.
System 100 also includes a computer 124 that is connected to storage medium 122. As described in greater detail below, computer 124 can execute a motion capture program that tracks the movement of the marks 112 from frame-to-frame to extract the motion of an underlying object, such as an actor.
In operation, one or more cameras 120 are placed around actor 114. Actor 114, in turn, wears a black body suit, while a number of support structures 110 are placed around the body of actor 114 to recover the skeletal motion of actor 114. Additionally, individual marks 116 can be placed directly on the actor's chest and back. (A support structure 110 can alternately—or in addition—be placed around the actor's chest.)
Any number of marks 112 located on the support structure 110, including zero, can be seen by each camera. For example, a support structure 110 can have three marks 112 that are fully visible from each camera view. In another example, only a single mark 112 can be seen in a camera view. In some embodiments, none of the cameras 120 need to see the same marks 112 to reconstruct the motion of the actor's virtual bone structure.
Once system 100 is set up, actor 114 can perform a series of movements. The support structures 110 allow the marks 112 to have a substantially fixed relationship with actor 114 and to each other. In some embodiments, when actor 114 moves, the marks 112 follow the movement substantially as though the marks 112 were rigidly attached to points on actor 114.
The movements of the marks 112 on the support structures 110 are then captured by the cameras 120, and digitally recorded in storage medium 122. The recorded data then may be processed by computer 124 using a motion capture program.
As discussed earlier, FIG. 2 shows a flow chart that illustrates an example of the method 200 for processing frames of motion capture data to derive the orientation of an object's virtual bone structure. Combining the processed frames generates information associated with the tracked movement of the object's bone structure from frame to frame.
FIG. 3 shows a flow chart that illustrates an example of a method 300 of calculating the position of each virtual structure associated with each support structure in a frame. As shown in FIG. 3, a method 300 begins in 310 where a camera view is selected. The camera view has a 3D position in space which is either known by the motion capture program or determined based the position of marks recorded by the camera and information associated with the marks as discussed above.
Once a camera view has been selected, a support structure is selected from the camera view in 312 by selecting the visible marks that represent the support structure in the camera view. In 314, ray traces are extended from the camera view through the marks which are visible in the camera view.
For example, if two marks on a support structure can be seen in a camera view (which is determined by the camera's properties, such as position, field of view, and orientation), then a first ray is extended from the camera view through the first mark, while a second ray is extended from the camera view through the second mark. Once the rays have been extended, geometric, or perspective, projection data for each ray is determined and recorded in 316.
Following this, method 300 determines in 318 if additional support structures in the camera view remain to be considered. For example, additional support structures may remain if any marks have not been processed yet. If additional support structures remain to be considered, method 300 returns to 312 to select another support structure from the camera view by selecting the visible marks that represent the support structure in the camera view. This process continues until all of the support structures in the camera view have been considered.
When no more support structures in the camera view remain to be considered, method 300 moves to 320 to determine if additional camera views remain to be considered in the frame. If additional camera views remain to be considered, method 300 returns to 310 to select another camera view. This process continues until all of the camera views in the frame have been considered.
When no more camera views in the frame remain to be considered, method 300 moves to 322 to calculate the 3D positions of the virtual bone structure as described in association with FIG. 2. Additionally, in some embodiments, the 3D positions of the bone structure associated with a support structure can be determined using conventional geometric solvers that utilize as inputs the geometric projection data of the rays, the 3D positions of the camera views, the geometry of the support structure, and the fixed spacing relationship that exists between the marks on the support structure.
Returning to FIG. 2, the 3D position of a support structure, and thus a virtual structure, can be calculated from the positions of the visible marks on the support structure.
For example, the 3D position of a rigid support structure can be determined if three rays pass through three different visible marks. In this case, the 3D positions of the three different visible marks can be determined due to the fixed spacing relationship that exists between the marks.
Since the 3D positions of three different marks are known, the 3D position of the support structure is fixed in space and can therefore be calculated. Further, the 3D position of each remaining (non-visible) mark on the support structure can also be determined based on the substantially fixed spacing relationship that exists between the marks.
In some embodiments, the 3D position of a rigid support structure may not be determined if only two rays pass through two different visible marks. In this case, the 3D positions of the two different visible marks can be determined due to the fixed spacing relationship, but the two different visible marks do not allow the position of the support structure to be fixed in space.
However, an estimate of the 3D position of the support structure can be calculated because the 3D positions of the two different marks bound the support structure to lie within a limited range of 3D positions. To increase the accuracy of the estimation, past motion data, which further limits or constrains the 3D position of the support structure, can also be used.
In some embodiments, if one ray passes through a single mark that is associated with a rigid support structure, there may be insufficient data to determine the 3D position of the single mark. However, when utilized with motion models and position data of other support structures, estimates of the 3D position can be made.
In some situations, the 3D position of a semi-rigid support structure cannot be determined if three rays pass through three different visible marks, however, an estimate of the 3D position can be made. In this case, both the fixed spacing relationship that exists between the marks is known, and the stiffness, or rigidity, of the support structure is known. As a result, the maximum amount of flex, compression, and stretch that can occur between adjacent marks is limited and can be modeled.
As before, less information may be available when only two rays pass through two different visible marks on a semi-rigid support structure, or one ray passes through one visible mark a semi-rigid support structure. However, as before, estimates can be made of the 3D location of the support structure in both of these cases.
With respect to the substantially fixed spacing relationship that exists between the marks on the support structure, the spacing relationship can be known a-priori, unknown a-priori, or a combination thereof. If the mark-to-mark spacing is not known ahead of time, the spacing can be estimated during processing using multiple recordings of the marks and information associated with the marks because the mark-to-mark spacing is substantially fixed.
The system 100 can use the above described methods to determine the 3D position of the marks instead of using triangulation, which may depend upon two cameras recording the same mark at the same time. The above described methods may decrease the number of cameras required to determine a 3D position of a mark because the determination may only require one camera to record the mark.
Referring again to FIG. 2, when the virtual structure is a skeleton, method 200 calculates the 3D position of the skeleton in the first frame by calculating the 3D position of each bone in the first frame. The 3D position of a bone in the first frame is calculated using the 3D positions of the support structures associated with the bone, as shown in step 210, along with knowledge of the length and orientation of the bone with respect to the support structures, which may be accessed as shown in optional step 208.
For example, if the 3D position of a rigid support structure formed around an elbow has been calculated, and the 3D position of a rigid support structure formed around a wrist has been calculated, then the 3D position of the bone that lies between the elbow and the wrist can also be calculated using only the orientation of the bone with respect to the elbow and wrist support structures.
In other embodiments, when an estimate of the 3D position of a rigid or semi-rigid support structure formed around an elbow has been calculated, and an estimate of the 3D position of a rigid or semi-rigid support structure formed around a wrist has been calculated, then knowledge of the length and orientation of the bone with respect to the elbow and wrist support structures may allow an estimate of the 3D position of the bone that lies between the elbow and the wrist to be calculated.
Once a 3D position of the virtual structure in the first frame has been calculated, method 200 repeats to calculate a 3D position of the virtual structure in a second frame. To calculate the 3D position of a support structure in the second frame, the 3D positions of the virtual structure can be tracked from the first frame to the second frame. Thus, method 200 can track the movement of the virtual structure from frame to frame which, when associated with a virtual skeleton, can define the movement of the skeleton from frame to frame.
FIG. 4 shows a flow chart that illustrates an example of a method 400 of tracking each visible mark from a first frame to a second frame. As shown in FIG. 4, method 400 begins in 410 where a visible mark is selected as a selected mark. Next, in 412, a prior frame to a first frame motion vector for the selected mark in the first frame is calculated.
Following this, in 414, a position of the selected mark in the second frame is estimated based on the motion vector associated with the mark. Optionally, method 400 can also use motion model data to calculate an estimate, or verify the estimate. For example, if motion model studies indicate that an arm cannot move any further in a particular direction, then the estimate can be adjusted to ignore contradictory data and/or adjust the solution globally to best fit the known limits.
A motion model can describe how each of the joints of an actor can move correlated with other joints. For example, if the actor is standing in a position and an arm is moving up, chances are the arm in the next frame is going to be in one of a limited number of positions. As a result, a limit can be put on the range of relative movement between joints and/or limbs.
In 416, a region in space associated with the selected mark is searched to find the selected mark in the second frame, based on the estimated position associated with the mark, to identify the selected mark in the second frame. When the position and motion vector of a mark is known, and any motion model limits are known, then the location of the mark in the second frame can be estimated. As a result, the search can be limited to an area where the mark is expected to be located.
In addition, if another actor in the next frame walks in front of the marks on a support structure so that nothing is seen, then the observations can be thrown out. In this case, the position and motion vector of the marks on a support structure, along with motion model data which constrains the movement (e.g., an arm cannot whip from one extreme to another extreme in a single time frame), can be used to generate an estimate of the 3D position of the occluded mark in the next frame.
Method 400 is performed for each visible mark on each support structure in the first frame. Once each visible mark in the first frame has been tracked and identified in the second frame, the 3D position of each support structure can be calculated in the second frame in the same manner as described above.
Once a 3D position of the virtual structure in the second frame has been calculated, the motion capture system may determine if the movement of the virtual structure (e.g., the skeleton) from the first frame to the second frame is unnatural (e.g., does not satisfy the motion model).
If the movement of the underlying structure is natural, then a position of the virtual structure may be calculated for a third frame, and continues on in the manner described above. On the other hand, if the movement of the virtual structure is unnatural, then method the motion model may be used to provide a more reasonable estimate.
For example, assume that after a first pass, the location of a mark is wrong because it is off by one mark such that at the end the skeleton does not fit the motion model very well, or fits well in one region but not in another. In this case, the process is repeated for the region that does not fit the motion model very well.
Further, once a sequence has been reconstructed, the motion model can also be used to clean up errors. By going backward and forward in time, the frames can be viewed as a sequence to verify that the individual accelerations make sense as a sequence. For example, jittering and other less noticeable errors can be addressed.
Referring again to FIG. 1, as noted above, any number of marks 112 can be fully seen in a camera view of a support structure 110. The advantage of seeing more than one mark 112 in a camera view of a support structure 110 is that there is an increased likelihood that the camera will have a clear view of at least one of the marks 112. However, if too many marks 112 can be seen in a camera view (e.g., more than four marks 112 visible in a camera view), then tracking errors may be more difficult to identify.
For example, assume that a camera can see a single mark 112, and the single mark 112 is known to be attached to a leg. When the single mark 112 is tracked from one frame to the next, if the leg mark 112 in a current frame is mistakenly identified in the next frame, the leg will incorrectly turn by almost by 90°, an easy mistake to identify.
On the other hand, if five or six marks 112 can be seen in a view and the leg mark 112 in a current frame is mistakenly identified in the next frame, then rather than being off by nearly 90° as is the case with a single mark 112, a much smaller error is present. As a result, the number of marks 112 that can be seen in a view preferably provides a degree of exposure of each support structure 110 so that a mismatch in the tracking would be easily exposed during reconstruction.
For example, two-to-three marks 112 per camera view of a support structure 110 increases the likelihood of clearly seeing one of the marks 112, along with the property that it is possible to be confused when tracking marks 112 from one frame to the next, but when confusion is present (the wrong mark 112 is a second frame is identified as the corresponding mark 112 from the first frame), the error is quite noticeable and can be easily detected post process.
The support structure 110 placed around the waist may differ from the other support structures in that many more than three marks 112 can be seen from any camera position. The waist, however, is a unique area which is unlikely to be confused with something else. There is only one waist and the support structure 110 formed around the waist is also a much different size, unlike the arms and legs which are somewhat similar in size.
In some embodiments, only one camera is needed to record images of a person's motion at high speed while the positions of the marks 112 on the support structures 110 in each image are tracked. When less than three marks on a support structure are visible in a frame, the 3D position of the support structure 110 can be estimated, which in turn drives an estimate of where the underlying skeleton must be.
Even when no individual support structure 110 can be estimated precisely, there are usually enough observations to uniquely recover the underlying skeleton to which they are all attached. When the skeleton cannot be uniquely determined, statistics can be used on the person's motion (derived from motion studies) to choose the most likely position for the under constrained portions.
The described embodiments may provide resistance to occlusion with a fraction of the cameras (e.g., 20) required by a conventional motion capture system, which may have two cameras tracking every dot during a frame. The reduction in cameras may reduce the costs of collecting and processing the motion data.
For example, assume that two cameras are used, and a second actor walks in front of a first camera, completely blocking the first camera's view of the first actor. Using the system 100, the 3D position of a support structure 110 can be calculated based on the data captured from the second camera. Further, the system 100 may not need to see every mark 112 all of the time. Using a substantially fixed spacing relationship, when the position of one or more marks 112 is determined, the position of the support structure 110 can be determined or estimated.
The method may use fewer cameras than traditional techniques, and need only use one. Each camera view can add more information about the entire structure. Thus, if a support structure 110 is treated as a unified object, and it can be seen from one view, then an estimate of its position can be made.
In some implementations, the system 100 works under a variety of lighting conditions, which may include complete darkness. In particular, it may allow high-fidelity motion to be captured outdoors or in bright lighting as is typically found on a film set during principal film photography.
FIG. 5 is a block diagram of a general computer system 500. The computer system 500 can be used in the operations described above, according to one embodiment. For example, the system 500 may be included in any or all of the computer 122 and the storage medium 122.
The system 500 includes a processor 510, a memory 520, a storage device 530 and an input/output device 540. Each of the components 510, 520, 530 and 540 are interconnected using a system bus 550. The processor 510 is capable of processing instructions for execution within the system 500. In one embodiment, the processor 510 is a single-threaded processor. In another embodiment, the processor 510 is a multi-threaded processor. The processor 510 is capable of processing instructions stored in the memory 520 or on the storage device 530 to display graphical information for a user interface on the input/output device 540.
The memory 520 stores information within the system 500. In one embodiment, the memory 520 is a computer-readable medium. In one embodiment, the memory 520 is a volatile memory unit. In another embodiment, the memory 520 is a non-volatile memory unit.
The storage device 530 is capable of providing mass storage for the system 500. In one embodiment, the storage device 530 is a computer-readable medium. In various different embodiments, the storage device 530 may be a floppy disk device, a hard disk device, an optical disk device, or a tape device.
The input/output device 540 provides input/output operations for the system 500. In one embodiment, the input/output device 540 includes a keyboard and/or pointing device.
Various embodiments can be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Apparatus can be implemented in a computer program product tangibly embodied in an information carrier, e.g., in a machine-readable storage device or in a propagated signal, for execution by a programmable processor; and method steps of the various embodiments can be performed by a programmable processor executing a program of instructions to perform functions of the various embodiments by operating on input data and generating output. The embodiments can be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that can be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer will also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
To provide for interaction with a user, various embodiments can be implemented on a computer having a display device such as a CRT (cathode ray tube) or LCD (liquid crystal display) monitor for displaying information to the user and a keyboard and a pointing device such as a mouse or a trackball by which the user can provide input to the computer.
The various embodiments can be implemented in a computer system that includes a back-end component, such as a data server, or that includes a middleware component, such as an application server, such as the first and second systems 102, 104, or an Internet server, or that includes a front-end component, such as a client computer having the UI 200 or an Internet browser, such as the browser 306, or any combination of them. The components of the system can be connected by any form or medium of digital data communication such as a communication network. Examples of communication networks include, e.g., a LAN, a WAN, and the computers and networks forming the Internet.
The computer system can include clients and servers. A client and server are generally remote from each other and typically interact through a network, such as the described one. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
A number of embodiments have been described. Nevertheless, it will be understood that various modifications may be made without departing from the spirit and scope of the described embodiments. For example, the support structures do not need to be attached over a body suit, but may be directly fitted to an actor or other underlying object. In some embodiments, the marks also can be attached directly to the underlying object, for example, when the underlying object is a body suit worn by the actor.
Also, the methods 200 and 300 are for illustrative purposes. The marks on a particular support structure do not necessarily need to be processed before moving to a different support structure. The marks may be processed in an order which processes marks irrespective of the support structure to which the marks belong. Similarly, marks captured by different cameras may be processed in an order not dependent upon a particular camera view. For example, a first mark from a first camera view may be processed and then a second mark from a second camera view may be processed.
Additionally, the methods illustrated in FIGS. 2-4 may be performed sequentially, in parallel or in an order other than that which is described. It should be appreciated that not all of the techniques described are required to be performed, that additional techniques may be added, and that some of the illustrated techniques may be substituted with other techniques.
Also, in some embodiments, additional processing may occur when the ray traces are aligned with the known configuration of marks. For example, a smoothing process may be used in step 210. The smoothing calculation may calculate a second derivative of the curve of a joint angle. The second derivative may be included in error calculations used to determine the alignment of the marks with the ray traces. If the curve is noisy, the second derivative will be large. If the curve is smooth, the second derivative will be small. The alignment may fit the data using the second derivative to select a position estimate for the virtual structure that results in a smoother curve.
In yet other embodiments, the virtual structures can include geometrical axes. For example, if an object without bones is captured, the virtual structure may consist of axes within the object space occupied by the object.
Additionally, in some embodiments, the object to be captured is not a human actor, but is another animal, such as a dog, a fish, a bird, or snake. Accordingly, other embodiments are within the scope of the following claims.

## Claims

1. A computer-implemented method comprising:
accessing positional and orientation relationships between multiple support structures and respective virtual structures that correspond to body parts of an actor, the actor to be tracked over multiple frames of image data, the frames comprising one or more camera views, wherein each support structure is positioned on the corresponding body part of the actor and includes a plurality of marks, wherein the support structures have sufficient rigidity that the marks on each support structures maintain substantially fixed distances from each other on the support structure in response to movement by the actor;
obtaining at least one frame of the actor to be tracked and processing each of the at least one frame, wherein processing a frame comprises:
selecting a camera view of the frame;
identifying one or more marks in the selected camera view corresponding to at least one support structure;
accessing information of a motion model for the actor, the information comprising at least constraints on a plurality of the virtual structures;
determining, by a computer system, an effective quantity of ray traces between the selected camera view and the one or more identified marks on the identified at least one support structure;
calculating geometric projection data of the effective quantity of ray traces, wherein the geometric projection data includes extensions from a camera producing the selected camera view through the identified one or more marks on the identified at least one support structure, the marks being visible to the camera; and
estimating, by an optimizing algorithm implemented on the computer system, a position and an orientation of at least one of the virtual structures by using the geometric projection data of the ray traces and constraints from the motion model to align the determined effective quantity of ray traces with a known configuration of marks on the identified at least one support structure; and

encoding, by the computer system on a non-transitory computer-readable medium, the estimated position and orientation of the at least one of the virtual structures.

2. The method of claim 1, wherein the body parts of the actor comprise a torso, an arm or a leg of the actor.

3. The method of claim 1, wherein an effective quantity of ray traces comprises at least two ray traces, wherein a first ray trace is between one camera view and a first mark on a first support structure and a second ray trace is between the same or a different camera view and a second mark on a second support structure.

4. The method of claim 1, wherein the estimating of the position and orientation of the at least one of the virtual structures uses a smoothing algorithm to select the alignment.

5. The method of claim 1, wherein the generating of the positional relationships comprises relating a geometric center of each support structure with a geometric center of an associated virtual structure.

6. The method of claim 5, further comprising accepting user input identifying the support structures with corresponding body parts of the actor.

7. The method of claim 1, wherein the motion model for the actor comprises a range of motions for the actor and a physical structure of the actor.

8. The method of claim 7, wherein an effective quantity of ray traces comprises a single ray trace between a single mark and a single camera view when the single ray trace is further constrained by the motion model during the alignment when estimating the position and orientation of the at least one of the virtual structures.

9. The method of claim 1, wherein the estimating of the position and orientation of the at least one of the virtual structures comprises estimating a position and orientation of a first virtual structure when a support structure associated with the first virtual structure is at least partially obscured from the one or more camera views by deriving a probable position and orientation of the first virtual structure based on the motion model.

10. The method of claim 1, further comprising determining the substantially fixed distances between the marks on each support structure using one or more recordings captured from the one or more camera views to derive the distances, and wherein the configuration of the marks used in the alignment comprises the distance between the marks.

11. The method of claim 1, further comprising accepting input defining the substantially fixed distances between the marks on each support structure, and wherein the configuration of the marks used in the alignment comprises the distance between the marks.

12. The method of claim 1, wherein the estimating of the position and orientation of the at least one of the virtual structures comprises estimating a position and orientation of a first virtual structure when a support structure associated with the first virtual structure is at least partially obscured from the one or more camera views by deriving a probable orientation of the first virtual structure based on an orientation of a second virtual structure associated with a second support structure that is visible from the one or more camera views.

13. The method of claim 1, wherein the estimating of the position and orientation of the at least one of the virtual structures comprises estimating a position and orientation of a first virtual structure when a first support structure associated with the first virtual structure is at least partially obscured by using past or future orientations of the first virtual structure, wherein the past or future first virtual structure orientations are estimated by aligning an effective quantity of ray traces between one or more camera views and one or more marks on the first support structure at a past or future time period when the first support structure is visible from the camera views with the known configuration of marks on the visible first support structure.

14. A system comprising:
multiple support structures configured to be positioned on an actor whose motion is to be tracked over multiple frames of image data obtained by one or more cameras, the frames comprising one or more camera views, wherein each support structure includes a plurality of marks such that, when positioned on the actor around a corresponding body part of the actor, fewer than all the marks on the support structure are visible within a single camera view of the one or more camera views, is of sufficient rigidity such that the marks on the support structure maintain substantially fixed distances from each other on the support structure in response to movement by the actor, and has a positional and orientation relationship to a respective virtual structure generated for the corresponding body part of the actor;
a computing system comprising at least the following communicatively linked components, the components being implemented either in hardware or software:
an interface configured at least to receive recordings from the one or more cameras, wherein the recordings comprise multiple frames of image data of the actor, to select a camera view of each frame, to identify one or more marks in the selected camera view corresponding to at least one support structure, to access the positional and orientation relationship between each support structure and the respective virtual structure, and to access information in a motion model for the actor;
a ray tracer configured at least to generate an effective quantity of ray traces between the selected camera view and the identified one or more marks on the identified at least one support structure, and to calculate geometric projection data of the ray traces, wherein the geometric projection data includes extensions from the camera producing the selected camera view through the identified one or more marks on the identified at least one support structure, the marks being visible to the camera; and
an orientation estimator configured at least to estimate a position and an orientation of at least one of the virtual structures generated for the body parts by applying an optimizing algorithm with the geometric projection data of the ray traces and constraints from the motion model to align the effective quantity of ray traces with a known configuration of marks on the identified at least one support structure.

15. The system of claim 14, wherein, for each band of the multiple bands, the plurality of marks are positioned in alternating regions of the band that alternate between black and white, or between different colors.

16. The system of claim 15, wherein an alternating region of the band has a single mark.

17. The system of claim 14, wherein, for each of the multiple bands, the plurality of marks comprises one or more shapes.

18. The system of claim 14, wherein, for each band of the multiple bands, the plurality of marks is evenly spaced apart on the band.

19. The system of claim 14, wherein, for each of the multiple bands, one or more of the plurality of marks has a uniquely identifiable characteristic.

20. The system of claim 14, wherein the body parts of the actor comprise a torso, an arm or a leg of the actor.

21. The system of claim 14, wherein an effective quantity of ray traces comprises at least two ray traces, wherein a first ray trace is between one camera view and a first mark on a first band and a second ray trace is between the same or a different camera view and a second mark on a second band.

22. The system of claim 14, wherein the orientation estimator estimates the orientation of the at least one of the virtual structures by using a smoothing algorithm to select the alignment.

23. The system of claim 14, wherein the orientation estimator estimates the orientation of the at least one of the virtual structures by estimating an orientation of a first virtual structure when a band associated with the first virtual structure is at least partially obscured from the one or more camera views, the orientation of the first virtual structure being estimated by deriving a probable orientation of the first virtual structure based on an orientation of a second virtual structure associated with a second band that is visible from the one or more camera views.

24. The system of claim 14, wherein the orientation estimator estimates the orientation of the at least one of the virtual structures by estimating an orientation of a first virtual structure when a first band associated with the first virtual structure is at least partially obscured based on past or future orientations of the first virtual structure, wherein the past or future first virtual structure orientations are estimated by aligning an effective quantity of ray traces between one or more camera views and one or more marks on the first band at a past or future time period when the first band is visible from the camera views with the known configuration of marks on the visible first band.

25. The method of claim 1, wherein, for each support structure of the multiple support structures, the plurality of marks are positioned in alternating regions of the support structure that alternate between black and white, or between different colors.

26. The method of claim 25, wherein an alternating region of the support structure has a single mark.

27. The method of claim 1, wherein, for each of the multiple support structures, the plurality of marks comprises one or more shapes.

28. The method of claim 1, wherein, for each support structure of the multiple support structures, the plurality of marks is evenly spaced apart on the support structure.

29. The method of claim 1, wherein, for each of the multiple support structures, one or more of the plurality of marks has a uniquely identifiable characteristic.

30. The method of claim 1, further comprising:
obtaining a frame of motion capture data, wherein the frame includes a plurality of camera views of the actor to be tracked and wherein the operations of processing the frame are applied to all camera views.

31. The method of claim 1, wherein calculating geometric projection data of the ray traces includes using visual properties of the camera, the properties including location, tilt, field of view, lens distortion and orientation.

32. The method of claim 1 wherein the motion model comprises at least one constraint limiting possible relative virtual locations of at least two virtual structures; and
using the at least one constraint by the optimizing algorithm.

33. The system of claim 14, wherein:
the interface is configured to receive a frame of motion capture data, wherein the frame includes a plurality of camera views of the actor to be tracked and
for each of the plurality of camera views within the frame, the ray tracer is configured to identify the support structures visible in the camera view and for each identified support structure to perform the generation of an effective quantity of ray traces, and the calculation of the geometric projection data of the effective quantity of ray traces, and
the orientation estimator is configured to estimate the orientation of the virtual structure associated with the support structure.

34. The method of claim 1, further comprising:
obtaining a plurality of frames of motion capture data, wherein each frame includes one or more camera views of the actor to be tracked, and processing each frame.

35. The method of claim 1 wherein at least one support structure is a band.

36. The system of claim 14, wherein the positional relationship between each support structure the respective virtual structure relates a geometric center of the support structure with a geometric center of the respective virtual structure.

37. The system of claim 14 wherein the interface is configured to accept user input identifying the support structures with corresponding body parts of the actor.

38. The system of claim 14, wherein the interface is configured to accept input defining the substantially fixed distances between the marks on each support structure, and wherein the configuration of the marks used in the alignment comprises the distance between the marks.

39. The system of claim 14, wherein the motion model for the actor comprises range of motions for the actor and a physical structure of the actor.

40. The system of 14, wherein the effective quantity of ray traces comprises a single ray trace between a single mark and a single camera view when the single ray trace is further constrained by the motion model during the alignment when estimating the position and orientation of the at least one of the virtual structures.

41. The system of claim 14 wherein the orientation estimator is configured to estimate the position and orientation of the at least one of the virtual structures by estimating a position and orientation of a first virtual structure when a support structure associated with the first virtual structure is at least partially obscured from the one or more camera views by deriving a probable position and orientation of the first virtual structure based on the motion model.

42. The system of claim 14, wherein the orientation estimator is configured to estimate the position and orientation of the at least one of the virtual structures by estimating a position and orientation of a first virtual structure when a support structure associated with the first virtual structure is at least partially obscured from the one or more camera views by deriving a probable position and orientation of the first virtual structure based on a position and orientation of a second virtual structure associated with a second support structure that is visible from the one or more camera views.

43. The system of claim 14, wherein calculating geometric projection data of the ray traces includes using visual properties of the camera, the properties including location, tilt, field of view, lens distortion and orientation.

44. The system of claim 14 wherein the motion model comprises at least one constraint limiting possible relative virtual locations of at least two virtual structures; and using the at least one constraint by the optimizing algorithm.

45. The system of claim 14 wherein at least one support structure is a band.

46. The system of claim 14 wherein the marks affixed on at least one support structure are such that, when the support structure is placed around any one of the body parts of the actor, fewer than all the marks on the support structure are visible within a single camera view.