Skip to content

About translation matrix creation #1

@neosyon

Description

@neosyon

Dear josemanuelgp

I found your code really useful. However I have a question about the part where you calculate the translation matrix:

Instead of doing WX=Z -> W=transpose(pinv(X)Z)

DoubleMatrix pinverse_matrix = Solve.pinv(matrix_train_source);
DoubleMatrix translationMatrix = pinverse_matrix.mmul(matrix_train_target).transpose();

Why not directly do this: WX=Z -> W=Z pinv(X)

DoubleMatrix pinverse_matrix = Solve.pinv(matrix_train_source);
DoubleMatrix translationMatrix = matrix_train_target.mmul(pinverse_matrix);

I'm sure that I'm missing something, for that reason I ask you.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions