Removal/correction of image "snow" aka noise, inspired by:

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.

Writing good docs:

Communicate Value

A good introduction should make it clear why someone might use your API.

Show and Tell

Give examples of using your API and explain those examples.

Easy to Skim

Ensure your docs are structured such that familiar users can quickly jump to the content they want.


Revisit your docs after making breaking changes or adding new features to keep them up-to-date.