You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
On Thu, Aug 13, 2020 at 6:34 AM ChernyshevDS ***@***.***> wrote:
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?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#22>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFXPDOXTS7CQROVR6P7IILSAPTWVANCNFSM4P6NRJAA>
.
Looking at
ph_image_digest
function, I've discovered the following line:It seems for me, that this line doesn't do anything, because
graysc.max()
returns scalar value, andoperator/(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?
The text was updated successfully, but these errors were encountered: