Closed hjiang36 closed 8 years ago
Fixed.
The problem is because we previously used scaling as the adjustment method. When the sum of one channel is close to zero, the scaling factor for that channel could be very large, resulting in very large coefficients (some large positives and negatives).
To avoid this issue, we apply offsets instead of scaling. Hopefully, it could work OK.
HJ
We observed that the smoothKernels function can introduce very obvious artifacts to the images. HJ will debug to figure out the reason and fix it.
Before it is fixed, please avoid it.
HJ