Skip to content

improve ksvd efficiency #103

Description

@sutkss

Issue Description

The result of KSVD algorithm may contain atoms which has 0 coefficient for all samples.
The cause is due to:
https://github.com/hacarus/spm-image/blob/development/spmimage/decomposition/ksvd.py#L88-L89

Replace such all 0 coef atoms with right-singular vectors of SVD for error Y - WH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions