yuanming-hu / exposure

Learning infinite-resolution image processing with GAN and RL from unpaired image datasets, using a differentiable photo editing model.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tonefilter部分理解问题

vissac opened this issue · comments

你好,我在阅读tonefilter部分代码时候有一点疑问,就按照原定的8阶tone_curve为例,将原始图像按照亮度分级为8级对应为Ri, 输出结果Rio = (Ri * lut[i] + sum(j=0-i)(lut[j] * 1 / 8)) * 8 / lut_sum, 感觉这样的公式有点奇怪,Ri-1中最大值和Ri中的最小值的输出应该是连续的更为合理?

之前算错了,是连续的