CPC H04N 25/674 (2023.01) [G06T 5/003 (2013.01); H04N 23/67 (2023.01)] | 20 Claims |
1. An apparatus comprising:
at least one processor; and
a memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, perform operations as:
a control unit configured to adjust a focus position;
an acquisition unit configured to acquire first distance information that indicates a distance to a subject on each of a plurality of regions within a predetermined region in a captured image, in a state where the focus positon is adjusted by the control unit; and
a storage unit configured to store the first distance information acquired by the acquisition unit,
wherein the acquisition unit is configured to acquire second distance information that indicates a distance to a subject on each of the plurality of regions within the predetermined region in a captured image, after the first distance information is stored,
wherein the control unit adjusts the focus position so that a degree of matching between the first distance information and second distance information becomes higher, and
wherein the control unit adjusts the focus position to maximize the degree of matching.
|