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

Claim 5:
6. 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, whose focus positions is within a specific range, in a set of phase difference detection regions of the plurality of phase difference detection regions is greater than or equal to a specific threshold; and
determining a position of the focus lens based on:
the determination that the number of phase difference detection regions in the set of phase difference detection regions is greater than or equal to the specific threshold, and
an average value, of the calculated focus position of each phase difference detection region of the phase difference detection regions, being within a specific range, on an infinity side or macro side, from the focus position.