JP6704718B2 - Imaging device, control method thereof, and control program - Google Patents

Imaging device, control method thereof, and control program Download PDF

Info

Publication number
JP6704718B2
JP6704718B2 JP2015234867A JP2015234867A JP6704718B2 JP 6704718 B2 JP6704718 B2 JP 6704718B2 JP 2015234867 A JP2015234867 A JP 2015234867A JP 2015234867 A JP2015234867 A JP 2015234867A JP 6704718 B2 JP6704718 B2 JP 6704718B2
Authority
JP
Japan
Prior art keywords
image
flicker
accumulation
timing
utsushitai
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015234867A
Other languages
Japanese (ja)
Other versions
JP2017103589A (en
Inventor
晃平 太田
晃平 太田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2015234867A priority Critical patent/JP6704718B2/en
Publication of JP2017103589A publication Critical patent/JP2017103589A/en
Application granted granted Critical
Publication of JP6704718B2 publication Critical patent/JP6704718B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)
  • Transforming Light Signals Into Electric Signals (AREA)

Description

本発明は、撮像装置、その制御方法、および制御プログラムに関し、特に、被写体からの光の光量変化を検知する撮像装置に関する。 The present invention relates to an image pickup apparatus, a control method therefor, and a control program, and particularly to an image pickup apparatus that detects a change in the amount of light from a subject.

一般に、撮影の際に外光の所定周期の光量変化(フリッカー)があると、所謂露光ムラが生じることがある。例えば、撮像素子にCMOSイメージセンサを用いて、撮像素子のラインごとに蓄積期間をずらしながら撮像する場合、蓄積期間に重なる外光の光量の状態がラインごとに異なる。そのため、蓄積期間における外光の光量の積分値が大きいラインは明るく、蓄積期間における外光の光量の積分値が小さいラインは暗くなり、得られる画像は露光ムラが生じた画像となる。 Generally, if there is a change (flicker) in the amount of outside light in a predetermined cycle during shooting, so-called uneven exposure may occur. For example, when a CMOS image sensor is used as an image sensor and an image is captured while shifting the storage period for each line of the image sensor, the state of the amount of external light that overlaps the storage period differs for each line. Therefore, a line having a large integrated value of the amount of external light in the accumulation period is bright, a line having a small integrated value of the amount of external light in the accumulation period is dark, and the obtained image is an image with uneven exposure.

なお、各ラインの蓄積期間の長さ(蓄積時間)が光量変化の周期以上の長さであれば、1つの蓄積期間内に光量が最大の状態と光量が最小の状態が含まれるため画像内の露光ムラは目立たない。一方、各ラインの蓄積時間が光量変化の周期よりも短ければ、蓄積期間が光量の大きい状態と重なるラインと蓄積期間が光量の小さい状態と重なるラインとが別々にできるため、蓄積時間が短いほど画像内の露光ムラは顕著になる。 If the length of the accumulation period (accumulation time) of each line is equal to or longer than the cycle of the light amount change, the state in which the light amount is maximum and the state in which the light amount is minimum are included in one accumulation period. The uneven exposure is not noticeable. On the other hand, if the accumulation time of each line is shorter than the cycle of light intensity change, a line that overlaps with a state where the light intensity is high and a line that overlaps with a state where the light intensity is low can be separated. The exposure unevenness in the image becomes remarkable.

そこで、特許文献1では、露光ムラが顕著となる蓄積時間を用いて取得した画像Aと露光ムラが生じない蓄積時間を用いて取得した画像Bとを比較して、画像A内に生じている明暗の周期からフリッカーの周期を検知する技術を提案している。 Therefore, in Japanese Patent Laid-Open No. 2004-242242, an image A obtained by using the accumulation time in which the exposure unevenness becomes remarkable is compared with an image B obtained by using the accumulation time in which the exposure unevenness does not occur, and the image A is generated in the image A. We propose a technique to detect the flicker cycle from the light and dark cycle.

特開2015―88917号公報JP, 2015-88917, A

しかしながら、特許文献1で提案された技術のように、画像A内に明暗を繰り返し生じさせるためには、撮像素子の最初のラインの蓄積を開始してから最後のラインの蓄積を終了するまでの長さが、光源の光量変化の周期の2周期分程度必要である。 However, as in the technique proposed in Patent Document 1, in order to repeatedly generate light and dark in the image A, from the start of the accumulation of the first line of the image sensor to the end of the accumulation of the last line. The length needs to be about two cycles of the light amount change of the light source.

そのため、画像を取得する周期(フレームレート)を所定の周期よりも速くすると画像内に明暗が繰り返し生じなくなり、特許文献1で提案された技術ではフリッカーの周期を検知するのが困難となる。 Therefore, if the image acquisition cycle (frame rate) is faster than a predetermined cycle, bright and dark images do not repeatedly occur in the image, and it becomes difficult to detect the flicker cycle with the technique proposed in Patent Document 1.

そこで、本発明の目的は、画像を取得する周期が所定の周期よりも速い場合でも、被写体からの光の光量変化を検知することができる撮像装置、その制御方法、および制御プログラムを提供することにある。 Therefore, an object of the present invention is to provide an image pickup apparatus, a control method thereof, and a control program, which are capable of detecting a change in the amount of light from a subject even when the image acquisition cycle is faster than a predetermined cycle. It is in.

上記の目的を達成するため、本発明による撮像装置は、被写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得手段と、前記第1の画像および前記第2の画像に応じてフリッカーの存在を検知する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知手段と、を有することを特徴とする。 To achieve the above object, an imaging apparatus according to the present invention, together with obtaining a first image captured by the first timing determined to be Utsushitai advance, a second timing different from said first timing an image obtaining means for obtaining a second image by imaging the object Utsushitai in, when detecting the presence of flicker in response to the first image and the second image, the first image and the second If the frame rate at the time of obtaining the image of exceeds the preset frame rate, the result obtained by the addition processing of the first image, the second image, and the first image and the second image is obtained. A detection unit that detects the period of the flicker based on the acquired third image.

本発明による制御方法は、被写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得ステップと、前記第1の画像および前記第2の画像に応じてフリッカーの存在を検出する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知ステップと、を有することを特徴とする。 Control method according to the present invention, together with obtaining a first image captured by the first timing determined to be Utsushitai advance, to be Utsushitai by capturing at a second timing different from said first timing An image acquisition step of obtaining a second image and a frame rate for obtaining the first image and the second image when detecting the presence of flicker according to the first image and the second image Is greater than a preset frame rate, based on the first image, the second image, and a third image obtained as a result of addition processing of the first image and the second image. And a detection step of detecting the period of the flicker.

本発明によるプログラムは、撮像装置で用いられる制御プログラムであって、前記撮像装置が備えるコンピュータに、被写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得ステップと、前記第1の画像および前記第2の画像に応じてフリッカーの存在を検出する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知ステップと、を実行させることを特徴とする。 Program according to the present invention is a control program used in the image pickup apparatus, to a computer in which the imaging device comprises, along with obtaining a first image captured by the first timing determined to be Utsushitai advance, the an image obtaining step of obtaining a second image by imaging the object Utsushitai at a second timing different from the first timing, when detecting the presence of flicker in response to the first image and the second image If the frame rate at the time of obtaining the first image and the second image exceeds a preset frame rate, the first image, the second image, and the first image and the first image. A detection step of detecting the period of the flicker based on a third image obtained as a result of the addition processing of the second image and the second image.

本発明によれば、画像を取得する周期が所定の周期よりも速い場合でも、被写体からの光の光量変化を検知することができる。 According to the present invention, it is possible to detect a change in the amount of light from a subject even when the image acquisition cycle is faster than a predetermined cycle.

本発明の実施の形態による撮像装置の一例であるデジタル一眼レフカメラの構成を示す図である。It is a figure which shows the structure of the digital single lens reflex camera which is an example of the imaging device by embodiment of this invention. 図1に示すカメラで行われるフリッカー検知処理を説明するためのフローチャートである。6 is a flowchart for explaining a flicker detection process performed by the camera shown in FIG. 1. 図1に示すカメラにおいて、蓄積および読み出しが高フレームレートで行われない場合のフリッカー波形、シャッター駆動、および画像の一例を示す図である。FIG. 3 is a diagram showing an example of a flicker waveform, shutter driving, and an image when the camera shown in FIG. 1 does not store and read at a high frame rate. 図2に示す通常フリッカー検知処理を説明するためのフローチャートである。3 is a flowchart for explaining a normal flicker detection process shown in FIG. 2. 図4に示す通常フリッカー検知処理においてフリッカーの影響を受けた2枚の画像を用いて生成された別の画像の一例を示す図である。FIG. 6 is a diagram showing an example of another image generated using two images affected by flicker in the normal flicker detection process shown in FIG. 4. 図4に示すピークタイミングの時間差の算出の一例を示す図である。It is a figure which shows an example of calculation of the time difference of the peak timing shown in FIG. 図1に示すカメラにおいて、蓄積および読み出しを高フレームレートで行った場合のフリッカー波形、シャッター駆動、および画像の一例を示す図である。FIG. 3 is a diagram showing an example of a flicker waveform, shutter drive, and an image when accumulation and reading are performed at a high frame rate in the camera shown in FIG. 1. 図2に示す高フレームレート用のフリッカー検知処理を説明するためのフローチャートである。3 is a flowchart for explaining a high frame rate flicker detection process shown in FIG. 2. 図8に示す高フレームレート用のフリッカー検知処理においてフリッカーの影響を受けた2枚の画像を用いて生成された別の画像の一例を示す図である。FIG. 9 is a diagram showing an example of another image generated using two images affected by flicker in the high frame rate flicker detection process shown in FIG. 8. 図8に示すピークタイミングの時間差の算出の一例を示す図である。It is a figure which shows an example of calculation of the time difference of the peak timing shown in FIG. 蓄積時間に応じたフリッカー波形の相違を説明するための図であり、(a)は蓄積時間が長秒である場合のフリッカー波形を示す図、(b)は蓄積時間が短秒である場合のフリッカー波形を示す図である。6A and 6B are diagrams for explaining a difference in flicker waveform according to accumulation time, where FIG. 9A is a diagram showing a flicker waveform when the accumulation time is long, and FIG. 9B is a diagram when the accumulation time is short. It is a figure which shows a flicker waveform. 蓄積時間に応じた連続する2フレームで得られるフリッカー波形を加算した波形の相違を説明するための図であり、(a)はフリッカー成分を打ち消した波形を示す図、(b)はフリッカー成分が残存する波形を示す図である。It is a figure for demonstrating the difference of the waveform which added the flicker waveform obtained by two continuous frames according to accumulation time, (a) is a figure which shows the waveform which canceled the flicker component, (b) shows the flicker component. It is a figure which shows the remaining waveform.

以下に、本発明の実施の形態による撮像装置の一例について説明する。なお、以下の説明では、撮像装置としてデジタル一眼レフカメラを例に挙げて説明する。 An example of the image pickup apparatus according to the embodiment of the present invention will be described below. In the following description, a digital single-lens reflex camera will be described as an example of the image pickup apparatus.

図1は、本発明の実施の形態による撮像装置の一例であるデジタル一眼レフカメラの構成を示す図である。 FIG. 1 is a diagram showing a configuration of a digital single lens reflex camera which is an example of an image pickup apparatus according to an embodiment of the present invention.

図示のデジタル一眼レフカメラ(以下単にカメラと呼ぶ)は、カメラ本体(撮像装置本体)101および撮影レンズユニット(以下単に撮影レンズと呼ぶ)102を備えている。そして、カメラ本体101と撮影レンズ102とは互いにが機械的および電気的に接続されている。撮影レンズ102はフォーカシングレンズ(フォーカスレンズ)103および絞り104を有しており、これらフォーカスレンズ103および絞り104はレンズマウント接点群105を介してカメラ本体101によって制御される。 The illustrated digital single-lens reflex camera (hereinafter simply referred to as a camera) includes a camera body (imaging device body) 101 and a photographing lens unit (hereinafter simply referred to as a photographing lens) 102. The camera body 101 and the taking lens 102 are mechanically and electrically connected to each other. The taking lens 102 has a focusing lens (focus lens) 103 and a diaphragm 104, and these focus lens 103 and diaphragm 104 are controlled by the camera body 101 via a lens mount contact group 105.

カメラ本体101にはメインミラー106が備えられており、このメインミラー106はハーフミラーである。そして、メインミラー106の背面側にはサブミラー107が配置されている。図1においては、メインミラー106がミラーアップされていない状態が示されており、この状態では、撮影レンズ102を介して入射した光の一部がメインミラー106で反射されて上方に位置するファインダースクリーン109に送られる。一方、メインミラー106で反射されずに透過した光はサブミラー107で反射されて下方に配置されたAF装置108に入射する。 The camera body 101 is provided with a main mirror 106, and the main mirror 106 is a half mirror. A sub mirror 107 is arranged on the back side of the main mirror 106. FIG. 1 shows a state in which the main mirror 106 is not mirrored up. In this state, part of the light that has entered through the taking lens 102 is reflected by the main mirror 106 and is located above the viewfinder. It is sent to the screen 109. On the other hand, the light transmitted without being reflected by the main mirror 106 is reflected by the sub mirror 107 and enters the AF device 108 arranged below.

AF装置108は、所謂位相差検出方式によってAFを行うため、撮影レンズ102を介して入射した光を集光して、焦点検出ラインセンサ(図示せず)の結像面に当該集光した光(つまり、光学像)を結像する。そして、AF装置108は位相差検出によってデフォーカス量および焦点方向を検出結果として検出する。CPU116は当該検出結果に応じてフォーカスレンズ103を光軸に沿って駆動して焦点調整を行う。ファインダースクリーン109には光学像(被写体像)が結像され、当該光学像はペンタプリズム111および接眼レンズ110を介して撮影者の目に導かれる。これによって、撮影者は光学像を視認することができる。また、ファインダースクリーン109上に結像された光学像は、ペンタプリズム111を介してAE装置112に導かれる。 Since the AF device 108 performs AF by a so-called phase difference detection method, it condenses the light incident through the taking lens 102, and the condensed light is focused on the image forming surface of the focus detection line sensor (not shown). (That is, an optical image) is formed. Then, the AF device 108 detects the defocus amount and the focus direction as the detection result by the phase difference detection. The CPU 116 drives the focus lens 103 along the optical axis according to the detection result to perform focus adjustment. An optical image (subject image) is formed on the finder screen 109, and the optical image is guided to the eyes of the photographer through the pentaprism 111 and the eyepiece lens 110. This allows the photographer to visually recognize the optical image. The optical image formed on the finder screen 109 is guided to the AE device 112 via the pentaprism 111.

AE装置112は、被写体の明るさを観測するため測光センサによって光学像(つまり、光学ファインダー像)を測光用画像に変換する。そして、AE装置112は測光用画像に基づいて被写体の明るさを検出するとともに、露出演算および被写体の検出を行う。 The AE device 112 converts an optical image (that is, an optical finder image) into a photometric image by a photometric sensor in order to observe the brightness of the subject. Then, the AE device 112 detects the brightness of the subject based on the photometric image, and performs the exposure calculation and the subject detection.

メインミラー106の後段には撮像素子113が配置されている。当該撮像素子113は、例えば、CMOSイメージセンサ又はCCDイメージセンサであり、光電変換素子を有する画素が複数2次元マトリックス状に配列されている。 An image sensor 113 is arranged at the subsequent stage of the main mirror 106. The image sensor 113 is, for example, a CMOS image sensor or a CCD image sensor, and a plurality of pixels having photoelectric conversion elements are arranged in a two-dimensional matrix.

撮影を行う際には、メインミラー106およびサブミラー107が撮影光路から移動する。そして、撮像素子113の前面側に配置されたフォーカルプレーンシャッター114が開かれて撮像素子113が露光される。つまり、撮像素子113に光学像が結像する。撮像素子113は光学像に応じた電気信号(アナログ信号)を出力する。そして、当該アナログ信号はA/D変換によってデジタル信号に変換されてCPU116に送られる。 When taking an image, the main mirror 106 and the sub mirror 107 move from the image-taking optical path. Then, the focal plane shutter 114 arranged on the front side of the image sensor 113 is opened to expose the image sensor 113. That is, an optical image is formed on the image sensor 113. The image sensor 113 outputs an electric signal (analog signal) according to the optical image. Then, the analog signal is converted into a digital signal by A/D conversion and sent to the CPU 116.

CPU116は当該デジタル信号に対して所定の画像処理を施して画像データを生成する。そして、CPU116は画像データに応じた画像をディスプレイ115などの表示部に表示する。 The CPU 116 performs predetermined image processing on the digital signal to generate image data. Then, the CPU 116 displays an image corresponding to the image data on the display unit such as the display 115.

前述のように、AE装置112は測光センサを備えており、測光用画像に基づいて露出演算を行って、露出演算結果をCPU116に出力する。CPU116は当該露出演算結果に基づいて撮影レンズ102の絞り104を制御して、撮影レンズ102を介して入射する光量を調節する。なお、ICPU117は、AE装置112の駆動制御および画像処理を行って、後述するように、フリッカー検知、測光、および被写体の追尾などを行う。 As described above, the AE device 112 includes the photometric sensor, performs the exposure calculation based on the photometric image, and outputs the exposure calculation result to the CPU 116. The CPU 116 controls the diaphragm 104 of the taking lens 102 based on the exposure calculation result to adjust the amount of light incident through the taking lens 102. The ICPU 117 performs drive control of the AE device 112 and image processing, and performs flicker detection, photometry, tracking of a subject, and the like, as described later.

図2は、図1に示すカメラで行われるフリッカー検知処理を説明するためのフローチャートである。なお、図示のフローチャートに係る処理は、CPU116の制御下で行われる。 FIG. 2 is a flowchart for explaining a flicker detection process performed by the camera shown in FIG. The processing according to the illustrated flowchart is performed under the control of the CPU 116.

フリッカー検知処理が開始されると、CPU116はICPU117によってAE装置112を制御して光学像、つまり、電荷の蓄積および読み出しを行う(ステップS201)。そして、CPU116は、ステップS201の処理で行った蓄積および読み出しが2回目であるか否かを確認する(ステップS202)。 When the flicker detection process is started, the CPU 116 controls the AE device 112 by the ICPU 117 to store and read an optical image, that is, charges (step S201). Then, the CPU 116 confirms whether or not the accumulation and reading performed in the process of step S201 is the second time (step S202).

蓄積および読み出しが1回目である場合(ステップS202において、NO)、CPU116はステップS201の処理に戻って2回目の蓄積および読み出しを行う。2回目の蓄積および読み出しにおいては、CPU116は1回目の蓄積および読み出しの際に受けるフリッカーの影響と略逆位相の影響を受ける画像を得るため、蓄積および読み出しのタイミングを調整する。例えば、2回目の蓄積および読み出しでは、1回目の蓄積および読み出しとの時間差が光源の光量変化周期(フリッカー周期)の略(N+1/2)倍となるようにする。これによって、1回目の蓄積および読み出しで得られる画像と2回目の蓄積および読み出しで得られる画像におけるフリッカーの影響は略逆位相の関係となる。 When the accumulation and reading are the first times (NO in step S202), CPU 116 returns to the process of step S201 and performs the second accumulation and reading. In the second accumulation and readout, the CPU 116 adjusts the accumulation and readout timing in order to obtain an image that is affected by a phase opposite to that of the flicker that occurs during the first accumulation and readout. For example, in the second accumulation and reading, the time difference from the first accumulation and reading is set to be approximately (N+1/2) times the light amount change cycle (flicker cycle) of the light source. As a result, the effects of flicker in the image obtained by the first accumulation and reading and the image obtained by the second accumulation and reading have a substantially opposite phase relationship.

ここで得られた2つの画像を加算することで、フリッカーの影響を低減した画像を取得することができる。なお、この段階では、以前にフリッカー検知処理を行いフリッカー周期がわかっている場合もあるが、電源がオンされてから初めてフリッカー検知処理を行う場合にはフリッカー周期は不明である。そこで、フリッカー周期が不明の場合、代表的なフリッカー周期である1/100秒、1/120秒に対して略(N+1/2)倍の関係を満たす時間、例えば1/22秒を、1回目の蓄積および読み出しと2回目の蓄積および読み出しとの時間差に設定すればよい。フリッカー周期がわかっている場合は、フリッカー周期の(N+1/2)倍の関係を満たす時間を設定すればよい。また、連続する2フレームの画像の加算からフリッカーの影響を低減した画像を得るためには、蓄積時間に応じて画像が受けるフリッカーの影響が異なることを考慮する必要がある。 By adding the two images obtained here, it is possible to obtain an image in which the influence of flicker is reduced. At this stage, the flicker detection process may be performed before and the flicker period may be known, but the flicker period is unknown when the flicker detection process is performed for the first time after the power is turned on. Therefore, when the flicker cycle is unknown, a time period satisfying a relationship of approximately (N+1/2) times the typical flicker cycle of 1/100 seconds and 1/120 seconds, for example, 1/22 seconds, is set for the first time. It is sufficient to set the time difference between the accumulation and readout of the second and the second accumulation and readout. When the flicker period is known, a time that satisfies the relationship of (N+1/2) times the flicker period may be set. Further, in order to obtain an image in which the influence of flicker is reduced from the addition of images of two consecutive frames, it is necessary to consider that the influence of flicker on an image differs depending on the accumulation time.

図11は蓄積時間に応じたフリッカー波形の相違を説明するための図である。そして、図11(a)は蓄積時間が長秒である場合のフリッカー波形を示す図であり、図11(b)は蓄積時間が短秒である場合のフリッカー波形を示す図である。 FIG. 11 is a diagram for explaining the difference in the flicker waveform depending on the accumulation time. Then, FIG. 11A is a diagram showing a flicker waveform when the accumulation time is long, and FIG. 11B is a diagram showing a flicker waveform when the accumulation time is short.

図11(a)に示すように長秒で蓄積を行った場合と図11(b)のように短秒で蓄積を行った場合とでは画像が受けるフリッカーの影響は変化する。蓄積時間が長いほど光源の光量が小さい状態も大きい状態も蓄積期間に重なりやすく、ライン間の明暗差がはっきりしなくなる。一方、蓄積時間が短い程ライン毎に蓄積期間と重なる光源の光量の状態が明確となり、ライン間の明暗差がはっきりする。 The effect of flicker on an image changes depending on whether the image is stored for a long time as shown in FIG. 11A or the image is stored for a short time as shown in FIG. 11B. The longer the accumulation time is, the more the light amount of the light source is large and the larger the light amount is, which is likely to overlap with the accumulation period, and the difference in brightness between lines becomes unclear. On the other hand, as the accumulation time is shorter, the state of the light amount of the light source that overlaps the accumulation period becomes clearer for each line, and the difference in brightness between lines becomes clearer.

そのため、前述のように連続する2フレームで受けるフリッカーの影響が半位相ずれるように蓄積・読み出しの周期を設定した場合でも、フリッカーの影響が残存する画像が得られる場合がある。 Therefore, even if the accumulation/readout period is set such that the influence of flicker received in two consecutive frames is shifted by a half phase as described above, an image in which the influence of flicker remains may be obtained.

図12は蓄積時間に応じた連続する2フレームで得られるフリッカー波形を加算した波形の相違を説明するための図である。そして、図12(a)はフリッカー成分を打ち消した波形を示す図であり、図12(b)はフリッカー成分が残存する波形を示す図である。 FIG. 12 is a diagram for explaining a difference in waveform obtained by adding flicker waveforms obtained in two consecutive frames according to the accumulation time. Then, FIG. 12A is a diagram showing a waveform in which the flicker component is canceled, and FIG. 12B is a diagram showing a waveform in which the flicker component remains.

例えば、フリッカー周期が1/100秒の時に、蓄積・読み出しの時間差を15ms、蓄積時間を1/200秒に設定した場合、連続する2フレームで得られた画像の加算を行うと図12(a)のようにフリッカー成分を打ち消した画像を得ることができる。一方、蓄積時間を1/4000秒に設定した場合、図12(b)のように、フリッカー成分が残存する画像が取得されてしまう。そこで、蓄積・読み出しの時間差を前述の時間に設定した上で、蓄積時間をフリッカー周期の略1/2倍に設定することで、連続する2フレームの加算によりフリッカーの影響を低減した画像を得られるようにする。 For example, when the flicker period is 1/100 second and the accumulation/reading time difference is set to 15 ms and the accumulation time is set to 1/200 seconds, when images obtained in two consecutive frames are added, FIG. It is possible to obtain an image in which the flicker component is canceled as shown in FIG. On the other hand, when the accumulation time is set to 1/4000 seconds, an image in which a flicker component remains is acquired as shown in FIG. Therefore, by setting the accumulation/reading time difference to the above-mentioned time and then setting the accumulation time to approximately 1/2 of the flicker cycle, an image in which the influence of flicker is reduced by adding two consecutive frames is obtained. To be able to

なお、この段階では、以前にフリッカー検知処理を行いフリッカー周期が分かっている場合もあるが、電源がオンされてから初めてフリッカー検知処理を行う場合にはフリッカー周期は不明である。そこで、フリッカー周期が不明の場合、代表的なフリッカー周期である1/100秒、1/120秒に対して略(1/2)倍の関係を満たす時間、すなわち1/200秒と1/240秒の間(例えば1/220秒)の時間を、蓄積時間に設定すればよい。フリッカー周期がわかっている場合は、両方ともフリッカー周期の1/2倍の蓄積時間に設定すればよい。 At this stage, the flicker detection process may be performed before and the flicker period may be known. However, when the flicker detection process is performed for the first time after the power is turned on, the flicker period is unknown. Therefore, when the flicker period is unknown, the time that satisfies the relationship of approximately (1/2) times the typical flicker period of 1/100 seconds and 1/120 seconds, that is, 1/200 seconds and 1/240 seconds. The time between seconds (for example, 1/220 seconds) may be set as the accumulation time. When the flicker period is known, both may be set to 1/2 times the accumulation time of the flicker period.

以上のように、フリッカーの周期がわかっていれば蓄積・読み出しの時間差をフリッカー周期の(N+1/2)倍にし、両方の蓄積時間をフリッカー周期の1/2倍になるよう制御する。フリッカーの周期が不明の場合は、代表的なフリッカー周期である1/100秒、1/120秒のいずれに対しても、略(N+1/2)倍となる時間差、略1/2倍となる蓄積時間になるように制御する。 As described above, if the flicker cycle is known, the time difference between accumulation and reading is set to (N+1/2) times the flicker cycle, and both accumulation times are controlled to be 1/2 times the flicker cycle. When the flicker period is unknown, the time difference becomes about (N+1/2) times, or about 1/2 times, both of the typical flicker period of 1/100 seconds and 1/120 seconds. Control so that the accumulation time is reached.

蓄積および読み出しが2回目である場合(ステップS202において、YES)、CPU116は2回の蓄積および読み出しによってフリッカーの影響を受けた2枚の画像を取得する。そして、CPU116は蓄積および読み出しが高フレームレートで行われたか否かを判定する(ステップS203)。 When the accumulation and reading are the second times (YES in step S202), CPU 116 obtains two images affected by the flicker by the twice accumulation and reading. Then, the CPU 116 determines whether the accumulation and the reading are performed at the high frame rate (step S203).

ステップS203の処理においては、CPU116は蓄積および読み出しの周期に基づいて所定のフレームレートよりも高フレームレートであるか否かを判定する。例えば、蓄積および読み出しの周期においてフリッカーのピークが2回以上あれば、CPU116は高フレームレートでないと判定する。一方、蓄積および読み出しの周期においてフリッカーのピークが2回未満である場合には、CPU116は高フレームレートであると判定する。このとき、蓄積および読み出しの周期においてフリッカーのピークが2回となるフレームレートが所定のフレームレートである。 In the process of step S203, the CPU 116 determines whether or not the frame rate is higher than a predetermined frame rate based on the accumulation and reading cycles. For example, if the peak of flicker occurs twice or more in the accumulation and read cycles, the CPU 116 determines that the frame rate is not high. On the other hand, when the peak of flicker is less than 2 times in the accumulation and reading cycles, the CPU 116 determines that the frame rate is high. At this time, the frame rate at which the flicker peak occurs twice in the accumulation and readout cycles is the predetermined frame rate.

高フレームレートでないと(ステップS203において、NO)、CPU116は、蓄積および読み出しが高フレームレートでない場合のフリッカー検知処理(通常フリッカー検知処理と呼ぶ)を行う(ステップS204)。一方、高フレームレートであると(ステップS203において、YES)、CPU116は、蓄積および読み出しが高フレームレートであるフリッカー検知処理を行う(ステップS205)。 If the frame rate is not high (NO in step S203), CPU 116 performs flicker detection processing (referred to as normal flicker detection processing) when accumulation and reading are not high frame rate (step S204). On the other hand, if the frame rate is high (YES in step S203), the CPU 116 performs a flicker detection process in which accumulation and reading are high frame rates (step S205).

ステップS204又はS205の処理の後、CPU116は、後述するフリッカー検知処理以外の処理を行って(ステップS206)、フリッカー検知処理を終了する。 After the processing of step S204 or S205, the CPU 116 performs processing other than the flicker detection processing described later (step S206) and ends the flicker detection processing.

ここで、図2に示す通常フリッカー検知処理について説明する。 Here, the normal flicker detection process shown in FIG. 2 will be described.

図3は、図1に示すカメラにおいて、蓄積および読み出しが高フレームレートで行われない場合のフリッカー波形、シャッター駆動、および画像の一例を示す図である。 FIG. 3 is a diagram showing an example of a flicker waveform, shutter drive, and an image when the camera shown in FIG. 1 does not store and read at a high frame rate.

図3においては、読み出しおよび蓄積の際に、フリッカーのピークが2回以上となるようにシャッターを駆動して、画像Aおよび画像Bを得る。ここでは、画像Aは1回目の蓄積および読み出しにおいて取得した画像であり、画像Bは画像Aに続いて2回目の蓄積および読み出しにおいて取得した画像である。そして、画像Aおよび画像Bにおけるフリッカーの影響は略逆位相の関係にあることが分かる。 In FIG. 3, during reading and storage, the shutter is driven so that the flicker peak is two or more times, and images A and B are obtained. Here, the image A is an image acquired in the first accumulation and reading, and the image B is an image acquired in the second accumulation and reading subsequent to the image A. Then, it can be seen that the effects of flicker in the images A and B are in the relationship of substantially opposite phases.

図4は、図2に示す通常フリッカー検知処理を説明するためのフローチャートである。また、図5は、図4に示す通常フリッカー検知処理においてフリッカーの影響を受けた2枚の画像を用いて生成された別の画像の一例を示す図である。 FIG. 4 is a flow chart for explaining the normal flicker detection process shown in FIG. Further, FIG. 5 is a diagram showing an example of another image generated by using two images affected by flicker in the normal flicker detection process shown in FIG.

図4および図5を参照して、通常フリッカー検知処理を開始すると、CPU116は画像Aと画像Bとの比率を求める(ステップS401)。そして、CPU116は当該比率に基づいて、フリッカー成分のみが抽出された画像Cを生成する。つまり、CPU116は画像Aを画像Bで除算処理して画像C得る。続いて、CPU116は、抽出したフリッカー成分に応じてそのピークタイミングを検出する(ステップS402)。なお、フリッカーのピークタイミングの検出手法については、例えば、上述の特許文献1に記載されているので、ここでは説明を省略する。 Referring to FIGS. 4 and 5, when the normal flicker detection process is started, CPU 116 obtains the ratio between image A and image B (step S401). Then, the CPU 116 generates the image C in which only the flicker component is extracted based on the ratio. That is, the CPU 116 obtains the image C by dividing the image A by the image B. Then, CPU116 detects the peak timing according to the extracted flicker component (step S402). The method of detecting the peak timing of flicker is described in, for example, the above-mentioned Patent Document 1, and therefore its explanation is omitted here.

次に、CPU116はフリッカーのピークタイミングを用いて、ピークタイミングの時間差に基づいてフリッカーの周期を求める(ステップS403)。このようにして、CPU116は画像Aおよび画像Bに応じてフリッカーの存在を検知することになる。 Next, the CPU 116 uses the flicker peak timing to obtain the flicker cycle based on the time difference of the peak timing (step S403). In this way, the CPU 116 detects the presence of flicker according to the image A and the image B.

図6は、図4に示すピークタイミングの時間差の算出の一例を示す図である。なお、図6において、横軸は垂直同期信号(VD)を示し、縦軸はフリッカーレベルを示す。 FIG. 6 is a diagram showing an example of calculation of the time difference between the peak timings shown in FIG. In FIG. 6, the horizontal axis represents the vertical synchronizing signal (VD) and the vertical axis represents the flicker level.

ステップS403の処理では、画像Cに基づいて得られたフリッカーのピークタイミングに応じてピークタイミング間の時間差を求める。そして、CPU116は当該時間差に基づいてフリッカーの周期を算出する。 In the process of step S403, the time difference between peak timings is obtained according to the peak timing of flicker obtained based on the image C. Then, the CPU 116 calculates the flicker cycle based on the time difference.

続いて、CPU116は、画像Aと画像Bとを加算処理して、図5に示す画像Dを得る(ステップS404)。そして、CPU116は通常フリッカー検知処理を終了する。画像Aおよび画像Bは、フリッカーの影響が略逆位相の関係にあるので、加算処理の結果、図5に示す画像Dにおいてはフリッカーの影響が低減される。そして、この画像Dは、図2に示すステップS206の処理で用いられる。 Subsequently, the CPU 116 performs addition processing on the image A and the image B to obtain the image D shown in FIG. 5 (step S404). Then, the CPU 116 ends the normal flicker detection process. Since the effects of flicker have a substantially opposite phase relationship in images A and B, as a result of the addition process, the effects of flicker are reduced in image D shown in FIG. Then, this image D is used in the process of step S206 shown in FIG.

次に、図2に示す高フレームレート用のフリッカー検知処理について説明する。 Next, the flicker detection process for high frame rate shown in FIG. 2 will be described.

図7は、図1に示すカメラにおいて、蓄積および読み出しを高フレームレートで行った場合のフリッカー波形、シャッター駆動、および画像の一例を示す図である。 FIG. 7 is a diagram showing an example of a flicker waveform, shutter drive, and an image when accumulation and reading are performed at a high frame rate in the camera shown in FIG.

図7においては、読み出しおよび蓄積の際に、フリッカーのピークが2回未満となるようにシャッターを駆動して、画像A1および画像B1を得る。ここでは、画像A1は1回目の蓄積および読み出しにおいて取得した画像であり、画像B1は画像A1に続いて2回目の蓄積および読み出しにおいて取得した画像である。そして、画像A1および画像B1におけるフリッカーの影響は略逆位相の関係にあることが分かる。 In FIG. 7, during reading and storage, the shutter is driven so that the flicker peak is less than twice, and images A1 and B1 are obtained. Here, the image A1 is an image acquired in the first accumulation and reading, and the image B1 is an image acquired in the second accumulation and reading subsequent to the image A1. Then, it can be seen that the effects of flicker in the images A1 and B1 are in the relationship of substantially opposite phases.

図8は、図2に示す高フレームレート用のフリッカー検知処理を説明するためのフローチャートである。また、図9は、図8に示す高フレームレート用のフリッカー検知処理においてフリッカーの影響を受けた2枚の画像を用いて生成された別の画像の一例を示す図である。 FIG. 8 is a flowchart for explaining the flicker detection process for the high frame rate shown in FIG. FIG. 9 is a diagram showing an example of another image generated using two images affected by flicker in the high frame rate flicker detection process shown in FIG.

図8および図9を参照して、高フレームレート用のフリッカー検知処理を開始すると、CPU116は画像A1と画像B1とを加算処理して、図9に示す画像D1を得る(ステップS801)。画像A1および画像B1は、フリッカーの影響が略逆位相の関係にあるので、加算処理の結果、図9に示す画像D1においてはフリッカーの影響が低減される。そして、この画像D1は、図2に示すステップS206の処理で用いられる。 Referring to FIGS. 8 and 9, when flicker detection processing for high frame rate is started, CPU 116 performs addition processing on image A1 and image B1 to obtain image D1 shown in FIG. 9 (step S801). Since the image A1 and the image B1 have the flicker influences in a substantially opposite phase relationship, as a result of the addition process, the flicker influence is reduced in the image D1 shown in FIG. Then, the image D1 is used in the process of step S206 shown in FIG.

続いて、CPU116は画像A1と加算処理した結果得られた画像D1との比率を求める(ステップS802)。そして、CPU116は当該比率に基づいて、フリッカー成分のみが抽出された画像C1を生成する。つまり、CPU116は画像A1を画像D1で除算処理して画像C1を得る。 Subsequently, the CPU 116 obtains the ratio between the image A1 and the image D1 obtained as a result of the addition processing (step S802). Then, the CPU 116 generates the image C1 in which only the flicker component is extracted based on the ratio. That is, the CPU 116 divides the image A1 by the image D1 to obtain the image C1.

さらに、CPU116は画像B1と画像D1との比率を求める(ステップS803)。そして、CPU116は当該比率に基づいて、フリッカー成分のみが抽出された画像C2を生成する。つまり、CPU116は画像B1を画像D1で除算処理して画像C2得る。これらの画像C1および画像C2は、連続した蓄積および読み出しによって得られたフリッカー成分を示すことになる。 Further, the CPU 116 obtains the ratio between the image B1 and the image D1 (step S803). Then, the CPU 116 generates the image C2 in which only the flicker component is extracted based on the ratio. That is, the CPU 116 divides the image B1 by the image D1 to obtain the image C2. These images C1 and C2 will show the flicker component obtained by successive accumulation and readout.

次に、CPU116は、画像C1および画像C2の各々においてフリッカー成分のピークタイミングを検出する(ステップS804)。そして、CPU116は、画像C1および画像C2のフリッカーのピークタイミングを用いて、当該ピークタイミングの時間差に基づいてフリッカーの周期を求める(ステップS805)。その後、CPU116は、高フレーム用のフリッカー検知処理を終了する。 Next, the CPU 116 detects the peak timing of the flicker component in each of the images C1 and C2 (step S804). Then, the CPU 116 obtains the flicker cycle based on the time difference between the peak timings of the flicker of the images C1 and C2 (step S805). Then, the CPU 116 ends the high frame flicker detection process.

図10は、図8に示すピークタイミングの時間差の算出の一例を示す図である。なお、図8において、横軸は垂直同期信号(VD)を示し、縦軸は画像毎のフリッカーレベルを示す。 FIG. 10 is a diagram showing an example of calculation of the time difference between the peak timings shown in FIG. In FIG. 8, the horizontal axis represents the vertical synchronizing signal (VD) and the vertical axis represents the flicker level for each image.

ステップS805の処理では、蓄積および読み出しの周期においてフリッカーのピークが2回未満であるので、CPU116は画像C1に基づいて得られたフリッカーのピークタイミングと画像C2に基づいて得られたフリッカーのピークタイミングとに応じて、ピークタイミング間の時間差を求める。そして、CPU116は当該時間差に基づいてフリッカーの周期を算出する。 In the process of step S805, since the flicker peak is less than 2 times in the accumulation and reading cycles, the CPU 116 causes the flicker peak timing obtained based on the image C1 and the flicker peak timing obtained based on the image C2. The time difference between the peak timings is calculated according to Then, the CPU 116 calculates the flicker cycle based on the time difference.

前述のように、ステップS204又はS205の処理で得られた画像D又は画像D1はフリッカーの影響が低減されており、CPU116は、これら画像D又は画像D1を用いて所定の画像処理を行って、例えば、ディスプレイ115に表示する画像(例えば、ライブビュー画像)を得る。このようにすれば、フリッカー検知以外の処理で用いる画像を別に得る必要がなく、フリッカーを考慮して蓄積および読み出しを行う必要もなく、処理時間を短縮することができる。 As described above, the influence of flicker is reduced in the image D or the image D1 obtained in the process of step S204 or S205, and the CPU 116 performs a predetermined image process using the image D or the image D1. For example, an image displayed on the display 115 (for example, a live view image) is obtained. By doing so, it is not necessary to separately obtain an image used for processing other than flicker detection, and it is not necessary to perform accumulation and reading in consideration of flicker, and the processing time can be shortened.

なお、フリッカー検知以外の処理としては、ライブビュー画像表示を行う表示処理の他に、例えば、被写体の測光を行う測光処理、被写体の測色を行う測色処理、被写体の追尾を行う追尾処理、そして、被写体に対する合焦を行うAF処理がある。 As the processing other than the flicker detection, in addition to the display processing for displaying the live view image, for example, photometric processing for measuring the light of the subject, colorimetric processing for measuring the color of the subject, tracking processing for tracking the subject, Then, there is an AF process for focusing on the subject.

また、ステップS206の処理を行った後には、ステップS201の処理に戻って、再度、蓄積および読み出しが行われる。この際には、ステップS204又はS205の処理によってフリッカーが発生していないと判定すると、CPU116は、以後フリッカー検知処理の実行頻度を下げる(つまり、フリッカー検知の実行周期(つまり、検知周期)を長くする)。 After performing the process of step S206, the process returns to the process of step S201, and the accumulation and the reading are performed again. At this time, when it is determined that flicker has not occurred by the processing of step S204 or S205, the CPU 116 reduces the execution frequency of the flicker detection processing thereafter (that is, lengthens the flicker detection execution cycle (that is, the detection cycle)). To).

このように、本発明の実施の形態では、フリッカー光源下において高フレームレートで撮影を行っても、フレームレートに対応してフリッカーの検知処理を行うことができる。そして、当該フリッカー検知処理で得られた画像をフリッカー検知以外の処理で用いれば、フリッカー検知処理の後にフリッカー検知以外の処理を行うために画像を得る必要がなく、画像処理時間を短縮することができる。 As described above, according to the embodiment of the present invention, even if shooting is performed at a high frame rate under a flicker light source, the flicker detection process can be performed according to the frame rate. Then, if the image obtained by the flicker detection process is used in a process other than the flicker detection process, it is not necessary to obtain an image to perform a process other than the flicker detection process after the flicker detection process, and the image processing time can be shortened. it can.

つまり、本発明の実施の形態では、高フレームレートで撮影を行う際においてもフリッカー検知をして、フリッカー検知以外の処理で用いる画像をフリッカー検知の際に得られた複数の画像に基づいて生成する。これによって、画像の取得およびその処理時間を低減することができる。 That is, according to the embodiment of the present invention, flicker detection is performed even when shooting is performed at a high frame rate, and an image used in processing other than flicker detection is generated based on a plurality of images obtained during flicker detection. To do. This makes it possible to reduce image acquisition and processing time.

なお、上述の実施の形態では、2回の蓄積および読み出しによって得られた2つの画像を用いてフリッカー検知およびフリッカー検知以外の処理で用いる画像を得るようにしたが、複数回の蓄積および読み出しを行ってフリッカー検知を行うようにしてもよい。さらに、フリッカー検知の途中で、フリッカー検知処理の過程で得られた画像D1を用いてフリッカー検知以外の処理を行うようにしてもよい。 In the above-described embodiment, the images used in the processes other than the flicker detection and the flicker detection are obtained by using the two images obtained by the two times of the accumulation and the reading. Alternatively, flicker detection may be performed. Further, in the middle of the flicker detection, the image D1 obtained in the process of the flicker detection processing may be used to perform processing other than the flicker detection.

また、上述の実施の形態ではフリッカーのピークタイミングに応じてフリッカーの周期を求めるようにしたが、フリッカーのボトムタイミングによって得られた時間差に応じてフリッカー周期を求めるようにしてもよい。さらには、画像間の比率に応じてフリッカー成分を抽出するようにしたが、画像の差分に応じてフリッカー成分を抽出するようにしてもよい。 Further, in the above-described embodiment, the flicker cycle is obtained according to the flicker peak timing, but the flicker cycle may be obtained according to the time difference obtained by the flicker bottom timing. Further, although the flicker component is extracted according to the ratio between the images, the flicker component may be extracted according to the difference between the images.

また、上述の実施の形態では測光センサから得られた画像を用いてフリッカー検知を行っているが、撮像素子113から得られた画像を用いてフリッカー検知を行うようにしてもよい。上述の説明から明らかなように、図1に示す例では、CPU116、ICPU117、およびAE装置112が画像取得手段として機能する。また、CPU116は検知手段および処理手段として機能する。 Further, in the above-described embodiment, the flicker detection is performed using the image obtained from the photometric sensor, but the flicker detection may be performed using the image obtained from the image sensor 113. As is clear from the above description, in the example shown in FIG. 1, the CPU 116, the ICPU 117, and the AE device 112 function as an image acquisition unit. Further, the CPU 116 functions as a detection unit and a processing unit.

以上、本発明について実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 Although the present invention has been described above based on the embodiments, the present invention is not limited to these embodiments, and various embodiments within the scope not departing from the gist of the present invention are also included in the present invention. ..

例えば、上記の実施の形態の機能を制御方法として、この制御方法を撮像装置に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを制御プログラムとして、当該制御プログラムを撮像装置が備えるコンピュータに実行させるようにしてもよい。なお、制御プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the functions of the above-described embodiments may be used as a control method, and the imaging apparatus may be caused to execute this control method. Further, a program having the functions of the above-described embodiments may be used as a control program, and the control program may be executed by a computer included in the imaging device. The control program is recorded in, for example, a computer-readable recording medium.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1つ以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other Embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

102 撮影レンズ
103 フォーカシングレンズ
104 絞り
106 メインミラー
108 AF装置
109 ファインダースクリーン
112 AE装置
113 撮像素子
115 ディスプレイ
116 CPU
102 Shooting Lens 103 Focusing Lens 104 Aperture 106 Main Mirror 108 AF Device 109 Viewfinder Screen 112 AE Device 113 Image Sensor 115 Display 116 CPU

Claims (12)

写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得手段と、
前記第1の画像および前記第2の画像に応じてフリッカーの存在を検知する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知手段と、
を有することを特徴とする撮像装置。
Together to obtain a first image captured by the first timing determined to be Utsushitai advance, an image to obtain a second image by imaging the object Utsushitai at a second timing different from said first timing Acquisition means,
When detecting the presence of flicker according to the first image and the second image, when the frame rate for obtaining the first image and the second image exceeds a preset frame rate, A detection unit that detects the period of the flicker based on the first image, the second image, and a third image obtained as a result of the addition processing of the first image and the second image. ,
An image pickup apparatus comprising:
前記画像取得手段は、被写体の像に応じた画像を出力する撮像素子において当該画像の蓄積および読み出しのタイミングを制御して前記第1の画像および前記第2の画像を得ており、前記第1のタイミングと前記第2のタイミングとは略逆位相の関係にあることを特徴とする請求項1に記載の撮像装置。 Said image acquisition means is to give the accumulation and reading said by controlling the timing of the first image and the second image of the image in the imaging device for outputting an image corresponding to the image of the Utsushitai, wherein The image pickup apparatus according to claim 1, wherein the first timing and the second timing have a substantially opposite phase relationship. 前記検知手段は、前記画像取得手段における前記蓄積および読み出しの周期において前記フリッカーのピークが2回未満であると、前記第1の画像および前記第2の画像を得る際のフレームレートが前記予め設定されたフレームレートを超えると判定することを特徴とする請求項2に記載の撮像装置。 When the peak of the flicker is less than two times in the accumulation and readout cycles of the image acquisition unit, the detection unit sets the frame rate for obtaining the first image and the second image to the preset value. The image pickup apparatus according to claim 2, wherein the image pickup apparatus determines that the specified frame rate is exceeded. 前記検知手段は、前記画像取得手段における前記蓄積および読み出しの周期において前記フリッカーのピークが2回以上あると、前記第1の画像および前記第2の画像に基づいて前記フリッカーの周期を検知することを特徴とする請求項2又は3に記載の撮像装置。 The detecting means may detect the flicker cycle based on the first image and the second image if the peak of the flicker is two or more times in the accumulation and readout cycles of the image acquisition means. The imaging device according to claim 2 or 3, wherein. 前記検知手段は、フリッカーが検知されないと、フリッカー検知のための検知周期を長くすることを特徴する請求項1乃至4のいずれか1項に記載の撮像装置。 The image pickup apparatus according to claim 1, wherein the detection unit lengthens a detection period for detecting flicker when flicker is not detected. 前記第3の画像を用いて他の処理を行う処理手段を有することを特徴とする請求項1乃至5のいずれか1項に記載の撮像装置。 The image pickup apparatus according to any one of claims 1 to 5, further comprising a processing unit that performs another process using the third image. 前記他の処理は、被写体の測光を行う測光処理、被写体の測色を行う測色処理、被写体の追尾を行う追尾処理、被写体に対する合焦を行うAF処理、およびライブビュー画像表示を行う表示処理の少なくとも1つであることを特徴とする請求項6に記載の撮像装置。 The other processing is the photometric process for photometry of the Utsushitai, colorimetric process for measuring the color of the Utsushitai, tracking process for tracking the Utsushitai, AF processing for focusing with respect to the Utsushitai, and The image pickup apparatus according to claim 6, wherein the image pickup apparatus is at least one of display processing for performing live view image display. 前記画像取得手段は、前記第1の画像および前記第2の画像を得る際の蓄積時間を等しくすることを特徴とする請求項1乃至7のいずれか1項に記載の撮像装置。 The image capturing apparatus according to any one of claims 1 to 7, wherein the image acquisition unit equalizes the accumulation times when the first image and the second image are obtained. 前記画像取得手段は、前記検知手段により前記フリッカーの周期を検知している場合、前記第1の画像および前記第2の画像を得る際の蓄積時間を、前記フリッカーの周期の1/2倍にすることを特徴とする請求項8に記載の撮像装置。 When the image acquisition unit detects the flicker period by the detection unit, the accumulation time for obtaining the first image and the second image is set to ½ times the flicker period. The imaging device according to claim 8, wherein 前記画像取得手段は、前記検知手段により前記フリッカーの周期を検知していない場合、前記第1の画像および前記第2の画像を得る際の蓄積時間を、1/200秒と1/240秒の間の時間にすることを特徴とする請求項8又は9に記載の撮像装置。 When the image acquisition unit does not detect the flicker cycle by the detection unit, the accumulation time when obtaining the first image and the second image is 1/200 seconds and 1/240 seconds. The image pickup apparatus according to claim 8 or 9, wherein the image pickup apparatus has a time interval between them. 写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得ステップと、
前記第1の画像および前記第2の画像に応じてフリッカーの存在を検出する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知ステップと、
を有することを特徴とする制御方法。
Together to obtain a first image captured by the first timing determined to be Utsushitai advance, an image to obtain a second image by imaging the object Utsushitai at a second timing different from said first timing Acquisition step,
When detecting the presence of flicker according to the first image and the second image, if the frame rate for obtaining the first image and the second image exceeds a preset frame rate, A detection step of detecting the period of the flicker based on the first image, the second image, and a third image obtained as a result of the addition processing of the first image and the second image; ,
A control method comprising:
撮像装置で用いられる制御プログラムであって、
前記撮像装置が備えるコンピュータに
写体を予め定められた第1のタイミングで撮像して第1の画像を得るとともに、前記第1のタイミングと異なる第2のタイミングで被写体を撮像して第2の画像を得る画像取得ステップと、
前記第1の画像および前記第2の画像に応じてフリッカーの存在を検出する際、前記第1の画像および前記第2の画像を得る際のフレームレートが予め設定されたフレームレートを超えると、前記第1の画像、前記第2の画像、および前記第1の画像と前記第2の画像とを加算処理した結果得られた第3の画像に基づいて前記フリッカーの周期を検知する検知ステップと、
を実行させることを特徴とする制御プログラム。
A control program used in an imaging device,
In the computer included in the imaging device ,
Together to obtain a first image captured by the first timing determined to be Utsushitai advance, an image to obtain a second image by imaging the object Utsushitai at a second timing different from said first timing Acquisition step,
When detecting the presence of flicker according to the first image and the second image, when the frame rate for obtaining the first image and the second image exceeds a preset frame rate, A detection step of detecting the period of the flicker based on the first image, the second image, and a third image obtained as a result of the addition processing of the first image and the second image; ,
A control program for executing the following.
JP2015234867A 2015-12-01 2015-12-01 Imaging device, control method thereof, and control program Active JP6704718B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015234867A JP6704718B2 (en) 2015-12-01 2015-12-01 Imaging device, control method thereof, and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015234867A JP6704718B2 (en) 2015-12-01 2015-12-01 Imaging device, control method thereof, and control program

Publications (2)

Publication Number Publication Date
JP2017103589A JP2017103589A (en) 2017-06-08
JP6704718B2 true JP6704718B2 (en) 2020-06-03

Family

ID=59017107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015234867A Active JP6704718B2 (en) 2015-12-01 2015-12-01 Imaging device, control method thereof, and control program

Country Status (1)

Country Link
JP (1) JP6704718B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109842743A (en) * 2017-11-27 2019-06-04 李金平 A method of improving the imaging effect for the image being recorded

Also Published As

Publication number Publication date
JP2017103589A (en) 2017-06-08

Similar Documents

Publication Publication Date Title
US9794493B2 (en) Image capturing apparatus, image capturing method, and control method
JP6370134B2 (en) Imaging device, control method thereof, and control program
US9854178B2 (en) Image pickup apparatus with flicker detection and having plurality of unit pixel areas, control method therefor, and storage medium
WO2018101092A1 (en) Imaging device and flicker determination method
US10447923B2 (en) Image processing apparatus, imaging apparatus, and method of controlling image processing apparatus
JP2015227995A5 (en)
JP2017211487A (en) Imaging apparatus and automatic focus adjustment method
JP2018031877A (en) Image pickup device and focus adjusting method
JP2016213661A (en) Imaging apparatus, method for detecting change in quantity of light and program
JP2015111252A (en) Imaging device, imaging device control method, program, and storage medium
JP7086551B2 (en) Imaging device and its control method
JP6393091B2 (en) Imaging apparatus, control method therefor, program, and storage medium
JP6482370B2 (en) Imaging device, light amount change detection method and program
JP6704718B2 (en) Imaging device, control method thereof, and control program
JP5743459B2 (en) Imaging device and lens unit
JP6768372B2 (en) Imaging device, its control method, and program
JP6960745B2 (en) Focus detector and its control method, program, storage medium
JP2017005495A (en) Imaging apparatus, method for controlling the same, and program
JP7043209B2 (en) Control device, image pickup device, control method, and program
JP2017125985A (en) Imaging apparatus
JP2021043371A (en) Imaging device and control method therefor
JP2018005145A (en) Imaging device
JP5899707B2 (en) Imaging device
JP6504845B2 (en) Imaging device, control method therefor, and control program
JP2016142776A (en) Imaging device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181119

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190820

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191001

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200414

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200513

R151 Written notification of patent or utility model registration

Ref document number: 6704718

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151