Hi, Jose, I have 2 questions on the kernel.
1). Is it gaussian kernel which is mentioned in the paper of Buades. As far as i know, the one in your code is not gaussian.
2). why you take these two steps ?
average = average + wmax*input2(i1,j1);
sweight = sweight + wmax;
I cannot find any ground in the original paper, but it does make my algorithm oscillate less. could you give me some idea, why you make them ?
Comment only