1. A method for processing image data, said method comprising determining a set of parameters based on a binary digital image such that said set of parameters comprises information about the density of white and/or black pixels of a first group of pixels of said binary digital image, and information about the density of white and/or black pixels of a second group of pixels of said binary digital image.