BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of an electronic camera according to a first exemplary embodiment.
FIG. 2 is a flowchart for an operation of the electronic camera according to the first exemplary embodiment.
FIG. 3 is a flowchart of a subroutine for a continuous AF (step S205) shown in FIG. 2.
FIG. 4 is a flowchart of a subroutine for an AF operation (step S209) shown in FIG. 2.
FIG. 5 illustrates a method for setting a scan range in FIG. 4.
FIG. 6 is a flowchart of a subroutine for a scan (steps S406 and S418) shown in FIG. 4.
FIG. 7 is a flowchart of a subroutine for a focus determination (step S407) shown in FIG. 4.
FIG. 8 is a flowchart for an operation of finding monotone decreasing in a direction approaching infinity.
FIG. 9 is a flowchart for an operation of finding monotone decreasing in a direction toward the closest point.
FIG. 10 is an illustration for describing a concept of determination of a focus evaluated value.
FIG. 11 is a flowchart of a subroutine for a shooting operation shown in FIGS. 2 and 13.
FIG. 12 illustrates how a focus lens moves according to the first exemplary embodiment.
FIG. 13 is a flowchart for a series of operations according to second and third exemplary embodiments.
FIGS. 14A and 14B are flowcharts of a subroutine for an AF operation according to the second exemplary embodiment.
FIGS. 15A and 15B are flowcharts of a subroutine for an AF operation according to the third exemplary embodiment.
FIG. 16 is a flowchart of a subroutine for a shooting operation according to the third exemplary embodiment.