Tuesday 16 May 2017

How to Gaussian smooth of 2d array in nodejs

For my senior year project, in some part of the application I need to select some centers from google map such as hospitals. I have 2D array of coordinates and those who have hospitals on that coordination has a value of 1, rest is 0 like adjacency matrix.

Now I have to give some values with respect to proximity to the centers. I was trying to find algorithm which applies gaussian distribution like gaussBlur(mycenter, radius).

How can I smooth my 2D array using Gaussian Blur in NodeJS?



via Yunus

No comments:

Post a Comment