Patent ID: 8774543

Claim:
A method for processing image data comprising: receiving row data for each of a plurality of rows of pixels; generating a row average for each of the plurality of rows based on each row's corresponding row data; identifying among the plurality of rows, a target row having corresponding target row data and a target row average and one or more reference rows each having corresponding reference row data and a reference row average; generating a row correction value based on the target row average of the target row and the reference row average of each of the one or more reference rows; generating corrected target row data by applying the row correction value to the target row data, wherein the row correction value is generated by: generating a desired row average; and subtracting the desired row average from the target row average, and the corrected target row data is generated by subtracting the row correction value from the target row data corresponding to each pixel; and filtering the target row average and the reference row averages to generate the desired row average with one of a band-pass filter, a low-pass filter, a high-pass filter, and a notch filter.