Patent ID: 7616831

Claim:
A computer-implemented method comprising: obtaining, from image data and by a coding system, blocks that each include multiple pixels, a first boundary pixel of a first block being separated from a second boundary pixel of a neighboring second block by a block boundary; selecting a correction mode of the coding system from amongst at least two correction modes based on information from the first boundary pixel and information from the second boundary pixel; and modifying, by the coding system, the image data corresponding to the first boundary pixel using the information from the first boundary pixel and the information from the second boundary pixel, using the selected correction mode, wherein, when a first of the at least two correction modes is selected, modifying the image data corresponding to the first boundary pixel comprises altering the image data corresponding to the first boundary pixel within the first block without altering the image data corresponding to a third pixel adjacent to the first boundary pixel and separated from the second boundary pixel by no pixels other than the first boundary pixel, and wherein, when a second of the at least two correction modes is selected, modifying the image data corresponding to the first boundary pixel comprises altering image data corresponding to three successive pixels, including the first boundary pixel, within the first block.