BRIEF DESCRIPTION OF THE DRAWINGS
These and/or other aspects and advantages of the present general inventive concept will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1A is a diagram illustrating a window within a picture;
FIG. 1B is a graph showing a focus value in accordance with a lens moving distance;
FIG. 2 is a graph for explaining the problems of an auto-focusing method according to the related art;
FIG. 3 is a block diagram illustrating an auto-focusing apparatus according to the present invention;
FIG. 4A is a diagram illustrating an auto-focusing digital signal processing section of FIG. 3;
FIG. 4B is an internal block diagram of an optical detection module of FIG. 4A;
FIG. 5 is a flow chart of an auto-focusing algorithm according to the invention;
FIG. 6 is a flow chart showing a process of calculating an auto-focus value in FIG. 5;
FIG. 7 is a diagram illustrating a plurality of active windows to which weights are allocated for the calculation of an auto-focus value;
FIG. 8 is a flow chart showing a process of adjusting a step size in FIG. 5;
FIG. 9 is a diagram showing a typical focus searching process according to the invention;
FIG. 10 is a diagram illustrating eight active windows to be applied to an embodiment of the invention;
FIG. 11 is a diagram showing changes in auto-focus value of the respective active windows for each lens position;
FIG. 12 is a diagram showing a change in overall auto-focus value for each step; and
FIG. 13 is a graph showing an operational example of an auto-focusing algorithm according to the embodiment of the invention.