JP2016039579A - Imaging apparatus, control method, program, and storage medium - Google Patents
Imaging apparatus, control method, program, and storage medium Download PDFInfo
- Publication number
- JP2016039579A JP2016039579A JP2014163205A JP2014163205A JP2016039579A JP 2016039579 A JP2016039579 A JP 2016039579A JP 2014163205 A JP2014163205 A JP 2014163205A JP 2014163205 A JP2014163205 A JP 2014163205A JP 2016039579 A JP2016039579 A JP 2016039579A
- Authority
- JP
- Japan
- Prior art keywords
- flicker
- light
- timing
- change characteristic
- photometric
- 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
Links
Images
Landscapes
- Exposure Control For Cameras (AREA)
- Camera Bodies And Camera Details Or Accessories (AREA)
- Studio Devices (AREA)
Abstract
【課題】 フリッカーが生じる光源下で撮影しても良好な画像を取得することができるようにする。
【解決手段】 撮像手段と、測光手段と、前記撮像手段の露光時間を設定する設定手段と、前記測光手段の複数の測光結果に基づいて被写体からの光の光量変化特性を算出する算出手段と、前記算出手段により算出された光量変化特性に基づいて、前記撮像手段で露光を行うタイミングを制御する制御手段と、を有し、前記算出手段は、前記設定手段により設定された露光時間に基づいて、連続撮影を行うときに前記光量変化特性を算出する頻度を変更する。
【選択図】 図2PROBLEM TO BE SOLVED: To obtain a good image even when photographing under a light source in which flicker occurs.
An imaging unit, a photometric unit, a setting unit that sets an exposure time of the imaging unit, and a calculating unit that calculates a light quantity change characteristic of light from a subject based on a plurality of photometric results of the photometric unit Control means for controlling the timing of exposure by the imaging means based on the light quantity change characteristic calculated by the calculation means, and the calculation means is based on the exposure time set by the setting means. Thus, the frequency of calculating the light amount change characteristic when performing continuous shooting is changed.
[Selection] Figure 2
Description
本発明は、撮像装置に関し、特に蛍光灯下などの人工光源下で発生するフリッカーの影響を抑える技術に関するものである。 The present invention relates to an imaging apparatus, and more particularly to a technique for suppressing the effect of flicker generated under an artificial light source such as a fluorescent lamp.
近年、デジタルカメラや携帯電話などの撮像装置の高感度化が進んでいる。そのため、室内のような比較的暗い環境下においても、シャッタースピードを高速にした(露光時間を短くした)撮影により、ブレを抑えた明るい画像を取得することが可能になってきている。 In recent years, the sensitivity of imaging devices such as digital cameras and mobile phones has been increasing. For this reason, even in a relatively dark environment such as a room, it has become possible to acquire a bright image with reduced blur by shooting with a high shutter speed (short exposure time).
また、室内光源として普及している蛍光灯は商用電源周波数の影響により、周期的に照明光がゆらぐ現象であるフリッカーが生じる。このようなフリッカーが生じる光源(以下、フリッカー光源とする)下でシャッタースピードを高速にした撮影を行うと、1つの画像内で露出ムラや色ムラが発生したり、連続して撮影した複数の画像間で露出や色温度のばらつきが発生したりする場合がある。 In addition, fluorescent lamps that are widely used as indoor light sources cause flicker, which is a phenomenon in which illumination light periodically fluctuates due to the influence of the commercial power supply frequency. When shooting with such a flickering light source (hereinafter referred to as a flicker light source) at a high shutter speed, exposure unevenness or color unevenness occurs in one image, or a plurality of images shot continuously. Variations in exposure and color temperature may occur between images.
このような問題に対して、特許文献1では、照明光のフリッカーの状態を検出し、露光時間の中心が照明光の光量が極大値を示すタイミングと略一致するように撮像タイミングを調節する技術が提案されている。
In order to solve such a problem,
しかしながら、特許文献1に記載された技術では、複数枚連続撮像を開始する前に検出された照明光量の極大値の位相に基づいて、複数枚連続撮像の各撮像タイミングを調節しているため、以下のような問題が生じる。
However, in the technique described in
一般的に、商用電源周波数は基準となる周波数に対して±0,2Hz程度のゆらぎが生じることが知られている。つまり、フリッカー光源の明滅周期は基準となる明滅周期に対して±0,4Hz程度のゆらぎが生じる。そのため、フリッカーを検出してからの経過時間が長くなると、フリッカーの検出結果から求めたフリッカー光源の光量のピークタイミングと実際のフリッカー光源の光量のピークタイミングとがずれやすくなる。 In general, it is known that the commercial power supply frequency fluctuates about ± 0,2 Hz with respect to the reference frequency. That is, the flicker cycle of the flicker light source fluctuates about ± 0,4 Hz with respect to the reference flicker cycle. For this reason, if the elapsed time after flicker detection becomes longer, the peak timing of the light amount of the flicker light source obtained from the detection result of the flicker tends to be shifted from the peak timing of the light amount of the actual flicker light source.
したがって、特許文献1に記載された技術では、複数枚連続撮像において後の撮像になるほど、検出結果から求めたピークタイミングと実際のピークタイミングとがずれやすく、フリッカーの影響を抑えにくくなる。
Therefore, in the technique described in
そこで、本発明は、フリッカーが生じる光源下で撮影しても良好な画像を取得することができるようにすることを目的とする。 Therefore, an object of the present invention is to make it possible to obtain a good image even when shooting under a light source in which flicker occurs.
上記目的を達成するために、本発明に係る撮像装置は、撮像手段と、測光手段と、前記撮像手段の露光時間を設定する設定手段と、前記測光手段の複数の測光結果に基づいて被写体からの光の光量変化特性を算出する算出手段と、前記算出手段により算出された光量変化特性に基づいて、前記撮像手段で露光を行うタイミングを制御する制御手段と、を有し、前記算出手段は、前記設定手段により設定された露光時間に基づいて、連続撮影を行うときに前記光量変化特性を算出する頻度を変更することを特徴とする。 In order to achieve the above object, an imaging apparatus according to the present invention includes an imaging unit, a photometric unit, a setting unit that sets an exposure time of the imaging unit, and a subject based on a plurality of photometric results of the photometric unit. Calculation means for calculating the light quantity change characteristic of the light, and control means for controlling the timing of performing exposure by the imaging means based on the light quantity change characteristic calculated by the calculation means. The frequency of calculating the light quantity change characteristic when performing continuous shooting is changed based on the exposure time set by the setting means.
本発明によれば、フリッカーが生じる光源下で撮影しても良好な画像を取得することができる。 According to the present invention, it is possible to obtain a good image even when shooting under a light source in which flicker occurs.
以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
図1は、本実施形態に係る撮像装置の概略構成図である。本実施形態に係る撮像装置は、カメラ本体100と、カメラ本体100に着脱可能なレンズユニット200を含む。
FIG. 1 is a schematic configuration diagram of an imaging apparatus according to the present embodiment. The imaging apparatus according to the present embodiment includes a
まず、カメラ本体100の構成について説明する。マイクロコンピュータCPU(以下、カメラマイコン)101は、カメラ本体100の各部を制御する。メモリ102は、カメラマイコン101に接続されているRAMやROM等のメモリである。
First, the configuration of the
撮像素子103は、赤外カットフィルタやローパスフィルタ等を含むCCD、CMOS等の撮像素子であり、レンズユニット200を介して入射した光束を光電変換して画像信号を出力する。
The
シャッター104は、レンズユニット200を介して入射した光束から撮像素子103を遮光する遮光状態、及び、レンズユニット200を介して入射した光束を撮像素子103に導く退避状態となるように走行する。
The
ハーフミラー105は、レンズユニット200を介して入射した光束を撮像素子103へ導く位置(ミラーアップ状態)と測光センサ108へ導く位置(ミラーダウン状態)とに移動可能である。すなわち、ハーフミラー105は、撮像素子103へ導く状態と測光センサ108へ導く状態とに、レンズユニット200を介して入射した光束の光路変更を行う。また、測光センサ108へ導く位置にある場合には、レンズユニット200を介して入射した光束をピント板106に結像させる。
The
表示素子107は、PN液晶等を用いた表示素子であり、自動焦点調節制御(AF制御)に用いられる焦点検出領域を示す枠(AF枠)などを表示する。測光センサ108は、CCD、CMOS等の入射光量に応じた電荷を蓄積する電荷蓄積型撮像素子を使用することにより、出力される画像信号に基づいて測光だけでなく被写体の顔検出や被写体追尾、フリッカーの検出などを行うことができる。ペンタプリズム109は、ハーフミラー105で反射されたレンズユニット200を介して入射した光束を測光センサ108及び不図示の光学ファインダに導く。焦点検出回路110は、AF制御のために焦点検出を行うものであって、AFミラー111により、レンズユニット200を介して入射しハーフミラー105を通過した光束の一部が導かれる。
The
CPU112は、測光センサ108の駆動制御や画像処理・演算用のCPU(以下ICPUとする)であって、測光センサ108からの出力信号(画像信号)に基づいて測光、被写体の顔検出、被写体追尾などに関わる各種演算を行う。また、ICPU112は、測光センサ108からの出力信号(画像信号)に基づいて、被写体からの光の光量変化周期や光量が所定の条件を満たすタイミング(例えば、光量が最大となるタイミングや光量が最少となるタイミング)などの光量変化特性を算出する。メモリ113は、ICPU112に接続されているRAMやROM等のメモリである。なお、本実施形態では、カメラマイコン101とは別にICPU112を有する構成を説明するが、ICPU112で実行する処理をカメラマイコン101で実行する構成でも構わない。
The
操作部114は、ユーザがカメラ本体100に撮影準備動作の開始指示や撮影動作の開始指示を行うためのレリーズボタンや、ユーザがカメラ本体100の各種設定を行うための設定ボタンなどを含む。また、操作部114は、ユーザがカメラ本体100の電源のオンオフを切り替えるための電源スイッチや、ユーザがカメラ本体100の動作モードを複数のモードの中から選択するためのモードダイヤル、タッチパネルなどを含む。
The
次に、レンズユニット200の構成について説明する。レンズCPU201(以下、LPUとする)は、レンズユニット200の各部、例えば、フォーカスレンズ、ズームレンズ、絞りの駆動部などを制御するものであって、レンズに関する情報をカメラマイコン101に送信する。
Next, the configuration of the
次に、図2を用いてフリッカーの影響を低減させた撮影を行うための動作について説明する。図2は、本実施形態に係る撮像装置のフリッカーの影響を低減させた撮影を行うための動作を示すフローチャート図である。 Next, an operation for performing photographing with reduced influence of flicker will be described with reference to FIG. FIG. 2 is a flowchart illustrating an operation for performing imaging with reduced influence of flicker of the imaging apparatus according to the present embodiment.
ユーザの電源スイッチへの操作によりカメラ本体100の電源がオン状態になると、ステップS101で測光動作を行う。測光動作では、測光センサ108による電荷の蓄積及び画像信号の読み出しを行い、得られた画像信号に基づいてICPU112が測光に関わる演算(以下、測光演算とする)を行い測光値を取得する。
When the power of the
なお、この測光動作は、仮にフリッカー光源下であってもフリッカー光源の光量変化に影響して測光値がばらつかないように、測光センサ108の蓄積時間をフリッカーの周期のほぼ整数倍に設定するとよい。ここで、フリッカー光源の光量が変化する周波数(以下、フリッカー周波数とする)は、商用電源周波数の2倍になることから、商用電源周波数が50Hzの地域ではフリッカー周波数100Hzとなり、その光量変化周期は10msとなる。同様に商用電源周波数が60Hzの地域ではフリッカー周波数は120Hz、光量変化周期は8,33msとなる。
Note that this photometric operation is performed when the accumulation time of the
この2種類のフリッカー周波数に対応するために、測光センサ108の蓄積時間を、10msと8,33msの平均値と略等しい時間、例えば9msに設定する。そうすると、商用電源周波数が50Hz、60Hzのどちらであっても測光センサ108の蓄積時間はフリッカー光源の光量変化の1周期と略等しくなり、フリッカー光源下でも安定した測光値を得ることができる。
In order to deal with these two types of flicker frequencies, the accumulation time of the
また、得られた測光値に基づいて、カメラマイコン101は、露出制御値である絞り値Av、シャッタースピード(露光時間)Tv、ISO感度(撮影感度)Svを設定する。Av、Tv、Svの決定に際しては、カメラマイコン101は、メモリ102に予め記憶されたプログラム線図を利用して決定する。
Further, based on the obtained photometric value, the
次に、ステップS102で図3に示すようにして測光センサ108によるフリッカー検出用の複数回の電荷の蓄積及び画像信号の読み出しを行う。図3は、フリッカー検出用の電荷の蓄積タイミング及び画像信号の読み出しタイミングを示す図であり、600fps、約1,667ms周期で蓄積・読み出しを連続して12回行う。この600fpsは、予め想定されるフリッカー周波数(100Hzと120Hz)の最小公倍数と等しい値となっている。また、600fpsで12回蓄積を行うことで、全体として20msの期間で蓄積を行うことになり、商用電源周波数が50Hz、60Hzのどちらであっても、フリッカー光源の光量変化が2周期含まれることになる。
Next, in step S102, as shown in FIG. 3, the
ここで、測光センサ108を600fps(1,667ms周期)で駆動させる方法について説明する。
Here, a method for driving the
本実施形態では、測光センサ108から出力される画像信号に基づいて、測光だけでなく被写体の顔検出や被写体追尾、フリッカーの検出などを行う。被写体の顔検出を精度よく行うためには、測光センサ108の画素数はある程度、例えばQVGA相当の画素数必要である。このような被写体の顔検出を精度よく行うことが可能な画素数を有する撮像素子の全画素信号を600fps以上のフレームレートで読み出すためには、回路構成が複雑となりコストも増大する。
In this embodiment, based on the image signal output from the
そこで、被写体の顔検出を行うための画像信号については全画素信号を読み出し、フリッカー検出を行うための画像信号については画素加算読み出しや間引き読み出しをすることによってフレームレートを600fps(1,667ms周期)に調整する。 Therefore, the frame rate is set to 600 fps (cycle of 1,667 ms) by reading out all pixel signals for the image signal for detecting the face of the subject and performing pixel addition reading and thinning-out reading for the image signal for detecting flicker. Adjust to.
測光センサ108にCCDを用いる場合、画素信号を加算して読み出す画素加算読み出しにより、読み出しライン数を擬似的に減少させて読み出し時間を短縮させるとよい。例えば、画素配列がストライプ状のCCDで垂直画素加算を行うことで、図4に示すような読み出し時間の短縮効果がある。図4は、垂直画素加算数と読み出し時間の関係を示す図であり、画素信号を加算することなく全画素信号を読み出す(垂直画素加算数が1)場合の読み出し時間が6,25msとなるCCDを例にして説明する。図4に示す特徴を有するCCDの場合、9画素加算を行うことにより読み出し時間は1,66msとなり、フレームレートを約600fpsにすることができる。このとき読み出される画像信号は、画素信号を加算することなく読み出された画像信号と比べて垂直方向の画素数が1/9になるが、フリッカー検出においては画像信号間の測光値を比較するだけなので、垂直方向の画素数が減少した画像信号でも問題ない。
In the case of using a CCD for the
また、測光センサ108にCMOSを用いる場合、画素信号の読み出しを行う水平ラインを限定したいわゆる間引き読み出しによって、蓄積と読み出しの合計時間が約1,667ms周期となるように調整するとよい。
In the case where a CMOS is used for the
以上で、測光センサを約600fps(約1,667ms周期)程度で駆動させる方法についての説明を終える。 This completes the description of the method for driving the photometric sensor at about 600 fps (about 1,667 ms cycle).
ステップS102でフリッカー検出用の電荷の蓄積及び画像信号の読み出しを終えたら、ステップS103でICPU112は、読み出した画像信号に基づいてフリッカー検出演算を行う。
When the accumulation of the charge for flicker detection and the reading of the image signal are finished in step S102, the
図3(a)は、商用電源周波数が50Hzであるときの電荷の蓄積タイミング、画像信号の読み出しタイミング及び測光値の推移を示している。そして、n回目の蓄積を「蓄積n」、蓄積nの読み出しを「読み出しn」、読み出しnの結果から得られる測光値を「AE(n)」としている。なお、各蓄積により得られる測光値は1つであるが、フリッカー光源の光量は蓄積期間中も一定ではない。そこで、各蓄積により得られる測光値を、各蓄積期間中の中心時点におけるフリッカー光源の光量に対応した値とみなす。 FIG. 3A shows changes in charge accumulation timing, image signal readout timing, and photometric value when the commercial power supply frequency is 50 Hz. The n-th accumulation is “accumulation n”, the readout of the accumulation n is “read n”, and the photometric value obtained from the result of the readout n is “AE (n)”. Note that although one photometric value is obtained by each accumulation, the light quantity of the flicker light source is not constant during the accumulation period. Therefore, the photometric value obtained by each accumulation is regarded as a value corresponding to the light amount of the flicker light source at the central point in each accumulation period.
商用電源周波数が50Hzの時のフリッカー光源の光量変化周期は約10msであり、10÷1,667≒6であるから、図3(a)に示すように、6回周期でフリッカー光源の光量が略等しいタイミングで蓄積が行われる。すなわち、AE(n)≒AE(n+6)の関係となる。 When the commercial power supply frequency is 50 Hz, the light amount change period of the flicker light source is about 10 ms and 10 ÷ 1,667≈6. Therefore, as shown in FIG. Accumulation is performed at substantially the same timing. That is, the relationship of AE (n) ≈AE (n + 6) is established.
同様に、商用電源周波数が60Hzの時のフリッカー光源の光量変化周期は約8,33msであり、8,33÷1,667≒5であるから、図3(b)に示すように、5回周期でフリッカー光源の光量が略等しいタイミングで蓄積が行われる。すなわち、AE(n)≒AE(n+5)の関係となる。 Similarly, when the commercial power supply frequency is 60 Hz, the light amount change period of the flicker light source is about 8,33 ms and is 8,33 ÷ 1,667≈5. Therefore, as shown in FIG. Accumulation is performed at a timing when the amount of light of the flicker light source is approximately equal in period. That is, AE (n) ≈AE (n + 5).
一方、光量変化がない光源下であれば、nによらずAE(n)は略一定である。そこで、フリッカー検出用の蓄積を行い得られた複数の測光値に基づいて、下の式(1)、(2)を用いて評価値を算出する。 On the other hand, AE (n) is substantially constant regardless of n if the light source has no change in light quantity. Therefore, an evaluation value is calculated using the following equations (1) and (2) based on a plurality of photometric values obtained by accumulation for flicker detection.
式(1)を用いて算出される評価値をF50、式(2)を用いて算出される評価値をF60として、評価値F50及び評価値F60を所定の閾値F_thと比較することで、フリッカー検出を行う。具体的には、F50<F_thかつ、F60<F_thの場合、フリッカー検出用の蓄積を行い得られた複数の測光値のすべてが略等しいといえるため、フリッカーが生じていないと判断する。F50<F_thかつ、F60≧F_thの場合、フリッカー検出用の蓄積を行い得られた複数の測光値が、6回周期で略等しい値となっていて、5回周期では略等しい値となっていないといえる。そのため、光量変化周期が10msのフリッカーが生じている(商用電源周波数が50Hzのフリッカー光源下)と判断する。 Flicker is obtained by comparing the evaluation value F50 and the evaluation value F60 with a predetermined threshold value F_th, with the evaluation value calculated using the equation (1) as F50 and the evaluation value calculated using the equation (2) as F60. Perform detection. Specifically, in the case of F50 <F_th and F60 <F_th, it can be said that all of a plurality of photometric values obtained by accumulating for flicker detection are substantially equal, and therefore it is determined that no flicker occurs. In the case of F50 <F_th and F60 ≧ F_th, a plurality of photometric values obtained by accumulating for flicker detection are substantially equal in six cycles and not substantially equal in five cycles. It can be said. Therefore, it is determined that a flicker with a light quantity change period of 10 ms is generated (under a flicker light source with a commercial power supply frequency of 50 Hz).
F50≧F_thかつ、F60<F_thの場合、フリッカー検出用の蓄積を行い得られた複数の測光値が、5回周期で略等しい値となっていて、6回周期では略等しい値となっていないといえる。そのため、光量変化周期が8,33msのフリッカーが生じている(商用電源周波数が60Hzのフリッカー光源下)と判断する。 In the case of F50 ≧ F_th and F60 <F_th, a plurality of photometric values obtained by accumulating for flicker detection are substantially equal in five cycles and are not substantially equal in six cycles. It can be said. Therefore, it is determined that a flicker with a light amount change period of 8,33 ms is generated (under a flicker light source with a commercial power supply frequency of 60 Hz).
なお、フリッカー検出用の蓄積を行っている間にパンニングなどの撮像装置の移動や被写体の移動が生じた場合などに、測光値が大きく変化してF50≧F_thかつ、F60≧F_thとなる場合も考えられる。その場合はF50とF60とを比較してフリッカー検出を行う。 It should be noted that the photometric value may change greatly to satisfy F50 ≧ F_th and F60 ≧ F_th when panning or other imaging device movement or subject movement occurs during flicker detection accumulation. Conceivable. In that case, flicker detection is performed by comparing F50 and F60.
具体的には、F50≧F_thかつ、F60≧F_thかつ、F50≦F60の場合、光量変化周期が10msのフリッカーが生じている(商用電源周波数が50Hzのフリッカー光源下)と判断する。反対に、F50≧F_thかつ、F60≧F_thかつ、F50>F60の場合、光量変化周期が8,33msのフリッカーが生じている(商用電源周波数が60Hzのフリッカー光源下)と判断する。なお、F50≧F_thかつ、F60≧F_thかつ、F50=F60の場合は、フリッカー光源の光量変化周期を判断できないため、フリッカーが生じていないあるいはフリッカーの検出不可と判断してもよい。 Specifically, when F50 ≧ F_th, F60 ≧ F_th, and F50 ≦ F60, it is determined that a flicker with a light quantity change period of 10 ms occurs (under a flicker light source with a commercial power supply frequency of 50 Hz). On the other hand, when F50 ≧ F_th, F60 ≧ F_th, and F50> F60, it is determined that a flicker with a light quantity change period of 8,33 ms is generated (under a flicker light source with a commercial power supply frequency of 60 Hz). Note that when F50 ≧ F_th, F60 ≧ F_th, and F50 = F60, the light amount change period of the flicker light source cannot be determined, and therefore it may be determined that no flicker occurs or flicker cannot be detected.
その他、F50≧F_thかつ、F60≧F_thの場合にフリッカー光源の光量変化周期を判断したが、F50≧F_thかつ、F60≧F_thの場合はフリッカー検出の精度が低いため、フリッカー検出用の蓄積をやり直してもよい。 In addition, when F50 ≧ F_th and F60 ≧ F_th, the light amount change period of the flicker light source is determined. However, when F50 ≧ F_th and F60 ≧ F_th, the flicker detection accuracy is low, so the flicker detection accumulation is performed again. May be.
さらに、ステップS103ではICPU112は、フリッカー光源下である場合は、フリッカーの特徴点のタイミングを求める。図5はフリッカーの特徴点のタイミングの一例であるフリッカー光源の光量のピークのタイミングを算出する方法の一例を説明する図である。
Further, in step S103, the
AE(1)〜AE(12)の中で最大値を得た点をP2(t(m),AE(m))とし、その1つ前の測光結果の点をP1(t(m−1),AE(m−1))、1つ後の測光結果の点をP3(t(m+1),AE(m+1))とする。そして、AE(m−1)とAE(m+1)の小さい方を取る点(図5の例ではP1)と点P2の2点を通る直線をL1=at+bとして求め、AE1とAE3の大きい方を取る点(図5の例ではP3)を通り、傾き−aの直線をL2とする。L1とL2の交点を求めると、フリッカー検出用の蓄積開始時を0msとしたときのピークタイミングt_peakと、ピーク時の光量に対応するピーク測光値AE_peakを算出することができる。 The point where the maximum value is obtained among AE (1) to AE (12) is P2 (t (m), AE (m)), and the point of the previous photometric result is P1 (t (m-1). ), AE (m−1)), and the point of the next photometric result is P3 (t (m + 1), AE (m + 1)). Then, a straight line passing through two points AE (m−1) and AE (m + 1) (P1 in the example of FIG. 5) and point P2 is obtained as L1 = at + b, and the larger of AE1 and AE3 is determined. It passes through the point (P3 in the example of FIG. 5), and the straight line with the inclination −a is L2. When the intersection of L1 and L2 is obtained, the peak timing t_peak when the accumulation start time for flicker detection is set to 0 ms and the peak photometric value AE_peak corresponding to the light quantity at the peak can be calculated.
なお、図5では、フリッカーの特徴点のタイミングを算出する方法の一例としてフリッカーの光量変化の中で光量が最大(ピーク)となるタイミングを算出する方法を説明したが、光量が最小(ボトム)となるタイミングを算出しても構わない。 In FIG. 5, as an example of a method for calculating the timing of the flicker feature point, the method for calculating the timing at which the light amount becomes the maximum (peak) in the change in the amount of flicker light is described, but the light amount is the minimum (bottom). You may calculate the timing which becomes.
次にステップS104で、カメラマイコン101は、ステップS103で求めたフリッカー周波数と光量変化のタイミングからフリッカー同期信号を生成する。フリッカー同期信号は、図6に示したように、フリッカー光源の光量変化の1周期毎に発生させ、フリッカー光源の光量変化の所定のタイミングに同期させた信号である。図6は、フリッカー光源の光量変化とフリッカー同期信号及びシャッター開始信号の発生タイミングとの関係を示す図である。
In step S104, the
図6において、シャッター開始信号から実際にシャッター104が走行して撮像素子103の撮像領域の最初のラインを露光し始めるまでのタイムラグをT_ShutterResponseとする。また、撮像素子103の撮像領域の最初のラインを露光し始めてから最後のラインを露光し始めるまでの時間T_Runとする。なお、撮像素子103の全撮像領域を同時に露光開始させる場合、T_Run=0とすればよい。
In FIG. 6, a time lag from the shutter start signal until the
フリッカー同期信号の発生タイミングt_Flickerは、フリッカー検出用の蓄積開始時を0msとしたとき以下の式(3)のようになる。
t_Flicker=t_peak−T_ShutterResponse−(T_Run+TVmax)/2+T×n ・・・(3)
The flicker synchronization signal generation timing t_Flicker is expressed by the following expression (3) when the accumulation start time for flicker detection is set to 0 ms.
t_Flicker = t_peak−T_ShutterResponse− (T_Run + TVmax) / 2 + T × n (3)
ここで、フリッカー光源の光量変化周期Tとフリッカー検出用の蓄積開始時を0msとしたときのピークタイミングt_peakは、ステップS103で算出されている。nは自然数、TVmaxは、フリッカーの影響を低減させるシャッター制御を行うか否かの閾値となるシャッタースピードであり、予め設定されている。 Here, the light quantity change period T of the flicker light source and the peak timing t_peak when the flicker detection accumulation start time is set to 0 ms are calculated in step S103. n is a natural number, and TVmax is a shutter speed that is a threshold value for determining whether or not to perform shutter control to reduce the influence of flicker, and is set in advance.
シャッタースピードが1/100秒より遅い場合は、フリッカー光源の光量変化周期の1周期分以上の期間で露光を行うため、フリッカーの影響が少なくなる。また、露光を行う期間がフリッカー光源の光量変化周期の1周期分に満たないシャッタースピードであっても、露光を行う期間がフリッカー光源の光量変化周期の1周期分に近ければ比較的フリッカーの影響が少ないと考えられる。そこで、本実施形態では、シャッタースピードが8msよりも速い場合にフリッカーの影響を低減させるシャッター制御を行うものとし、TVmax=1/125(秒)とする。 When the shutter speed is slower than 1/100 second, exposure is performed in a period of one cycle or more of the light amount change period of the flicker light source, so that the influence of flicker is reduced. Even if the exposure period is less than one period of the light quantity change period of the flicker light source, if the exposure period is close to one period of the light quantity change period of the flicker light source, the effect of flicker is relatively high. It is thought that there are few. Therefore, in this embodiment, when the shutter speed is faster than 8 ms, shutter control for reducing the influence of flicker is performed, and TVmax = 1/125 (seconds).
また、カメラマイコン101は、フリッカー同期信号からシャッター104の走行開始を指示するシャッター開始信号までのウェイト時間であるT_ShutterWaitを設定する。カメラマイコン101は、T_ShutterWaitをシャッタースピード毎に変更し、フリッカー光源の光量変化の少ないタイミングが撮像素子103の撮像領域の最初のラインの露光開始から最後のラインの露光終了までの時間の中心にくるように制御する。例えば、式(4)のようにT_ShutterWaitを設定する。
T_ShutterWait=(TVmax−TV)/2 ・・・(4)
(ただし、TV<1/125)
Further, the
T_ShutterWait = (TVmax−TV) / 2 (4)
(However, TV <1/125)
上記のようにT_ShutterWaitを設定することで、フリッカー光源の光量のピークのタイミングが撮像素子103の撮像領域の最初のラインの露光開始から最後のラインの露光終了までの時間の中心にくるように制御できる。なお、図7は、T_ShutterWaitの値とシャッタースピードの値とを関連付けたテーブルを示す図であって、図7に示すようなテーブルをメモリ102などに予め記憶しておいても構わない。
By setting T_ShutterWait as described above, control is performed so that the peak timing of the light amount of the flicker light source is at the center of the time from the start of exposure of the first line to the end of exposure of the last line in the imaging region of the
以上のように、ステップS103でフリッカー光源の光量のピークのタイミングを算出し、フリッカー同期信号の発生タイミングをフリッカー光源の光量のピークのタイミングに基づいて設定する例を説明した。しかしながら、ステップS103でフリッカー光源の光量のボトムのタイミングを算出する場合は、フリッカー同期信号の発生タイミングをフリッカー光源の光量のボトムのタイミングに基づいて設定しても構わない。 As described above, the example in which the timing of the peak of the light amount of the flicker light source is calculated in step S103 and the generation timing of the flicker synchronization signal is set based on the timing of the peak of the light amount of the flicker light source has been described. However, when the bottom timing of the light amount of the flicker light source is calculated in step S103, the generation timing of the flicker synchronization signal may be set based on the bottom timing of the light amount of the flicker light source.
その後、ステップS105で、カメラマイコン101は、ユーザにレリーズボタンが操作されて撮影動作の開始を指示するためのスイッチSW2がONされているか否かを判断する。スイッチSW2がONされていない場合は、ステップS101に戻り、ステップS101〜S104の一連の動作を繰り返すことで、フリッカー光源の光量変化周期とフリッカー光源の光量のピークのタイミングを最新のものに更新していく。ステップS101〜S104の一連の動作を、例えば100ms周期程度で繰り返し行えば、フリッカー光源の光量変化周期のゆらぎが±0,4Hz程度あっても、100msの間における光量変化周期のずれは最大で±0,4ms程度におさまる。そのため、いつスイッチSW2がONされたとしても、精度よくフリッカーの影響を低減させるシャッター制御を行うことができる。
Thereafter, in step S105, the
なお、ステップS101〜S104の動作を同じように繰り返すのではなく、ステップS101で行う測光動作とステップS102〜S104で行うフリッカー検出動作とを異なる周期で行うようにしてもよい。前述したように、フリッカー検出動作は100ms程度の周期で十分であるが、被写体の輝度変化に対する応答性をよくするために測光動作をフリッカー検出動作の周期よりも短い周期、例えば50ms程度の周期で行うようにしてもよい。 Instead of repeating the operations in steps S101 to S104 in the same way, the photometric operation performed in step S101 and the flicker detection operation performed in steps S102 to S104 may be performed at different periods. As described above, a period of about 100 ms is sufficient for the flicker detection operation. However, in order to improve the responsiveness to a change in luminance of the subject, the photometry operation is performed with a period shorter than the period of the flicker detection operation, for example, about 50 ms. You may make it perform.
スイッチSW2がONされている場合、ステップS106へ移行する。そして、ステップS106でカメラマイコン101は、SW2がONされてから最初のフリッカー同期信号に対して、決定されているシャッタースピードに応じたT_ShutterWaitだけ遅らせてシャッター開始信号を生成する。その後、生成されたシャッター開始信号に応じてシャッター104が駆動し、撮影が行われる。
If the switch SW2 is ON, the process proceeds to step S106. In step S106, the
以上のように、フリッカーの影響を低減させるシャッター制御として、フリッカー同期信号に対してシャッタースピードに応じたT_ShutterWaitだけシャッター開始信号を遅らせている。そのため、図6に示すように、シャッタースピードが1/1000秒のときでも、1/200秒のときでもフリッカー光源の光量のピークのタイミングが撮像素子103の撮像領域の最初のラインの露光開始から最後のラインの露光終了までの時間の中心にくる。このように、フリッカーの特徴点のタイミングに基づいて撮影タイミングを制御することにより、フリッカーの影響による1つの画像内における露出ムラを低減することができる。撮影が終了したら、ステップS107でカメラマイコン101は、連続撮影(連写)が行われるか否かを判断する。なお、連続撮影が行われるか否かは、SW2がONされた状態が維持されているか否かに基づいて判断してもよいし、動作モードとして連続撮影モードが選択されている否かに基づいて判断してもよい。
As described above, as shutter control for reducing the influence of flicker, the shutter start signal is delayed by T_ShutterWait according to the shutter speed with respect to the flicker synchronization signal. Therefore, as shown in FIG. 6, even when the shutter speed is 1/1000 second or 1/200 second, the peak timing of the light amount of the flicker light source is from the start of exposure of the first line of the imaging region of the
連続撮影が行われない場合はS101に戻り、連続撮影が行われる場合はステップS108へ移行する。 When continuous shooting is not performed, the process returns to S101, and when continuous shooting is performed, the process proceeds to step S108.
ステップS108でカメラマイコン101は、フリッカーの有無(被写体からの光の光量が周期的に変化しているか)を判断する。ここでは、ステップS103での判断結果を用いればよい。フリッカーがない場合はステップS115へ移行し第1の駒間シーケンスを行い、フリッカーがある場合はステップS109へ移行する。
In step S108, the
ステップS109でカメラマイコン101は、シャッタースピードが所定値よりも速い(露光時間が所定値よりも短い)か否かの判定を行う。本実施形態では、連続撮影時の露出条件を1駒目の露出条件に固定するため、ステップS109ではステップS101で決定されたシャッタースピードと所定値との比較を行う。なお、連続撮影時の露出条件を駒ごとに設定する構成であれば、例えば、ステップS107の後にステップS101と同様の測光動作を行い、得られた測光値に基づいて設定したシャッタースピードと所定値との比較を行えばよい。
In step S109, the
シャッタースピードが所定値よりも速い場合、露光タイミングとフリッカー光源の光量のピークタイミングとがずれるとフリッカーの影響を抑えにくくなる。そのため、シャッタースピードが所定値よりも速い場合にはステップS110へ移行し第2の駒間シーケンスを行う。 When the shutter speed is faster than a predetermined value, it is difficult to suppress the influence of flicker if the exposure timing and the peak timing of the light amount of the flicker light source are shifted. Therefore, when the shutter speed is faster than the predetermined value, the process proceeds to step S110 and the second inter-frame sequence is performed.
シャッタースピードが所定値よりも速くない場合は露光タイミングとフリッカー光源の光量のピークタイミングとがずれてもフリッカーの影響は少ないためステップS111へ移行する。ステップS111でカメラマイコン101は、フリッカー検出を行う周期である検出周期Tfの設定を行う。なお、検出周期Tfの設定は、一連の連続撮影において最初にステップS111へ移行したときのみ実行すればよく、それ以降はステップS111の処理を省略してもよい。
If the shutter speed is not faster than the predetermined value, even if the exposure timing deviates from the peak timing of the light amount of the flicker light source, the effect of flicker is small and the process proceeds to step S111. In step S111, the
ステップS112でカメラマイコン101は、今回が検出周期Tfに合致しているかの判定を行う。ステップS111、112でいう検出周期Tfとは、フリッカー検出を行う時間の間隔を示すものではなく、例えば、10回に1回というように、撮影回数に対するフリッカー検出を行う頻度を示している。検出周期Tf=10とすると、連続撮影の10駒目を行う直前のステップS112において、今回が検出周期Tfに合致していると判定される。検出周期Tf=10であれば、以降は10×n駒目(nは自然数)の撮影を行う直前のステップS112において、今回が検出周期Tfに合致していると判定される。
In step S112, the
もし、合致していればS113へ移行し第2の駒間シーケンスを行い、合致していなければステップS114へ移行し第1の駒間シーケンスを行う。 If they match, the process proceeds to S113 and the second inter-frame sequence is performed. If they do not match, the process proceeds to Step S114 and the first inter-frame sequence is performed.
ここで、第1の駒間シーケンスと第2の駒間シーケンスについて図8を用いて説明する。図8は、連続撮影の駒間における測光センサ108及びICPU112の動作シーケンスを示す図であり、図8(a)は第1の駒間シーケンス、図8(b)は第2の駒間シーケンスをそれぞれ示している。
Here, the first inter-frame sequence and the second inter-frame sequence will be described with reference to FIG. 8A and 8B are diagrams showing the operation sequence of the
まず、第1の駒間シーケンスにおける測光センサ108及びICPU112の動作シーケンスを図8(a)を用いて説明する。
First, the operation sequence of the
撮影時に光束を撮像素子103へ導くためにミラーアップ状態となっていたハーフミラー105は、撮影後に光束を測光センサ108へ導くためにミラーダウン状態に移動する。ミラーアップ状態からミラーダウン状態に移動した直後には移動停止に伴う衝撃でハーフミラー105はバウンド(以下、ミラーバウンドとする)する。ミラーバウンドが収束しハーフミラー105が安定したミラーダウン状態になると、測光センサ108は、測光及び被写体追尾に用いる画像信号を得るための電荷の蓄積(以下、AE及び追尾用蓄積とする)及び画像信号の読み出しを行う。このAE及び追尾用蓄積に伴う画像信号の読み出しは、連続撮影の駒速(連写速度)速くするためには短い方が好ましい。そこで、測光センサ108にCCDを用いる場合には前述した画素加算読み出しを行い、CMOSを用いる場合には、前述した間引き読み出しを行う。そして、ICPU112は、得られた画像信号に基づいて被写体追尾に関わる演算(以下、追尾演算とする)及び測光演算を行う。
The
測光センサ108は、AE及び追尾用蓄積に伴う画像信号の読み出し後に被写体の顔検出に用いる画像信号を得るための電荷の蓄積(以下、顔検出用蓄積とする)及び画像信号の読み出しを行う。顔検出用蓄積に伴う画像信号の読み出しは、顔検出を精度よく行うために、AE及び追尾用蓄積に伴う画像信号の読み出しよりも、画素加算読み出しの画素加算数や間引き読み出しの間引きライン数を少なくする。本実施形態では、画素加算読み出しや間引き読み出しを行わず全画素読み出しを行うものとする。そして、ICPU112は、得られた画像信号に基づいて被写体の顔検出に関わる演算(以下、顔検出演算とする)を行う。顔検出演算の結果は次の追尾演算及び測光演算に用いられる。例えば、顔検出演算により検出された被写体の顔領域を追尾対象として追尾演算を行ったり、顔検出演算により検出された被写体の顔領域の重み付けを大きくして測光演算を行ったりする。
The
ここで、連続撮影の駒速(連写速度)を速くするために、顔検出用蓄積は、ICPU112による追尾演算及び測光演算と並行して行われることが好ましい。また、顔検出用蓄積に伴う画像信号の読み出しは、測光センサ108に光束が導かれていない状態で行ってもよいので、連続撮影の駒速(連写速度)を速くするために、ハーフミラー105をミラーアップ状態へ移動させている途中で行われることが好ましい。
Here, in order to increase the frame speed (continuous shooting speed) of continuous shooting, the face detection accumulation is preferably performed in parallel with the tracking calculation and the photometry calculation by the
そして、移動後のミラーバウンドが収束しハーフミラー105が安定したミラーアップ状態になると次の撮影(露光)を行う。
When the mirror bound after movement converges and the
すなわち、第1の駒間シーケンスでは、フリッカー検出用の電荷の蓄積及び画像信号の読み出し(以下、フリッカー検出用蓄積・読み出しとする)を各撮影の合間に行わず、新たにフリッカーを検出しないし、フリッカーの特徴点のタイミングを算出しない。 That is, in the first inter-frame sequence, accumulation of charges for flicker detection and reading of image signals (hereinafter referred to as flicker detection accumulation / reading) are not performed between shootings, and flicker is not newly detected. , Flicker feature point timing is not calculated.
次に、第2の駒間シーケンスにおける測光センサ108及びICPU112の動作シーケンスを図8(b)を用いて説明する。
Next, the operation sequence of the
ミラーバウンドが収束しハーフミラー105が安定したミラーダウン状態になると、測光センサ108は、フリッカー検出用の電荷の蓄積及び画像信号の読み出し(以下、フリッカー検出用蓄積・読み出しとする)を行う。このフリッカー検出用蓄積・読み出しは、図2のステップS102で説明した方法と同様の方法で行う。
When the mirror bound converges and the
なお、連続撮影中に光源がフリッカー周波数の異なる別の光源に変化する可能性は低く、連続撮影中のフリッカー周波数の基準となる周波数は一定と考えてよい。そこで、フリッカー検出用の電荷の蓄積回数を、フリッカー光源の光量のピークのタイミングが算出できる回数であれば、図2のステップS102で行う回数より少なくしてもよい。例えば、フリッカー光源の光量のピークのタイミングの算出には、少なくともフリッカー光源の光量変化周期の1周期分に相当する蓄積回数があればよい。フリッカーの光量変化周期が約8,33msの場合は5回以上、約10msの場合は6回以上蓄積を行えばフリッカー光源の光量のピークのタイミングを精度よく算出することができる。以上のように、第2の駒間シーケンスでは、フリッカー光源の光量のピークのタイミングを算出するための簡易的なフリッカー検出用蓄積を行うことで、連続撮影の駒速(連写速度)の低下を抑えることができる。 Note that it is unlikely that the light source changes to another light source having a different flicker frequency during continuous shooting, and the frequency serving as a reference for the flicker frequency during continuous shooting may be considered constant. Therefore, the number of times of accumulation of charges for flicker detection may be less than the number of times performed in step S102 of FIG. 2 as long as the peak timing of the light amount of the flicker light source can be calculated. For example, the calculation of the peak timing of the light amount of the flicker light source only needs to have an accumulation count corresponding to at least one cycle of the light amount change period of the flicker light source. If the flicker light amount change period is about 8,33 ms, the peak timing of the light amount of the flicker light source can be accurately calculated by accumulating 5 times or more, and about 10 ms if accumulating. As described above, in the second inter-frame sequence, by performing simple flicker detection accumulation for calculating the timing of the peak of the light quantity of the flicker light source, the frame speed (continuous shooting speed) for continuous shooting is reduced. Can be suppressed.
そして、ICPU112は、得られた画像信号に基づいてフリッカー検出演算を行う。このフリッカー検出演算は、図2のステップS103で説明した方法と同様の方法で行う。なお、前述したように、連続撮影中のフリッカー周波数の基準となる周波数は一定と考えてよいので、ここでは、フリッカー光源の光量変化周期の判断は行わずに、フリッカー光源の光量のピークのタイミングだけ算出してもよい。このとき、検出結果のうち最新の検出結果が表すフリッカーの特徴点のタイミングを算出する。
Then, the
フリッカー検出演算の終了後、カメラマイコン101は、フリッカー検出演算の検出結果に基づいてフリッカー同期信号を最新のものに更新する。すなわち、前の撮影の後に算出された最新のフリッカーの特徴点のタイミングに基づいて撮影タイミングを制御する。
After the end of the flicker detection calculation, the
測光センサ108は、フリッカー検出用蓄積・読み出しが終わるとAE及び追尾用蓄積及び画像信号の読み出しを行う。ここで、連続撮影の駒速(連写速度)を速くするために、AE及び追尾用蓄積は、ICPU112によるフリッカー検出演算と並行して行われることが好ましい。
When the flicker detection accumulation / readout is completed, the
以降に行う顔検出用蓄積や各種演算は、図8(a)を用いて説明したフリッカーがないときと同様のため説明は省略する。 The subsequent face detection accumulation and various calculations are the same as when there is no flicker described with reference to FIG.
測光演算の終了後、カメラマイコン101は、最新のフリッカー同期信号に対して、最新の測光演算の結果に基づいて決定されたシャッタースピードに応じたT_ShutterWaitだけ遅らせてシャッター開始信号を生成し、次の撮影を行う。
After the photometry calculation is completed, the
以下では、フリッカーの特徴点のタイミング演算の詳細について図9及び10を用いて説明する。図9は、商用電源50Hzのフリッカー光源下におけるフリッカーの特徴点のタイミング演算を示す図である。そして、図9(a)は、フリッカー光源の光量のボトムのタイミングでフリッカー検出用蓄積を開始した場合、図9(b)は、フリッカー光源の光量のピークのタイミングでフリッカー検出用蓄積を開始した場合を示している。図10は、商用電源60Hzのフリッカー光源下におけるフリッカーの特徴点のタイミング演算を示す図である。そして、図10(a)は、フリッカー光源の光量のボトムのタイミングでフリッカー検出用蓄積を開始した場合、図10(b)は、フリッカー光源の光量のピークのタイミングでフリッカー検出用蓄積を開始した場合を示している。 The details of the timing calculation of the flicker feature points will be described below with reference to FIGS. FIG. 9 is a diagram showing the timing calculation of the characteristic points of the flicker under the flicker light source of the commercial power supply 50 Hz. 9A shows the case where the flicker detection accumulation is started at the bottom timing of the light amount of the flicker light source, and FIG. 9B shows the flicker detection accumulation started at the peak timing of the light amount of the flicker light source. Shows the case. FIG. 10 is a diagram showing the timing calculation of the flicker feature point under the flicker light source of commercial power supply 60 Hz. 10A, when flicker detection accumulation starts at the bottom timing of the light amount of the flicker light source, FIG. 10B starts flicker detection accumulation at the peak timing of the light amount of the flicker light source. Shows the case.
商用電源50Hz時のフリッカー光源の光量変化周期は約10msであるから、図9(a)に示すように、フリッカー光源の光量のボトムのタイミングでフリッカー検出用蓄積を開始した場合、蓄積1〜6でピーク前後の測光値を得ることができる。この場合、S103で説明した方法と同様の方法でフリッカー光源の光量のピークのタイミングを算出する。すなわち、複数の出力信号のうち最大値となる出力信号が最初または最後に得られた出力信号ではない場合、最大値となる出力信号と最大値となる出力信号の前後に得られた出力信号に基づいてフリッカーの光量変化の中で光量が最大となるタイミングを算出する。
Since the light quantity change period of the flicker light source at commercial power supply 50 Hz is about 10 ms, as shown in FIG. 9A, when flicker detection accumulation is started at the bottom timing of the light quantity of the flicker light source,
しかしながら、フリッカー光源の光量のピークのタイミングでフリッカー検出用蓄積を開始した場合、AE(1)〜AE(6)の中のAE(1)やAE(6)が最大の測光値AE(max)になってしまう(図9(b)の場合はAE(1)がAE(max))。そのような場合、ピークの前後のどちらかの測光値がないので、S103で説明した方法ではフリッカー光源の光量のピークのタイミングを算出することができない。 However, when accumulation for flicker detection is started at the timing of the peak of the light amount of the flicker light source, AE (1) and AE (6) in AE (1) to AE (6) have the maximum photometric value AE (max). (In the case of FIG. 9B, AE (1) is AE (max)). In such a case, since there is no photometric value before or after the peak, the method described in S103 cannot calculate the peak timing of the light amount of the flicker light source.
そこで、まずAE(1)〜AE(6)の中の最小の測光値AE(min)を算出する。図9(b)の場合、AE(4)=AE(min)となる。AE(min)を算出後、その点より前に得られた測光値(図9(b)ではAE(1)〜AE(3))のインデックスに6を加え、AE(7)〜AE(9)とする。図9(b)の場合、複数の出力信号のうち最大値となる出力信号が複数の出力信号の最初に得られた出力信号である。このような場合、最大値となる出力信号と最大値となる出力信号の直後に得られた出力信号と最大値となる出力信号よりもフリッカー周期に応じた時間だけ後に得られた出力信号とに基づいて、フリッカーの光量変化の中で光量が最大となるタイミングを算出する。フリッカー光源の光量変化周期がほぼ一定であるとすると、AE(1)〜AE(3)はそれぞれの1周期後の測光値AE(7)〜AE(9)とほぼ等しいと考えられる。そのため、AE(1)〜AE(3)をAE(7)〜AE(9)として代用しても算出結果への影響は少ない。このようにすることで、図9(b)に示したような場合であっても、最大の測光値AE(max)の前後の測光値からS103で説明した方法でフリッカー光源の光量のピークのタイミングを算出できる。 Therefore, first, the minimum photometric value AE (min) among AE (1) to AE (6) is calculated. In the case of FIG. 9B, AE (4) = AE (min). After calculating AE (min), 6 is added to the index of the photometric values (AE (1) to AE (3) in FIG. 9B) obtained before that point, and AE (7) to AE (9 ). In the case of FIG. 9B, the output signal having the maximum value among the plurality of output signals is the output signal obtained at the beginning of the plurality of output signals. In such a case, an output signal that is the maximum value, an output signal that is obtained immediately after the output signal that is the maximum value, and an output signal that is obtained after a time corresponding to the flicker cycle from the output signal that is the maximum value. Based on this, the timing at which the light quantity becomes the maximum in the light quantity change of the flicker is calculated. Assuming that the light quantity change period of the flicker light source is substantially constant, it is considered that AE (1) to AE (3) are substantially equal to the photometric values AE (7) to AE (9) after each one period. Therefore, even if AE (1) to AE (3) are substituted for AE (7) to AE (9), the influence on the calculation result is small. By doing so, even in the case as shown in FIG. 9B, the peak of the light amount of the flicker light source can be obtained from the photometric values before and after the maximum photometric value AE (max) by the method described in S103. Timing can be calculated.
図9(b)と同様の場合として、複数の出力信号のうち最大値となる出力信号が複数の出力信号の最後に得られた出力信号となる場合がある。このような場合、最大値となる出力信号と最大値となる出力信号の直前に得られた出力信号と最大値となる出力信号よりもフリッカー周期に応じた時間だけ前に得られた出力信号とに基づいて、フリッカーの光量変化の中で光量が最大となるタイミングを算出する。 As in the case similar to FIG. 9B, the output signal having the maximum value among the plurality of output signals may be the output signal obtained at the end of the plurality of output signals. In such a case, the output signal obtained immediately before the output signal that becomes the maximum value, the output signal that becomes the maximum value, the output signal that is obtained only by the time corresponding to the flicker cycle before the output signal that becomes the maximum value, Based on the above, the timing at which the light quantity becomes maximum during the flicker light quantity change is calculated.
また、商用電源60Hzのフリッカー光源下においても同様の方法を用いることでフリッカー光源の光量のピークのタイミングを算出することができる。 Further, the timing of the peak of the light amount of the flicker light source can be calculated by using the same method even under a flicker light source with a commercial power supply of 60 Hz.
図10(a)のように、最大の測光値がAE(3)で蓄積1〜6でピーク前後の測光値を得ることができる場合、そのままS103で説明した方法と同様の方法でフリッカー光源の光量のピークのタイミングを算出すればよい。一方、図10(b)のように、最大の測光値がAE(1)で蓄積1〜6でピーク前後の測光値を得ることができない場合、9(b)と同様の方法によりにフリッカー光源の光量のピークのタイミングを算出すればよい。
As shown in FIG. 10A, when the maximum photometric value is AE (3) and the photometric values before and after the peak can be obtained with the
なお、フリッカー光源の光量のボトムのタイミングを算出する場合も同様の考え方を用いればよい。すなわち、図9及び図10の説明における最大値と最小値とを置き換えればよい。 The same concept may be used when calculating the bottom timing of the light amount of the flicker light source. That is, the maximum value and the minimum value in the description of FIGS. 9 and 10 may be replaced.
以上のようにして第1の駒間シーケンスまたは第2の駒間シーケンスを行った後にステップS116でカメラマイコン101は、最新のフリッカー同期信号に基づいて設定した露光タイミングで撮影を行う。撮影が終了したら、ステップS117でカメラマイコン101は、連続撮影(連写)が継続されるか否かを判断する。なお、連続撮影が継続されるか否かは、SW2がONされた状態が維持されているか否かに基づいて判断すればよい。
After performing the first inter-frame sequence or the second inter-frame sequence as described above, in step S116, the
連続撮影が継続される場合はステップS108へ移行し、連続撮影が行われない場合は本フローを終了する。 When the continuous shooting is continued, the process proceeds to step S108, and when the continuous shooting is not performed, this flow is finished.
以上のように、フリッカー検出用の蓄積回数よりも少ない回数であっても、フリッカー光源の光量のピークのタイミングを正確に算出することができる。そのため、連続撮影を行う際の撮影の合間には、フリッカー検出用の蓄積回数よりも少ない回数で、フリッカー光源の光量のピークのタイミングを算出するための蓄積を行うことで、連続撮影時の駒速の低下を抑えながら良好な画像を撮影することができる。 As described above, the timing of the peak of the light amount of the flicker light source can be accurately calculated even if the number of times is less than the number of times of accumulation for flicker detection. For this reason, during continuous shooting, frames for continuous shooting are calculated by performing accumulation for calculating the timing of the peak of the light amount of the flicker light source with a smaller number of times than the number of accumulations for flicker detection. A good image can be taken while suppressing a decrease in speed.
また、シャッタースピードに応じてフリッカー検出動作の実行頻度を変更することで、露光タイミングとフリッカー光源の光量のピークタイミングとがずれてもフリッカーの影響は少ない場合には駒速の低下を抑えることができる。 Also, by changing the execution frequency of the flicker detection operation according to the shutter speed, even if the exposure timing and the peak timing of the light amount of the flicker light source are deviated, the effect of flicker is small, so that the decrease in the frame speed can be suppressed. it can.
なお、ユーザによる操作部114への操作に応じて特定のモードが設定された場合のみ、シャッタースピードに応じて第1の駒間シーケンスを行うか第2の駒間シーケンスを行うかを切り替える制御を行うようにしてもよい。
It should be noted that control is performed to switch between performing the first inter-frame sequence or performing the second inter-frame sequence according to the shutter speed only when a specific mode is set according to the operation of the
以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。 As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.
例えば、上記の実施形態では、ICPU112が測光センサ108からの出力信号(画像信号)に基づいて測光や被写体からの光の光量変化特性算出を行っているが、測光用のセンサと光量変化特性算出用のセンサとを別々に備えていてもよい。
For example, in the above embodiment, the
また、本発明は、以下の処理を実行することによっても実現される。即ち、本実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPUなど)がプログラムを読み出して実行する処理である。 The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of this embodiment is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads out and executes the program. It is processing to do.
100 カメラ本体
101 カメラマイコン
103 撮像素子
108 測光センサ
112 ICPU
DESCRIPTION OF
Claims (9)
測光手段と、
前記撮像手段の露光時間を設定する設定手段と、
前記測光手段の複数の測光結果に基づいて被写体からの光の光量変化特性を算出する算出手段と、
前記算出手段により算出された光量変化特性に基づいて、前記撮像手段で露光を行うタイミングを制御する制御手段と、を有し、
前記算出手段は、前記設定手段により設定された露光時間に基づいて、連続撮影を行うときに前記光量変化特性を算出する頻度を変更することを特徴とする撮像装置。 Imaging means;
Photometric means;
Setting means for setting an exposure time of the imaging means;
Calculating means for calculating a light quantity change characteristic of light from the subject based on a plurality of photometric results of the photometric means;
Control means for controlling the timing of performing exposure by the imaging means based on the light amount change characteristic calculated by the calculating means,
The imaging device is characterized in that, based on the exposure time set by the setting unit, the frequency of calculating the light quantity change characteristic when performing continuous shooting is changed.
前記撮像手段の露光時間を設定する設定ステップと、
前記測光手段の複数の測光結果に基づいて被写体からの光の光量変化特性を算出する算出ステップと、
前記算出ステップにより算出された光量変化特性に基づいて、前記撮像手段で露光を行うタイミングを制御する制御ステップと、を有し、
前記算出ステップは、前記設定ステップで設定された露光時間に基づいて、連続撮影を行うときに前記光量変化特性を算出する頻度を変更することを特徴とする撮像装置の制御方法。 An image pickup apparatus control method comprising an image pickup means and a photometry means,
A setting step for setting an exposure time of the imaging means;
A calculation step of calculating a light amount change characteristic of light from the subject based on a plurality of photometric results of the photometric means;
A control step for controlling the timing of performing exposure by the imaging means based on the light amount change characteristic calculated by the calculation step;
The method of controlling an imaging apparatus, wherein the calculating step changes the frequency of calculating the light quantity change characteristic when performing continuous shooting based on the exposure time set in the setting step.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014163205A JP2016039579A (en) | 2014-08-08 | 2014-08-08 | Imaging apparatus, control method, program, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014163205A JP2016039579A (en) | 2014-08-08 | 2014-08-08 | Imaging apparatus, control method, program, and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2016039579A true JP2016039579A (en) | 2016-03-22 |
Family
ID=55530311
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014163205A Pending JP2016039579A (en) | 2014-08-08 | 2014-08-08 | Imaging apparatus, control method, program, and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2016039579A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017216637A (en) * | 2016-06-01 | 2017-12-07 | キヤノン株式会社 | Imaging apparatus and control method |
-
2014
- 2014-08-08 JP JP2014163205A patent/JP2016039579A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017216637A (en) * | 2016-06-01 | 2017-12-07 | キヤノン株式会社 | Imaging apparatus and control method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6108946B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP6296697B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| KR101757654B1 (en) | Image capturing apparatus, method of controlling the same, and storage medium | |
| JP6537224B2 (en) | Imaging device, control method, program, and storage medium | |
| JP6399843B2 (en) | Imaging apparatus and control method thereof | |
| JP6391352B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP6501463B2 (en) | Image pickup apparatus and control method thereof | |
| JP6381380B2 (en) | Imaging apparatus, control method and program thereof | |
| JP6456038B2 (en) | Electronic device, light amount change characteristic calculation method, program, and storage medium | |
| JP6225000B2 (en) | Imaging apparatus, control method therefor, program, and storage medium | |
| JP6598927B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP2017216637A (en) | Imaging apparatus and control method | |
| JP6704946B2 (en) | Imaging device, control method, program, and storage medium | |
| JP6312524B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP2016039579A (en) | Imaging apparatus, control method, program, and storage medium | |
| JP6351778B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP2017126918A (en) | Imaging apparatus, control method, program, and storage medium | |
| JP6494829B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP6478493B2 (en) | Imaging apparatus, control method, program, and storage medium | |
| JP2016029777A (en) | Image pickup device and control method of the same | |
| JP2021087124A (en) | Imaging apparatus, control method thereof, and program | |
| JP2016086206A (en) | Imaging device |