Skip to content

Radial hash ignores gamma parameter? #22

@ChernyshevDS

Description

@ChernyshevDS

Looking at ph_image_digest function, I've discovered the following line:

(graysc / graysc.max()).pow(gamma);

It seems for me, that this line doesn't do anything, because graysc.max() returns scalar value, and operator/(const T value) returns new image instance. pow method is called on that instance, but it doesn't make any difference, because the result is not assigned anywhere.
Am I missing something there?

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