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
Meanshift assumes 3 channels and so the code needs to be re-written for 1 channel? Also, the default RGB mean values are around 0.4 for each channel. This seems to indicate that data should be in the range 0-1. However, from the code, it seems that the data is in the range of 0-255. If so, then how are the means so small?
The text was updated successfully, but these errors were encountered:
I think it should be: out = (in - mean * 255) / sigma, according to author's codes, if input images are at 0 ~ 255. So the final range is -(mean * 255) ~ +(255 - mean * 255), roughly at -127~+127.
On Thu, 26 Mar 2020 at 07:02, haodejun ***@***.***> wrote:
I think it should be: out = (in - mean * 255) / sigma, according to
author's codes, if input images are at 0255. So the final range is -(mean
* 255) ~ +(255 - mean * 255), roughly at -127+127.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#257 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTJUXLRP7BXSEILUGW3I3LRJMY3DANCNFSM4LTEUWHQ>
.
Meanshift assumes 3 channels and so the code needs to be re-written for 1 channel? Also, the default RGB mean values are around 0.4 for each channel. This seems to indicate that data should be in the range 0-1. However, from the code, it seems that the data is in the range of 0-255. If so, then how are the means so small?
The text was updated successfully, but these errors were encountered: