MinMax

Softly patterns an image by choosing a maximum or minimum color value for pixels in the specified radius. The result erodes or dilates the light or dark areas of your layer into soft, blocky regions.

Canvas showing effect of MinMax filter

Adjust this filter using the parameter controls in the Filters Inspector: