JP2013042298A - Imaging apparatus and flicker generation frequency detection method - Google Patents

Imaging apparatus and flicker generation frequency detection method Download PDF

Info

Publication number
JP2013042298A
JP2013042298A JP2011177121A JP2011177121A JP2013042298A JP 2013042298 A JP2013042298 A JP 2013042298A JP 2011177121 A JP2011177121 A JP 2011177121A JP 2011177121 A JP2011177121 A JP 2011177121A JP 2013042298 A JP2013042298 A JP 2013042298A
Authority
JP
Japan
Prior art keywords
accumulation
flicker
imaging
range
frequency
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.)
Pending
Application number
JP2011177121A
Other languages
Japanese (ja)
Other versions
JP2013042298A5 (en
Inventor
Kazuma Hosoi
一磨 細井
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.)
Nikon Corp
Original Assignee
Nikon Corp
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 Nikon Corp filed Critical Nikon Corp
Priority to JP2011177121A priority Critical patent/JP2013042298A/en
Publication of JP2013042298A publication Critical patent/JP2013042298A/en
Publication of JP2013042298A5 publication Critical patent/JP2013042298A5/ja
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an imaging apparatus and flicker generation frequency detection method capable of excellently preventing the generation of a flicker.SOLUTION: An imaging apparatus 1 includes: an imaging part 7 for performing a flicker detection accumulation to detect the frequency of a power source to be supplied to a light source that causes the generation of a flicker in a captured image and a normal imaging accumulation other than the flicker detection accumulation; a frequency detection part 10 for detecting a frequency on the basis of the accumulation result of the flicker detection accumulation in the imaging part 7; a storage part 9 for storing first information p1 indicating the relation of first exposure control where the control range of an accumulation time TV is a first range and second information p50, p60 indicating the relation of second exposure control where the control range of the accumulation time TV is a second range at a lower speed compared with that of the first range; and a control part 10 for performing exposure control on the basis of the first information p1 stored in the storage part 9 when the flicker detection accumulation is performed and performing exposure control on the basis of the second information p50, p60 stored in the storage part 9 when the imaging accumulation is performed.

Description

本発明は、撮像装置及びフリッカー発生周波数検出方法に関するものである。   The present invention relates to an imaging apparatus and a flicker generation frequency detection method.

デジタル一眼レフカメラにおいて、クイックリターンミラーを常時上げた状態に保ち、撮像素子で画像を連続して表示装置へ出力する、いわゆるライブビューと呼ばれる機能がある。このライブビューが行われる際、表示装置に表示される画像において、撮像素子の蓄積時間によっては、光源の電源の周波数によって生じる光源の揺らぎの影響を受け、フリッカーが発生する場合がある。従来、これらのフリッカー対策として、種々の対策がとられている(例えば、特許文献1参照)。   A digital single-lens reflex camera has a function called a so-called live view in which a quick return mirror is constantly raised and images are continuously output to a display device by an image sensor. When this live view is performed, flicker may occur in an image displayed on the display device due to the influence of the fluctuation of the light source caused by the frequency of the power source of the light source, depending on the accumulation time of the image sensor. Conventionally, various countermeasures have been taken as countermeasures against these flickers (see, for example, Patent Document 1).

特開2002−94878号公報JP 2002-94878 A

本発明の課題は、フリッカーの発生を良好に防止可能な撮像装置及びフリッカー発生周波数検出方法を提供することである。   An object of the present invention is to provide an imaging apparatus and a flicker occurrence frequency detection method capable of satisfactorily preventing the occurrence of flicker.

本発明は、以下のような解決手段により前記課題を解決する。なお、理解を容易にするために、本発明の実施形態に対応する符号を付して説明するが、これに限定されるものではない。
請求項1に記載の発明は、撮影された画像にフリッカーを発生させる原因となる光源に供給される電源の周波数を検出するためのフリッカー検出用蓄積、及び該フリッカー検出用蓄積以外の通常の撮像用蓄積が可能な撮像部(7)と、前記撮像部(7)の前記フリッカー検出用蓄積の蓄積結果に基づいて、前記周波数を検出する周波数検出部(10)と、蓄積時間(TV)の制御範囲が、第1の範囲である第1の露出制御の関係を示す第1の情報(P1)、及び、蓄積時間(TV)の制御範囲が、前記第1の範囲より低速の第2の範囲である第2の露出制御の関係を示す第2の情報(P50,P60)が記憶された記憶部(9)と、前記フリッカー検出用蓄積の際には、前記記憶部(9)に記憶された前記第1の情報(P1)に基づいて露出制御を行い、前記撮像用蓄積の際には、前記記憶部(9)に記憶された前記第2の情報(P50,P60)に基づいて露出制御を行う制御部(10)と、を備えることを特徴とする撮像装置(1)である。
請求項2に記載の発明は、請求項1に記載の撮像装置(1)であって、前記撮像用蓄積の際のフレームレートは、前記フリッカー検出用蓄積の際のフレームレートより遅いこと、を特徴とする撮像装置(1)である。
請求項3に記載の発明は、請求項1又は2に記載の撮像装置(1)であって、前記第1の範囲における蓄積時間(TV)の低速限界を、通常の画像撮影時よりも高速にすること、を特徴とする撮像装置(1)である。
請求項4に記載の発明は、請求項3に記載の撮像装置(1)であって、前記記憶部(9)に記憶されている前記第1の情報(P1)及び前記第2の情報(P50,P60)は、撮像感度(ISO)と、前記撮像部(7)に到達する光に対応する値(BV−AV,BV−AV+1/3)と、前記蓄積時間(TV)との対応を表すプログラム線図であること、を特徴とする撮像装置(1)である。
請求項5に記載の発明は、撮影された画像にフリッカーを発生させる原因となる光源に供給される電源の周波数を検出するためのフリッカー検出用蓄積、及び、該フリッカー検出用蓄積以外の通常の撮像用蓄積とが可能な撮像部(7)と、前記撮像部(7)の前記フリッカー検出用蓄積の蓄積結果に基づいて、前記周波数を検出する周波数検出部(10)と、蓄積時間(TV)の制御範囲が、第1の範囲である第1の露出制御の関係を示す第1の情報(P1)、及び、蓄積時間(TV)の制御範囲が、前記第1の範囲より低速の第2の範囲である第2の露出制御の関係を示す第2の情報(P50,P60)が記憶された記憶部(9)と、を備える撮像装置(1)において、前記フリッカー検出用蓄積の際には、前記記憶部(9)に記憶された前記第1の情報(P1)に基づいて露出制御を行い、前記撮像用蓄積の際には、前記記憶部(9)に記憶された前記第2の情報(P50,P60)に基づいて露出制御を行うこと、を特徴とするフリッカー発生周波数検出方法である。
The present invention solves the above problems by the following means. In addition, in order to make an understanding easy, although the code | symbol corresponding to embodiment of this invention is attached | subjected and demonstrated, it is not limited to this.
According to the first aspect of the present invention, flicker detection accumulation for detecting the frequency of a power source supplied to a light source that causes flicker in a photographed image, and normal imaging other than the flicker detection accumulation An imaging unit (7) capable of accumulating, a frequency detection unit (10) for detecting the frequency based on the accumulation result of the flicker detection accumulation of the imaging unit (7), and an accumulation time (TV) The first information (P1) indicating the relationship of the first exposure control in which the control range is the first range, and the control range of the accumulation time (TV) is the second speed lower than the first range. The storage unit (9) storing the second information (P50, P60) indicating the relationship of the second exposure control, which is the range, and the storage unit (9) store the flicker detection accumulation. Exposure based on the first information (P1) And a control unit (10) that performs exposure control based on the second information (P50, P60) stored in the storage unit (9) during the accumulation for imaging. An imaging device (1) characterized by
The invention according to claim 2 is the imaging apparatus (1) according to claim 1, wherein a frame rate at the time of accumulation for imaging is slower than a frame rate at the time of accumulation for flicker detection. It is the imaging device (1) characterized.
A third aspect of the present invention is the imaging apparatus (1) according to the first or second aspect, wherein the lower limit of the accumulation time (TV) in the first range is set to be higher than that during normal image capturing. An imaging device (1) characterized by
The invention according to claim 4 is the imaging apparatus (1) according to claim 3, wherein the first information (P1) and the second information (stored in the storage unit (9)). P50, P60) is a correspondence between imaging sensitivity (ISO), values (BV-AV, BV-AV + 1/3) corresponding to light reaching the imaging unit (7), and the storage time (TV). The imaging device (1) is characterized by being a program diagram.
According to the fifth aspect of the present invention, the flicker detection accumulation for detecting the frequency of the power source supplied to the light source that causes flicker in the photographed image and the normal other than the flicker detection accumulation An image pickup unit (7) capable of image pickup, a frequency detection unit (10) for detecting the frequency based on the flicker detection accumulation result of the image pickup unit (7), and an accumulation time (TV ) Of the first information (P1) indicating the relationship of the first exposure control, which is the first range, and the control range of the storage time (TV) is lower than the first range. In the imaging device (1), the storage unit (9) storing the second information (P50, P60) indicating the relationship of the second exposure control that is the range of 2 in the flicker detection storage Stored in the storage unit (9) The exposure control is performed based on the first information (P1), and the exposure control is performed based on the second information (P50, P60) stored in the storage unit (9) during the accumulation for imaging. Performing a flicker generation frequency detection method.

なお、符号を付して説明した構成は、適宜改良してもよく、また、少なくとも一部を他の構成物に代替してもよい。   Note that the configuration described with reference numerals may be modified as appropriate, and at least a part of the configuration may be replaced with another component.

本発明によれば、フリッカーの発生を良好に防止可能な撮像装置及びフリッカー発生周波数検出方法を提供することができる。   According to the present invention, it is possible to provide an imaging apparatus and a flicker generation frequency detection method that can satisfactorily prevent occurrence of flicker.

本発明の一実施形態を適用したカメラの構成図である。It is a block diagram of a camera to which an embodiment of the present invention is applied. カメラの基本動作を示す流れ図である。It is a flowchart which shows the basic operation | movement of a camera. エリアセンサでの蓄積方法を説明する図である。It is a figure explaining the accumulation | storage method in an area sensor. フリッカー周波数検出処理の概要フローである。It is a general | schematic flow of a flicker frequency detection process. フリッカー周波数検出用P線図である。It is a P diagram for flicker frequency detection. 撮像出力とフレーム数の関係を示す図である。It is a figure which shows the relationship between an imaging output and the number of frames. 50Hz用のライブビュー用P線図である。It is a P diagram for live view for 50 Hz. 60Hz用のライブビュー用P線図である。It is a P diagram for live view for 60 Hz.

以下、図面を参照して、本発明の実施形態について説明する。
図1は本実施形態のデジタル一眼レフレックスカメラ100の構成図である。
カメラ100はカメラ本体1と、レンズユニット2から構成される。
ここで、レンズユニット2はカメラ本体1に対して交換可能に装着され、撮像光学系3や絞り4等を含んでいる。
撮像光学系3は複数のレンズ群を含む(図においては2つのレンズのみ図示)。複数のレンズ群は、ズームレンズ群、フォーカスレンズ群を含む。
絞り4は、撮像光学系3を通過して、カメラ本体1に備えられた後述の撮像素子7に至る光束の光量を制限する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a configuration diagram of a digital single-lens reflex camera 100 of the present embodiment.
The camera 100 includes a camera body 1 and a lens unit 2.
Here, the lens unit 2 is attached to the camera body 1 so as to be replaceable, and includes an imaging optical system 3 and an aperture 4.
The imaging optical system 3 includes a plurality of lens groups (only two lenses are shown in the figure). The plurality of lens groups includes a zoom lens group and a focus lens group.
The diaphragm 4 limits the amount of light flux that passes through the imaging optical system 3 and reaches an imaging device 7 (described later) provided in the camera body 1.

カメラ本体1は、クイックリターンミラー5と、フォーカルプレーンシャッター6と、被写体像を光電変換する撮像素子7と、撮像素子7で撮像された画像(動画(ライブビュー画像も含む)及び静止画)を表示する表示部8と、を備えている。
またカメラ本体1は、ファインダ光学系20と、被写体像を光電変換するエリアセンサ16と、それらを制御する演算を行う制御部10、及び制御情報を記憶する記憶部9とを有している。
クイックリターンミラー5、フォーカルプレーンシャッター6および撮像素子7は、撮像光学系3の光軸OAに沿って配置され、ファインダ光学系20はクイックリターンミラー5の上部領域に配置されている。
The camera body 1 includes a quick return mirror 5, a focal plane shutter 6, an image sensor 7 that photoelectrically converts a subject image, and images (including moving images (including live view images) and still images) captured by the image sensor 7. And a display unit 8 for displaying.
In addition, the camera body 1 includes a finder optical system 20, an area sensor 16 that performs photoelectric conversion of a subject image, a control unit 10 that performs calculations to control them, and a storage unit 9 that stores control information.
The quick return mirror 5, the focal plane shutter 6, and the image sensor 7 are arranged along the optical axis OA of the imaging optical system 3, and the finder optical system 20 is arranged in the upper region of the quick return mirror 5.

撮影者がファインダ光学系20を通して被写界を観察する時、つまり静止画撮影、及び動画撮影(ライブビューも含む)以外の時は、クイックリターンミラー5は、撮像光学系3から撮像素子7までの撮影光路と交差し、撮像光学系3を通過した光束を上方に反射させてファインダ光学系20に導くようになっている(実線の位置)。
一方、静止画撮影、及び動画撮影(ライブビューも含む)時、クイックリターンミラー5は上方に跳ね上げられ、撮像光学系3を通過した光束はフォーカルプレーンシャッター6および撮像素子7に導かれ、撮像素子7の撮像信号に基づいて被写体の画像データを生成することができる(点線の位置)。
When the photographer observes the scene through the finder optical system 20, that is, other than still image shooting and moving image shooting (including live view), the quick return mirror 5 moves from the imaging optical system 3 to the image sensor 7. The light beam that intersects the imaging optical path and passes through the imaging optical system 3 is reflected upward and guided to the finder optical system 20 (the position of the solid line).
On the other hand, at the time of still image shooting and moving image shooting (including live view), the quick return mirror 5 is flipped upward, and the light beam that has passed through the imaging optical system 3 is guided to the focal plane shutter 6 and the image sensor 7 to capture the image. Image data of the subject can be generated based on the image pickup signal of the element 7 (dotted line position).

ファインダ光学系20は、ファインダスクリーン11、ペンタダハプリズム12、接眼レンズ14を含む。
被写体からの光束はカメラ100の撮像光学系3及び絞り4を通過した後、クイックリターンミラー5によって上部に反射される。そして、クイックリターンミラー5で反射された被写体からの光束は、撮像素子7と光学的に等価な面に配置されたファインダスクリーン11に結像する。結像した被写体像の光束はペンタダハプリズム12を経て、接眼レンズ14を通った後、ファインダ17へと向かう。
また、ペンタダハプリズム12を通った光束の一部はエリアセンサ用再結像光学系13を通って、エリアセンサ16に結像する。
The finder optical system 20 includes a finder screen 11, a penta roof prism 12, and an eyepiece lens 14.
The light beam from the subject passes through the imaging optical system 3 and the diaphragm 4 of the camera 100 and is then reflected upward by the quick return mirror 5. Then, the light beam from the subject reflected by the quick return mirror 5 forms an image on the finder screen 11 disposed on a surface optically equivalent to the image sensor 7. The luminous flux of the formed subject image passes through the penta roof prism 12, passes through the eyepiece lens 14, and then travels to the finder 17.
A part of the light beam that has passed through the penta roof prism 12 passes through the area sensor re-imaging optical system 13 and forms an image on the area sensor 16.

エリアセンサ16は、CMOSイメージセンサなどで構成され、撮影の際の露出値を演算するため、撮影画面を複数の領域に分割して領域ごとの輝度に応じた出力信号を出力する。この出力信号は、後述の、撮影された画像にフリッカーを発生させる原因となる、被写界内に含まれる光源に供給される交流電源の周波数(以下、フリッカー周波数という)検出用にも利用される。   The area sensor 16 is composed of a CMOS image sensor or the like, and divides the photographing screen into a plurality of regions and outputs an output signal corresponding to the luminance for each region in order to calculate an exposure value at the time of photographing. This output signal is also used to detect the frequency of the AC power supply (hereinafter referred to as flicker frequency) supplied to the light source included in the object scene, which causes flicker in the captured image, which will be described later. The

撮像素子7は、カメラ本体1の、光軸OA上であって、撮像光学系3の予定焦点面となる位置に設けられ、フォーカルプレーンシャッター6は、その前面に設けられている。
撮像素子7は、複数の光電変換素子が二次元に配列されたものであって、二次元CCDセンサ、CMOSセンサなどで構成することができる。
この撮像素子7で光電変換された電気撮像信号は、制御部10で画像処理されたのち、図示しないメモリに保存される。なお、撮影された画像を格納するメモリは内蔵型メモリやカード型メモリなどで構成することができる。
The imaging device 7 is provided on the optical axis OA of the camera body 1 at a position that is a planned focal plane of the imaging optical system 3, and the focal plane shutter 6 is provided on the front surface thereof.
The imaging device 7 is a device in which a plurality of photoelectric conversion devices are two-dimensionally arranged, and can be constituted by a two-dimensional CCD sensor, a CMOS sensor, or the like.
The electrical imaging signal photoelectrically converted by the imaging device 7 is subjected to image processing by the control unit 10 and then stored in a memory (not shown). Note that the memory for storing the photographed image can be constituted by a built-in memory or a card-type memory.

カメラ本体1は操作部21も備える。操作部21はレリーズスイッチ、ズームボタン、および撮影者がカメラ本体1の各種動作モードを設定するための入力スイッチ等である。   The camera body 1 also includes an operation unit 21. The operation unit 21 includes a release switch, a zoom button, and an input switch for the photographer to set various operation modes of the camera body 1.

そして、カメラ100の使用者がレリーズスイッチ21を押下すると、カメラ100は撮影動作を開始する。
撮影動作において、まず、クイックリターンミラー5が上部(点線)へ跳ね上がる。カメラ100はフォーカルプレーンシャッター6のシャッター幕を開き、撮像素子7で光束を受光し、撮像信号を出力する。
撮像信号はエリアセンサ16の出力と同様に制御部10で処理される。そして、撮影された画像は、表示部8に表示される。
When the user of the camera 100 presses the release switch 21, the camera 100 starts a shooting operation.
In the photographing operation, first, the quick return mirror 5 jumps upward (dotted line). The camera 100 opens the shutter curtain of the focal plane shutter 6, receives the light beam with the image sensor 7, and outputs an image signal.
The imaging signal is processed by the control unit 10 in the same manner as the output of the area sensor 16. Then, the captured image is displayed on the display unit 8.

ライブビューモード(動画撮影も含む)の場合も、カメラ100はクイックリターンミラー5を上部に跳ね上げる。
そしてカメラ100は、フォーカルプレーンシャッター6を開き、撮像素子7で被写体からの光束を受光する。撮像素子7の出力は制御部10で処理され、表示部8にスルー画として表示される。
In the live view mode (including moving image shooting), the camera 100 flips the quick return mirror 5 upward.
Then, the camera 100 opens the focal plane shutter 6 and the image sensor 7 receives the light beam from the subject. The output of the image sensor 7 is processed by the control unit 10 and displayed as a through image on the display unit 8.

次に、本実施形態における処理の流れについて説明する。図2は図1のカメラ100が電源ONとなった状態から、ライブビューを開始し、撮影を行い、ライブビューを終了するまでの、カメラ100の基本動作を示す流れ図である。   Next, the flow of processing in this embodiment will be described. FIG. 2 is a flowchart showing the basic operation of the camera 100 from the state in which the camera 100 of FIG.

電源ONとなったカメラ100は、クイックリターンミラー5がミラーダウンした状態であり、撮像光学系3から入射した被写体光はエリアセンサ16に導かれる。
S201においてエリアセンサ16は、被写体光の蓄積を行う。
ここでの蓄積は、静止画撮影の際の露出条件、及び後述のS205のフリッカー周波数検出用の露出条件を設定するための蓄積である。さらに、後述のS207のライブビュー時の最初の露出条件もここでの蓄積結果をもとに設定される。蓄積結果は、信号化して出力され、制御部10において処理される。
The camera 100 that is turned on is in a state in which the quick return mirror 5 is in the mirror-down state, and the subject light incident from the imaging optical system 3 is guided to the area sensor 16.
In S201, the area sensor 16 accumulates subject light.
The accumulation here is an accumulation for setting an exposure condition at the time of still image shooting and an exposure condition for flicker frequency detection in S205 described later. Further, the first exposure condition at the time of live view in S207, which will be described later, is also set based on the accumulation result here. The accumulation result is output as a signal and processed by the control unit 10.

図3は、S201でのエリアセンサ16での蓄積方法を説明する図である。エリアセンサ16では、被写界がブロック分けされる。本実施形態においてエリアセンサ16の被写界は、図示するように横5×縦5のブロックに分けられる。
各ブロックの出力は座標(i,j)を用いて、Y[i][j]として表され、それぞれのブロックで0〜1023の値を取る。そして、エリアセンサ16は、各ブロックの出力を制御部10に送信する。
FIG. 3 is a diagram for explaining a storage method in the area sensor 16 in S201. In the area sensor 16, the object scene is divided into blocks. In the present embodiment, the object field of the area sensor 16 is divided into 5 × 5 blocks as shown.
The output of each block is expressed as Y [i] [j] using coordinates (i, j), and takes a value of 0 to 1023 in each block. Then, the area sensor 16 transmits the output of each block to the control unit 10.

S202で、カメラ100は、制御部10において、エリアセンサ16の信号出力から25ブロックの輝度値を算出する。
輝度値の算出は以下のように行う。
BV[i][j]=Log2(Y[i][j])+CONST …(式1)
式1中Log2( )は2を底とした引数の対数を返す関数である。
また、CONSTはエリアセンサ16の蓄積を行った際の蓄積時間、感度、撮影レンズの明るさを正規化するための項である。式1の処理をiとjの組み合わせ全25領域に対して行う。
In S <b> 202, the camera 100 calculates the luminance value of 25 blocks from the signal output of the area sensor 16 in the control unit 10.
The luminance value is calculated as follows.
BV [i] [j] = Log2 (Y [i] [j]) + CONST (Formula 1)
In Expression 1, Log2 () is a function that returns the logarithm of the argument with base 2.
CONST is a term for normalizing the accumulation time, sensitivity, and brightness of the photographing lens when the area sensor 16 is accumulated. The processing of Formula 1 is performed for all 25 combinations of i and j.

S203でカメラ100は、使用者がライブビューの開始動作を行ったかどうか判定し、ライブビューが開始されない場合(S203,NO)には、上記S201からS202の処理を繰り返す。   In S203, the camera 100 determines whether or not the user has started a live view. If the live view is not started (S203, NO), the processing from S201 to S202 is repeated.

カメラ100は、使用者がライブビューの開始動作を行ったと判定した場合(S203,YES)、S204でクイックリターンミラー5を上部に跳ね上げ、フォーカルプレーンシャッター6を開き、撮像素子7での撮像が可能な状態にする。   When the camera 100 determines that the user has started the live view operation (S203, YES), the quick return mirror 5 is flipped up in S204, the focal plane shutter 6 is opened, and the image pickup device 7 takes an image. Make it possible.

(フリッカー周波数検出)
次に、カメラ100は、S205において、フリッカー周波数の検出を行う。
図4はS205のフリッカー周波数の検出の処理の概要フローである。
(Flicker frequency detection)
Next, the camera 100 detects the flicker frequency in S205.
FIG. 4 is an outline flow of the flicker frequency detection process in S205.

図4に示すように、フリッカー周波数の検出の処理において、制御部10は、S301で、フリッカー周波数検出用の蓄積条件を求める。なお、本実施形態では、フリッカー周波数検出用の蓄積条件の算出は、このS301において行う例について説明するが、これに限らず、例えば、ライブビュー開始前に行うこともできる。
S301において制御部10は、まず、S202で測光されたエリアのうちで輝度が最大のものを求める。
BV25MAX=MAX(BV[i][j]) …(式2)
式2中、MAX( )は引数配列の最大値を返す関数である。
As shown in FIG. 4, in the flicker frequency detection process, the control unit 10 obtains an accumulation condition for flicker frequency detection in S301. In the present embodiment, the calculation of the flicker frequency detection accumulation condition is described with respect to the example performed in S301. However, the present invention is not limited to this, and may be performed before the start of the live view, for example.
In S301, the control unit 10 first obtains the area having the maximum luminance from the areas measured in S202.
BV25MAX = MAX (BV [i] [j]) (Formula 2)
In Expression 2, MAX () is a function that returns the maximum value of the argument array.

算出したBV25MAXと、撮影レンズ2の絞り4の絞り値AVを元に(BV−AV)、図5に示すフリッカー周波数検出用P線図P1で蓄積時間シャッター秒時とISO感度を算出する。このP線図は、BV25MAXが飽和(白飛び)しないようなP線図であり、記憶部9に記憶されている。   Based on the calculated BV25MAX and the aperture value AV of the aperture 4 of the photographing lens 2 (BV-AV), the accumulation time shutter speed and the ISO sensitivity are calculated from the flicker frequency detection P diagram P1 shown in FIG. This P diagram is a P diagram in which BV25MAX is not saturated (out-of-white) and is stored in the storage unit 9.

ここで、輝度が最大のエリアの輝度BV25MAXが飽和(白飛び)しないようにするのは、以下の理由による。
それは、通常のライブビュー表示時における適正露出(表示装置が適正な明るさとなるような露出)は、撮像素子7の一部領域が飽和している可能性がある。しかし、フリッカーの原因は、一般に蛍光灯などの光源であって、フリッカー周波数を検出するということは、この光源の点滅を検出することである。
光源は、画面内で一番明るい場合が多く、通常の露出状態ではその明るい光源が飽和(白飛び)する可能性が高く、光源が白飛びすると、光源の点滅を検出することが出来ず、フリッカー周波数に関するデータを得ることが出来ない。
Here, the reason why the luminance BV25MAX in the area with the highest luminance is not saturated (out-of-white) is as follows.
This is because there is a possibility that a part of the image sensor 7 is saturated with a proper exposure during normal live view display (exposure so that the display device has a proper brightness). However, the cause of flicker is generally a light source such as a fluorescent lamp, and detecting the flicker frequency means detecting blinking of the light source.
The light source is often brightest on the screen, and it is highly likely that the bright light source will saturate (out-of-white) under normal exposure conditions. I cannot get data on the flicker frequency.

そこで、本実施形態では、フリッカー周波数検出前にエリアセンサ16によって被写界を測光し、フリッカー周波数の検出に用いる撮像素子7の駆動の際には、画面の最大輝度の部分が飽和しないような露出制御を行うようにする。これにより、出力が飽和しない状態でフリッカー周波数の検出を行うことができる。   Therefore, in the present embodiment, the object field is measured by the area sensor 16 before the flicker frequency is detected, and the maximum luminance portion of the screen is not saturated when the image sensor 7 used for detecting the flicker frequency is driven. Perform exposure control. Thereby, the flicker frequency can be detected in a state where the output is not saturated.

(高速フレームレート)
次に、S302においてフリッカー周波数検出用の蓄積を行う。この蓄積は、高速フレームレートで行う。本実施形態での高速フレームレートとは、予想される光源の幻滅周波数100Hzまたは120Hz(50Hzと60Hzの電源に対応)といったフリッカー周波数に対して十分に高い、好ましくは700fps以上のフレームレートである。より好ましくは、800fpsから1200fpsである。
(High frame rate)
Next, accumulation for flicker frequency detection is performed in S302. This accumulation is performed at a high frame rate. The high-speed frame rate in the present embodiment is a frame rate that is sufficiently high with respect to a flicker frequency such as an expected disillusion frequency of 100 Hz or 120 Hz (corresponding to a power source of 50 Hz and 60 Hz), preferably 700 fps or more. More preferably, it is 800 fps to 1200 fps.

高速フレームレートの場合、1フレームの撮影動作期間(蓄積時間、シャッター秒時)が非常に短いため、1フレームの撮影動作期間おける周辺環境の明るさは蛍光灯下であってもほぼ一定となる。したがってフレーム画像には帯状の明暗は現れない。そして、このような高速フレームレートの連続画像においては、蛍光灯の点滅による明暗が、連続するフレームの明暗となって現れる。すなわち、高速フレームレートの場合、フレームそれぞれの輝度をプロットすることにより、蛍光灯点滅のサイクルを把握することが可能となる。   In the case of a high-speed frame rate, since the shooting operation period (accumulation time, shutter time) of one frame is very short, the brightness of the surrounding environment during the shooting operation period of one frame is almost constant even under a fluorescent lamp. . Therefore, no banded light and dark appear in the frame image. In such a continuous image at a high frame rate, light and dark due to blinking of a fluorescent lamp appear as light and dark in successive frames. That is, in the case of a high frame rate, it is possible to grasp the cycle of the fluorescent lamp blinking by plotting the luminance of each frame.

(高速シャッター秒時)
また、光源の揺らぎを正確に検出するには、シャッター秒時を高速にして瞬間的な光量を検出することが好ましい。また、最低シャッター秒時(TV)は1/フレームレートであるので、高速フレームレートを達成するには、シャッター秒時も高速となる。このため、フリッカー周波数の検出のために撮像素子7の駆動を行う場合には、通常の撮影の場合の露出制御P線図とは別に設けられているフリッカー周波数検出用の露出制御P線図を用いる。
(At high shutter speed)
In order to accurately detect the fluctuation of the light source, it is preferable to detect the instantaneous light quantity at a high shutter speed. Further, since the minimum shutter speed (TV) is 1 / frame rate, the shutter speed is also high to achieve a high frame rate. For this reason, when the image sensor 7 is driven to detect the flicker frequency, an exposure control P diagram for detecting the flicker frequency, which is provided separately from the exposure control P diagram for normal shooting, is used. Use.

図5は、そのフリッカー周波数検出の際の露出制御P線図を示す。このP線図は、通常の撮影の場合のP線図とは異なり、フレームレート800fpsに対応して、最低シャッター秒時は1/800と、高速になっている。
このように、露出制御P線図をライブビュー時の撮影用と別に設けるため、撮像部7においてフリッカー周波数検出に特化した撮像を行うことが可能となり、ライブビュー時の露出制御条件に関わらず、精度の良いフリッカー周波数検出が可能となる。
FIG. 5 shows an exposure control P diagram when detecting the flicker frequency. This P diagram is different from the P diagram in the case of normal photographing, and corresponds to a frame rate of 800 fps, and the minimum shutter speed is 1/800, which is high speed.
As described above, since the exposure control P diagram is provided separately for shooting at the time of live view, it is possible to perform imaging specialized for flicker frequency detection in the imaging unit 7, regardless of the exposure control conditions at the time of live view. Therefore, it is possible to detect the flicker frequency with high accuracy.

この、S303の蓄積は、所定回数(本実施形態では80回)を超えるまで繰り返される。それは、複数光源が被写界内に存在する場合や光源の輝度が変化する場合、1回の検出結果では、正確に周波数の検出ができないことがあるからである。   This accumulation in S303 is repeated until a predetermined number of times (80 times in the present embodiment) is exceeded. This is because when a plurality of light sources are present in the object scene or when the luminance of the light sources changes, the frequency may not be detected accurately with a single detection result.

(二値化処理)
図6は、フリッカー周波数検出のために行った、撮像素子7の蓄積結果である。縦軸は、被写界の輝度に対応する出力値である。
S303において、蓄積回数が所定回数(本実施形態では80回)を超えた場合、(S303,Yes)、S304において、取得した撮像素子7の出力を二値化する。
二値化は、以下のように行う。
まず、1〜80回の蓄積においてn回目に蓄積した撮像出力の平均値をYMean[n]とする。そして、その平均を求める。
AveYMean=AVERAGE(YMean[n])
AVERAGE( )は引数配列の平均値を返す関数である。図6においてAveMeanを点線で示す。
(Binarization processing)
FIG. 6 shows a result of accumulation of the image sensor 7 performed for flicker frequency detection. The vertical axis is an output value corresponding to the luminance of the object scene.
In S303, when the number of accumulation exceeds a predetermined number (80 in the present embodiment) (S303, Yes), in S304, the acquired output of the image sensor 7 is binarized.
Binarization is performed as follows.
First, the average value of the imaging output accumulated at the nth time in the accumulation of 1 to 80 times is defined as YMean [n]. And the average is calculated | required.
AveYMean = AVERAGE (YMean [n])
AVERAGE () is a function that returns the average value of the argument array. In FIG. 6, AveMean is indicated by a dotted line.

次に、各フレームの出力を二値化する。二値化は以下の式に基づいて行う。
YMean[n]>AveYMeanならば FLBIT[n]=1
YMean[n]≦AveYMeanならば FLBIT[n]=0
Next, the output of each frame is binarized. Binarization is performed based on the following equation.
If YMean [n]> AveYMean, FLBIT [n] = 1
If YMean [n] ≦ AveYMean, FLBIT [n] = 0

二値化処理の結果を、図6のグラフ上に合わせて二点鎖線で示す。
図6に示すように、二値化すると、FLBIT[n]=1が複数回続き(L1)、次はFLBIT[n]=0が複数回続き(L0)、また、FLBIT[n]=1が複数回続く(L1)、というように、FLBIT=1(L1)とFLBIT=0(L0)とが複数回ごとに繰り返される。
The result of the binarization process is indicated by a two-dot chain line on the graph of FIG.
As shown in FIG. 6, when binarization is performed, FLBIT [n] = 1 continues multiple times (L1), then FLBIT [n] = 0 continues multiple times (L0), and FLBIT [n] = 1 FLBIT = 1 (L1) and FLBIT = 0 (L0) are repeated a plurality of times.

この、連続する複数回のFLBIT=1(L1)と、連続する複数回のFLBIT=0(L0)をそれぞれ1組ずつ含むフレーム数を、一部重ねてカウントする。
すなわち、図6に示すように、1回目(T1)は、FLBITが0から1に立ち上がった際の最初の1から、次に0から1に立ち上がる前の最後の0までのフレーム数を数える。
2回目(T2)は、1回目のカウント領域(T1)の半分と重なり、1から0に下がった際の最初の0から、次に1から0に下がる前の最後の1までのフレーム数を数える。
3回目(T3)は、2回目のカウント領域(T2)の半分と重なり、0から1に立ち上がった際の最初の1から、次に0から1に立ち上がる際の最後の0までのフレーム数を数える。
The number of frames each including one set each of a plurality of consecutive FLBIT = 1 (L1) and a plurality of consecutive FLBIT = 0 (L0) is counted.
That is, as shown in FIG. 6, the first time (T1) counts the number of frames from the first 1 when FLBIT rises from 0 to 1 to the last 0 before the next rise from 0 to 1.
The second time (T2) overlaps with the half of the first count area (T1), and the number of frames from the first 0 when falling from 1 to 0 to the last 1 before falling from 1 to 0 next. count.
The third time (T3) overlaps with half of the second count area (T2), and the number of frames from the first 1 when rising from 0 to 1 to the last 0 when rising from 0 to 1 next. count.

この、連続する1の組L1と、連続する0の組L0をそれぞれ1組づつ含むフレーム数に、フレームレート分の1を乗じた時間は、フリッカー周波数の1/2周期(光源の点滅の1周期)に相当する。
また、重複するカウント領域は、フリッカー周波数の1/4周期(光源の点滅の1/2周期)に相当する。
The time obtained by multiplying the number of frames each including one continuous set L1 and one continuous set L0 by one frame rate is ½ period of the flicker frequency (1 of the blinking of the light source). Period).
The overlapping count area corresponds to a quarter cycle of the flicker frequency (a half cycle of the light source blinking).

このように、カウント領域Tを重複させることにより、短時間での複数のサンプリングが可能となる。   In this way, by overlapping the count region T, a plurality of samplings can be performed in a short time.

ただし、これに限定されるものではなく、1回目は、FLBITが0から1に立ち上がった際の最初の1から、次に0から1に立ち上がる前の最後の0までのフレーム数を数え、2回目も、1回目に続き且つ重複せずに、FLBITが0から1に立ち上がった際の最初の1から、次に0から1に立ち上がる前の最後の0までのフレーム数を数えるようにしてもよい。
また、1回目を、FLBITが1から0に下がった際の最初の0から始めても良い。
However, the present invention is not limited to this. For the first time, the number of frames from the first 1 when FLBIT rises from 0 to 1 to the last 0 before rising from 0 to 1 is counted. In the second time, the number of frames from the first 1 when FLBIT rises from 0 to 1 to the last 0 before rising from 0 to 1 can be counted without overlapping. Good.
Alternatively, the first time may start from the first 0 when FLBIT falls from 1 to 0.

例えば、AveYMeanが、サンプリングの関係で実際の出力の中央の値より大きくなる場合もある。そうすると、FLBIT=1の連続回数が少なくなり、FLBIT=0の連続回数がその分多くなることになる。しかし、本実施形態では、連続する1と連続する0との1組に含まれるフレーム数をカウントするので、AveYMean/2の値が中央よりずれている場合であっても、全体として、略正しい1周期のフレーム数をカウントすることができる。   For example, AveYMean may be larger than the center value of the actual output due to sampling. As a result, the number of consecutive FLBIT = 1 decreases, and the number of consecutive FLBIT = 0 increases accordingly. However, in this embodiment, since the number of frames included in one set of continuous 1 and continuous 0 is counted, even if the value of AveYMean / 2 is deviated from the center, it is substantially correct as a whole. The number of frames in one cycle can be counted.

ここで、光源の点滅は、例えば50Hzの電源のときは100Hzで発生し、60Hzの電源のときは120Hzで発生する。
上述のカウント領域(T1,T2,T3…)は、1カウント領域で、例えば、フレーム数が8個検出されたとき、フレームレートが800fpsとすると、1カウント領域は1/100秒となる。この場合、光源の点滅が100Hzなので、電源は50Hzであると考えられる。
Here, the blinking of the light source occurs at 100 Hz when the power source is 50 Hz, for example, and 120 Hz when the power source is 60 Hz.
The count area (T1, T2, T3...) Is one count area. For example, when eight frames are detected, if the frame rate is 800 fps, the one count area is 1/100 second. In this case, since the blinking of the light source is 100 Hz, the power source is considered to be 50 Hz.

また、1サイクルで例えば、検出されたフレーム数が7(フレーム数は整数とし,そのフレーム数に相当する時間が光源点滅周期のどちらに近いかで判断する)のときとき、フレームレートが800fpsとすると、1サイクルは1/120秒となる。この場合、光源の点滅が120Hzなので、電源は60Hzであると考えられる。   For example, when the number of detected frames in one cycle is 7 (the number of frames is an integer, and the time corresponding to the number of frames is determined based on which of the light source blinking cycles is closer), the frame rate is 800 fps. Then, one cycle is 1/120 second. In this case, since the blinking of the light source is 120 Hz, the power source is considered to be 60 Hz.

そこで、ThHzを、例えば7程度に設定し、各周期に含まれるフレーム数T(n)が、
T[n]>ThHz ならば50Hzと判定し、
T[n]≦ThHz ならば60Hzと判定する。
Therefore, ThHz is set to about 7, for example, and the number of frames T (n) included in each cycle is
If T [n]> ThHz, it is determined as 50 Hz,
If T [n] ≦ ThHz, it is determined as 60 Hz.

(フリッカー周波数判定)
全てのT[n]において50Hzか60Hzかを判定し、50Hzか60Hzかのうちの判定された数の多いほうを採用し、フリッカー周波数を求める。
(Flicker frequency judgment)
In all T [n], it is determined whether it is 50 Hz or 60 Hz, and the larger one of the determined numbers of 50 Hz and 60 Hz is adopted to obtain the flicker frequency.

ここで、50Hzか60Hzのどちらのフリッカー周波数か検出を行う際、暗すぎるなどの理由で、検出が正確にできない場合がある。また、50Hzと判定された回数と60Hzと判定された回数とが同数になる場合がある。
このように、50Hzか60Hzかの判定ができなかった場合、制御部10は、50Hzか60Hzのうちの、画像撮影時のフレームレート分の1以下であって、フリッカー周波数の1/2周期(1/100,1/120)の整数倍(1/100,2/10,3/100,4/100又は1/120,2/120,3/100,4/120)となるもののうち、最長となるものの時間が長いフリッカー周波数を、フリッカーの発生原因となっているフリッカー周波数と判定する。
すなわち、本実施形態では、画像撮影時のフレームレートが例えば24であったとすると、フレームレート分の1以下(1/24=0.0416)であって、50Hzのフリッカー周波数の1/2周期(1/100)の整数倍となるもののうち、最長となるものは、4/100=0.04である。
フレームレート分の1以下(1/24=0.0416)であって、60Hzのフリッカー周波数の1/2周期(1/120)の整数倍(1/120、2/120=0.0167、4/120=0.0333)となるもののうち、最長となるものは、4/120=0.0333である。したがって、この場合、50Hzをフリッカー周波数と判定する。
このようにするのは、露出制御においてシャッター秒時が1/フレームレートとなるのは必然であり、また、フリッカー周波数の1/2周期の整数倍となるもののうち、最長となるものを含むフリッカー周波数を用いたほうが、低速シャッター秒時となるためフリッカーが目立ちにくくなるからである。
Here, when detecting whether the flicker frequency is 50 Hz or 60 Hz, there is a case where the detection cannot be performed accurately because it is too dark. In addition, the number of times determined to be 50 Hz may be the same as the number of times determined to be 60 Hz.
As described above, when it is not possible to determine whether the frequency is 50 Hz or 60 Hz, the control unit 10 is equal to or less than one frame rate at the time of image capturing of 50 Hz or 60 Hz, and is 1/2 cycle of the flicker frequency ( The longest of the integer multiples of 1/100, 1/120) (1/100, 2/10, 3/100, 4/100 or 1/120, 2/120, 3/100, 4/120) However, the flicker frequency having a long time is determined as the flicker frequency causing the occurrence of flicker.
In other words, in the present embodiment, if the frame rate at the time of image capture is 24, for example, it is equal to or less than one frame rate (1/24 = 0.0416) and is a half cycle of a flicker frequency of 50 Hz ( Among those that are integer multiples of 1/100), the longest is 4/100 = 0.04.
It is equal to or less than one frame rate (1/24 = 0.0416), and is an integral multiple of 1/2 period (1/120) of the flicker frequency of 60 Hz (1/120, 2/120 = 0.167, 4 /120=0.0333), the longest is 4/120 = 0.0333. Therefore, in this case, 50 Hz is determined as the flicker frequency.
This is because it is inevitable that the shutter time is 1 / frame rate in the exposure control, and the flicker including the longest one among the integral multiples of ½ period of the flicker frequency. This is because the use of the frequency makes the flicker less noticeable because the shutter speed is low.

次に、図2に戻り、S207でライブビュー表示用の撮像素子の蓄積を行う。
このとき、初回ライブビュー時は、S201で蓄積したエリアセンサ16の出力を用いて、ライブビュー用の撮像素子の蓄積条件を決めるために、以下の処理を行う。
Next, returning to FIG. 2, the image sensor for live view display is stored in S207.
At this time, at the time of the first live view, the following processing is performed in order to determine the storage condition of the image sensor for live view using the output of the area sensor 16 stored in S201.

BVMean=AVERAGE(BV[i][j]) …(式3)
式3中、AVERAGE( )は引数配列の平均値を返す関数である。
算出したBVMeanと撮影レンズの開口AV値を元に、ライブビュー用P線図で蓄積時間と感度を算出する。このとき、S205のフリッカー周波数の検出結果により、図7の50Hz用のライブビュー用P線図か、図8の60Hz用のライブビュー用P線図のいずれのP線図を用いるかを決定する。これらのP線図も記憶部9に記憶されている。
BVMean = AVERAGE (BV [i] [j]) (Formula 3)
In Equation 3, AVERAGE () is a function that returns the average value of the argument array.
Based on the calculated BVMean and the aperture AV value of the photographic lens, the storage time and sensitivity are calculated using a P diagram for live view. At this time, based on the flicker frequency detection result in S205, it is determined which of the P diagram for live view for 50 Hz in FIG. 7 or the P diagram for live view for 60 Hz in FIG. . These P diagrams are also stored in the storage unit 9.

上述したようにS205でフリッカー周波数の検出が出来なかった場合には、図7の50HzのP線図を使用して露出制御値を決定する。
S208は、選択されたP線図を基に、S207で検出したライブビュー用の撮像蓄積の結果から2回目以降の輝度値を算出する。
As described above, when the flicker frequency cannot be detected in S205, the exposure control value is determined using the 50 Hz P diagram of FIG.
In S208, the brightness value for the second and subsequent times is calculated from the result of the live view imaging accumulation detected in S207 based on the selected P diagram.

輝度値の算出は以下の式で行う。
BVSz=Log2(AVERAGE(YSz[x][y]))+SzCONST
…(式4)
式4中、YSz[x][y]は撮像素子7の座標(X、Y)における出力である。また、SzCONSTは撮像素子7の蓄積を行った際の蓄積時間、感度、撮影レンズの明るさを正規化するための項である。
The luminance value is calculated by the following formula.
BVSz = Log2 (AVERAGE (YSz [x] [y])) + SzCONST
... (Formula 4)
In Expression 4, YSz [x] [y] is an output at the coordinates (X, Y) of the image sensor 7. SzCONST is a term for normalizing the accumulation time, sensitivity, and brightness of the photographing lens when the image sensor 7 is accumulated.

ここで、光源のフリッカー周波数が50Hzと判定された場合、図7のP線図P50に示すようにシャッター秒時は1/25、1/50、1/100であるので、光源の整数倍となり、輝度のばらつきがなくなり、フリッカーが防止される。すなわち、シャッター秒時1/100のときは光源の1回の点滅(1山)の間、蓄積していることになり、シャッター秒時1/50のときは光源の2回の点滅(2山)の間、蓄積していることになり、シャッター秒時1/25のときは光源の4回の点滅(4山)の間、蓄積していることになる。
なお、図7のP線図では含まれないが、シャッター秒時1/33で光源の3回の点滅(3山)の間、蓄積してもよい。このように、点滅の整数倍の間、蓄積するので、蓄積された画像間で光源の点滅による画像の輝度の差を生じず、フリッカーが防止される。
Here, when it is determined that the flicker frequency of the light source is 50 Hz, the shutter time is 1/25, 1/50, and 1/100 as shown in the P diagram P50 of FIG. , Luminance variation is eliminated and flicker is prevented. That is, when the shutter speed is 1/100, the light source is accumulated for one blink (one peak), and when the shutter time is 1/50, the light source is blinked twice (two peaks). ), And when the shutter speed is 1/25, the light source is accumulated for four blinks (four peaks).
Although not included in the P diagram of FIG. 7, the light source may be accumulated for three blinks (three peaks) at a shutter time of 1/33. As described above, since accumulation is performed for an integral multiple of blinking, a difference in image brightness due to blinking of the light source does not occur between the accumulated images, and flicker is prevented.

また、光源の周波数が60Hzの場合、図8のP線図に示すようにシャッター秒時は1/30、1/60、1/120であるので、光源の周波数の整数倍となり、輝度のばらつきがなくなり、フリッカーが防止される。すなわち、シャッター秒時1/120のときは光源の1回の点滅(1山)の間、蓄積していることになり、シャッター秒時1/60のときは光源の2回の点滅(2山)の間、蓄積していることになり、シャッター秒時1/30のときは光源の4回の点滅(4山)の間、蓄積していることになる。
なお、図8のP線図では含まれないが、シャッター秒時1/45で光源の3回の点滅(3山)の間、蓄積してもよい。このように、60Hzの場合も、点滅の整数倍の間、蓄積するので、蓄積された画像間で光源の点滅による画像の輝度の差を生じず、フリッカーが防止される。
Further, when the frequency of the light source is 60 Hz, the shutter time is 1/30, 1/60, and 1/120 as shown in the P diagram of FIG. And flicker is prevented. That is, when the shutter speed is 1/120, the light source is accumulated for one blink (one peak), and when the shutter time is 1/60, the light source is blinked twice (two peaks). ), And when the shutter speed is 1/30, the light source is accumulated for four blinks (four peaks).
Although not included in the P diagram of FIG. 8, the light source may be accumulated for three blinks (three peaks) at a shutter speed of 1/45. As described above, even at 60 Hz, accumulation is performed for an integral multiple of blinking. Therefore, a difference in image brightness due to blinking of the light source does not occur between the accumulated images, and flicker is prevented.

それ以上の高速になる(図7及び図8において点線で示す)と、フリッカーが発生する可能性がある。この場合は、絞り4を絞ってシャッター秒時の速度を低速にしてもよく、また、絞り4を絞ると、異音が気になる場合は、そのままにしておくこともできる。   At higher speeds (indicated by dotted lines in FIGS. 7 and 8), flicker may occur. In this case, the diaphragm 4 may be squeezed to reduce the shutter speed, and when the diaphragm 4 is squeezed, if abnormal noise is annoying, it can be left as it is.

次にS209では、S207で蓄積した撮像素子7の出力画像を表示部8へ表示する。
S210でレリーズスイッチ21が押下されない場合には、撮影を行わず、S212でライブビューを終了しない限り、S207からS209のライブビュー状態を継続する。S210でレリーズスイッチ21が押下された場合には、S211で静止画記録用の撮像素子7の蓄積を行う。静止画記録用の撮像素子の蓄積条件については公知の方法を用いる。
In step S209, the output image of the image sensor 7 accumulated in step S207 is displayed on the display unit 8.
If the release switch 21 is not pressed in S210, shooting is not performed, and the live view state from S207 to S209 is continued unless the live view is terminated in S212. When the release switch 21 is pressed in S210, the image sensor 7 for recording a still image is stored in S211. A known method is used for the accumulation condition of the image sensor for still image recording.

以上、本実施形態によると、以下の効果を有する。
(1)フリッカー周波数検出前にエリアセンサ16によって被写界を測光し、フリッカー周波数の検出に用いる撮像素子7の駆動の際には、画面の最大輝度の部分が飽和しないような露出制御を行うようにする。これにより、出力が飽和しない状態でフリッカー周波数の検出を行うことができる。光源が白飛びしないので、光源の点滅を検出することができ、光源の周波数に関するデータを良好に得ることが可能となる。
As described above, this embodiment has the following effects.
(1) The object field is measured by the area sensor 16 before the flicker frequency is detected, and exposure control is performed so that the maximum luminance portion of the screen is not saturated when the image sensor 7 used for detecting the flicker frequency is driven. Like that. Thereby, the flicker frequency can be detected in a state where the output is not saturated. Since the light source does not fly out, it is possible to detect blinking of the light source and to obtain data relating to the frequency of the light source satisfactorily.

(2)本実施形態では、フリッカー周波数検出の際の蓄積は、高速フレームレートで行う。高速フレームレートとは、100Hzまたは120Hz(50Hzと60Hzの電源に対応)といった光源の周波数に対して十分に高いレートである。
高速フレームレートの場合、1フレームの撮影動作期間おける周辺環境の明るさは蛍光灯下であってもほぼ一定となる。したがってフレーム画像には帯状の明暗は現れない。このような高速フレームレートの連続画像においては、蛍光灯の点滅による明暗が、連続するフレームの明暗となって現れる。すなわち、高速フレームレートの場合、フレームそれぞれの輝度をプロットすることにより、蛍光灯点滅のサイクルを把握することが可能となる。
(2) In the present embodiment, accumulation during flicker frequency detection is performed at a high frame rate. The high-speed frame rate is a sufficiently high rate with respect to the frequency of the light source, such as 100 Hz or 120 Hz (corresponding to 50 Hz and 60 Hz power supplies).
In the case of a high-speed frame rate, the brightness of the surrounding environment during the shooting operation period of one frame is almost constant even under a fluorescent lamp. Therefore, no banded light and dark appear in the frame image. In such a continuous image at a high frame rate, light and dark due to blinking of a fluorescent lamp appear as light and dark in a continuous frame. That is, in the case of a high frame rate, it is possible to grasp the cycle of the fluorescent lamp blinking by plotting the luminance of each frame.

(3)本実施形態は、高速フレームレートに対応して、シャッター秒時も高速である。このため、フリッカー周波数の検出のために撮像素子の駆動を行う場合には、ライブビュー時の撮影の場合の露出制御P線図とは別に設けられているフリッカー周波数検出用の露出制御P線図を用いる。
このように、露出制御P線図をライブビュー時の撮影用と別に設けるため、フリッカー周波数検出に特化した撮像を行うことが可能となり、ライブビュー時の露出制御条件に関わらず、精度の良いフリッカー周波数検出が可能となる。
(3) In the present embodiment, the shutter speed is high in response to the high frame rate. For this reason, when the image sensor is driven to detect the flicker frequency, an exposure control P diagram for detecting flicker frequency is provided separately from the exposure control P diagram for shooting in live view. Is used.
As described above, since the exposure control P diagram is provided separately from the shooting for live view, it is possible to perform imaging specialized for flicker frequency detection, and the accuracy is high regardless of the exposure control conditions during live view. Flicker frequency detection becomes possible.

(4)本実施形態では、フリッカー周波数の検出用の蓄積を所定回数になるまで複数回行う。したがって、被写界内に複数光源が存在した場合や、光源が変動する場合にも、精度の高いフリッカー周波数の検出が可能となる。 (4) In this embodiment, accumulation for detecting the flicker frequency is performed a plurality of times until the predetermined number of times is reached. Therefore, even when there are a plurality of light sources in the field or when the light sources fluctuate, it is possible to detect the flicker frequency with high accuracy.

(5)二値化した後、光源の点滅の周波数を測定する際に、連続する複数回のFLBIT=1(L1)と、連続する複数回のFLBIT=0(L0)をそれぞれ1組ずつ含むフレーム数を一部重ねてカウントする。
例えば、AveYMeanが実際の出力の中央の値より大きい場合、FLBIT=1の連続回数が少なくなり、FLBIT=0の連続回数がその分多くなることになる。
しかし、本実施形態では、連続する1と連続する0との1組に含まれるフレーム数をカウントするので、AveYMean/2の値が中央よりずれている場合であっても、全体として、略正しい1周期のフレーム数をカウントすることができる。
また、カウント領域を重複させることにより、短時間での複数のサンプリングが判断が可能となる。
(5) After binarization, when measuring the blinking frequency of the light source, one set each includes a plurality of consecutive FLBIT = 1 (L1) and a plurality of consecutive FLBIT = 0 (L0) Count the number of frames partially overlapped.
For example, when AveYMean is larger than the center value of the actual output, the number of consecutive FLBIT = 1 is decreased, and the number of consecutive FLBIT = 0 is increased accordingly.
However, in this embodiment, since the number of frames included in one set of continuous 1 and continuous 0 is counted, even if the value of AveYMean / 2 is deviated from the center, it is substantially correct as a whole. The number of frames in one cycle can be counted.
Further, by overlapping the count areas, a plurality of samplings can be determined in a short time.

(6)50Hzか60Hzかの判定ができなかった場合、制御部は、50Hzか60Hzのうちの、画像撮影時のフレームレート分の1以下であって、フリッカー周波数の1/2周期の整数倍となるもののうち、最長となるものの時間が長いフリッカー周波数を、フリッカーの発生原因となっているフリッカー周波数と判定する。
このため、蓄積時間が、低速シャッター秒時となるためフリッカーが目立ちにくくなる。
(6) When it is not possible to determine whether the frequency is 50 Hz or 60 Hz, the control unit is equal to or less than one of the frame rate at the time of image capturing, which is 50 Hz or 60 Hz, and is an integral multiple of 1/2 cycle of the flicker frequency. Of these, the flicker frequency with the longest time is determined as the flicker frequency causing the occurrence of flicker.
For this reason, since the accumulation time is a low shutter speed, flicker is less noticeable.

(7)光源のフリッカー周波数が50Hzと判定された場合、シャッター秒時は1/25、1/50、1/100であるので、光源の半周期の整数倍となり、輝度のばらつきがなくなり、フリッカーが防止される。また、光源の周波数が60Hzの場合、シャッター秒時は1/30、1/60、1/120であるので、光源の半周期の整数倍となり、輝度のばらつきがなくなり、フリッカーが防止される。 (7) When the flicker frequency of the light source is determined to be 50 Hz, the shutter time is 1/25, 1/50, and 1/100, which is an integral multiple of a half cycle of the light source, and there is no variation in luminance. Is prevented. Further, when the frequency of the light source is 60 Hz, the shutter time is 1/30, 1/60, and 1/120, so that it becomes an integral multiple of the half cycle of the light source, there is no variation in luminance, and flicker is prevented.

以上、説明した実施形態に限定されることなく、以下に示すような種々の変形や変更が可能であり、それらも本発明の範囲内である。
本実施形態では、撮像素子のほかに測光センサを有する一眼レフカメラで説明した。しかし、これに限らず、コンパクトカメラのような撮像素子のみのものでもよい。その場合は、S201の処理は撮像素子で行う。
なお、実施形態及び変形形態は、適宜組み合わせて用いることもできるが、詳細な説明は省略する。また、本発明は以上説明した実施形態によって限定されることはない。
The present invention is not limited to the above-described embodiment, and various modifications and changes as described below are possible, and these are also within the scope of the present invention.
In the present embodiment, a single lens reflex camera having a photometric sensor in addition to the image sensor has been described. However, the present invention is not limited to this, and only an image sensor such as a compact camera may be used. In that case, the process of S201 is performed by the image sensor.
In addition, although embodiment and a deformation | transformation form can also be used in combination as appropriate, detailed description is abbreviate | omitted. Further, the present invention is not limited to the embodiment described above.

1:カメラ本体、2:レンズユニット、3:撮像光学系、7:撮像素子、9:記憶部、10:制御部、16:エリアセンサ、100:カメラ   1: camera body, 2: lens unit, 3: imaging optical system, 7: imaging element, 9: storage unit, 10: control unit, 16: area sensor, 100: camera

Claims (5)

撮影された画像にフリッカーを発生させる原因となる光源に供給される電源の周波数を検出するためのフリッカー検出用蓄積、及び、該フリッカー検出用蓄積以外の通常の撮像用蓄積が可能な撮像部と、
前記撮像部の前記フリッカー検出用蓄積の蓄積結果に基づいて、前記周波数を検出する周波数検出部と、
蓄積時間の制御範囲が、第1の範囲である第1の露出制御の関係を示す第1の情報、及び、蓄積時間の制御範囲が、前記第1の範囲より低速の第2の範囲である第2の露出制御の関係を示す第2の情報が記憶された記憶部と、
前記フリッカー検出用蓄積の際には、前記記憶部に記憶された前記第1の情報に基づいて露出制御を行い、
前記撮像用蓄積の際には、前記記憶部に記憶された前記第2の情報に基づいて露出制御を行う制御部と、
を備えることを特徴とする撮像装置。
An image pickup unit capable of accumulating for detecting flicker for detecting a frequency of a power source supplied to a light source that causes flicker in a photographed image, and capable of accumulating for normal imaging other than the flicker detecting accumulation; ,
A frequency detection unit for detecting the frequency based on the accumulation result of the flicker detection accumulation of the imaging unit;
The first information indicating the relationship of the first exposure control in which the control range of the accumulation time is the first range, and the control range of the accumulation time is the second range that is slower than the first range. A storage unit storing second information indicating a relationship of the second exposure control;
During the flicker detection accumulation, exposure control is performed based on the first information stored in the storage unit,
A controller that performs exposure control based on the second information stored in the storage unit during the imaging accumulation;
An imaging apparatus comprising:
請求項1に記載の撮像装置であって、
前記撮像用蓄積の際のフレームレートは、前記フリッカー検出用蓄積の際のフレームレートより遅いこと、
を特徴とする撮像装置。
The imaging apparatus according to claim 1,
The frame rate at the time of accumulation for imaging is slower than the frame rate at the time of accumulation for flicker detection;
An imaging apparatus characterized by the above.
請求項1又は2に記載の撮像装置であって、
前記第1の範囲における蓄積時間の低速限界を、通常の画像撮影時よりも高速にすること、
を特徴とする撮像装置。
The imaging apparatus according to claim 1 or 2,
The lower limit of the accumulation time in the first range is set to be higher than that during normal image capturing;
An imaging apparatus characterized by the above.
請求項3に記載の撮像装置であって、
前記記憶部に記憶されている前記第1の情報及び前記第2の情報は、撮像感度と、前記撮像部に到達する光に対応する値と、前記蓄積時間との対応を表すプログラム線図であること、
を特徴とする撮像装置。
The imaging apparatus according to claim 3,
The first information and the second information stored in the storage unit are program diagrams representing correspondence between imaging sensitivity, a value corresponding to light reaching the imaging unit, and the accumulation time. There is,
An imaging apparatus characterized by the above.
撮影された画像にフリッカーを発生させる原因となる光源に供給される電源の周波数を検出するためのフリッカー検出用蓄積、及び、該フリッカー検出用蓄積以外の通常の撮像用蓄積とが可能な撮像部と、
前記撮像部の前記フリッカー検出用蓄積の蓄積結果に基づいて、前記周波数を検出する周波数検出部と、
蓄積時間の制御範囲が、第1の範囲である第1の露出制御の関係を示す第1の情報、及び、
蓄積時間の制御範囲が、前記第1の範囲より低速の第2の範囲である第2の露出制御の関係を示す第2の情報が記憶された記憶部と、
を備える撮像装置において、
前記フリッカー検出用蓄積の際には、前記記憶部に記憶された前記第1の情報に基づいて露出制御を行い、
前記撮像用蓄積の際には、前記記憶部に記憶された前記第2の情報に基づいて露出制御を行うこと、を特徴とするフリッカー発生周波数検出方法。
Image capturing unit capable of accumulating for detecting flicker for detecting the frequency of a power source supplied to a light source that causes flicker in a captured image, and normal image capturing other than the flicker detecting accumulation When,
A frequency detection unit for detecting the frequency based on the accumulation result of the flicker detection accumulation of the imaging unit;
The first information indicating the relationship of the first exposure control in which the control range of the accumulation time is the first range, and
A storage unit storing second information indicating a relationship of second exposure control in which a control range of the accumulation time is a second range that is slower than the first range;
In an imaging apparatus comprising:
During the flicker detection accumulation, exposure control is performed based on the first information stored in the storage unit,
A flicker occurrence frequency detection method, wherein exposure control is performed based on the second information stored in the storage unit during the imaging accumulation.
JP2011177121A 2011-08-12 2011-08-12 Imaging apparatus and flicker generation frequency detection method Pending JP2013042298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011177121A JP2013042298A (en) 2011-08-12 2011-08-12 Imaging apparatus and flicker generation frequency detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011177121A JP2013042298A (en) 2011-08-12 2011-08-12 Imaging apparatus and flicker generation frequency detection method

Publications (2)

Publication Number Publication Date
JP2013042298A true JP2013042298A (en) 2013-02-28
JP2013042298A5 JP2013042298A5 (en) 2014-09-25

Family

ID=47890305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011177121A Pending JP2013042298A (en) 2011-08-12 2011-08-12 Imaging apparatus and flicker generation frequency detection method

Country Status (1)

Country Link
JP (1) JP2013042298A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016134753A (en) * 2015-01-19 2016-07-25 キヤノン株式会社 Image processing system, information processing method, and program
US9854178B2 (en) 2014-06-04 2017-12-26 Canon Kabushiki Kaisha Image pickup apparatus with flicker detection and having plurality of unit pixel areas, control method therefor, and storage medium
CN110661947A (en) * 2018-06-29 2020-01-07 佳能株式会社 Image pickup apparatus, control method thereof, and storage medium
JP2020010317A (en) * 2018-06-29 2020-01-16 キヤノン株式会社 Imaging apparatus, control method of the same, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011226A (en) * 2006-06-29 2008-01-17 Kyocera Corp Method and device for detecting flicker of imaging apparatus
JP2008109253A (en) * 2006-10-24 2008-05-08 Sanyo Electric Co Ltd Device and method for detecting light source state, and imaging apparatus
JP2009141834A (en) * 2007-12-10 2009-06-25 Casio Comput Co Ltd Image pickup device and its exposure control method and exposure control program
JP2010114834A (en) * 2008-11-10 2010-05-20 Olympus Imaging Corp Imaging apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008011226A (en) * 2006-06-29 2008-01-17 Kyocera Corp Method and device for detecting flicker of imaging apparatus
JP2008109253A (en) * 2006-10-24 2008-05-08 Sanyo Electric Co Ltd Device and method for detecting light source state, and imaging apparatus
JP2009141834A (en) * 2007-12-10 2009-06-25 Casio Comput Co Ltd Image pickup device and its exposure control method and exposure control program
JP2010114834A (en) * 2008-11-10 2010-05-20 Olympus Imaging Corp Imaging apparatus

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9854178B2 (en) 2014-06-04 2017-12-26 Canon Kabushiki Kaisha Image pickup apparatus with flicker detection and having plurality of unit pixel areas, control method therefor, and storage medium
JP2016134753A (en) * 2015-01-19 2016-07-25 キヤノン株式会社 Image processing system, information processing method, and program
CN110661947A (en) * 2018-06-29 2020-01-07 佳能株式会社 Image pickup apparatus, control method thereof, and storage medium
JP2020010317A (en) * 2018-06-29 2020-01-16 キヤノン株式会社 Imaging apparatus, control method of the same, and program
US11012634B2 (en) 2018-06-29 2021-05-18 Canon Kabushiki Kaisha Image pickup apparatus capable of performing image pickup with reduced flicker influence, method for controlling the same, and storage medium
CN110661947B (en) * 2018-06-29 2021-11-30 佳能株式会社 Image pickup apparatus, control method thereof, and storage medium
US11284015B2 (en) 2018-06-29 2022-03-22 Canon Kabushiki Kaisha Image pickup apparatus capable of performing image pickup with reduced flicker influence, method for controlling the same, and storage medium
JP7336431B2 (en) 2018-06-29 2023-08-31 キヤノン株式会社 IMAGING DEVICE, CONTROL METHOD THEREOF, AND PROGRAM

Similar Documents

Publication Publication Date Title
WO2018101092A1 (en) Imaging device and flicker determination method
US9602714B2 (en) Image pickup apparatus, method of controlling image pickup apparatus, and non-transitory computer-readable storage medium
CN105915807B (en) Method for calculating light quantity change characteristic and electronic device
US11080863B2 (en) Imaging apparatus, image processing device, and control method
JP2012234152A (en) Imaging apparatus and control method thereof
JP6614853B2 (en) Imaging device, control method thereof, and control program
US20180241946A1 (en) Image processing apparatus, imaging apparatus, and method for controlling image processing apparatus
JP2013042298A (en) Imaging apparatus and flicker generation frequency detection method
JP2015111252A (en) Imaging device, imaging device control method, program, and storage medium
JP2013042300A (en) Imaging apparatus and flicker generation frequency detection method
JP2013042297A (en) Imaging apparatus and flicker generation frequency detection method
JP6541312B2 (en) Image pickup apparatus and control method thereof
JP6501512B2 (en) Focus control apparatus, focus control method and focus control program
JP2012063664A (en) Photometric device and electronic camera
JP5439971B2 (en) Photometric device and imaging device
JP5423140B2 (en) Photometric device and imaging device
JP2017005495A (en) Imaging apparatus, method for controlling the same, and program
JP6768372B2 (en) Imaging device, its control method, and program
JP2016213660A (en) Imaging apparatus, detection method for change in quantity of light and program
JP2013042299A (en) Imaging apparatus and method for detecting flicker occurred frequency
JP6391319B2 (en) Imaging device, control method thereof, and control program
JP5762037B2 (en) Imaging apparatus and control method
JP2018006801A (en) Imaging apparatus, control method therefor, and program
JP2018005145A (en) Imaging device
JP5899707B2 (en) Imaging device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140812

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140812

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150423

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150428

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151006