Patent ID: 11930282
Assignee: SONY GROUP CORPORATION
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 6:
7. A non-transitory computer-readable medium having stored thereon, computer-executable instructions which, when executed by a computer, cause the computer to execute operations, the operations comprising:
calculating a focus position of each phase difference detection region of a plurality of phase difference detection regions of a subject image based on a result of capture of the subject image,
wherein the subject image is captured by an imaging element via a focus lens;

determining whether a number of phase difference detection regions of the plurality of phase difference detection regions is greater than or equal to a specific threshold, wherein focus positions of the number of phase difference detection regions are apart from the focus position of a reference phase difference detection region of the plurality of phase difference detection regions by greater than or equal to a specific range; and
determining a position of the focus lens based on:
the determination that the number of the phase difference detection regions is greater than or equal to the specific threshold; and

the focus position, on an infinity side or macro side, of each phase difference detection region of the plurality of phase difference detection regions.