WebPredict

WebPredict / RemoveImageSnow / 0.1.0

README.md
Removal/correction of image "snow" aka noise, inspired by: http://ostermiller.org/dilate_and_erode.html

Takes a 2D array representing an image, and a radius of (max possible) snow, e.g., 1 (for 1 pixel). Resulting pixels determined to be snow are replaced with the average color of the non-zero colored pixels around them. Returns the cleaned up image 2D array.