Return 2 x 3 projection matrix based on viewing from angle (a,b) More...
Go to the source code of this file.
Functions | |
vnl_matrix< double > | m23d_make_ortho_projection (double Ax, double Ay, double Az) |
Return 2 x 3 projection matrix based on viewing from angle (Ax,Ay,Az). | |
vnl_matrix< double > | m23d_make_ortho_projection (vnl_random &r, unsigned ns, unsigned nm=0, bool first_is_identity=false, bool basis_true=false) |
Return projection matrix combination for ns shapes, nm modes. |
Return 2 x 3 projection matrix based on viewing from angle (a,b)
Definition in file m23d_make_ortho_projection.h.
vnl_matrix<double> m23d_make_ortho_projection | ( | double | Ax, |
double | Ay, | ||
double | Az | ||
) |
Return 2 x 3 projection matrix based on viewing from angle (Ax,Ay,Az).
If Ax=Ay=Az, then returns matrix (I|0)
Definition at line 11 of file m23d_make_ortho_projection.cxx.
vnl_matrix<double> m23d_make_ortho_projection | ( | vnl_random & | r, |
unsigned | ns, | ||
unsigned | nm = 0 , |
||
bool | first_is_identity = false , |
||
bool | basis_true = false |
||
) |
Return projection matrix combination for ns shapes, nm modes.
Matrix is 2*ns x 3*(1+nm) in size The i,j-th sub matrix of size 2x3 corresponds to w_ij * P_i, where P_i is a projection matrix for shape i, and w_ij is the weight for the j-th shape basis.
first_is_identity | When true, projection for first shape is scaled identity |
basis_true | When true, w_ij=(i==j) if i<=nm (ie first shapes define a basis) |
Definition at line 18 of file m23d_make_ortho_projection.cxx.