(under subclass 270) Subject matter wherein the threshold or quantization value of a particular image element depends on an average, mean or median measurement of neighboring elements, with a similar average, mean or median operation being applied to each element of the whole image.