Patent ID: 11875481
Assignee: REALTEK SEMICONDUCTOR CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 4:
5. The method according to claim 1, wherein, when the fixed pattern noise compensation is completed, further detecting any stripe pattern produced by a difference between a pixel value of a current green pixel and green pixel values in the up and down directions or left and right directions of the current green pixel, and a self-adaptive compensation is performed to:
calculate a green pixel average of adjacent green pixels in a vertical direction of the current green pixel and another green pixel average of adjacent green pixels in the horizontal direction of the current green pixel;
calculate a pixel value used for correction in the up, down, left and right directions of the current green pixel;
detect an edge and flatness near the current green pixel according to a difference of pixel averages between four horizontal directions and four vertical directions adjacent to the current green pixel so as to determine if any stripe pattern is in the vertical and horizontal directions in the image; and
according to the determined stripe pattern, use the pixel values in the up, down, left and right directions of the current pixel to compensate the pixel value of the current green pixel.