Skip to content

Using L2 Norm and a Masked image with complete transparency error's out #52

@Toufool

Description

@Toufool

calculating the error in L2 Norm gives an error of 0 when using a masked image with complete transparency which, when returning 1 - (error / max_error) in this function throws a ZeroDivisionError and AutoSplit won't reset properly after throwing the error. I'm honestly going to ignore this for now because I don't see a situation where comparing an image with complete transparency would be useful, and you can still use the other comparison methods if it's really needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions