JP6456038B2 - Electronic device, light amount change characteristic calculation method, program, and storage medium - Google Patents

Electronic device, light amount change characteristic calculation method, program, and storage medium Download PDF

Info

Publication number
JP6456038B2
JP6456038B2 JP2014089531A JP2014089531A JP6456038B2 JP 6456038 B2 JP6456038 B2 JP 6456038B2 JP 2014089531 A JP2014089531 A JP 2014089531A JP 2014089531 A JP2014089531 A JP 2014089531A JP 6456038 B2 JP6456038 B2 JP 6456038B2
Authority
JP
Japan
Prior art keywords
evaluation value
frequency
flicker
electronic device
calculated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014089531A
Other languages
Japanese (ja)
Other versions
JP2015211231A (en
Inventor
尚幸 中川原
尚幸 中川原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2014089531A priority Critical patent/JP6456038B2/en
Publication of JP2015211231A publication Critical patent/JP2015211231A/en
Application granted granted Critical
Publication of JP6456038B2 publication Critical patent/JP6456038B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)
  • Photometry And Measurement Of Optical Pulse Characteristics (AREA)
  • Exposure Control For Cameras (AREA)

Description

本発明は、測光対象からの光の光量変化特性を算出する技術に関するものである。   The present invention relates to a technique for calculating a light quantity change characteristic of light from a photometric object.

近年、デジタルカメラや携帯電話などの撮像装置の高感度化が進んでいる。そのため、室内のような比較的暗い環境下においても、シャッタースピードを高速にした(露光時間を短くした)撮影により、ブレを抑えた明るい画像を取得することが可能になってきている。   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, Patent Document 1 detects a flicker state of illumination light, and adjusts the imaging timing so that the center of the exposure time substantially coincides with the timing at which the amount of illumination light exhibits a maximum value. Has been proposed.

特開2006−222935号公報JP 2006-222935 A

しかしながら、特許文献1に記載された技術では、被写体の動きや構図の変更など照明光の明滅とは異なる要因で積分値が変化する場合に、照明光の照度の明滅周期を正確に算出することができない。   However, in the technique described in Patent Document 1, when the integrated value changes due to a factor different from the blinking of illumination light such as the movement of the subject or the composition change, the blinking cycle of the illumination light illuminance is accurately calculated. I can't.

そこで、本発明は、測光対象からの光の光量変化特性を正確に算出することができるようにすることを目的とする。   Accordingly, an object of the present invention is to enable accurate calculation of the light quantity change characteristic of light from a photometric object.

上記目的を達成するために、本発明に係る電子機器は、電荷蓄積型のセンサと、前記センサの駆動を制御する制御手段と、前記制御手段により、前記センサを用いた複数回の連続した電荷蓄積および読み出しを行うことで得られた複数のデータに基づいて、被写体からの光の光量変化特性を算出する算出手段と、を有し、前記算出手段は、前記複数のデータのうち、互が第1の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第1の評価値を算出し、互いが前記第1の間隔とは異なる第2の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第2の評価値を算出し、前記第1評価値と前記第2の評価値とに基づいて前記光量変化特性を算出することを特徴とする。 To achieve the above object, an electronic apparatus according to the present invention includes a sensor of the charge accumulation type, and a control means for controlling the driving of the sensor, by the control unit, continuous in a plurality of times using the sensor based on a plurality of data obtained by performing charge accumulation and reading, comprising: a calculating means for calculating a light amount change characteristic of the light from the subject, the previous SL calculation means, among the plurality of data, each other physician by changing the difference of the data set of data with each other obtained by the first distance calculating a first evaluation value more determined, in a second interval different from each other bur said first interval Obtaining a plurality of differences between the obtained data by changing a data set to calculate a second evaluation value, and calculating the light quantity change characteristic based on the first evaluation value and the second evaluation value; It is characterized by.

本発明によれば、測光対象からの光の光量変化特性を正確に算出することができる。   According to the present invention, it is possible to accurately calculate the light quantity change characteristic of light from a photometric object.

本発明の実施形態に係る撮像装置の概略構成図である。1 is a schematic configuration diagram of an imaging apparatus according to an embodiment of the present invention. 本発明の実施形態に係る撮像装置のフリッカーの影響を低減させた撮影を行うための動作を示すフローチャート図である。It is a flowchart figure which shows the operation | movement for performing imaging | photography which reduced the influence of the flicker of the imaging device which concerns on embodiment of this invention. フリッカー検出用の電荷の蓄積タイミング及び画像信号の読み出しタイミングを示す図である。It is a figure which shows the accumulation | storage timing of the charge for flicker detection, and the read-out timing of an image signal. 垂直画素加算数と読み出し時間の関係を示す図である。It is a figure which shows the relationship between the number of vertical pixel additions, and reading time. フリッカー光源の光量のピークのタイミングを算出する方法の一例を説明する図である。It is a figure explaining an example of the method of calculating the timing of the peak of the light quantity of a flicker light source. フリッカー光源の光量変化とフリッカー同期信号及びシャッター開始信号の発生タイミングとの関係を示す図である。It is a figure which shows the relationship between the light quantity change of a flicker light source, and the generation timing of a flicker synchronizing signal and a shutter start signal. T_ShutterWaitの値とシャッタースピードの値とを関連付けたテーブルを示す図である。It is a figure which shows the table which linked | related the value of T_ShutterWait and the value of shutter speed. 連続撮影の駒間における測光センサ108及びICPU112の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence of the photometry sensor 108 and ICPU112 between the frames of continuous imaging | photography.

以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。   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 camera body 100 and a lens unit 200 that can be attached to and detached from the camera body 100.

まず、カメラ本体100の構成について説明する。マイクロコンピュータCPU(以下、カメラマイコン)101は、カメラ本体100の各部を制御する。メモリ102は、カメラマイコン101に接続されているRAMやROM等のメモリである。   First, the configuration of the camera body 100 will be described. A microcomputer CPU (hereinafter, camera microcomputer) 101 controls each part of the camera body 100. The memory 102 is a memory such as a RAM or a ROM connected to the camera microcomputer 101.

撮像素子103は、赤外カットフィルタやローパスフィルタ等を含むCCD、CMOS等の撮像素子であり、レンズユニット200を介して入射した光束を光電変換して画像信号を出力する。   The image sensor 103 is an image sensor such as a CCD or CMOS including an infrared cut filter, a low-pass filter, and the like, and photoelectrically converts a light beam incident through the lens unit 200 and outputs an image signal.

シャッター104は、レンズユニット200を介して入射した光束から撮像素子103を遮光する遮光状態、及び、レンズユニット200を介して入射した光束を撮像素子103に導く退避状態となるように走行する。   The shutter 104 travels in a light shielding state in which the image sensor 103 is shielded from a light beam incident through the lens unit 200 and a retracted state in which the light beam incident through the lens unit 200 is guided to the image sensor 103.

ハーフミラー105は、レンズユニット200を介して入射した光束を撮像素子103へ導く位置(ミラーアップ状態)と測光センサ108へ導く位置(ミラーダウン状態)とに移動可能である。すなわち、ハーフミラー105は、撮像素子103へ導く状態と測光センサ108へ導く状態とに、レンズユニット200を介して入射した光束の光路変更を行う。また、測光センサ108へ導く位置にある場合には、レンズユニット200を介して入射した光束をピント板106に結像させる。   The half mirror 105 is movable between a position for guiding the light beam incident through the lens unit 200 to the image sensor 103 (mirror up state) and a position for guiding it to the photometric sensor 108 (mirror down state). In other words, the half mirror 105 changes the optical path of the light beam that has entered through the lens unit 200 between the state leading to the image sensor 103 and the state leading to the photometric sensor 108. Further, when it is at a position to be guided to the photometric sensor 108, the light beam incident through the lens unit 200 is imaged on the focus plate 106.

表示素子107は、PN液晶等を用いた表示素子であり、自動焦点調節制御(AF制御)に用いられる焦点検出領域を示す枠(AF枠)などを表示する。測光センサ108は、CCD、CMOS等の入射光量に応じた電荷を蓄積する電荷蓄積型撮像素子を使用することにより、出力される画像信号に基づいて測光だけでなく被写体の顔検出や被写体追尾、フリッカーの検出などを行うことができる。ペンタプリズム109は、ハーフミラー105で反射されたレンズユニット200を介して入射した光束を測光センサ108及び不図示の光学ファインダに導く。焦点検出回路110は、AF制御のために焦点検出を行うものであって、AFミラー111により、レンズユニット200を介して入射しハーフミラー105を通過した光束の一部が導かれる。   The display element 107 is a display element using PN liquid crystal or the like, and displays a frame (AF frame) indicating a focus detection area used for automatic focus adjustment control (AF control). The photometric sensor 108 uses not only photometry but also subject face detection and subject tracking based on the output image signal by using a charge storage type imaging device that accumulates charges according to the amount of incident light such as a CCD or CMOS. Flicker detection can be performed. The pentaprism 109 guides the light beam incident through the lens unit 200 reflected by the half mirror 105 to the photometric sensor 108 and an optical finder (not shown). The focus detection circuit 110 performs focus detection for AF control, and a part of the light beam incident through the lens unit 200 and passing through the half mirror 105 is guided by the AF mirror 111.

CPU112は、測光センサ108の駆動制御や画像処理・演算用のCPU(以下ICPUとする)であって、測光センサ108からの出力信号(画像信号)に基づいて測光、被写体の顔検出、被写体追尾などに関わる各種演算を行う。また、CPU112は、測光センサ108からの出力信号(画像信号)に基づいて、測光対象からの光の光量変化周期や光量が所定の条件を満たすタイミング(例えば、光量が最大となるタイミングや光量が最少となるタイミング)などの光量変化特性を算出する。メモリ113は、ICPU112に接続されているRAMやROM等のメモリである。なお、本実施形態では、カメラマイコン101とは別にICPU112を有する構成を説明するが、ICPU112で実行する処理をカメラマイコン101で実行する構成でも構わない。   The CPU 112 is a CPU for driving control of the photometric sensor 108 and image processing / calculation (hereinafter referred to as ICPU). Based on an output signal (image signal) from the photometric sensor 108, photometry, subject face detection, and subject tracking are performed. Performs various calculations related to Further, the CPU 112 determines the timing at which the light quantity change period and the light quantity of the light from the photometric target satisfy a predetermined condition based on the output signal (image signal) from the photometric sensor 108 (for example, the timing and the light quantity at which the light quantity is maximized). The light quantity variation characteristic such as the minimum timing is calculated. The memory 113 is a memory such as a RAM or a ROM connected to the ICPU 112. In the present embodiment, a configuration in which the ICPU 112 is provided separately from the camera microcomputer 101 will be described. However, a configuration in which processing executed by the ICPU 112 is executed by the camera microcomputer 101 may be used.

操作部114は、ユーザがカメラ本体100に撮影準備動作の開始指示や撮影動作の開始指示を行うためのレリーズボタンや、ユーザがカメラ本体100の各種設定を行うための設定ボタンなどを含む。また、操作部114は、ユーザがカメラ本体100の電源のオンオフを切り替えるための電源スイッチや、ユーザがカメラ本体100の動作モードを複数のモードの中から選択するためのモードダイヤル、タッチパネルなどを含む。   The operation unit 114 includes a release button for the user to instruct the camera body 100 to start a shooting preparation operation or a shooting operation, and a setting button for the user to make various settings for the camera body 100. The operation unit 114 includes a power switch for the user to turn on / off the power of the camera body 100, a mode dial for the user to select an operation mode of the camera body 100 from a plurality of modes, a touch panel, and the like. .

次に、レンズユニット200の構成について説明する。レンズCPU201(以下、LPUとする)は、レンズユニット200の各部、例えば、フォーカスレンズ、ズームレンズ、絞りの駆動部などを制御するものであって、レンズに関する情報をカメラマイコン101に送信する。   Next, the configuration of the lens unit 200 will be described. The lens CPU 201 (hereinafter referred to as LPU) controls each part of the lens unit 200, for example, a focus lens, a zoom lens, a diaphragm driving unit, and the like, and transmits information about the lens to the camera microcomputer 101.

次に、図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 camera body 100 is turned on by the user's operation on the power switch, a photometric operation is performed in step S101. In the photometric operation, charge is accumulated and the image signal is read by the photometric sensor 108, and the ICPU 112 performs a calculation related to photometry (hereinafter referred to as photometric calculation) based on the obtained image signal to obtain a photometric value.

なお、この測光動作は、仮にフリッカー光源下であってもフリッカー光源の光量変化に影響して測光値がばらつかないように、測光センサ108の蓄積時間をフリッカーの周期のほぼ整数倍に設定するとよい。ここで、フリッカー光源の光量が変化する周波数(以下、フリッカー周波数とする)は商用電源周波数の2倍になる。そのため、商用電源周波数が50Hzの地域ではフリッカー周波数は100Hzとなり、その光量変化周期はフリッカー周波数の逆数で10msとなる。同様に商用電源周波数が60Hzの地域ではフリッカー周波数は120Hzとなり、その光量変化周期はフリッカー周波数の逆数で8,33msとなる。   Note that this photometric operation is performed when the accumulation time of the photometric sensor 108 is set to be approximately an integral multiple of the flicker cycle so that the photometric value does not vary due to the change in the light amount of the flicker light source even under a flicker light source. Good. Here, the frequency at which the light amount of the flicker light source changes (hereinafter referred to as the flicker frequency) is twice the commercial power supply frequency. Therefore, in an area where the commercial power supply frequency is 50 Hz, the flicker frequency is 100 Hz, and the light quantity change period is 10 ms as the reciprocal of the flicker frequency. Similarly, in a region where the commercial power supply frequency is 60 Hz, the flicker frequency is 120 Hz, and the light quantity change period is 8,33 ms which is the reciprocal of the flicker frequency.

この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 photometric sensor 108 is set to a time substantially equal to the average value of 10 ms and 8,33 ms, for example, 9 ms. Then, regardless of whether the commercial power supply frequency is 50 Hz or 60 Hz, the accumulation time of the photometric sensor 108 is substantially equal to one cycle of the light amount change of the flicker light source, and a stable photometric value can be obtained even under the flicker light source.

また、得られた測光値に基づいて、カメラマイコン101は、露出制御値である絞り値Av、シャッタースピード(露光時間)Tv、ISO感度(撮影感度)Svを決定する。Av、Tv、Svの決定に際しては、カメラマイコン101は、メモリ102に予め記憶されたプログラム線図を利用して決定する。   Further, based on the obtained photometric value, the camera microcomputer 101 determines an aperture value Av, an exposure control value, a shutter speed (exposure time) Tv, and an ISO sensitivity (imaging sensitivity) Sv. In determining Av, Tv, and Sv, the camera microcomputer 101 determines the program using a program diagram stored in advance in the memory 102.

次に、ステップ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 photometric sensor 108 accumulates a plurality of charges for flicker detection and reads out an image signal. FIG. 3 is a diagram showing the charge accumulation timing for flicker detection and the image signal readout timing. Accumulation / readout is continuously performed 12 times at a cycle of 600 fps and about 1,667 ms. This 600 fps is a value equal to the least common multiple of the flicker frequencies (100 Hz and 120 Hz) assumed in advance. In addition, by accumulating 12 times at 600 fps, the accumulation is performed in a period of 20 ms as a whole, and the light quantity change of the flicker light source is included in two cycles regardless of whether the commercial power supply frequency is 50 Hz or 60 Hz. become.

ここで、測光センサ108を600fps(1,667ms周期)で駆動させる方法について説明する。   Here, a method for driving the photometric sensor 108 at 600 fps (cycle of 1,667 ms) will be described.

本実施形態では、測光センサ108から出力される画像信号に基づいて、測光だけでなく被写体の顔検出や被写体追尾、フリッカーの検出などを行う。被写体の顔検出を精度よく行うためには、測光センサ108の画素数はある程度、例えばQVGA相当の画素数必要である。このような被写体の顔検出を精度よく行うことが可能な画素数を有する撮像素子の全画素信号を600fps以上のフレームレートで読み出すためには、回路構成が複雑となりコストも増大する。   In this embodiment, based on the image signal output from the photometry sensor 108, not only photometry but also subject face detection, subject tracking, flicker detection, and the like are performed. In order to accurately detect the face of the subject, the number of pixels of the photometric sensor 108 needs to be a certain number, for example, the number of pixels equivalent to QVGA. In order to read out all pixel signals of an image sensor having a number of pixels that can accurately detect the face of the subject at a frame rate of 600 fps or more, the circuit configuration becomes complicated and the cost increases.

そこで、被写体の顔検出を行うための画像信号については全画素信号を読み出し、フリッカー検出を行うための画像信号については画素加算読み出しや間引き読み出しをすることによってフレームレートを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 photometric sensor 108, it is preferable to shorten the readout time by artificially reducing the number of readout lines by pixel addition readout by adding and reading out pixel signals. For example, by performing vertical pixel addition with a CCD having a stripe arrangement, there is an effect of shortening the readout time as shown in FIG. FIG. 4 is a diagram showing the relationship between the number of vertical pixel additions and the readout time. A CCD in which the readout time is 6,25 ms when all pixel signals are read out without adding pixel signals (the number of vertical pixel additions is 1). Will be described as an example. In the case of a CCD having the characteristics shown in FIG. 4, by adding nine pixels, the readout time is 1,66 ms, and the frame rate can be about 600 fps. The image signal read out at this time has 1/9 the number of pixels in the vertical direction as compared with the image signal read out without adding the pixel signals. However, in flicker detection, the photometric values between the image signals are compared. Therefore, there is no problem even if the image signal has a reduced number of pixels in the vertical direction.

また、測光センサ108にCMOSを用いる場合、画素信号の読み出しを行う水平ラインを限定したいわゆる間引き読み出しによって、蓄積と読み出しの合計時間が約1,667ms周期となるように調整するとよい。   In the case where a CMOS is used for the photometric sensor 108, it is preferable to adjust so that the total time of accumulation and readout becomes a period of about 1,667 ms by so-called thinning readout in which horizontal lines for reading out pixel signals are limited.

以上で、測光センサを約600fps(約1,667ms周期)程度で駆動させる方法についての説明を終える。なお、上記の測光センサの蓄積・読み出し周期はあくまで一例であって、フレームレートは約600fps(約1,667ms周期)でなくても構わない。例えば、蓄積時間が長いほど低照度の環境に有効なため、1回の蓄積時間を約1,667msよりも長くし、フレームレートを600fpsよりも小さくしても構わない。あるいは、蓄積・読み出し周期が短いほどフリッカー検出に要する時間が短くなるため、1回の蓄積時間を約1,667msよりも短くしても構わない。このとき、垂直画素加算数を読み出し時間が1,66msよりも短くなる画素加算数にして、フレームレートを600fpsよりも大きくしても構わない。また、図4に示した垂直画素加算数と読み出し時間の関係もあくまで一例である。ただし、フレームレートが600fpsから離れるほど測光センサの蓄積・読み出し周期とフリッカー光源の光量変化の周期とのずれが大きくなるため、600fps±1〜2%以内のフレームレートが好ましい。すなわち、測光センサの測光周期は、第1の商用電源周波数の2倍の周波数と第2の商用電源周波数の2倍の周波数との最少公倍数の逆数に略等しい周期が好ましい。   This completes the description of the method for driving the photometric sensor at about 600 fps (about 1,667 ms cycle). The accumulation / reading cycle of the photometric sensor described above is merely an example, and the frame rate may not be about 600 fps (about 1,667 ms cycle). For example, since the longer the accumulation time is, the more effective the environment is for low illuminance, the one accumulation time may be longer than about 1,667 ms and the frame rate may be smaller than 600 fps. Alternatively, since the time required for flicker detection is shortened as the accumulation / reading cycle is shorter, one accumulation time may be shorter than about 1,667 ms. At this time, the vertical pixel addition number may be a pixel addition number that makes the readout time shorter than 1,66 ms, and the frame rate may be larger than 600 fps. Further, the relationship between the vertical pixel addition number and the readout time shown in FIG. 4 is merely an example. However, since the difference between the accumulation / reading cycle of the photometric sensor and the cycle of the change in the amount of light of the flicker light source increases as the frame rate increases from 600 fps, a frame rate within 600 fps ± 1 to 2% is preferable. That is, the photometric period of the photometric sensor is preferably a period substantially equal to the reciprocal of the least common multiple of the frequency twice the first commercial power supply frequency and the frequency twice the second commercial power supply frequency.

S102でフリッカー検出用の電荷の蓄積及び画像信号の読み出しを終えたら、S103でICPU112は、読み出した画像信号に基づいてフリッカー検出演算を行う。   When the accumulation of the charge for flicker detection and the reading of the image signal are finished in S102, the ICPU 112 performs a flicker detection calculation based on the read image signal in S103.

図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 is generated (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.

以上のように、測光を複数回行って得られた複数の測光結果のうち、互いの測光間隔が第1の間隔となる測光結果の差分を測光結果の組を変えて複数求めて第1の評価値を算出する。さらに、互いの測光間隔が第1の間隔とは異なる第2の間隔となる測光結果の差分を測光結果の組を変えて複数求めて第2の評価値を算出する。そして、第1評価値と第2の評価値とに基づいて測光対象からの光の光量変化特性を算出する。例えば、第1の評価値が閾値未満(F50<F_th)で第2の評価値が閾値以上(F60≧F_th)である場合、測光対象からの光の光量変化周期が第1の商用電源周波数(50Hz)の2倍の周波数の逆数であると算出する。また、第1の評価値が閾値以上(F50≧F_th)であって、第2の評価値が閾値以上(F60≧F_th)である場合、第1の評価値と第2の評価値との比較結果に基づいて光量変化周期を算出する。   As described above, among a plurality of photometric results obtained by performing photometry a plurality of times, a plurality of photometric results having a first photometric interval are obtained by changing a set of photometric results to obtain a first An evaluation value is calculated. Further, a second evaluation value is calculated by obtaining a plurality of photometric results of different photometric intervals, each of which has a second interval different from the first interval, by changing the set of photometric results. Based on the first evaluation value and the second evaluation value, the light quantity change characteristic of the light from the photometric target is calculated. For example, when the first evaluation value is less than the threshold value (F50 <F_th) and the second evaluation value is greater than or equal to the threshold value (F60 ≧ F_th), the light quantity change period of light from the photometric target is the first commercial power supply frequency ( 50 Hz) is calculated to be the reciprocal of twice the frequency. Further, when the first evaluation value is equal to or greater than the threshold value (F50 ≧ F_th) and the second evaluation value is equal to or greater than the threshold value (F60 ≧ F_th), the comparison between the first evaluation value and the second evaluation value is performed. A light quantity change period is calculated based on the result.

このような算出処理を行うことで、被写体の動きや構図の変更など被写体からの光の光量変化と異なる要因で測光結果が変化する場合であっても、測光対象からの光の光量変化特性を正確に算出することができる。   By performing such a calculation process, even if the photometric result changes due to a different factor from the change in the amount of light from the subject, such as the movement of the subject or a change in composition, the light amount change characteristic of the light from the subject is measured. It can be calculated accurately.

さらに、ステップS103ではICPU112は、フリッカー光源下である場合は、フリッカーの特徴点のタイミングを求める。図5はフリッカーの特徴点のタイミングの一例であるフリッカー光源の光量のピークのタイミングを算出する方法の一例を説明する図である。   Further, in step S103, the ICPU 112 obtains the timing of the flicker feature point when the light source is under the flicker light source. FIG. 5 is a diagram for explaining an example of a method for calculating the peak timing of the light quantity of the flicker light source, which is an example of the timing of the flicker feature point.

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として求め、AE(m−1)とAE(m+1)の大きい方を取る点(図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 of AE (m−1) and AE (m + 1) (P1 in the example of FIG. 5) and P2 is obtained as L1 = at + b, and AE (m−1) and A point having a larger AE (m + 1) (P3 in the example of FIG. 5) is passed through, and a straight line having the inclination −a is set to 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 camera microcomputer 101 generates a flicker synchronization signal from the flicker frequency obtained in step S103 and the light amount change timing. As shown in FIG. 6, the flicker synchronization signal is a signal that is generated every cycle of the light amount change of the flicker light source and synchronized with a predetermined timing of the light amount change of the flicker light source. FIG. 6 is a diagram showing the relationship between the change in the amount of light of the flicker light source and the generation timing of the flicker synchronization signal and the shutter start signal.

図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 shutter 104 actually travels and starts to expose the first line of the imaging region of the image sensor 103 is defined as T_ShutterResponse. In addition, the time T_Run from the start of exposure of the first line in the imaging region of the image sensor 103 to the start of exposure of the last line is set. Note that when the exposure of all the imaging regions of the imaging element 103 is started simultaneously, T_Run = 0 may be set.

フリッカー同期信号の発生タイミング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 camera microcomputer 101 sets T_ShutterWait, which is a wait time from the flicker synchronization signal to the shutter start signal instructing the start of running of the shutter 104. The camera microcomputer 101 changes T_ShutterWait for each shutter speed, and the timing at which the light quantity change of the flicker light source is small comes to the center of the time from the start of exposure of the first line in the imaging region of the image sensor 103 to the end of exposure of the last line. To control. For example, T_ShutterWait is set as shown in Expression (4).
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 image sensor 103. it can. FIG. 7 is a view showing a table in which the value of T_ShutterWait and the value of the shutter speed are associated with each other, and the table shown in FIG. 7 may be stored in the memory 102 or the like in advance.

以上のように、ステップ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 camera microcomputer 101 determines whether or not the switch SW2 for instructing the user to start the shooting operation is turned on by operating the release button. If the switch SW2 is not turned on, the process returns to step S101, and the series of operations in steps S101 to S104 is repeated to update the flicker light source light quantity change period and the flicker light source peak timing to the latest. To go. If the series of operations in steps S101 to S104 are repeated with a cycle of about 100 ms, for example, even if the fluctuation of the light amount change cycle of the flicker light source is about ± 0, 4 Hz, the deviation of the light amount change cycle within 100 ms is a maximum of ± It is about 0.4ms. Therefore, it is possible to perform shutter control that accurately reduces the influence of flicker, regardless of when the switch SW2 is turned on.

なお、ステップ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 camera microcomputer 101 generates a shutter start signal by delaying the first flicker synchronization signal after SW2 is turned on by T_ShutterWait according to the determined shutter speed. Thereafter, the shutter 104 is driven according to the generated shutter start signal, and photographing is performed.

以上のように、フリッカーの影響を低減させるシャッター制御として、フリッカー同期信号に対してシャッタースピードに応じた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 image sensor 103. It comes to the center of the time until the end of the exposure of the last line. In this way, by controlling the shooting timing based on the timing of the flicker feature points, it is possible to reduce exposure unevenness in one image due to the influence of the flicker. When shooting is completed, the camera microcomputer 101 determines in step S107 whether continuous shooting (continuous shooting) is performed. Whether or not continuous shooting is performed may be determined based on whether or not the state where SW2 is ON is maintained, or based on whether or not the continuous shooting mode is selected as the operation mode. You may judge.

連続撮影が行われない場合は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での判断結果を用いればよい。フリッカーがない場合はステップS109へ移行し、フリッカーがある場合はステップS110へ移行する。   In step S108, the camera microcomputer 101 determines the presence or absence of flicker. Here, the determination result in step S103 may be used. If there is no flicker, the process proceeds to step S109, and if there is flicker, the process proceeds to step S110.

ここで、連続撮影の駒間(連続撮影を行う際の撮影の合間)の動作シーケンスを図8を用いて説明する。図8は、連続撮影の駒間における測光センサ108及びICPU112の動作シーケンスを示す図であり、図8(a)はフリッカーがないとき、図8(b)はフリッカーがあるときをそれぞれ示している。ステップS109では、測光センサ108及びICPU112は図8(a)に示すように動作し、ステップS110では、測光センサ108及びICPU112は図8(a)に示すように動作する。   Here, an operation sequence between frames for continuous shooting (between shooting when performing continuous shooting) will be described with reference to FIG. FIGS. 8A and 8B are diagrams showing an operation sequence of the photometric sensor 108 and the ICPU 112 between frames for continuous shooting. FIG. 8A shows a case where there is no flicker, and FIG. 8B shows a case where there is a flicker. . In step S109, the photometric sensor 108 and the ICPU 112 operate as shown in FIG. 8A, and in step S110, the photometric sensor 108 and the ICPU 112 operate as shown in FIG. 8A.

まず、フリッカーがないときの連続撮影の駒間における測光センサ108及びICPU112の動作シーケンスを図8(a)を用いて説明する。   First, the operation sequence of the photometric sensor 108 and the ICPU 112 between the frames for continuous shooting when there is no flicker will be described with reference to FIG.

撮影時に光束を撮像素子103へ導くためにミラーアップ状態となっていたハーフミラー105は、撮影後に光束を測光センサ108へ導くためにミラーダウン状態に移動する。ミラーアップ状態からミラーダウン状態に移動した直後には移動停止に伴う衝撃でハーフミラー105はバウンド(以下、ミラーバウンドとする)する。ミラーバウンドが収束しハーフミラー105が安定したミラーダウン状態になると、測光センサ108は、測光及び被写体追尾に用いる画像信号を得るための電荷の蓄積(以下、AE及び追尾用蓄積とする)及び画像信号の読み出しを行う。このAE及び追尾用蓄積に伴う画像信号の読み出しは、連続撮影の駒速(連写速度)速くするためには短い方が好ましい。そこで、測光センサ108にCCDを用いる場合には前述した画素加算読み出しを行い、CMOSを用いる場合には、前述した間引き読み出しを行う。そして、ICPU112は、得られた画像信号に基づいて被写体追尾に関わる演算(以下、追尾演算とする)及び測光演算を行う。   The half mirror 105 that has been in the mirror-up state to guide the light beam to the image sensor 103 at the time of shooting moves to the mirror-down state to guide the light beam to the photometric sensor 108 after shooting. Immediately after moving from the mirror-up state to the mirror-down state, the half mirror 105 bounces (hereinafter referred to as a mirror bounce) due to an impact associated with the movement stop. When the mirror bounds converge and the half mirror 105 is in a stable mirror-down state, the photometric sensor 108 accumulates charges (hereinafter referred to as AE and tracking accumulation) and an image for obtaining an image signal used for photometry and subject tracking. Read the signal. The readout of the image signal accompanying the AE and tracking accumulation is preferably short in order to increase the frame speed (continuous shooting speed) of continuous shooting. Therefore, when the CCD is used for the photometric sensor 108, the above-described pixel addition reading is performed, and when the CMOS is used, the above-described thinning-out reading is performed. Then, the ICPU 112 performs calculation related to subject tracking (hereinafter referred to as tracking calculation) and photometry calculation based on the obtained image signal.

測光センサ108は、AE及び追尾用蓄積に伴う画像信号の読み出し後に被写体の顔検出に用いる画像信号を得るための電荷の蓄積(以下、顔検出用蓄積とする)及び画像信号の読み出しを行う。顔検出用蓄積に伴う画像信号の読み出しは、顔検出を精度よく行うために、AE及び追尾用蓄積に伴う画像信号の読み出しよりも、画素加算読み出しの画素加算数や間引き読み出しの間引きライン数を少なくする。本実施形態では、画素加算読み出しや間引き読み出しを行わず全画素読み出しを行うものとする。そして、ICPU112は、得られた画像信号に基づいて被写体の顔検出に関わる演算(以下、顔検出演算とする)を行う。顔検出演算の結果は次の追尾演算及び測光演算に用いられる。例えば、顔検出演算により検出された被写体の顔領域を追尾対象として追尾演算を行ったり、顔検出演算により検出された被写体の顔領域の重み付けを大きくして測光演算を行ったりする。   The photometric sensor 108 accumulates electric charges (hereinafter referred to as accumulation for face detection) and reads out the image signal for obtaining an image signal used for detecting the face of the subject after reading out the image signal associated with AE and tracking accumulation. In order to perform face detection with high accuracy, the readout of the image signal accompanying the face detection accumulation is performed by setting the pixel addition number of the pixel addition readout and the number of thinned lines for the thinning readout rather than the readout of the image signal accompanying the accumulation for AE and tracking. Reduce. In the present embodiment, all pixel readout is performed without performing pixel addition readout or thinning readout. Then, the ICPU 112 performs a calculation related to the face detection of the subject (hereinafter referred to as a face detection calculation) based on the obtained image signal. The result of the face detection calculation is used for the following tracking calculation and photometry calculation. For example, the tracking calculation is performed using the face area of the subject detected by the face detection calculation as a tracking target, or the photometric calculation is performed by increasing the weight of the face area of the subject detected by the face detection calculation.

ここで、連続撮影の駒速(連写速度)を速くするために、顔検出用蓄積は、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 ICPU 112. In addition, since the image signal reading accompanying the face detection accumulation may be performed in a state where the light beam is not guided to the photometric sensor 108, a half mirror is used in order to increase the frame speed (continuous shooting speed) of continuous shooting. This is preferably performed while moving 105 to the mirror-up state.

そして、移動後のミラーバウンドが収束しハーフミラー105が安定したミラーアップ状態になると次の撮影(露光)を行う。   When the mirror bound after movement converges and the half mirror 105 is in a stable mirror-up state, the next photographing (exposure) is performed.

フリッカーがないときはSW2のON状態が解除されるまでこのような動作シーケンスで連続撮影を行う。すなわち、フリッカー検出用の電荷の蓄積及び画像信号の読み出し(以下、フリッカー検出用蓄積・読み出しとする)を行わず、新たにフリッカーを検出しないし、フリッカーの特徴点のタイミングを算出しない。   When there is no flicker, continuous shooting is performed in such an operation sequence until the SW2 ON state is released. That is, charge accumulation for flicker detection and image signal reading (hereinafter referred to as flicker detection accumulation / reading) are not performed, flicker is not newly detected, and timings of flicker feature points are not calculated.

次に、フリッカーがあるときの連続撮影の駒間における測光センサ108及びICPU112の動作シーケンスを図8(b)を用いて説明する。   Next, the operation sequence of the photometric sensor 108 and the ICPU 112 between the frames for continuous shooting when there is flicker will be described with reference to FIG.

ミラーバウンドが収束しハーフミラー105が安定したミラーダウン状態になると、測光センサ108は、フリッカー検出用の電荷の蓄積及び画像信号の読み出し(以下、フリッカー検出用蓄積・読み出しとする)を行う。このフリッカー検出用蓄積・読み出しは、図2のステップS102で説明した方法と同様の方法で行う。   When the mirror bound converges and the half mirror 105 is in a stable mirror-down state, the photometric sensor 108 accumulates charges for flicker detection and reads out image signals (hereinafter referred to as flicker detection accumulation / readout). The flicker detection accumulation / reading is performed by a method similar to the method described in step S102 in FIG.

なお、連続撮影中に光源がフリッカー周波数の異なる別の光源に変化する可能性は低く、連続撮影中のフリッカー周波数の基準となる周波数は一定と考えてよい。そこで、フリッカー検出用の電荷の蓄積回数を、フリッカー光源の光量のピークのタイミングが算出できる回数であれば、図2のステップS102で行う回数より少なくしてもよい。例えば、フリッカー光源の光量のピークのタイミングの算出には、少なくともフリッカー光源の光量変化周期の1周期分に相当する蓄積回数があればよい。フリッカーの光量変化周期が約8,33msの場合は5回以上、約10msの場合は6回以上蓄積を行えばフリッカー光源の光量のピークのタイミングを精度よく算出することができる。以上のように、連続撮影の駒間では、フリッカー光源の光量のピークのタイミングを算出するための簡易的なフリッカー検出用蓄積を行うことで、連続撮影の駒速(連写速度)の低下を抑制できる。   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, by performing simple flicker detection accumulation for calculating the peak timing of the light amount of the flicker light source between the frames for continuous shooting, the frame speed (continuous shooting speed) for continuous shooting is reduced. Can be suppressed.

そして、ICPU112は、得られた画像信号に基づいてフリッカー検出演算を行う。このフリッカー検出演算は、図2のステップS103で説明した方法と同様の方法で行う。なお、前述したように、連続撮影中のフリッカー周波数の基準となる周波数は一定と考えてよいので、ここでは、フリッカー光源の光量変化周期の判断は行わずに、フリッカー光源の光量のピークのタイミングだけ算出してもよい。このとき、検出結果のうち最新の検出結果が表すフリッカーの特徴点のタイミングを算出する。   Then, the ICPU 112 performs flicker detection calculation based on the obtained image signal. This flicker detection calculation is performed by the same method as described in step S103 of FIG. As described above, the reference frequency of the flicker frequency during continuous shooting may be considered to be constant. Therefore, here, the peak timing of the light amount of the flicker light source is determined without determining the light amount change period of the flicker light source. You may calculate only. At this time, the timing of the flicker feature point represented by the latest detection result among the detection results is calculated.

フリッカー検出演算の終了後、カメラマイコン101は、フリッカー検出演算の検出結果に基づいてフリッカー同期信号を最新のものに更新する。すなわち、前の撮影の後に算出された最新のフリッカーの特徴点のタイミングに基づいて撮影タイミングを制御する。   After the end of the flicker detection calculation, the camera microcomputer 101 updates the flicker synchronization signal to the latest one based on the detection result of the flicker detection calculation. That is, the shooting timing is controlled based on the latest flicker feature point timing calculated after the previous shooting.

測光センサ108は、フリッカー検出用蓄積・読み出しが終わるとAE及び追尾用蓄積及び画像信号の読み出しを行う。ここで、連続撮影の駒速(連写速度)を速くするために、AE及び追尾用蓄積は、ICPU112によるフリッカー検出演算と並行して行われることが好ましい。   When the flicker detection accumulation / readout is completed, the photometric sensor 108 performs AE, tracking accumulation, and image signal readout. Here, in order to increase the frame speed (continuous shooting speed) for continuous shooting, the AE and tracking accumulation are preferably performed in parallel with the flicker detection calculation by the ICPU 112.

以降に行う顔検出用蓄積や各種演算は、図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 camera microcomputer 101 generates a shutter start signal by delaying the latest flicker synchronization signal by T_ShutterWait according to the shutter speed determined based on the latest photometry calculation result. Take a picture.

フリッカーがあるときはSW2のON状態が解除されるまでこのような動作シーケンスで連続撮影を行う。   When there is flicker, continuous shooting is performed in such an operation sequence until the SW2 ON state is released.

以上のように、本発明によれば、商用電源周波数のゆらぎが多少あっても、連続撮影の駒間にフリッカー光源の光量のピークのタイミングを算出し、算出したピークのタイミングに合わせて各撮影を行うので、良好な画像を取得することができる。   As described above, according to the present invention, even when there is a slight fluctuation in the commercial power supply frequency, the peak timing of the light amount of the flicker light source is calculated between the frames for continuous shooting, and each shooting is performed in accordance with the calculated peak timing. Therefore, a good image can be acquired.

なお、上記の実施形態では、ハーフミラー105を備え、連続撮影の駒間におけるハーフミラーがミラーダウン状態のときに測光センサ108による各種用途のための蓄積を行う例を説明したが、ハーフミラー105がない構成であっても構わない。その場合、測光センサ108がなくてもよく、撮像素子103で測光センサ108と同様の各種用途のための蓄積を行えばよい。   In the above embodiment, an example is described in which the half mirror 105 is provided and accumulation for various uses is performed by the photometric sensor 108 when the half mirror between the frames for continuous shooting is in the mirror down state. There may be a configuration without this. In that case, the photometric sensor 108 may not be provided, and the image sensor 103 may perform accumulation for various uses similar to the photometric sensor 108.

また、図8に示した測光センサ108による各種蓄積の順序は一例であり、異なる順序で各種蓄積を行ってもよい。   Further, the order of various accumulations by the photometric sensor 108 shown in FIG. 8 is an example, and various accumulations may be performed in different orders.

また、図8では、測光に用いる画像信号を得るための電荷の蓄積及び被写体追尾に用いる画像信号を得るための電荷の蓄積をまとめて1つの蓄積としているが、別々に蓄積を行う構成でも構わない。   In FIG. 8, the accumulation of electric charges for obtaining an image signal used for photometry and the accumulation of electric charges for obtaining an image signal used for subject tracking are collectively performed as one accumulation. However, the accumulation may be performed separately. Absent.

また、被写体追尾や被写体の顔検出を行わない構成でもよく、連続撮影の駒間において、フリッカーがないときはフリッカー検出用蓄積を行わず、フリッカーがあるときはフリッカー検出用蓄積を行う構成であればよい。フリッカーがあるときはフリッカー検出用蓄積を行うため、フリッカーがないときと比べて連続撮影の駒速が低下することになるが、精度よくフリッカーの影響を低減させることができ、フリッカー光源下で撮影しても良好な画像を取得することができる。一方、フリッカーがないときはフリッカー検出用蓄積を行わないため、連続撮影の駒速を不必要に低下させることを防止できる。   In addition, it may be configured not to perform subject tracking or subject face detection, and may be configured not to perform flicker detection accumulation when there is no flicker between frames for continuous shooting, and to perform flicker detection accumulation when there is flicker. That's fine. When flicker is present, flicker detection accumulation is performed, so the frame speed for continuous shooting will be lower than when there is no flicker. However, the effect of flicker can be reduced accurately, and shooting is performed under a flicker light source. Even in this case, a good image can be obtained. On the other hand, since there is no flicker detection accumulation when there is no flicker, it is possible to prevent unnecessary reduction in the frame speed of continuous shooting.

また、本発明は、以下の処理を実行することによっても実現される。即ち、本実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(または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.

また、上記の実施形態では、本発明を適用した撮像装置の説明を行ったが、撮像機能を有していないPCなどの電子機器に本発明を適用しても構わない。例えば、本発明を適用した電子機器で測光対象からの光の光変化特性を算出し、算出結果を電子機器から撮像装置などの外部機器に送信するようにしてもよい。   In the above embodiment, the imaging apparatus to which the present invention is applied has been described. However, the present invention may be applied to an electronic device such as a PC that does not have an imaging function. For example, the light change characteristic of light from a photometric object may be calculated by an electronic device to which the present invention is applied, and the calculation result may be transmitted from the electronic device to an external device such as an imaging device.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。   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.

100 カメラ本体
101 カメラマイコン
103 撮像素子
105 ハーフミラー
108 測光センサ
112 ICPU
DESCRIPTION OF SYMBOLS 100 Camera body 101 Camera microcomputer 103 Image pick-up element 105 Half mirror 108 Photometric sensor 112 ICPU

Claims (15)

電荷蓄積型のセンサと、
前記センサの駆動を制御する制御手段と、
前記制御手段により、前記センサを用いた複数回の連続した電荷蓄積および読み出しを行うことで得られた複数のデータに基づいて、被写体からの光の光量変化特性を算出する算出手段と、を有し、
前記算出手段は、前記複数のデータのうち、互いが第1の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第1の評価値を算出し、互いが前記第1の間隔とは異なる第2の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第2の評価値を算出し、前記第1の評価値と前記第2の評価値とに基づいて前記光量変化特性を算出することを特徴とする電子機器。
A charge storage sensor;
Control means for controlling the driving of the sensor;
Calculation means for calculating a light quantity change characteristic of light from a subject based on a plurality of data obtained by performing a plurality of continuous charge accumulation and reading using the sensor by the control means. And
The calculation means calculates a first evaluation value by calculating a plurality of differences between the data obtained by the first interval among the plurality of data by changing a data set, and the first evaluation value is calculated by each other. The second evaluation value is calculated by obtaining a plurality of differences between the data obtained at the second interval different from the interval of the data by changing the data set, and the first evaluation value and the second evaluation value An electronic device characterized in that the light quantity change characteristic is calculated based on
前記第1の間隔は、商用電源の第1の周波数の2倍の周波数の逆数に基づいて設定され、
前記第2の間隔は、商用電源の前記第1の周波数とは異なる第2の周波数の2倍の周波数の逆数に基づいて設定されることを特徴とする請求項1に記載の電子機器。
The first interval is set based on a reciprocal of a frequency twice the first frequency of the commercial power source,
2. The electronic device according to claim 1, wherein the second interval is set based on a reciprocal of a frequency twice as high as a second frequency different from the first frequency of a commercial power source.
前記算出手段は、前記第1の評価値が所定の閾値未満であって、前記第2の評価値が前記閾値以上である場合、前記光量変化特性として光量変化周期が前記第1の周波数の2倍の周波数の逆数であると算出することを特徴とする請求項2に記載の電子機器。 When the first evaluation value is less than a predetermined threshold value and the second evaluation value is greater than or equal to the threshold value, the calculation means has a light amount change period of 2 of the first frequency as the light amount change characteristic. The electronic apparatus according to claim 2, wherein the electronic apparatus calculates a reciprocal of the double frequency. 前記算出手段は、前記第1の評価値が前記閾値以上であって、前記第2の評価値が前記閾値未満である場合、前記光量変化周期が前記第2の周波数の2倍の周波数の逆数であると算出することを特徴とする請求項3に記載の電子機器。   When the first evaluation value is greater than or equal to the threshold value and the second evaluation value is less than the threshold value, the calculating means has a reciprocal of the frequency at which the light quantity change period is twice the second frequency. The electronic device according to claim 3, wherein the electronic device is calculated as follows. 前記算出手段は、前記第1の評価値が前記閾値未満であって、前記第2の評価値が前記閾値未満である場合、前記光量変化周期が前記第1の周波数の2倍の周波数の逆数及び前記第2の周波数の2倍の周波数の逆数ではないと算出することを特徴とする請求項4に記載の電子機器。   When the first evaluation value is less than the threshold value and the second evaluation value is less than the threshold value, the calculation means is the reciprocal of the frequency at which the light quantity change period is twice the first frequency. The electronic device according to claim 4, wherein the electronic device is calculated not to be a reciprocal of a frequency twice the second frequency. 前記算出手段は、前記第1の評価値が前記閾値以上であって、前記第2の評価値が前記閾値以上である場合、前記第1の評価値と前記第2の評価値との比較結果に基づいて前記光量変化周期を算出することを特徴とする請求項4または5に記載の電子機器。   When the first evaluation value is greater than or equal to the threshold value and the second evaluation value is greater than or equal to the threshold value, the calculation means compares the first evaluation value with the second evaluation value. The electronic device according to claim 4, wherein the light amount change period is calculated based on the electronic device. 前記算出手段は、前記第1の評価値が前記閾値以上であって、前記第2の評価値が前記閾値以上である場合、前記第2の評価値が前記第1の評価値より大きいときは前記光量変化周期が前記第1の周波数の2倍の周波数の逆数であると算出することを特徴とする請求項6に記載の電子機器。   When the first evaluation value is greater than or equal to the threshold value and the second evaluation value is greater than or equal to the threshold value, and the second evaluation value is greater than the first evaluation value, The electronic apparatus according to claim 6, wherein the light quantity change period is calculated to be a reciprocal of a frequency that is twice the first frequency. 前記算出手段は、前記第1の評価値が前記閾値以上であって、前記第2の評価値が前記閾値以上である場合、前記第1の評価値が前記第2の評価値より大きいときは前記光量変化周期が前記第2の周波数の2倍の周波数の逆数であると算出することを特徴とする請求項6または7に記載の電子機器。   When the first evaluation value is greater than or equal to the threshold value and the second evaluation value is greater than or equal to the threshold value, and the first evaluation value is greater than the second evaluation value, The electronic apparatus according to claim 6, wherein the light quantity change period is calculated to be a reciprocal of a frequency that is twice the second frequency. 前記算出手段は、前記第1の評価値が前記閾値以上であって、前記第2の評価値が前記閾値以上である場合、前記第1の評価値と前記第2の評価値が等しいときは前記光量変化周期が前記第1の周波数の2倍の周波数の逆数及び前記第2の周波数の2倍の周波数の逆数ではないと算出することを特徴とする請求項6ないし8のいずれか1項に記載の電子機器。   When the first evaluation value is equal to or greater than the threshold value and the second evaluation value is equal to or greater than the threshold value, the calculating means is configured such that the first evaluation value is equal to the second evaluation value. 9. The light quantity change period is calculated not to be a reciprocal of a frequency twice the first frequency and a reciprocal of a frequency twice the second frequency. The electronic device as described in. 前記制御手段は、商用電源の前記第1の周波数および前記第2の周波数の2倍の周波数の逆数よりも短い間隔で電荷蓄積を行うように前記センサの駆動を制御して前記複数のデータを取得することを特徴とする請求項2に記載の電子機器。   The control means controls the driving of the sensor so as to accumulate charges at intervals shorter than the reciprocal of the frequency twice the first frequency and the second frequency of a commercial power supply, and controls the plurality of data. The electronic device according to claim 2, wherein the electronic device is acquired. 前記制御手段は、前記第1の周波数の2倍の周波数と前記第2の周波数の2倍の周波数との最小公倍数に基づく所定のフレームレートで前記センサを駆動して前記複数回の連続した電荷蓄積を行うように制御することを特徴とする請求項2ないし10のいずれか1項に記載の電子機器。   The control means drives the sensor at a predetermined frame rate based on a least common multiple of a frequency twice the first frequency and a frequency twice the second frequency, and performs the plurality of consecutive charges. The electronic device according to claim 2, wherein the electronic device is controlled to perform accumulation. 前記制御手段は、前記所定のフレームレートで連続して12回の電荷蓄積および読み出しを行うように前記センサを制御することを特徴とする請求項11に記載の電子機器。 The electronic apparatus according to claim 11 , wherein the control unit controls the sensor so as to perform charge accumulation and readout 12 times continuously at the predetermined frame rate. 電荷蓄積型のセンサの駆動を制御する制御ステップと、
前記制御ステップにより、前記センサを用いた複数回の連続した電荷蓄積および読み出しを行うことで得られた複数のデータに基づいて、被写体からの光の光量変化特性を算出する算出ステップと、を有し、
前記算出ステップは、前記複数のデータのうち、互いが第1の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第1の評価値を算出し、互いが前記第1の間隔とは異なる第2の間隔で得られたデータ同士の差分をデータの組を変えて複数求めて第2の評価値を算出し、前記第1の評価値と前記第2の評価値とに基づいて前記光量変化特性を算出することを特徴とする光量変化特性の算出方法。
A control step for controlling the driving of the charge storage type sensor;
A calculation step of calculating a light quantity change characteristic of light from the subject based on a plurality of data obtained by performing a plurality of continuous charge accumulation and reading using the sensor by the control step. And
The calculation step calculates a first evaluation value by obtaining a plurality of differences between the data obtained by the first interval among the plurality of data by changing a data set, and the first evaluation value is calculated by each other. The second evaluation value is calculated by obtaining a plurality of differences between the data obtained at the second interval different from the interval of the data by changing the data set, and the first evaluation value and the second evaluation value The light quantity change characteristic calculation method, wherein the light quantity change characteristic is calculated based on the method.
請求項13に記載された算出方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the calculation method according to claim 13. コンピュータに、請求項13に記載された算出方法を実行させるためのプログラムを記憶したコンピュータにより読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute the calculation method according to claim 13.
JP2014089531A 2014-04-23 2014-04-23 Electronic device, light amount change characteristic calculation method, program, and storage medium Active JP6456038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014089531A JP6456038B2 (en) 2014-04-23 2014-04-23 Electronic device, light amount change characteristic calculation method, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014089531A JP6456038B2 (en) 2014-04-23 2014-04-23 Electronic device, light amount change characteristic calculation method, program, and storage medium

Publications (2)

Publication Number Publication Date
JP2015211231A JP2015211231A (en) 2015-11-24
JP6456038B2 true JP6456038B2 (en) 2019-01-23

Family

ID=54613164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014089531A Active JP6456038B2 (en) 2014-04-23 2014-04-23 Electronic device, light amount change characteristic calculation method, program, and storage medium

Country Status (1)

Country Link
JP (1) JP6456038B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017080047A (en) * 2015-10-27 2017-05-18 京楽産業.株式会社 Game machine
US10972677B2 (en) 2016-09-14 2021-04-06 Sony Corporation Imaging control apparatus and imaging control method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3522674B2 (en) * 2000-09-08 2004-04-26 三菱電機株式会社 Imaging device and automatic level adjustment method
JP5105843B2 (en) * 2006-12-05 2012-12-26 キヤノン株式会社 Imaging apparatus and determination method
JP2012134663A (en) * 2010-12-20 2012-07-12 Samsung Electronics Co Ltd Imaging apparatus and imaging method

Also Published As

Publication number Publication date
JP2015211231A (en) 2015-11-24

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
JP6391352B2 (en) Imaging apparatus, control method, program, and storage medium
WO2018123342A1 (en) Imaging device, flicker detection method, and computer-readable recording medium
JP2021061627A (en) Imaging apparatus and method for controlling the same, and program
JP6381380B2 (en) Imaging apparatus, control method and program thereof
JP6399843B2 (en) Imaging apparatus and control method thereof
JP6816210B2 (en) Imaging device and its control method, program
JP2017038169A (en) Imaging apparatus, control method, and control program
JP6501463B2 (en) Image pickup apparatus and control method 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
JP6312524B2 (en) Imaging apparatus, control method, program, and storage medium
JP6704946B2 (en) Imaging device, control method, program, and storage medium
JP6598927B2 (en) Imaging apparatus, control method, program, and storage medium
JP6351778B2 (en) Imaging apparatus, control method, program, and storage medium
JP2016014762A (en) Imaging device and control method of the same
JP2016039579A (en) Imaging device, control method, program and storage medium
JP6391319B2 (en) Imaging device, control method thereof, and control program
JP6494829B2 (en) Imaging apparatus, control method, program, and storage medium
JP2017126918A (en) Imaging device, control method, program and storage medium
JP6478493B2 (en) Imaging apparatus, control method, program, and storage medium
JP2021087124A (en) Imaging apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180425

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180911

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181107

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181218

R151 Written notification of patent or utility model registration

Ref document number: 6456038

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151