BACKGROUND OF THE INVENTION

Field of the Invention

The present invention relates to automatic exposure control and imaging control at the time of panning.

Description of the Related Art

Panning in which photographing is performed while tracking a moving subject is a method of photographing at a slow shutter speed while aligning the movement of an imaging device with the moving subject. It is possible to take a dynamic photo by making the background flow while holding a main subject still. However, it is difficult to align an angular velocity at which a camera is moved (hereinafter also referred to as a “panning angular velocity”) with a moving speed of a subject in panning. Thus, when a non-familiar user performs panning, a subject may not stand still and blurring is highly likely to occur.

Japanese Patent Laid-Open No. 2016-171541 describes an imaging device having a panning assist control unit for supporting panning of a user. The panning assist control unit corrects image blur (subject blur) of a main subject based on a difference between a main subject angular velocity and a panning angular velocity through drive control of a shift lens.

Incidentally, under a flickering light source such as a fluorescent lamp connected to a commercial power source, a captured image is likely to be affected by flicker in accordance with a set shutter time. The imaging device described in Japanese Patent No. 5419542 can reduce flickering without causing complicated operations even when a user manually designates a set shutter time. When flickering is detected and the set shutter time set by an operation unit is a predetermined value, photographing is performed at the set shutter time at which flickering is reduced on the basis of the detected flicker frequency and the set shutter time.

In the related art disclosed in Japanese Patent Laid-Open No. 2016-171541, a captured image is likely to be affected by flicker in accordance with a set shutter time calculated by the imaging device. Furthermore, in the related art disclosed in Japanese Patent No. 5419542, it is necessary for a user to manually identify a set shutter time. It is difficult for the user to appropriately determine a set shutter time appropriate for panning in accordance with a state of a subject.

SUMMARY OF THE INVENTION

An imaging device according to an embodiment of the present invention is an imaging device including at least one processor and at least one memory functioning as: a processing unit configured to perform a process of detecting flicker in a photographed scene: and a control unit configured to perform exposure control at the time of panning for photographing a moving subject, wherein, when flicker is detected by the processing unit at the time of panning, the control unit limits an upper limit value of a shutter speed which can be set when determining the shutter speed as compared with a case in which flicker is not detected at the time of panning.

Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.

