JP2018006804A - Imaging apparatus, control method therefor, and program - Google Patents

Imaging apparatus, control method therefor, and program Download PDF

Info

Publication number
JP2018006804A
JP2018006804A JP2016126562A JP2016126562A JP2018006804A JP 2018006804 A JP2018006804 A JP 2018006804A JP 2016126562 A JP2016126562 A JP 2016126562A JP 2016126562 A JP2016126562 A JP 2016126562A JP 2018006804 A JP2018006804 A JP 2018006804A
Authority
JP
Japan
Prior art keywords
shutter
flicker
photometric
timing
photometric values
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.)
Granted
Application number
JP2016126562A
Other languages
Japanese (ja)
Other versions
JP6768372B2 (en
Inventor
菅原 淳史
Junji Sugawara
淳史 菅原
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 JP2016126562A priority Critical patent/JP6768372B2/en
Publication of JP2018006804A publication Critical patent/JP2018006804A/en
Application granted granted Critical
Publication of JP6768372B2 publication Critical patent/JP6768372B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To calculate exposure timing to effectively reduce exposure non-uniformity of a picked-up image caused by a flicker even under a flicker light source having distorted waveform characteristics.SOLUTION: An imaging apparatus comprises: an ICPU 112 for detecting the presence/absence and a frequency of a flicker that is a light quantity change of a light from a subject on the basis of multiple photometric values obtained by performing photometry multiple times by photometric means 108, and further calculating timing of a flicker phase to operate a shutter 104 from at least three photometric values among the multiple photometric values; and a CPU 101 for exposing an imaging device 103 by operating the shutter 104 in the timing of the flicker phase calculated by the ICPU. The ICPU applies a low-pass filter having a tap number corresponding to a shutter speed of the shutter to the multiple photometric values and calculates the timing of the flicker phase from the multiple photometric values to which the low-pass filter is applied.SELECTED DRAWING: Figure 1

Description

本発明は、例えばデジタルカメラ等の撮像装置に関し、特にフリッカ(被写体からの光の周期的な光量変化)による露光ムラを改良する技術に関する。   The present invention relates to an imaging apparatus such as a digital camera, and more particularly to a technique for improving exposure unevenness due to flicker (periodic change in the amount of light from a subject).

デジタルカメラ等の撮像装置では、近年の高ISO化に伴い、フリッカの発生する人工光源下でも高速シャッタが切れるようになってきている。高速シャッタ撮影では、室内スポーツの撮影などでブレのない写真を撮影できるメリットがある一方、フリッカ光源下では、フリッカの影響により、フレーム毎、もしくは1フレーム内でも、画像の露出や色のムラが発生してしまうことがある。   In an imaging apparatus such as a digital camera, with a recent increase in ISO, a high-speed shutter can be released even under an artificial light source in which flicker occurs. While high-speed shutter photography has the advantage of being able to take pictures without blurring, such as indoor sports photography, under flickering light sources, image exposure and color unevenness may occur for each frame or within one frame due to the effect of flicker. May occur.

このような問題に対して、フリッカを検出し、明暗の変化が最も少ないフリッカのピーク位置で露光を行うことで、フリッカの影響を軽減する方法がある。例えば、オートフォーカス(AF)領域を含むラインの露光がフリッカのピークのタイミングで行われるよう、垂直同期信号の出力タイミングを調整してAF時にラインフリッカの影響が出ないようにする技術が提案されている(特許文献1)。   To solve such a problem, there is a method of reducing the influence of flicker by detecting flicker and performing exposure at the peak position of the flicker with the least change in brightness. For example, a technique has been proposed in which the output timing of the vertical synchronization signal is adjusted so that the influence of line flicker does not occur during AF so that the exposure of the line including the autofocus (AF) area is performed at the flicker peak timing. (Patent Document 1).

特開2010−103746号公報JP 2010-103746 A

ところで、フリッカ光源には、理想的なSin波形の特性のフリッカ光源(図5(a)参照)以外にも、歪んだ波形の特性を持つフリッカ光源(図6(a)参照)も存在する。上記特許文献1では、歪んだ波形の特性を持つフリッカ光源に対しては、必ずしもピーク位置での露光が最適なタイミングではなく、撮像画像に生じる露光ムラを軽減することができない。   By the way, as the flicker light source, there is a flicker light source (see FIG. 6A) having a distorted waveform characteristic in addition to the flicker light source having an ideal Sin waveform characteristic (see FIG. 5A). In the above-mentioned Patent Document 1, for a flicker light source having a distorted waveform characteristic, the exposure at the peak position is not necessarily the optimal timing, and the exposure unevenness that occurs in the captured image cannot be reduced.

そこで、本発明は、歪んだ波形特性を持つフリッカ光源下においても、フリッカによる撮影画像の露光ムラを効果的に低減する露光タイミングを算出することを可能にした露光ムラ低減技術を提供することを目的とする。   Therefore, the present invention provides an exposure unevenness reduction technique that can calculate an exposure timing that effectively reduces exposure unevenness of a captured image due to flicker even under a flicker light source having a distorted waveform characteristic. Objective.

上記目的を達成するために、本発明の撮像装置は、撮像手段と、前記撮像手段を露光させるシャッタと、測光手段と、前記測光手段により複数回の測光を行って得られた複数の測光値に基づいて、被写体からの光の光量変化であるフリッカの有無および周波数を検出する検出手段と、前記複数の測光値のうちの少なくとも3回の測光値から前記シャッタを動作させるためのフリッカ位相のタイミングを算出する算出手段と、前記算出手段によって算出された前記フリッカ位相のタイミングで前記シャッタを動作させることで前記撮像手段を露光させる制御手段と、を備え、前記算出手段は、前記複数回の測光値に対して前記シャッタのシャッタスピードに応じたタップ数のローパスフィルタを適用し、前記ローパスフィルタを適用した前記複数回の測光値から前記フリッカ位相のタイミングを算出することを特徴とする。   In order to achieve the above object, an imaging apparatus of the present invention includes an imaging unit, a shutter that exposes the imaging unit, a photometric unit, and a plurality of photometric values obtained by performing photometry a plurality of times using the photometric unit. And a flicker phase for operating the shutter based on at least three photometric values of the plurality of photometric values. Calculating means for calculating timing; and control means for exposing the imaging means by operating the shutter at the timing of the flicker phase calculated by the calculating means, wherein the calculating means includes the plurality of times A low pass filter having the number of taps corresponding to the shutter speed of the shutter is applied to the photometric value, and the low pass filter to which the low pass filter is applied is applied. And calculates the timing of the flicker phase from times photometric values.

本発明によれば、歪んだ波形特性を持つフリッカ光源下においても、フリッカによる撮影画像の露光ムラを効果的に低減する露光タイミングを算出することができる。   According to the present invention, it is possible to calculate an exposure timing that effectively reduces exposure unevenness of a captured image due to flicker even under a flicker light source having a distorted waveform characteristic.

本発明の撮像装置の実施形態の一例であるデジタル一眼レフカメラの概略断面図である。1 is a schematic cross-sectional view of a digital single-lens reflex camera that is an example of an embodiment of an imaging apparatus of the present invention. 図1に示すデジタル一眼レフカメラの撮影動作を説明するフローチャート図である。It is a flowchart figure explaining imaging | photography operation | movement of the digital single-lens reflex camera shown in FIG. フリッカを検出するために、600fps、1.66ms周期で蓄積・読み出しを連続して12回行った測光結果を示すグラフ図である。FIG. 6 is a graph showing a photometric result obtained by continuously performing accumulation / reading 12 times at a cycle of 600 fps and 1.66 ms in order to detect flicker. フリッカの周波数判定方法を説明するグラフ図である。It is a graph explaining the frequency determination method of flicker. 理想的なフリッカの波形での高速シャッタ時のシャッタ走行タイミングと画像に生じる露光ムラとの関係を説明する図である。It is a figure explaining the relationship between the shutter travel timing at the time of the high-speed shutter with the waveform of an ideal flicker, and the exposure nonuniformity produced in an image. 歪んだフリッカの波形での高速シャッタ時のシャッタ走行タイミングと画像に生じる露光ムラとの関係を説明する図である。It is a figure explaining the relationship between the shutter running timing at the time of the high-speed shutter with the waveform of the distorted flicker, and the exposure nonuniformity produced in an image. 歪んだフリッカの波形での低速シャッタ時のシャッタ走行タイミングと画像に生じる露光ムラとの関係を説明する図である。It is a figure explaining the relationship between the shutter travel timing at the time of a low-speed shutter with the waveform of the distorted flicker, and the exposure nonuniformity produced in an image. フリッカ検出用の測光結果に対してデジタルローパスフィルタを適用した波形を示す図である。It is a figure which shows the waveform which applied the digital low pass filter with respect to the photometry result for a flicker detection. ピーク同期信号を示す図である。It is a figure which shows a peak synchronizing signal.

以下、図面を参照して、本発明の実施形態の一例を説明する。   Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の撮像装置の実施形態の一例であるデジタル一眼レフカメラの概略断面図である。   FIG. 1 is a schematic cross-sectional view of a digital single-lens reflex camera as an example of an embodiment of an imaging apparatus of the present invention.

本実施形態のデジタル一眼レフカメラは、図1に示すように、カメラ本体100に対して交換用のレンズユニット200が着脱可能に装着されている。   As shown in FIG. 1, the digital single-lens reflex camera of this embodiment has a replacement lens unit 200 detachably attached to the camera body 100.

カメラ本体100は、カメラ全体の制御を司るカメラCPU101を有し、カメラCPU101には、RAMやROM等のメモリ102が接続されている。メインミラー105及びサブミラー111は、ファインダ観察時に、撮影光路に進入してレンズユニット200を通過した被写体光束をピント板106に導き、撮影時に、撮影光路から退避して被写体光束を撮像素子103に導く。メインミラー105は、ハーフミラーで構成され、サブミラー111は、メインミラー105を透過した被写体光束の一部を反射してAFユニットへ導く。   The camera body 100 has a camera CPU 101 that controls the entire camera, and a memory 102 such as a RAM or a ROM is connected to the camera CPU 101. The main mirror 105 and the sub mirror 111 guide the subject luminous flux that has entered the imaging optical path and passed through the lens unit 200 to the focus plate 106 during viewfinder observation, and retract from the imaging optical path to guide the subject luminous flux to the image sensor 103 during imaging. . The main mirror 105 is composed of a half mirror, and the sub mirror 111 reflects a part of the subject light flux that has passed through the main mirror 105 and guides it to the AF unit.

ペンタダハプリズム109は、ピント板106に結像した被写体光束を正立正像の被写体像に変換し、変換された被写体像は、AEセンサ108に導かれるとともに、光学ファインダを通して観察される。表示素子107は、PN液晶等のAF測距枠を表示し、ユーザが光学ファインダを覗いたときにどの位置で合焦しているか等を示す。   The penta roof prism 109 converts the subject luminous flux formed on the focusing screen 106 into an erect image of the subject, and the converted subject image is guided to the AE sensor 108 and observed through the optical viewfinder. The display element 107 displays an AF distance measurement frame such as a PN liquid crystal and indicates a position at which the user is focused when looking into the optical viewfinder.

撮像素子103は、CCDセンサやCMOSセンサ等で構成され、本実施形態では、4000行の画素を有し、撮影時にレンズユニット200を通過して結像した被写体像を光電変換して画像信号を出力する。   The image sensor 103 is configured by a CCD sensor, a CMOS sensor, or the like. In the present embodiment, the image sensor 103 has 4000 rows of pixels, and photoelectrically converts a subject image that has passed through the lens unit 200 during imaging to generate an image signal. Output.

シャッタ104は、カメラCPU101により制御され、非撮影時には閉じて撮像素子103を遮光し、撮影時には開いて撮像素子103へ被写体光を導く。また、シャッタ104は、本実施形態では、先幕と後幕でスリットを形成して走行させることで、撮像素子103を露光するメカニカルなフォーカルプレーンシャッタを用いている。ここで、撮像素子103は、4000行の画素で構成されるので、1行目から4000行目に向かってシャッタ104の先幕及び後幕が走行する。   The shutter 104 is controlled by the camera CPU 101 and is closed when not photographing to shield the image sensor 103 and is opened when photographing to guide subject light to the image sensor 103. Further, in this embodiment, the shutter 104 uses a mechanical focal plane shutter that exposes the image sensor 103 by forming a slit in the front curtain and the rear curtain to travel. Here, since the image sensor 103 is composed of 4000 rows of pixels, the front curtain and the rear curtain of the shutter 104 run from the first row to the 4000th row.

AEセンサ108は、CCDセンサやCOMSセンサ等の撮像素子を用いることで、測光だけでなく、顔検出などのシーン認識やフリッカ検出を行う。なお、フリッカの検出は、撮像素子103により行ってもよい。   The AE sensor 108 uses not only photometry but also scene recognition such as face detection and flicker detection by using an image sensor such as a CCD sensor or a COMS sensor. Note that flicker detection may be performed by the image sensor 103.

ICPU112は、AEセンサ108の駆動制御や画像処理・演算用のCPUである。ICPU112は、AEセンサ108の測光結果に基づき、顔検出の演算や追尾の演算、測光演算等の他に、被写体からの光の周期的な光量変化であるフリッカの周期やピークタイミングの算出などの光量変化特性の算出も行う。   The ICPU 112 is a CPU for driving control of the AE sensor 108 and image processing / calculation. Based on the photometric results of the AE sensor 108, the ICPU 112 calculates the flicker period and peak timing, which are periodic changes in the amount of light from the subject, in addition to face detection calculations, tracking calculations, photometric calculations, and the like. The light quantity change characteristic is also calculated.

ICPU112には、RAMやROM等のメモリ113が接続されている。なお、本実施形態では、AEセンサ108の専用のICPU112を用いているが、ICPU112の処理のすべてをカメラCPU101で行うようにしてもよい。LPU201は、レンズユニット200内のCPUであり、被写体との距離情報等をカメラCPU101に送る。   A memory 113 such as a RAM or a ROM is connected to the ICPU 112. In the present embodiment, the dedicated ICPU 112 for the AE sensor 108 is used. However, all processing of the ICPU 112 may be performed by the camera CPU 101. The LPU 201 is a CPU in the lens unit 200, and sends distance information to the subject to the camera CPU 101.

また、本実施形態のカメラでは、不図示のレリーズボタンが半押し操作等されるとレリーズスイッチSW1がオンしてAFやAE等の撮影準備動作が行われ、レリーズボタンが全押し操作等されると、レリーズスイッチSW2がオンして撮影動作が行われる。   Further, in the camera of the present embodiment, when a release button (not shown) is pressed halfway, the release switch SW1 is turned on to perform shooting preparation operations such as AF and AE, and the release button is fully pressed. Then, the release switch SW2 is turned on and the photographing operation is performed.

次に、図2乃至図9を参照して、上記構成のデジタル一眼レフカメラ(以下、カメラという。)の撮影動作について説明する。図2は、カメラの撮影動作を説明するフローチャート図である。なお、図2のステップS201〜S208の各処理は、カメラCPU101の制御により、メモリ113のROM等に格納されたプログラムがRAMに展開されて、ICPU112により実行される。また、図2のステップS209〜S212の各処理は、メモリ102のROM等に格納されたプログラムがRAMに展開されてカメラCPU101により実行される。   Next, with reference to FIGS. 2 to 9, the photographing operation of the digital single-lens reflex camera (hereinafter referred to as a camera) having the above configuration will be described. FIG. 2 is a flowchart for explaining the photographing operation of the camera. 2 are executed by the ICPU 112 by developing a program stored in the ROM or the like of the memory 113 under the control of the camera CPU 101. 2 is executed by the camera CPU 101 by developing a program stored in the ROM or the like of the memory 102 in the RAM.

図2において、ステップS201では、ICPU112は、AEセンサ108により被写体の測光動作を行い、ステップS202に進む。ここでの測光は、仮にフリッカ光源下においても、フリッカによる明暗の変化に対して測光値がばらつかず、平均的な明るさを測光値として取得できるのが望ましい。   In FIG. 2, in step S201, the ICPU 112 performs a photometric operation of the subject using the AE sensor 108, and proceeds to step S202. In the photometry here, it is desirable that the photometric value does not vary with respect to the change in brightness due to the flicker, and the average brightness can be obtained as the photometric value even under a flicker light source.

ここで、フリッカ光源の明暗が変化する周波数は、商用電源の周波数の2倍になることから、電源周波数が50Hzの電源地域では周波数100Hzとなり、その光量変化周期は10msとなる。同様に電源周波数が60Hzの地域では周波数120Hzとなり、光量変化周期は8.33msとなる。   Here, the frequency at which the brightness of the flicker light source changes is twice the frequency of the commercial power supply. Therefore, in the power supply region where the power supply frequency is 50 Hz, the frequency is 100 Hz, and the light quantity change period is 10 ms. Similarly, in a region where the power supply frequency is 60 Hz, the frequency is 120 Hz, and the light amount change period is 8.33 ms.

これらのフリッカがあった場合でも、電荷の蓄積時間がある程度長い場合は、測光結果が時間的に平均化され、安定した結果が取得できる。一方、電荷の蓄積時間が短い場合は、フリッカの明るいタイミングで蓄積するか、暗いタイミングで蓄積するかで、結果が大きく変わってきてしまう。そのため、所定時間以下の短い蓄積時間の場合は、工夫が必要になる。   Even if these flickers exist, if the charge accumulation time is long to some extent, the photometric results are averaged over time, and a stable result can be obtained. On the other hand, when the charge accumulation time is short, the result varies greatly depending on whether the flicker is accumulated at a bright timing or at a dark timing. For this reason, in the case of a short accumulation time equal to or shorter than a predetermined time, a device is required.

フリッカの光量変化周期は、10msと8.33msのどちらかであるので、10msと8.33msの間の約9ms程度を考えると、どちらの周波数のフリッカであってもほぼ1周期に近い時間に相当する。そこで、蓄積時間が9ms以下の場合は、次のような処理を行う。   The flicker light amount change period is either 10 ms or 8.33 ms, so when considering about 9 ms between 10 ms and 8.33 ms, the flicker of either frequency is almost in one cycle. Equivalent to. Therefore, when the accumulation time is 9 ms or less, the following processing is performed.

例えば、蓄積時間3msで蓄積を行いたい場合は、フリッカの1周期相当の9msの時間幅を3ms間隔で1msの蓄積を3回に分けて間欠的に行い、それらの平均値を取得する。このように、蓄積を間欠的に行うことで、フリッカの山や谷だけのタイミングに集中して蓄積を行うことが無くなるので、短い蓄積時間でもフリッカの平均的な明るさを測光値として得ることができる。ここでは、3ms間隔で1ms蓄積を3回行い、平均する例を示したが、間隔や回数はこれに限定されず、フリッカの1周期内の時間を間欠的に複数回蓄積して、それらの結果を平均することが必要である。   For example, when it is desired to perform accumulation at an accumulation time of 3 ms, a 9 ms time width corresponding to one flicker cycle is intermittently performed at 3 ms intervals and 1 ms accumulation is performed three times, and an average value thereof is obtained. In this way, by intermittently accumulating, it is not necessary to concentrate on flicker peaks and valleys, so that the average flicker brightness can be obtained as a photometric value even with a short accumulation time. Can do. Here, an example is shown in which 1 ms accumulation is performed three times at an interval of 3 ms and averaged. However, the interval and the number of times are not limited to this, and the time within one cycle of flicker is intermittently accumulated a plurality of times. It is necessary to average the results.

ここで得られた測光値を基に、露出条件である絞り値(AV値)、シャッタスピード(TV値)、ISO感度(ISO値)を決定する。AV値、TV値、ISO値の決定に際しては、予め記憶されたプログラム線図を利用して決定する。   Based on the photometric value obtained here, the aperture value (AV value), shutter speed (TV value), and ISO sensitivity (ISO value), which are exposure conditions, are determined. The AV value, TV value, and ISO value are determined using a program diagram stored in advance.

ステップS202では、ICPU112は、フリッカ検出用の電荷の蓄積と読み出し動作を行い、ステップS203に進む。本実施形態では、ステップS201の測光動作のための蓄積とは別に、フリッカを検出するために、図3に示すように、600fps、1.66ms周期で蓄積・読み出しを連続して12回行う。図3は、理想的な100Hzフリッカを破線で示しており、このフリッカ環境下で1.66ms間隔で蓄積を行ったとすると、12回の測光結果であるAE(1)〜AE(12)を得る。   In step S202, the ICPU 112 performs a flicker detection charge accumulation and readout operation, and proceeds to step S203. In the present embodiment, in addition to accumulation for the photometric operation in step S201, accumulation and reading are continuously performed 12 times at a cycle of 600 fps and 1.66 ms as shown in FIG. 3 in order to detect flicker. FIG. 3 shows an ideal 100 Hz flicker with a broken line. If accumulation is performed at an interval of 1.66 ms in this flicker environment, AE (1) to AE (12) which are twelve photometric results are obtained. .

ステップS203では、ICPU112は、ステップS202での測光結果であるAE(1)〜AE(12)を基に、フリッカの判定を行う。フリッカの判定を行うにあたって、フリッカ評価値を算出する。フリッカ周波数判定に使用するフリッカ評価値は、本実施形態では、ステップS202で得たAE(1)〜AE(12)を用いて次式で定義することとする。   In step S203, the ICPU 112 determines flicker based on AE (1) to AE (12) that are the photometric results in step S202. In performing flicker determination, a flicker evaluation value is calculated. In this embodiment, the flicker evaluation value used for flicker frequency determination is defined by the following equation using AE (1) to AE (12) obtained in step S202.

上式において、SADとは、Sum of Absolute Differenceの略であり、パターンマッチングの分野などで用いられる類似度を表す指標である。例えばm=6の場合は、AE(n)と、その6つ先の測光値AE(n+6)のペアの差の絶対値を計算し、6ペア分の結果を加算したものである。   In the above equation, SAD is an abbreviation for Sum of Absolute Difference, and is an index representing the similarity used in the field of pattern matching and the like. For example, when m = 6, the absolute value of the difference between the pair of AE (n) and the six photometric values AE (n + 6) ahead is calculated, and the results for six pairs are added.

例えば、図3に示すように、100Hzのフリッカがあった場合、フリッカの周期は10msであり、かつ10ms=1.66ms×6であるから、理想的には、AE(n)=AE(n+6)の関係が成り立つことなる。つまり、100Hzのフリッカがあった場合は、SAD6=0となる。一方、AE(n)≠AE(n+5)なので、100Hzのフリッカがあった場合のSAD5は、ある程度の大きな値になる。   For example, as shown in FIG. 3, if there is a flicker of 100 Hz, the flicker cycle is 10 ms and 10 ms = 1.66 ms × 6, so ideally AE (n) = AE (n + 6 ) Is established. That is, when there is a flicker of 100 Hz, SAD6 = 0. On the other hand, since AE (n) ≠ AE (n + 5), SAD5 when there is a flicker of 100 Hz has a certain large value.

同様に、120Hzのフリッカについて考える。8.33ms=1.66ms×5の関係から、AE(n)=AE(n+5)、AE(n)≠AE(n+6)の関係が成り立ち、120Hzのフリッカがあった場合は、SAD5=0で、SAD6は、ある程度の大きな値となる。   Similarly, consider 120 Hz flicker. From the relationship of 8.33 ms = 1.66 ms × 5, the relationship of AE (n) = AE (n + 5), AE (n) ≠ AE (n + 6) holds, and when there is a flicker of 120 Hz, SAD5 = 0 , SAD6 has a certain large value.

一方、フリッカが存在しないDC光源の場合は、被写体の光量は一定なので、AE(1)=AE(2)=AE(3)=……=AE(12)と、12回の測光値は一致する。すなわち、SAD6=SAD5=0となる。   On the other hand, in the case of a DC light source that does not have flicker, since the amount of light of the subject is constant, AE (1) = AE (2) = AE (3) = ...... = AE (12) and the 12 photometric values match. To do. That is, SAD6 = SAD5 = 0.

また、ここまでは被写体は一定でフリッカによる光量だけが変化するような前提であったが、例えばパンニングや被写体の移動などで被写体が一定でない場合は、SAD6、SAD5の両方が大きな値をとる場合も考えられる。このような場合は、フリッカ検出エラーという意味合いで、ここでは、DC判定とする。また、太陽光でもフリッカが存在しないがフリッカの有無を判定できればよいため、フリッカが存在しないという意味合いで、ここでは、DC判定とする。   In addition, it has been assumed that the subject is constant and only the amount of light due to flicker changes so far. For example, when the subject is not constant due to panning or movement of the subject, both SAD6 and SAD5 have large values. Is also possible. In such a case, in the sense of flicker detection error, here, DC determination is performed. Further, since there is no flicker even in sunlight, it is only necessary to be able to determine the presence or absence of flicker. Therefore, here, DC determination is made in the sense that there is no flicker.

以上の特性より、横軸にSAD6、縦軸にSAD5の平面を考えて、図4に示す領域分割で、100Hz/120Hz/DCという判定を行うようにすると、フリッカの有無および周波数を検出することができる。   Based on the above characteristics, if the horizontal axis is SAD6 and the vertical axis is SAD5 and the region division shown in FIG. 4 is determined to be 100 Hz / 120 Hz / DC, the presence / absence of flicker and the frequency are detected. Can do.

そして、ICPU112は、フリッカ判定結果に応じて、120Hzのフリッカの場合は、ステップS204に進む、100Hzのフリッカの場合は、ステップS205に進み、DC判定された場合は、ステップS211に進む。   Then, according to the flicker determination result, the ICPU 112 proceeds to step S204 if the flicker is 120 Hz, proceeds to step S205 if the flicker is 100 Hz, and proceeds to step S211 if the DC is determined.

ステップS204では、ICPU112は、フリッカ周期T=8.33msに設定し、ステップS206に進む。ステップS205では、ICPU112は、フリッカ周期T=10msに設定し、ステップS206に進む。ステップS211では、カメラCPU101は、レリーズスイッチSW2がオンされてレリーズ指示があったかを判定し、レリーズ指示があった場合は、ステップS212に進み、シャッタ104の走行により露光動作を行って撮影動作を終了する。   In step S204, the ICPU 112 sets the flicker cycle T = 8.33 ms, and proceeds to step S206. In step S205, the ICPU 112 sets the flicker cycle T = 10 ms, and proceeds to step S206. In step S211, the camera CPU 101 determines whether the release switch SW2 is turned on to give a release instruction. If there is a release instruction, the camera CPU 101 proceeds to step S212, performs an exposure operation by running the shutter 104, and ends the photographing operation. To do.

ステップS206では、ICPU112は、ローパスフィルタを適用し、ステップS207に進む。ステップS207では、ICPU112は、ピークタイミングの演算処理を行い、ステップS208に進む。ステップS206及びステップS207の処理の詳細については、図5乃至図9を用いて後述する。   In step S206, the ICPU 112 applies a low-pass filter and proceeds to step S207. In step S207, the ICPU 112 performs peak timing calculation processing, and proceeds to step S208. Details of the processing in step S206 and step S207 will be described later with reference to FIGS.

ステップS206及びステップS207は、ステップS202で得たAE(1)〜AE(12)の結果から、フリッカの影響を低減できるシャッタ104の走行タイミングを算出するステップである。まず、最適なシャッタ104の走行タイミングの考え方に関して説明する。   Steps S206 and S207 are steps for calculating the travel timing of the shutter 104 that can reduce the influence of flicker from the results of AE (1) to AE (12) obtained in step S202. First, the concept of the optimal travel timing of the shutter 104 will be described.

図5(a)は理想的な100HzのSin波形のフリッカを観測した場合の光量と時間の関係を示すグラフ図、図5(b)はシャッタスピード1/1000(1ms)で露光した場合のシャッタ走行を表すグラフ図である。   FIG. 5A is a graph showing the relationship between light quantity and time when observing an ideal 100 Hz Sin waveform flicker, and FIG. 5B is a shutter when exposure is performed at a shutter speed of 1/1000 (1 ms). It is a graph showing driving | running | working.

シャッタ104は、カメラ本体100を正位置で構えた場合に、撮像素子103を上から下へ向けて先幕及び後幕の順で走行する。図5(b)の縦軸は、撮像素子103の行番号、実線は、先幕の走行を表し、図から分かるように、幕速3msの時間をかけて、撮像素子103の1行目から4000行目までの距離を走行するものとする。一方、図5(b)の破線は、後幕の走行を表し、シャッタスピードである1msの時間をおいて、先幕を追いかけるようにして、同じように幕速3msで撮像素子の1行目から4000行目までの距離を走行する。   When the camera body 100 is held at the normal position, the shutter 104 travels in the order of the front curtain and the rear curtain with the image sensor 103 facing from the top to the bottom. In FIG. 5B, the vertical axis represents the row number of the image sensor 103, and the solid line represents the travel of the leading curtain. As can be seen from the figure, the curtain speed of 3 ms is taken from the first row of the image sensor 103. It is assumed that the vehicle travels a distance up to 4000th line. On the other hand, the broken line in FIG. 5B represents the running of the rear curtain, and the first line of the image sensor is similarly driven at the curtain speed of 3 ms by following the front curtain after a shutter speed of 1 ms. To the 4000th line.

なお、本実施形態では、シャッタ104は、メカニカルシャッタの例で説明するが、電子ローリングシャッタでも同様の考え方が適用できる。この場合、メカニカルシャッタでの幕速は、電子ローリングシャッタの読み出し時間に相当し、撮像素子103の各行の蓄積動作と読み出し動作のタイミングは、図5(b)と同じように表されるため、メカニカルシャッタと同様に考えることが出来る。   In this embodiment, the shutter 104 is described as an example of a mechanical shutter, but the same concept can be applied to an electronic rolling shutter. In this case, the curtain speed at the mechanical shutter corresponds to the readout time of the electronic rolling shutter, and the timing of the accumulation operation and readout operation of each row of the image sensor 103 is expressed in the same manner as in FIG. It can be considered in the same way as a mechanical shutter.

図5(b)に示すような特性のシャッタ104の露光において、本実施形態では、撮像素子103の2000行目が露光される期間の中心の時間を露光中心と定義することとする。露光中心をフリッカのピークタイミングであるt=5msの時間に合わせると、図5(a)に示すように、撮像素子103の1行目の露光量と4000行目の露光量が一致し、画面内の行による露光ムラは最小となる。   In the exposure of the shutter 104 having the characteristics as shown in FIG. 5B, in this embodiment, the center time of the period during which the 2000th row of the image sensor 103 is exposed is defined as the exposure center. When the exposure center is set to the flicker peak timing t = 5 ms, as shown in FIG. 5A, the exposure amount of the first row of the image sensor 103 and the exposure amount of the 4000th row match, The exposure unevenness due to the inner row is minimized.

図5の例では、シャッタスピード1/1000(1ms)で説明したが、フリッカ光量波形の形がピークタイミングを軸に左右対称である。このため、シャッタスピードに依存せず、露光中心をt=5msのフリッカピークタイミングに合わせれば、同様の結果となる。なお、メカニカルシャッタは一般的に等速で走行するのではなく走行中に徐々に加速していくため、撮像素子103の2000行目が露光される期間の中心の時間を露光中心とすると撮像素子の1行目と4000行目の露光ムラが大きくなる。そのため、メカニカルシャッタの走行特性を考慮して、画面内の行による露光ムラは最小となるように、露光中心と定義する撮像素子103の行を設定してもよい。   In the example of FIG. 5, the shutter speed was 1/1000 (1 ms), but the flicker light amount waveform is symmetrical with respect to the peak timing. For this reason, the same result is obtained if the exposure center is set to the flicker peak timing of t = 5 ms without depending on the shutter speed. In general, the mechanical shutter does not travel at a constant speed, but gradually accelerates while traveling. Therefore, when the center of the period during which the 2000th row of the image sensor 103 is exposed is the exposure center, the image sensor. The exposure unevenness in the first and 4000th rows increases. Therefore, in consideration of the running characteristics of the mechanical shutter, the row of the image sensor 103 defined as the exposure center may be set so that the exposure unevenness due to the row in the screen is minimized.

次に、図6(a)及び図6(b)は、100Hzの歪んだ波形のフリッカがあった場合で、かつシャッタスピード1/1000(1ms)の場合のグラフ図である。図5と同様に考えると、露光中心をt=6.367msに合わせると、撮像素子103の1行目と4000行目の露光量が一致し、画面内の行による露光ムラは最小となる。t=6.367msは、図6(a)に示す光量のピークタイミングとほぼ一致したタイミングであることが分かる。   Next, FIGS. 6A and 6B are graphs in the case where there is flicker having a distorted waveform of 100 Hz and the shutter speed is 1/1000 (1 ms). Considering the same as in FIG. 5, when the exposure center is set to t = 6.367 ms, the exposure amounts of the first row and the 4000th row of the image sensor 103 coincide, and the exposure unevenness due to the rows in the screen is minimized. It can be seen that t = 6.367 ms is substantially the same as the peak timing of the light amount shown in FIG.

一方、図7(a)及び図7(b)は、歪んだ波形のフリッカがあった場合で、かつシャッタスピード1/125(8ms)の場合のグラフ図である。図7(a)において、撮像素子103の1行目の露光量は、横線のパターンで示し、4000行目の露光量は、縦線のパターンで示してある。よって、一部オーバーラップしている領域は、格子状のパターンになっている。この場合、露光中心は、t=5.922msの時間に合わせると、画面内の行による露光ムラは最小となる。このタイミングは、図6の場合と結果が異なることから、シャッタスピードによりシャッタ走行の最適タイミングが変化していることが分かる。   On the other hand, FIGS. 7A and 7B are graphs in the case where flicker having a distorted waveform is present and the shutter speed is 1/125 (8 ms). In FIG. 7A, the exposure amount of the first row of the image sensor 103 is indicated by a horizontal line pattern, and the exposure amount of the 4000th row is indicated by a vertical line pattern. Therefore, the partially overlapping region has a lattice pattern. In this case, when the exposure center is set to the time of t = 5.922 ms, the exposure unevenness due to the lines in the screen is minimized. Since this timing is different from the case of FIG. 6, it can be seen that the optimum timing of shutter travel changes depending on the shutter speed.

これに関して説明すると、図6の例では、シャッタスピードが比較的高速であり、撮像素子103の1行目の露光開始から4000行目の露光終了が4msと短時間で終了している。図6のフリッカ波形は歪んでいるものの、ピークタイミング近傍であれば、ピークタイミングを軸に比較的左右対称に近い光量変化の特性であるため、高速シャッタ時は、ピークタイミングに露光中心を合わせるだけで、ほぼ理想的なシャッタ走行タイミングになる。   Regarding this, in the example of FIG. 6, the shutter speed is relatively high, and the exposure end of the 4000th row from the exposure start of the first row of the image sensor 103 is finished in a short time of 4 ms. Although the flicker waveform in FIG. 6 is distorted, if it is in the vicinity of the peak timing, the light quantity change characteristic is relatively symmetric with respect to the peak timing. Therefore, at the time of high-speed shutter, the exposure center is simply aligned with the peak timing. Thus, almost ideal shutter travel timing is obtained.

これに対し、図7のシャッタスピード1/125(8ms)の場合の例では、撮像素子103の1行目の露光開始から4000行目の露光終了までが11msと長い。この場合、フリッカの光量変化特性の非対称性の影響が見えてきたため、シャッタ走行の最適タイミングが高速シャッタ時に比べてずれると考えることができる。   In contrast, in the example of the shutter speed 1/125 (8 ms) in FIG. 7, the time from the start of exposure of the first row of the image sensor 103 to the end of exposure of the 4000th row is as long as 11 ms. In this case, since the influence of the asymmetry of the light quantity change characteristic of flicker has been seen, it can be considered that the optimum timing for shutter travel is deviated from that for high-speed shutter.

このように、図7のような歪んだフリッカ波形では、シャッタ走行の最適タイミングは、高速シャッタ時ではフリッカのピークタイミングでよい。しかし、低速シャッタになるに従い、より広い時間幅でフリッカの光量変化を観測し、その上で走行タイミングを決定する必要がある。   As described above, in the distorted flicker waveform as shown in FIG. 7, the optimal timing for shutter travel may be the flicker peak timing during high-speed shutter. However, as the shutter speed becomes low, it is necessary to observe the change in the amount of flicker light with a wider time width, and to determine the travel timing on that basis.

以上を考慮すると、ステップS206では、ステップS201で決定したTV値(シャッタスピード)に応じ、ステップS202で取得したAE(1)〜AE(12)に対して移動平均、もしくは加重移動平均値を計算した上でピークタイミングを計算すればよい。   Considering the above, in step S206, a moving average or a weighted moving average value is calculated for AE (1) to AE (12) acquired in step S202 according to the TV value (shutter speed) determined in step S201. Then, the peak timing may be calculated.

図8を参照して、図6の歪んだフリッカ波形を測定して得たAE(1)〜AE(12)に移動平均、加重移動平均処理を意味する各種ローパスフィルタ(以下、フィルタという)を適用した場合の計算例を説明する。   Referring to FIG. 8, various low-pass filters (hereinafter referred to as filters) representing moving average and weighted moving average processing are added to AE (1) to AE (12) obtained by measuring the distorted flicker waveform of FIG. An example of calculation when applied will be described.

図8において、波形S1は、AE(1)〜AE(12)そのままのもの(フィルタなし)である。波形S2は、フィルタ係数(0,0.33,0.33,0.33,0)をAE(1)〜AE(12)に適用したものである。波形S3は、フィルタ係数(0.125,0.25,0.25,0.25,0.125)をAE(1)〜AE(12)に適用したものである。   In FIG. 8, the waveform S1 is the same as AE (1) to AE (12) (no filter). Waveform S2 is obtained by applying filter coefficients (0, 0.33, 0.33, 0.33, 0) to AE (1) to AE (12). A waveform S3 is obtained by applying filter coefficients (0.125, 0.25, 0.25, 0.25, 0.125) to AE (1) to AE (12).

例えば、ステップS201でシャッタスピードSSがSS≦1/500と高速な値に決まっていた場合は、単純に光量変化のピークタイミングを求めればよい。このため、加重移動平均を取らず、AE(1)〜AE(12)の値をそのまま用いてピークタイミングを求める(波形S1)。具体的なピークタイミングの算出方法の例としては、AE(2)〜AE(11)の中で最大の測光値を得たAE(max)とその前後1回のAE(max−1)、AE(max+1)の3回の測光結果から、2次関数で近似、補完する。これにより、ピークタイミングを計算することができる。   For example, if the shutter speed SS is determined to be a high value of SS ≦ 1/500 in step S201, the peak timing of the light amount change may be simply obtained. For this reason, the peak timing is obtained using the values of AE (1) to AE (12) as they are without taking the weighted moving average (waveform S1). As an example of a specific peak timing calculation method, AE (max) obtained the maximum photometric value among AE (2) to AE (11), AE (max-1) one time before and after that, AE Approximate and complement with a quadratic function from the three photometry results of (max + 1). Thereby, the peak timing can be calculated.

一方、ステップS201でシャッタスピードSSがやや遅い1/500<SS≦1/160の間の値に決定していた場合は、フィルタ係数(0,0.33,0.33,0.33,0)を適用する(波形S2)。その後、2次関数近似により補完してピークタイミングを求めればよい。   On the other hand, if the shutter speed SS is determined to be a value between 1/500 <SS ≦ 1/160 in step S201, the filter coefficient (0, 0.33, 0.33, 0.33, 0) is determined. ) Is applied (waveform S2). Thereafter, the peak timing may be obtained by complementing with quadratic function approximation.

さらに、ステップS201でシャッタスピードSSが低速シャッタの1/160<SSの場合は、フィルタ係数(0.125,0.25,0.25,0.25,0.125)を適用し、同様の計算を行う。   Furthermore, when the shutter speed SS is 1/160 <SS of the low-speed shutter in step S201, a filter coefficient (0.125, 0.25, 0.25, 0.25, 0.125) is applied, and the same Perform the calculation.

図8のそれぞれの波形S1〜S3に関して、2次関数近似で補間してピークタイミングt(peak)を求めると、波形S1のフィルタなしの場合、t(peak)=6.375msとなる。また、波形S2のフィルタ係数(0,0.33,0.33,0.33,0)の場合、t(peak)=6.137msとなり、波形S3のフィルタ係数(0.125,0.25,0.25,0.25,0.125)の場合、t(peak)=5.933msとなる。ここで近似補間されるピークタイミングt(peak)は、本発明のシャッタを動作させるためのフリッカ位相のタイミングに相当する。   When the peak timing t (peak) is obtained by interpolating with the quadratic function approximation for each of the waveforms S1 to S3 in FIG. 8, t (peak) = 6.375 ms when there is no filter of the waveform S1. Further, in the case of the filter coefficient (0, 0.33, 0.33, 0.33, 0) of the waveform S2, t (peak) = 6.137 ms, and the filter coefficient (0.125, 0.25) of the waveform S3. , 0.25, 0.25, 0.125), t (peak) = 5.933 ms. Here, the peak timing t (peak) to be approximately interpolated corresponds to the timing of the flicker phase for operating the shutter of the present invention.

一方、シャッタスピード1/1000での最適シャッタ走行タイミングは、6.367ms(≒6.375ms(波形S1))であり、シャッタスピード1/250での最適シャッタ走行タイミングは、6.221ms(≒6.137ms(波形S2))である。また、シャッタスピード1/125での最適シャッタ走行タイミングは、5.922ms(≒6.933ms(波形S3))である。したがって、フィルタを切り替えることで、シャッタスピードに応じて、より最適なシャッタ走行タイミングに近い値が得られていることが分かる。   On the other hand, the optimal shutter travel timing at a shutter speed of 1/1000 is 6.367 ms (≈6.375 ms (waveform S1)), and the optimal shutter travel timing at a shutter speed of 1/250 is 6.221 ms (≈6 .137 ms (waveform S2)). The optimum shutter travel timing at the shutter speed 1/125 is 5.922 ms (≈6.933 ms (waveform S3)). Therefore, it can be seen that by switching the filter, a value closer to the optimum shutter travel timing is obtained according to the shutter speed.

なお、ここではシャッタスピードのみでフィルタを切り替える場合を例示したが、フィルタ切り替えの条件には、シャッタ104の幕速を含めてもよい。また、シャッタ104の幕速は、3msに固定した場合を説明したが、シャッタ104の幕速はシャッタ104の耐久回数(走行回数)と共に変化する場合なども考えられる。   Although the case where the filter is switched only by the shutter speed is illustrated here, the curtain switching speed of the shutter 104 may be included in the filter switching condition. In addition, although the case where the curtain speed of the shutter 104 is fixed to 3 ms has been described, the curtain speed of the shutter 104 may be changed with the number of times the shutter 104 is used (the number of times of travel).

このような場合、予め測定しておいたシャッタの累積走行回数と幕速との関係から幕速を予想したり、シャッタ走行毎にシャッタ走行時の幕速を実測したりしても良い。幕速の実測は、例えばシャッタユニットにフォトインタラプタを搭載すれば、その出力から実測可能である。このように幕速が分かった場合は、「シャッタスピード+幕速」の値をフィルタ切り替えの条件にしても良い。   In such a case, the curtain speed may be predicted from the relationship between the cumulative number of times the shutter travels and the curtain speed measured in advance, or the curtain speed during shutter travel may be measured for each shutter travel. The curtain speed can be actually measured from the output if a photo interrupter is mounted on the shutter unit, for example. When the curtain speed is known in this way, the value of “shutter speed + curtain speed” may be used as a filter switching condition.

さらに、上記の説明では、1.66ms間隔で取得したAE(1)〜AE(12)の測光値にフィルタをかけたものに対し、最大の測光結果とその前後の3点の測光結果から2次関数で近似、補完してピークタイミングを計算する方法を示した。   Furthermore, in the above description, a filter is applied to the photometric values of AE (1) to AE (12) acquired at intervals of 1.66 ms, and 2 is obtained from the maximum photometric result and the photometric results of three points before and after that. The method of calculating the peak timing by approximating and complementing with the following function was shown.

しかし、例えば、サンプリングピッチを2倍にして0.833ms間隔でAE(1)〜AE(24)を取得した場合などでも、対応することができる。すなわち、サンプリングが密になった分、フィルタのタップ数を増やし、更にピークタイミングの算出についても、3点の測光結果ではなく、最大の測光結果とその前後の2点ずつの計5回の測光結果からスプライン曲線で補間して求める方法なども考えられる。   However, for example, even when the sampling pitch is doubled and AE (1) to AE (24) are acquired at intervals of 0.833 ms, it can be dealt with. That is, the number of taps of the filter is increased by the amount of sampling, and the peak timing is calculated not only for the three-point photometry results but also for the maximum photometry result and the two points before and after that. A method of interpolating with a spline curve from the result is also conceivable.

つまり、フィルタの係数やタップ数、ピークタイミングを求めるための補間アルゴリズムは、ここに示した例に限らず、様々なものが考えられる。フィルタのタップ数や補間アルゴリズムを変更することで、より細かくフィルタの特性を設定可能となり、また、補間精度の向上なども期待できる。そして、ICPU112は、ステップS206でフィルタを適用し、ステップS207でピークタイミング演算が終了したら、ステップS208に進む。   That is, the interpolation algorithm for obtaining the filter coefficient, the number of taps, and the peak timing is not limited to the example shown here, and various other algorithms can be considered. By changing the number of taps of the filter and the interpolation algorithm, it is possible to set the filter characteristics more finely, and it can be expected to improve the interpolation accuracy. Then, the ICPU 112 applies the filter in step S206, and when the peak timing calculation ends in step S207, the process proceeds to step S208.

ステップS208では、ICPU112は、ステップS204又はステップS205で設定されたフリッカ周期TとステップS207で求めたピークタイミングt(peak)より、フリッカ同期信号を生成し、ステップS209に進む。フリッカ同期信号は、図9に示すように、ステップS207で求めたt(peak)を基準として、フリッカの周期T毎に発生するフリッカのピークのタイミングを表す信号で、t(peak)+m×T(mは任意の自然数)のタイミングで立ち上がり変化する。ICPU112は、このフリッカ同期信号を生成し、カメラCPU101へと伝える構成となっている。   In step S208, the ICPU 112 generates a flicker synchronization signal from the flicker cycle T set in step S204 or step S205 and the peak timing t (peak) obtained in step S207, and the process proceeds to step S209. As shown in FIG. 9, the flicker synchronization signal is a signal representing the timing of the flicker peak generated at every flicker cycle T with reference to t (peak) obtained in step S207, and is t (peak) + mx. It rises and changes at the timing of T (m is an arbitrary natural number). The ICPU 112 is configured to generate this flicker synchronization signal and transmit it to the camera CPU 101.

ステップS209では、カメラCPU101は、レリーズスイッチSW2がオンされてレリーズ指示があったかを判定し、レリーズ指示があった場合は、ステップS210に進む。   In step S209, the camera CPU 101 determines whether the release switch SW2 is turned on and a release instruction is issued. If there is a release instruction, the process proceeds to step S210.

ステップS210では、カメラCPU101は、ICPU112から送られているフリッカ同期信号(図9)の立ち上がりタイミングに対して露光中心を一致させるようなタイミングでシャッタ104を走行させて露光動作を行い、撮影動作を終了する。   In step S210, the camera CPU 101 performs the exposure operation by causing the shutter 104 to travel at a timing such that the exposure center coincides with the rising timing of the flicker synchronization signal (FIG. 9) sent from the ICPU 112, and the photographing operation is performed. finish.

以上説明したように、本実施形態では、歪んだ波形特性を持つフリッカ光源下においても、フリッカによる撮影画像の露光ムラを効果的に低減する露光タイミングを算出することができる。   As described above, in the present embodiment, it is possible to calculate an exposure timing that effectively reduces exposure unevenness of a captured image due to flicker even under a flicker light source having a distorted waveform characteristic.

なお、本発明は、上記実施形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。   In addition, this invention is not limited to what was illustrated to the said embodiment, In the range which does not deviate from the summary of this invention, it can change suitably.

また、本発明は、以下の処理を実行することによっても実現される。即ち、本発明は、上述の実施形態の1以上の機能を実現するプログラムをネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。   The present invention can also be realized by executing the following processing. That is, the present invention supplies a program that realizes 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 the computer of the system or apparatus read the program. It can also be realized by processing to be executed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

101 カメラCPU
104 シャッタ
108 AEセンサ
112 ICPU
101 Camera CPU
104 Shutter 108 AE sensor 112 ICPU

Claims (6)

撮像手段と、
前記撮像手段を露光させるシャッタと、
測光手段と、
前記測光手段により複数回の測光を行って得られた複数の測光値に基づいて、被写体からの光の光量変化であるフリッカの有無および周波数を検出する検出手段と、
前記複数の測光値のうちの少なくとも3回の測光値から前記シャッタを動作させるためのフリッカ位相のタイミングを算出する算出手段と、
前記算出手段によって算出された前記フリッカ位相のタイミングで前記シャッタを動作させることで前記撮像手段を露光させる制御手段と、を備え、
前記算出手段は、前記複数回の測光値に対して前記シャッタのシャッタスピードに応じたタップ数のローパスフィルタを適用し、前記ローパスフィルタを適用した前記複数回の測光値から前記フリッカ位相のタイミングを算出することを特徴とする撮像装置。
Imaging means;
A shutter for exposing the imaging means;
Photometric means;
Detecting means for detecting the presence and frequency of flicker, which is a change in the amount of light from the subject, based on a plurality of photometric values obtained by performing photometry a plurality of times by the photometric means;
Calculating means for calculating a flicker phase timing for operating the shutter from at least three photometric values of the plurality of photometric values;
Control means for exposing the imaging means by operating the shutter at the flicker phase timing calculated by the calculation means,
The calculating means applies a low-pass filter with the number of taps corresponding to the shutter speed of the shutter to the plurality of photometric values, and calculates the flicker phase timing from the plurality of photometric values to which the low-pass filter is applied. An imaging apparatus characterized by calculating.
前記ローパスフィルタとは、移動平均、または加重移動平均処理であることを特徴とする請求項1に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the low-pass filter is a moving average or weighted moving average process. 前記シャッタは、メカニカルシャッタであり、前記メカニカルシャッタの幕速とシャッタスピードに応じて、前記ローパスフィルタのタップ数を決定することを特徴とする請求項1又は2に記載の撮像装置。   The imaging apparatus according to claim 1, wherein the shutter is a mechanical shutter, and the number of taps of the low-pass filter is determined according to a curtain speed and a shutter speed of the mechanical shutter. 前記シャッタは、前記撮像手段を用いた電子ローリングシャッタであり、前記電子ローリングシャッタの読み出し時間とシャッタスピードに応じて、前記ローパスフィルタのタップ数を決定することを特徴とする請求項1又は2に記載の撮像装置。   The said shutter is an electronic rolling shutter using the said imaging means, The tap number of the said low-pass filter is determined according to the read-out time and shutter speed of the said electronic rolling shutter, It is characterized by the above-mentioned. The imaging device described. 撮像手段と、前記撮像手段を露光させるシャッタと、測光手段と、を備える撮像装置の制御方法であって、
前記測光手段により複数回の測光を行って得られた複数の測光値に基づいて、被写体からの光の光量変化であるフリッカの有無および周波数を検出する検出ステップと、
前記複数の測光値のうちの少なくとも3回の測光値から前記シャッタを動作させるためのフリッカ位相のタイミングを算出する算出ステップと、
前記算出ステップで算出された前記フリッカ位相のタイミングで前記シャッタを動作させることで前記撮像手段を露光させる制御ステップと、を備え、
前記算出ステップは、前記複数回の測光値に対して前記シャッタのシャッタスピードに応じたタップ数のローパスフィルタを適用し、前記ローパスフィルタを適用した前記複数回の測光値から前記フリッカ位相のタイミングを算出することを特徴とする撮像装置の制御方法。
An imaging device control method comprising: an imaging unit; a shutter that exposes the imaging unit; and a photometric unit,
A detection step of detecting the presence and frequency of flicker, which is a change in the amount of light from the subject, based on a plurality of photometric values obtained by performing photometry a plurality of times by the photometric means;
A calculation step of calculating a flicker phase timing for operating the shutter from at least three photometric values of the plurality of photometric values;
A control step of exposing the imaging means by operating the shutter at the flicker phase timing calculated in the calculation step,
The calculating step applies a low-pass filter having the number of taps corresponding to the shutter speed of the shutter to the plurality of photometric values, and calculates the timing of the flicker phase from the plurality of photometric values to which the low-pass filter is applied. A control method for an imaging apparatus, characterized by:
請求項5に記載の撮像装置の制御方法の各ステップをコンピュータに実行させることを特徴とするプログラム。   A program for causing a computer to execute each step of the method for controlling an imaging apparatus according to claim 5.
JP2016126562A 2016-06-27 2016-06-27 Imaging device, its control method, and program Active JP6768372B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016126562A JP6768372B2 (en) 2016-06-27 2016-06-27 Imaging device, its control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016126562A JP6768372B2 (en) 2016-06-27 2016-06-27 Imaging device, its control method, and program

Publications (2)

Publication Number Publication Date
JP2018006804A true JP2018006804A (en) 2018-01-11
JP6768372B2 JP6768372B2 (en) 2020-10-14

Family

ID=60949876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016126562A Active JP6768372B2 (en) 2016-06-27 2016-06-27 Imaging device, its control method, and program

Country Status (1)

Country Link
JP (1) JP6768372B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518162A (en) * 2021-04-07 2021-10-19 浙江大华技术股份有限公司 Line exposure method, camera and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518162A (en) * 2021-04-07 2021-10-19 浙江大华技术股份有限公司 Line exposure method, camera and computer readable storage medium

Also Published As

Publication number Publication date
JP6768372B2 (en) 2020-10-14

Similar Documents

Publication Publication Date Title
JP5945395B2 (en) Imaging device
JP6108946B2 (en) Imaging apparatus, control method, program, and storage medium
US9648249B2 (en) Image capturing apparatus, method of controlling the same, and storage medium
US11080863B2 (en) Imaging apparatus, image processing device, and control method
JP2018093275A (en) Imaging apparatus and flicker determination method
WO2018123342A1 (en) Imaging device, flicker detection method, and computer-readable recording medium
JP2012053315A (en) Automatic focus adjustment device and imaging apparatus
JP2018031877A (en) Image pickup device and focus adjusting method
JP6614853B2 (en) Imaging device, control method thereof, and control program
JP6399843B2 (en) Imaging apparatus and control method thereof
JP2018137613A (en) Image processing apparatus, imaging apparatus and control method for image processing apparatus
JP2015111252A (en) Imaging device, imaging device control method, program, and storage medium
JP2017216637A (en) Imaging apparatus and control method
JP6768372B2 (en) Imaging device, its control method, and program
JP6746398B2 (en) Imaging device, control method thereof, and program
JP5849515B2 (en) Exposure calculation device and camera
JP2016039596A (en) Imaging device and control method therefor
JP2014197141A (en) Imaging apparatus
JP6541312B2 (en) Image pickup apparatus and control method thereof
JP6456038B2 (en) Electronic device, light amount change characteristic calculation method, program, and storage medium
JP2017005495A (en) Imaging apparatus, method for controlling the same, and program
JP6704718B2 (en) Imaging device, control method thereof, and control program
JP6739248B2 (en) Imaging device, control method thereof, and program
JP6391319B2 (en) Imaging device, control method thereof, and control program
JP2010272966A (en) Photometric device, and imaging apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190619

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200310

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20200430

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200623

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: 20200825

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200923

R151 Written notification of patent or utility model registration

Ref document number: 6768372

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151