The invention belongs to the field of
digital image processing and discloses a method for automatically removing image black eyes. The method is characterized by comprising the following steps: first drawing the contour regions of a
left eye bag and a right eye bag and marking as eye bag contour pictures; then, obtaining a face region picture; extracting the brightness of each pixel of the face region, leading into a result and marking as an image B; sequentially carrying out average filtering,
high contrast reservation and brightening algorithms on the image B to obtain an image C; sequentially carrying out average filtering and
histogram statistics on the image B, then calculating the image B with the eye bag contour pictures and the image C to obtain an image D, and carrying out
Gaussian blurring on the image D; carrying out
Gaussian blurring on the face region to obtain a face
Gaussian picture; finally calculating the image D, the face region and the face Gaussian picture to obtain a result picture. The technical scheme realizes the function of automatically removing black eyes, reduces user operation difficulty and threshold to the lowest, can be popularized in various portable digital devices, saves man-
machine interaction devices such as a mouse and a keyboard, is low in hardware cost and has the characteristics of convenience and rapidness.