I didnt know wether this would fit under Game dev or General Programming but it seems to be more programming than game deving.... I'ts for my map editor I'm trying to create a smoothing algorithim... it takes the 8 pixels around the pixel your smoothing and averages them to get the middle of the 3 by 3 matrice's height. question is do I include the middle point's height value in the averaging?
like you have
1+9+1+1+1+1+1+1+1 = 17/9 which is 1.8888888888888888888 etc...
1+9+1+1+1+1+1+1 = 16/8 = 2....
so which one's the most efficient smoothing algorithm?