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
Thanks for the released code. I've been having fun playing around with your code.
Since I just recently studied about color constancy, I have a (probably stupid )problem about the visualization of corrected image.
Here what I do not understand about is that why do we need this * tf.reduce_mean(illums_pooled...)? I surveyed several papers and I couldn't find the white-balancing formula about this.
The text was updated successfully, but these errors were encountered:
You can consider tf.reduce_mean(illums_pooled, axis=(1), keep_dims=True)[:, None, None, :]/llums_pooled[:, None, None, :] together. This normalizes the illumination estimation and makes sure the output image is not too dark/bright.
Note that color constancy cares about only color but not about brightness.
Hi Yuanming,
Thanks for the released code. I've been having fun playing around with your code.
Since I just recently studied about color constancy, I have a (probably stupid )problem about the visualization of corrected image.
The corrected image is rendered as follows:
Here what I do not understand about is that why do we need this
* tf.reduce_mean(illums_pooled...)
? I surveyed several papers and I couldn't find the white-balancing formula about this.The text was updated successfully, but these errors were encountered: