A method for classifying pixels into one of a neutral category and a non-neutral
category inputs a group of pixels within an image into a memory device. A color
of each of the pixels is represented by a respective color identifier. An average
color identifier is determined as a function of the color identifiers of the pixels
in the group. One of the pixels within the group are classified into one of the
neutral category and the non-neutral category as a function of the average color identifier.