A method of registering and modeling a deformable shape in a digitized image is provided, comprising the steps of providing a measurement matrix W of N measurements of P points of a D-dimensional deformable shape, determining a basis number K for the N measurements, wherein K<N, and selecting K measurements of said measurement matrix W as a basis set, decomposing said measurement matrix W into a matrix product M×∃B, wherein M is a proposed scaled rotation matrix and B is a proposed basis matrix, computing a matrix Qk defined byMiQkMjT={ID×D,i=j=k0D×D,(i,j)∈Φ,where Φ stands for {(i, j)|i=1, . . . , K; j=1, . . . , N, iγk}, which represents an ambiguity matrix transforming the proposed scaled rotation matrix and the proposed basis matrix into a true scaled rotation matrix and a true basis matrix; decomposing the matrix Qk into gkgkT, for k=1, . . . , K, wherein gk is a column of a D∃K%D∃K matrix G; and recovering the true scaled rotation matrix from M×∃G and the true basis matrix from G−1×∃B.