Image Smoothing 3 by 3 Matrix...
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
1+9+1+1+1+1+1+1+1 = 17/9 which is 1.8888888888888888888 etc...
or
1+9+1+1+1+1+1+1 = 16/8 = 2....
so which one's the most efficient smoothing algorithm?
__________________
Legends of Alterion - Under Development
toast lands butter down, cats land on their feet, what happens when u strap toast to a cat?.....
Math indicates they will hover in quatom indecision...(yet to be tested)
|