Patent ID: 7084913

Claim:
A processing method of image compensation for a digital camera, used to complete an image process work by means of a color compensation method executed in an image processing section; wherein said color compensation method comprises: measuring a plurality of basic color components constructed of a pixel and a plurality of pixels adjacent thereto; executing a pixel compensation algorithm to obtain a quantity of basic colors needed for a pixel whose colors need to be compensated through a plurality of basic colors constructed of said pixel and said pixels adjacent thereto; processing a basic colors compensation work to said pixel whose colors need to be compensated through a digital signal processor installed in said image processing section, wherein said adjacent pixels are green pixels (G 41 , G 43 , G 42 and G 44 ) horizontally and vertically closely adjacent to one of said pixel (A 40 ) and same color pixels (A 41 , A 43 , A 42 and A 44 ) respectively next to said green pixels (G 41 , G 43 , G 42 , G 44 ), and wherein when said digital signal processor executes said color compensation work, parameters of a horizontal green pixel color difference GHd, vertical green pixel color difference GVd, horizontal green compensation value GH, vertical green compensation value GV and pixel compensation value GA are further used to execute a parameter algorithm, and said pixel compensation of said pixel is processed by means of the following rule: if said vertical green pixel color difference is smaller than or equal to a lowly set value and said horizontal green pixel color difference is also smaller than or equal to said lowly set value, said green pixel value of said pixel compensated by said image processing section is said pixel compensation value, and if said vertical green pixel color difference is smaller than said horizontal green pixel color difference, said green pixel of the pixel is said horizontal green compensation value.