* randomly pick neighbor from given window size and replace the * current pixel with the randomly chosen color. * No new colors are introduced, unlike hurl. */
| 62 | * No new colors are introduced, unlike hurl. |
| 63 | */ |
| 64 | array spread(const array &in, int window_width, int window_height) { |
| 65 | return getRandomNeighbor(in, window_width, window_height); |
| 66 | } |
| 67 | |
| 68 | /** |
| 69 | * randomization - controls % of total number of pixels in the image |
no test coverage detected