摘要 |
An image enhancement method. In the first stage, an image described in first image format is received. Then, each pixel is assessed with respect to its location on the edge of the image, and the value of the pixel in second image format is assessed with respect to its falling within the range of skin tones. A first smooth filter mask is dynamically generated if the pixel is not on the edge and the value does not fall into the range of skin tones, and a smooth process is performed on the pixel according to the first smooth filter mask. In the second stage, a second smooth filter mask is dynamically generated for each pixel in the image, and a general smooth process is performed on the pixel according to the second smooth filter mask. |