| CPC G06T 7/70 (2017.01) [G06T 7/50 (2017.01); H04N 23/61 (2023.01); H04N 23/959 (2023.01); G06T 2207/20076 (2013.01); H04N 9/73 (2013.01); H04N 23/672 (2023.01); H04N 23/69 (2023.01)] | 16 Claims |

|
1. An apparatus, comprising:
one or more processors; and
a first memory coupled to the one or more processors storing instructions which, when executed by the one or more processors, cause the one or more processors to function as:
a detection unit configured to, based on captured image data, detect a subject area that includes a subject; and
a control unit configured to perform shooting control of an image capturing unit based on the captured image data and area-by-area weights corresponding to at least one of a subject type and a subject state with respect to the subject area detected by the detection unit in the captured image data, wherein
the shooting control is focus control, and
the control unit:
identifies, in the subject area, a first area with area-by-area weights equal to or higher than a threshold;
based on first data corresponding to the first area among the data corresponding to the subject area, calculates a first plurality of defocus amounts corresponding to a plurality of positions in the first area;
selects, from among the first plurality of defocus amounts, a first defocus amount that has a reliability degree equal to or higher than a reliability degree threshold; and
performs the focus control based on the first defocus amount.
|