Hi,
I need a fast way to smooth an image multiple times fast.
The way that i am currently using works like this(written in c#)
NOTE i am only smoothing the R value of the RGB color
Code:
for(int i=1;i<height-1;i++)
{
   for(int j=1;j<width-1;j++)
   {
      int n1 = image[j,i-1].R;
      int n2 = image[j,i+1].R;
      int n3 = image[j-1,i].R;
      int n4 = image[j + 1, i].R;
...