摘要 |
An auto-focusing method for a camera is provided to perform the auto-focusing of a lens of the camera quickly and accurately without using a position sensor in order to adjust a position of the lens. The sharpness of a red channel of an image picked up through an image sensor and the sharpness of a blue channel are acquired and compared(S100). When the difference between the sharpness of the red channel and the sharpness of the blue channel is within a predetermined error range, a process is ended(S200). When the difference between the sharpness of the red channel and the sharpness of the blue channel is out of the predetermined error range, the process is performed. When the sharpness of the red channel is higher than the sharpness of the blue channel(S300), a lens is moved in an image sensor direction and the distance between the lens and the image sensor is reduced(S400). When the sharpness of the red channel is lower than the sharpness of the blue channel, the lens is moved in an opposite direction of the image sensor and the distance between the lens and the image sensor is increased(S500).
|