Defringe

Defringe is used in Photoshop to replace the colors of surrounding pixels with those of the main colours, for instance to remove anti-aliasing