Patent ID: 6940524

Claim:
A method for adjusting sharpness and brightness of an digital image being implemented by a processor, the method comprising the steps of: selecting a mathematical formula for adjusting the sharpness and brightness of the digital image being stored in the processor from a group of mathematical formula consisting of: a) ⁢ ⁢ g ⁢ ( x , y ) = f ⁡ ( x , y ) + k 1 ⁢ ∑ i = - m m ⁢ ⁢ ∑ j = - n n ⁢ w ⁡ ( i , j ) · f ⁡ ( x + i , y + j ) ; b) ⁢ ⁢ g ⁡ ( x , y ) = ⁢ f ⁡ ( x , y ) + a · k 1 ⁢ ∑ i = - 1 1 ⁢ ⁢ ∑ j = - 1 1 ⁢ w 1 ⁡ ( i , j ) · f ⁢ ( x + i , y + j ) + ⁢ ( 1 - a ) · k 1 ⁢ ∑ i = - 2 2 ⁢ ⁢ ∑ j = - 2 2 ⁢ w 2 ⁡ ( i , j ) · f ⁡ ( x + i , y + j ) ; inputting original image data into the processor and leading the original image data into the selected mathematical formula; inputting a plurality of control parameter values into the selected mathematical formula; leading each pixel into the image data sequentially so as to perform a corresponding calculation process of adjusting the sharpness and brightness; and outputting an adjusted image data.