Patent ID: 7595911

Claim:
A method for modifying an image in an imaging system, said method comprising: a) in an imaging system, receiving an image for modification; b) sending said image to a correction calculator for determination of a first correction and a second correction, wherein said correction calculator performs the steps of: i) determining a first image gradient magnitude of said image in a first direction; ii) determining a second image gradient magnitude of said image in a second direction; iii) determining a second derivative of said image in said first direction; iv) determining a second derivative of said image in said second direction; v) adjusting said first image gradient magnitude by a first multiplicative scaling factor and a first additive factor to create a first adjusted gradient factor; vi) adjusting said second image gradient magnitude by a second multiplicative scaling factor and a second additive factor to create a second adjusted gradient factor; vii) dividing said second derivative in a first direction by said first adjusted gradient factor to create said first correction; and viii) dividing said second derivative in a second direction by said second adjusted gradient factor to create said second correction; and c) modifying said image using said first correction and said second correction, thereby producing a modified image.