Skip to content

Feature request: set scale_weights in CLI #121

@homm

Description

@homm

In my understanding this is a key parameter which should not be hardcoded, since it mostly depends on how the image is showed to the user. At least I believe scale_weights should be different for 2x and 1x images.

The possible syntax:

dssim --weights 0.028,0.197,0.322,0.298,0.155 file.png modified1.png

As a bonus, this unleashes the easy way to turn multiple-resolution comparison to single-resolution just by defining --weights 1.

By the way I'm wondering how the current DEFAULT_WEIGHTS was chosen. There is a comment in the code: "inspired by the IW-SSIM, but details of the algorithm and weights are different" but without details.

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