Patent ID: 7496239

Claim:
A computer-implemented method comprising: obtaining regions that each include multiple areas, the areas of a first region bordering areas of a neighboring second region; selecting a correction mode from amongst at least two correction modes, the selected correction mode using information from the first region and information from the second region; and adjusting at least one area from the first region and at least one area from the second region using information from at least one area of the second region, based on an adjustment magnitude determined based on the selected correction mode, wherein, when a first correction mode of the at least two correction modes is selected, adjusting the at least one area from the first region comprises adjusting a first area within the first region, adjusting a second area within the second region, the second area bordering the first area, adjusting a third area, the third area bordering the first area, and adjusting a fourth area, the fourth area bordering the second area.