- Mean Fill
- "<Image>/Filters/Misc/Mean Fill"
- PDB Name:
- sg-mean-fill.scm (after the page appears, click on the "Download" command)
This script creates a new layer on which contiguous regions of the selection are filled with the mean (average) color of that region.
For example, if the image has the following selection mask (indicated by the black & white hashed circles)
then the result of running the script will be
which would appear in the final rendering as