Hello everyone.
I'm trying to implement an Intensity Normalization algorithm that is described by this formula:
x' = (x - gaussian_weighted_average) / std_deviation
The paper I'm following describes that I have to find the gaussian weighted average and the standard deviation corresponding to each pixel "x" neighbors using a 7x7 kernel.
PS: x' is the new pixel value.
So, my question is: how can I compute a gaussian weighted average and the standard deviation for each pixel in image using a 7x7 kernel? OpenCV provides any method to solve this?