image_diffuse_test, an Octave code which calls image_diffuse(), which uses diffusion to smooth a picture.
The information on this web page is distributed under the MIT license.
image_diffuse, an Octave code which uses diffusion to smooth out an image.
FOOL is an image which was originally a true black and white image; that is, as a gray scale image, every pixel was set to 0 or 255. Diffusion will smooth the boundary between the black and white areas.
Diffusion using image_diffuse4():
Diffusion using image_diffuse8():