摘要 |
An autofocus searching method includes the following procedures. First, focus values of images, which are acquired during the movement of the object lens, are calculated, in which the focus value includes at least the intensity value of the image derived from the intensities of the pixels of the image. Next, focus searching is based on a first focus-searching step constant and a first focus-searching direction, in which the first focus-searching step constant is a function, e.g., the multiplication, of the focus value and a focus-searching step size. If the focus searching position moves across a peak of the focus values, it is then amended to be based on a second focus-searching direction and a second focus-searching step constant, in which the second focus-searching step constant is smaller than the first focus-searching step constant, and the second focus-searching direction is opposite to the first focus-searching direction.
|