Let ,
. All training angles
for the arm will be placed in a matrix
, where each row
corresponds to an example image.
is the angle between
and
(i.e the
angle of the forearm relative to the angle the upper arm segment):
.
is the absolute angle of the upper arm
segment:
. Additional example images for the arm are
added as additional rows.
The following treatment shows the math for the forearm; the upper arm is treated in the same way.
The example images and dense correspondence are converted to image lists to make correspondences explicit. Each image point from the forearm in image 1 is represented as a vector p=[x,y,1,r,g,b]T, expressing the image position and the texture value of the point. These points are combined into a matrix: P=[ p1, p2, p3, ... ]. The corresponding points are placed in another matrix: Q=[ q1, q2, q3, ... ]. The matrices are ordered so that pi in image 1 corresponds to qi in image 2.
For each segment, we first align the examples. Let T be a
transformation that aligns the forearm in image 2 to the forearm in
image 1: ,
)In other
words, the two elbows coincide and the fists point in the same
direction.
Let be Q' be the Q aligned:
where
(S is the shape component of Q and X is the texture).
Any additional example images will be aligned to the same axis.
P and Q are now used as training data for an RBF. Let and
be the vectorized forms of P and Q (
. The RBF training equation is
where ,
. This last term
quantifies the distances between the parameters values between the two
images:
as defined above.
The difference between two scalar angle values must be computed with respect
to cycles; we define
.
denotes the L2-norm (Euclidean distance).
We use
(a linear RBF). Additional example images are
rectified as above and added as
extra rows to the training matrices (
and D.)
We solve for the coefficients with
The two body segments use the same training parameters .In general, each link in the chain should use training parameters
corresponding to it's relative orientation, as well as the orientation
of any connected links.