| CPC H04N 23/675 (2023.01) [H04N 23/611 (2023.01)] | 16 Claims |

|
1. An apparatus comprising:
a sensor configured to capture a plurality of images different in in-focus position in an optical axis direction; and
at least one processor configured to function as:
a control unit configured to control the sensor;
a composition unit configured to generate, from the plurality of images, a composite image including an area more focused than each of the plurality of images;
a determination unit configured to determine whether a selfie is being taken; and
a detection unit configured to detect a movement of an object in an image,
wherein, in a case where the selfie is being taken and magnitude of the detected movement is less than or equal to a predetermined threshold, the control unit controls the sensor to capture the plurality of images, and the composition unit generates the composite image.
|