The Pixelate filter creates blocks of uniform color. The filter is especially useful when confined within a selection area to obscure subject matter.
This filter can be found in the Filters menu, in the Distort category.
The following settings can be adjusted in the filter dialog: