Patent ID: 8155401

Claim:
Within a digital camera, a method of digital image processing using face detection for achieving a desired image parameter, comprising: identifying a group of pixels that correspond to a face in a foreground region within a digital image; determining first initial values of sharpness of pixels of the group of pixels; determining second initial values of sharpness of pixels other than pixels of the group of pixels and located within a background region of the digital image; comparing the first and second initial values, respectively, with a desired sharpness of pixels based on one or more desired values of sharpness of background region pixels; and determining adjusted values of sharpness separately for the foreground and background regions based on the comparing of the first and second initial values with a desired sharpness of pixels based on a desired sharpness of pixels within said background region, and on a comparison of values of sharpness corresponding to the first and second initial values.