Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Why np.std(x) is the expected reciprocal of the scale factor? #1

@niebayes

Description

@niebayes

The np.std() function computes the standard deviation over all the entries of the flattened matrix. So for instance, given an array a = np.array([[1,2],[3,4],[5,6]]), the std is computed over the 6 entries rather than the 3 points.

I think this line of code in the DLTcalib() function is the correct template to compute the mean distance: err = np.sqrt(np.mean(np.sum((uv2[0:2, :].T - uv)**2, 1)).

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