摘要 |
A method for performing binary image reduction on binary image data includes receiving binary input image data; determining a conversion factor to scale (i) an input resolution to an output resolution and/or (ii) an input size to an output size; applying the conversion factor to the input image data to obtain intermediate data, where each intermediate data corresponds to at least one input pixel and at least a portion of another input pixel; obtaining a binary output image data comprising a plurality of output pixels by thresholding the corresponding intermediate data; determining an error value for each output pixel, the error value is a non-integer value obtained as a result of thresholding the intermediate data corresponding to the output pixel; and propagating the obtained error value to an adjacent output pixel in a scanline, where the output image data is scaled to the output resolution and/or the output size. |