| CPC H04N 23/73 (2023.01) [G06V 10/60 (2022.01); G09G 5/377 (2013.01); H04N 23/61 (2023.01); G06V 2201/07 (2022.01)] | 7 Claims |

|
1. An apparatus comprising:
at least one processor;
at least one memory coupled to the at least one processor storing instructions that, when executed by the at least one processor, cause the at least one processor to function as:
an acquisition unit configured to acquire an image;
a detection unit configured to detect an object from the image;
a calculation unit configured to calculate luminance values of the image; and
a photometry unit configured to perform photometry on the image in accordance with a set photometry mode,
wherein the photometry mode includes a first photometry mode in which an exposure is determined by weighting a region having a relatively high luminance value in comparison with a region having a relatively low luminance value at least in a photometry region,
wherein, in a case where the detection unit detects the object in the image in a state where the first photometry mode is selected, the photometry unit performs photometry in the first photometry mode by using a region of the object as the photometry region,
wherein the photometry unit changes photometry processing in accordance with the type of the object detected by the detection unit, and
wherein, in a case where the detection unit detects a vehicle, the photometry unit determines the exposure by using photometry values of a first image and photometry values of a second image acquired after the first image, and an average of photometry values of one or more images acquired before the first image.
|