Patent ID: 8755623

Claim:
A method of enhancing an input image, comprising: first detecting one or more specific objects of a plurality of objects in a waiting-for-enhancement image, the waiting-for-enhancement image being the input image; first determining, based on at least one image feature of an object area including the one or more detected specific objects, at least one image enhancement parameter so that an after-enhancement image enhanced according to the image enhancement parameter points out the image feature of the object area, the object area including the detected specific objects is calculated based on a center position, the center position being calculated based on a plurality of positions of the detected specific objects, and the object area being different from a whole area of the waiting-for-enhancement image; enhancing the waiting-for-enhancement image based on the determined image enhancement parameter to generate the after-enhancement image; second detecting the one or more specific objects or additional objects of the plurality of objects in the after-enhancement image; second determining whether a predetermined stopping condition is satisfied; outputting, in response to the predetermined stopping condition being satisfied, an after-enhancement image having a best result of object detection; and repeating the first determining, the enhancing, the second detecting, and the second determining, with the after-enhancement image serving as the waiting-for-enhancement image, in response to the predetermined stopping condition not being satisfied.