Latest UploadsPlatdude SpottingJayenkaiNom nom nomJayenkaiRainbow TroutPakzKing SalmonPakzSnookerJayenkaiYou've ... o have youJayenkai

### Averaging / ''Smoothing'' a 2 dimensional array?

UserMessage
Posted : Wednesday, 23 November 2011, 01:10 | Permalink
Mog

 Hey guys, Brains really off and i can't remember for the life of me how to smooth out the data in an array by averaging it all together, any tips / pointers?-----I am Busy Mongoose - My Website Dev PC: AMD 8150-FX, 16gb Ram, GeForce GTX 680 2gb Current Project: Pyroxene
Posted : Wednesday, 23 November 2011, 01:15 | Permalink
Jayenkai

WW Entries : 106
 avg=0 for x=1 to items avg=avg+item[x] next avg=avg/items --> Bulk simple average for all.. smooth=3 for x=1 to items-smooth avg=0 for sm=1 to smooth avg=avg+item[(x+sm)-1] next item[x]=avg/smooth next --> average clumps! -----"Load, Next List!"
Posted : Wednesday, 23 November 2011, 01:41 | Permalink
spinal

Posted : Saturday, 26 November 2011, 11:56 | Permalink
Teasy

Posted : Monday, 28 November 2011, 19:55 | Permalink
Scherererer

 For some theory, look up convolution, and specifically using a box filter and a gaussian filter.-----YouTube Twitter Computer Science Series: Logic (pt1) (part 2) (part 3) 2's Complement Mathematics: Basic Differential Calculus
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 640|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
 Latest PostsLaptop Aaargh... Jayenkai Sun 15:03 Technology on Planes therevillsgames Sat 17:00 London Car/Stab Incident steve_ancell Sat 12:10 A New Korg Gadget! Jayenkai Sat 04:53 GamerBlock rockford Fri 16:51 Happy Birthday, Spinal Jayenkai Fri 08:40 Watch Switch - Fitbit Blaze rockford Fri 03:52 Happy Birthday Evil Roy Ferguson rockford Wed 16:21 Spinal's Return to Android Jayenkai Tue 13:41 AGameAWeek : 2017 - Part One Jayenkai Tue 08:10 More

 Latest Items Blog : My Arduino experience.steve_ancell Fri 13:45 Snippet : Skylinesspinal Fri 06:13 Showcase : Infinitronrychan Tue 03:02 Dev-Diary : PS2 to N64 Adapterspinal Sun 10:49 Link : Vector Tutorials/Help page.Pakz Thu 23:00 Blog : mini projectspinal Sun 10:13 Showcase : Blockman ReturnsJayenkai Fri 03:04 Snippet : Wall Tracing on Random Maps (rpg)rskgames Wed 22:48 Snippet : Path FollowingPakz Mon 16:25 Snippet : Flowers (Jan 2017)Kuron Thu 01:13 Showcase : Clusters of Hextherevillsgames Mon 15:01 Article : Maths 101 - Episode 1: Basic Trigonometryshroom_monk Sun 14:07 Article : Maths 101 - Episode 5: Line Intersectionshroom_monk Sun 14:02 Dev-Diary : Normals and Dot productsPakz Sat 20:37 Pets : Molly On The CouchJayenkai Thu 04:32More

Who's Online
Jayenkai
Sun, at 16:46
Pakz
Sun, at 16:37
shroom_monk
Sun, at 16:11
spinal
Sun, at 13:37
rockford
Sun, at 13:05
rychan
Sun, at 12:17
Andy_A
Sun, at 11:41
rskgames
Sun, at 10:56
HoboBen
Sun, at 10:26