Method for region tracking in an image sequence using a two-dimensional mesh
First Claim
1. A method for tracking a first predetermined, two-dimensional portion of an image throughout a sequence of images, the method comprising the steps of:
- (a) selecting a reference frame;
(b) selecting the predetermined, two-dimensional portion within the reference frame by choosing a reference polygon having at least three comers that defines the boundary of the first predetermined region;
(c) fitting a reference mesh having corner nodes at the comers of the reference polygon and at least one inside node inside the reference polygon;
(d) predicting the reference polygon in subsequent or previous image frames by independently tracking the comers of the reference polygon;
(e1) dividing the reference polygon and the tracked polygon into a minimum number of triangles so that each triangle in the reference polygon respectively corresponds to a triangle in the tracked polygon;
(e2) finding parameters of affine transformation between each corresponding pair of triangles; and
(e3) mapping nodes in each triangle of the reference polygon into the respective triangle in the tracked polygon using the parameters of the corresponding affine transformation used for the triangle in which the node is located;
(f) refining locations of the inside and corner nodes of the corresponding mesh for tracking local and global motion of the first predetermined portion, wherein the steps (c) to (f) are implemented in a hierarchy of spatial resolutions;
(g) refining the location of boundary nodes on the reference mesh for tracking the local motion around the boundary of the first predetermined portion;
(h) tracking illumination changes that occurred between the reference frame and a previous or subsequent frame; and
(i) replacing the first predetermined portion with a second predetermined portion throughout a portion of the sequence of images so that the second predetermined portion undergoes the same global and local motion as the first predetermined portion;
wherein the corner, inside and boundary nodes divide the reference mesh into either triangular or rectangular patches or a combination of both triangular and rectangular patches;
wherein step (d) includes;
(d1) selecting a motion model for the corner nodes;
(d2) assigning a cost polygon to each corner node; and
(d3) estimating parameters of the motion model for each cost polygon and (d4) mapping the corner nodes with the estimated motion parameters.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for tracking a predetermined, two-dimensional portion of an image throughout a sequence of images, the method comprises the steps of selecting a reference frame; selecting the predetermined, two-dimensional portion within the reference frame by choosing a polygon that defines the boundary of the predetermined portion; fitting a reference mesh having at least three corner nodes and an inside node to the reference polygon; tracking the reference polygon in subsequent or previous image frames by tracking the corner nodes; mapping the reference mesh into the tracked polygon in the subsequent or previous image frames; and refining locations of the inside and corner nodes in the subsequent or previous image frames for tracking local and global motion of the predetermined portion.
-
Citations
13 Claims
-
1. A method for tracking a first predetermined, two-dimensional portion of an image throughout a sequence of images, the method comprising the steps of:
-
(a) selecting a reference frame; (b) selecting the predetermined, two-dimensional portion within the reference frame by choosing a reference polygon having at least three comers that defines the boundary of the first predetermined region; (c) fitting a reference mesh having corner nodes at the comers of the reference polygon and at least one inside node inside the reference polygon; (d) predicting the reference polygon in subsequent or previous image frames by independently tracking the comers of the reference polygon; (e1) dividing the reference polygon and the tracked polygon into a minimum number of triangles so that each triangle in the reference polygon respectively corresponds to a triangle in the tracked polygon; (e2) finding parameters of affine transformation between each corresponding pair of triangles; and (e3) mapping nodes in each triangle of the reference polygon into the respective triangle in the tracked polygon using the parameters of the corresponding affine transformation used for the triangle in which the node is located; (f) refining locations of the inside and corner nodes of the corresponding mesh for tracking local and global motion of the first predetermined portion, wherein the steps (c) to (f) are implemented in a hierarchy of spatial resolutions; (g) refining the location of boundary nodes on the reference mesh for tracking the local motion around the boundary of the first predetermined portion; (h) tracking illumination changes that occurred between the reference frame and a previous or subsequent frame; and (i) replacing the first predetermined portion with a second predetermined portion throughout a portion of the sequence of images so that the second predetermined portion undergoes the same global and local motion as the first predetermined portion;
wherein the corner, inside and boundary nodes divide the reference mesh into either triangular or rectangular patches or a combination of both triangular and rectangular patches;
wherein step (d) includes;
(d1) selecting a motion model for the corner nodes;
(d2) assigning a cost polygon to each corner node; and
(d3) estimating parameters of the motion model for each cost polygon and (d4) mapping the corner nodes with the estimated motion parameters. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An article of manufacture comprising:
a computer usable medium having computer readable program means embodied therein for causing tracking of a first predetermined, two-dimensional portion of an image throughout a sequence of images, the computer readable program code means in said article of manufacture comprising; (a) computer readable program means for causing the computer to effect selecting a reference frame; (b) computer readable program means for causing the computer to effect selecting the first predetermined, two-dimensional portion within the reference frame by choosing a reference polygon having at least three comers that defines the boundary of the first predetermined portion; (c) computer readable program means for causing the computer to effect fitting a reference mesh having corner nodes at the comers of the reference polygon and at least one inside the reference polygon; (d) computer readable program means for causing the computer to effect predicting the reference polygon in subsequent or previous image frames by independently tracking the corner of the reference polygon; (e) computer readable program means for dividing the reference polygon and the tracked polygon into a minimum number of triangles so that each triangle in the reference polygon respectively corresponds to a triangle in the tracked polygon;
for finding parameters of affine transformation between each corresponding pair of triangles; and
for mapping nodes in each triangle of the reference polygon into the respective triangle in the tracked polygon using the parameters of the corresponding affine transformation used for the triangle in which the node is located;(f) computer readable program means for causing the computer to effect refining locations of the inside and corner nodes of the corresponding mesh for tracking local and global motion of the first predetermined portion; (g) means for causing the computer to effect defining the location of boundary nodes on the reference mesh for tracking the local motion around the boundary of the predetermined portion; (h) means for causing the computer to effect tracking illumination changes that occurred between the reference frame and a previous or subsequent frame; (i) means for causing said (c), (d), (e) and (f) computer readable program means to be implemented in a hierarchy of spatial resolutions; (j) means for causing the computer to effect replacing the first predetermined portion with a second predetermined portion throughout a portion of the sequence of images so that the second predetermined portion undergoes the same global and local motion as the first predetermined portion, wherein the corner, inside and boundary nodes divide the reference mesh into either triangular or rectangular patches or a combination of both triangular and rectangular patches; and (k) means for selecting a motion model for the corner nodes;
for assigning a cost polygon to each corner node;
for estimating parameters of the motion model for each cost polygon; and
for mapping the corner nodes with the estimated motion parameters.- View Dependent Claims (8, 9, 10, 11, 12)
-
13. A method for tracking a first predetermined, two-dimensional portion of an image throughout a sequence of images, the method comprising the steps of:
-
(a) selecting a reference frame; (b) selecting the predetermined, two-dimensional portion within the reference frame by choosing a reference polygon having at least three corners that defines the boundary of the first predetermined region; (c) fitting a reference mesh having corner nodes at the corners of the reference polygon and at least one inside node inside the reference polygon; (d) predicting the reference polygon in subsequent or previous image frames by independently tracking the comers of the reference polygon; (e) predicting a corresponding mesh in the subsequent or previous image frames by mapping the reference mesh into the tracked polygon using a plurality of different affine transformations; (f) refining locations of the inside and corner nodes of the corresponding mesh for tracking local and global motion of the first predetermined portion;
wherein the steps (c) to (f) are implemented in a hierarchy of spatial resolutions;(g) refining the location of boundary nodes on the reference mesh for tracking the local motion around the boundary of the first predetermined portion; (h) tracking illumination changes that occurred between the reference frame and a previous or subsequent frame; (i) replacing the first predetermined portion with a second predetermined portion throughout a portion of the sequence of images so that the second predetermined portion undergoes the same global and local motion as the first predetermined portion;
wherein the corner, inside and boundary nodes divide the reference mesh into either triangular or rectangular patches or a combination of both triangular and rectangular patches; and
wherein step (d) includes;
(d1) selecting a motion model for the corner nodes;
(d2) assigning a cost polygon to each corner node; and
(d3) estimating parameters of the motion model for each cost polygon and (d4) mapping the corner nodes with the estimated motion parameters.
-
Specification