timothybrooks / hdr-plus

HDR+ Implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guass Kernel normalization

galois-c opened this issue · comments

The sum of Gaussian kernel is 159, so it should divide 159 instead of 256 in line 57, right?

k(-2,-2) = 2; k(-1,-2) = 4; k(0,-2) = 5; k(1,-2) = 4; k(2,-2) = 2;

Hi Fenglele,

Nice catch! Could you make a pull request to fix this? Should be a very easy fix, and I would be happy to review and accept it.

Sure. Already done!