Given the equation of perspective projection of a set of 3D points in an image:
lambda_ij * x_ij = P_i * X_j;
how can one estimate the optimal values of lambda matrix using linear least squares given that:
x_ij is 3 by n matrix
P_i is 3 by 4 matrix
and
X_j is 4 by n matrix.
optional: for each element lambda_i in lambda:
-1 <= lambda_i <= 1
EDIT:
What I mean by optimal is any values of lambda_ij beteween -1 and 1.
What I have in entry is the image points x_ij of size 3 x n
, the 3D points X_j of size 4 x n
and the projection matrices P_i of size 3 x 4 x m
and. The objective is to compute lambda_ij of size 1 x n x m
that best minmize the above least-squares