摘要 |
An image processing method for adjusting a scale of a face is implemented by a microprocessor of a digital camera. The microprocessor performs a face detection to find the position of a face in the image, and sets a zoom block according to an entire column/row of the position of the face, so as to zoom in/out the scale of the face. When the scale of the face is adjusted, an entire column of pixels are added/deleted with constrain proportions from two sides of the zoom block, for repairing the pixels altered during the zoom in/out of the face so as to remain the whole image undistorted. This method finds the position of the face accurately, and adjusts the pixels at the position of the face, so as to effectively adjust the scale of the face, and avoid disproportion between the face and the body in the image.
|