JP2009003456A - Imaging device and exposure controlling method - Google Patents

Imaging device and exposure controlling method Download PDF

Info

Publication number
JP2009003456A
JP2009003456A JP2008172300A JP2008172300A JP2009003456A JP 2009003456 A JP2009003456 A JP 2009003456A JP 2008172300 A JP2008172300 A JP 2008172300A JP 2008172300 A JP2008172300 A JP 2008172300A JP 2009003456 A JP2009003456 A JP 2009003456A
Authority
JP
Japan
Prior art keywords
unit
cell
image
weight
luminance region
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008172300A
Other languages
Japanese (ja)
Other versions
JP4777397B2 (en
Inventor
Masahiro Konishi
正弘 小西
Yoshiharu Gotanda
芳治 五反田
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.)
Fujifilm Corp
Original Assignee
Fujifilm Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2008172300A priority Critical patent/JP4777397B2/en
Publication of JP2009003456A publication Critical patent/JP2009003456A/en
Application granted granted Critical
Publication of JP4777397B2 publication Critical patent/JP4777397B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Exposure Control For Cameras (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device and an exposure controlling method for determining an exposing value based on a luminance level. <P>SOLUTION: This imaging device for controlling the exposing comprises an imaging unit for imaging an image of a subject, a photometric sensor 54 for measuring the luminance of each region of the image, an abnormal luminance region detecting section 210 for detecting, from the image, an abnormal luminance region where the luminance is locally high, and an adding circuit for adding the luminance of a region other than the abnormal luminance region detected in a surrounding part of the image and calculating the exposing value when the image is photographed. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、撮像装置及び露出制御方法に関する。特に本発明は、輝度レベルに基づいて露出値を決定する撮像装置及び露出制御方法に関する。   The present invention relates to an imaging apparatus and an exposure control method. In particular, the present invention relates to an imaging apparatus and an exposure control method that determine an exposure value based on a luminance level.

従来、画像の輝度の平均値に基づいて露出値を決定する方法が知られている。特公平8−7361号公報は、画像中央の主要領域の優先度を高くし、主要被写体が最適露出状態となるように露出を制御する自動露出調整装置を開示している。   Conventionally, a method for determining an exposure value based on an average value of luminance of an image is known. Japanese Examined Patent Publication No. 8-7361 discloses an automatic exposure adjustment device that increases the priority of the main area in the center of the image and controls the exposure so that the main subject is in an optimal exposure state.

しかし、平均値に基づいて露出値を決定した場合、画像中に例えば光源のように局所的に輝度が著しく高い異常輝度領域が存在する場合、全体の輝度平均が高くなるので、露出を抑える。従って、異常輝度領域以外の領域も露出が抑えられてしまい、主要被写体は露出不足の状態になってしまう。また、画像中央の優先度を高く設定すると、画像中央に存在する異常輝度領域を排除することができない。このように、異常輝度領域の存在は、良好な露出値を得る妨げとなっていた。   However, when the exposure value is determined based on the average value, if there is an abnormal luminance area with extremely high local brightness, such as a light source, in the image, the overall luminance average becomes high, so that the exposure is suppressed. Therefore, exposure is suppressed in areas other than the abnormal luminance area, and the main subject is underexposed. Also, if the priority at the center of the image is set high, the abnormal luminance region existing at the center of the image cannot be excluded. As described above, the presence of the abnormal luminance region has hindered obtaining a good exposure value.

そこで本発明は、上記の課題を解決することのできる撮像装置及び露出制御方法を提供することを目的とする。この目的は特許請求の範囲における独立項に記載の特徴の組み合わせにより達成される。また従属項は本発明の更なる有利な具体例を規定する。   SUMMARY An advantage of some aspects of the invention is that it provides an imaging apparatus and an exposure control method that can solve the above-described problems. This object is achieved by a combination of features described in the independent claims. The dependent claims define further advantageous specific examples of the present invention.

即ち、本発明の第1の形態によると、露出を制御する撮像装置であって、被写体の画像を撮像する撮像ユニットと、前記画像の領域毎の輝度を測定する測光部と、前記画像から局所的に輝度が高い異常輝度領域を検出する異常輝度領域検出部と、前記異常輝度領域を除いた前記画像の領域毎の前記輝度を加算し、前記画像を撮影するときの露出値を算出する加算回路とを備える。   That is, according to the first embodiment of the present invention, an imaging device that controls exposure, an imaging unit that captures an image of a subject, a photometric unit that measures luminance for each region of the image, and a local area from the image. An abnormal luminance region detecting unit for detecting an abnormal luminance region having a high luminance in general, and an addition for calculating an exposure value when the image is photographed by adding the luminance for each region of the image excluding the abnormal luminance region Circuit.

前記異常輝度領域検出部は、前記画像のうち所定の輝度以上の領域を異常輝度領域候補として検出する異常輝度領域候補検出部を有してもよい。   The abnormal luminance region detection unit may include an abnormal luminance region candidate detection unit that detects a region having a predetermined luminance or higher in the image as an abnormal luminance region candidate.

前記異常輝度領域検出部は、前記異常輝度領域候補の面積が所定の面積以下の場合に、当該異常輝度領域候補を前記異常輝度領域として選択する異常輝度領域選択部をさらに有してもよい。   The abnormal luminance region detection unit may further include an abnormal luminance region selection unit that selects the abnormal luminance region candidate as the abnormal luminance region when the area of the abnormal luminance region candidate is a predetermined area or less.

異常輝度とみなす絶対基準値を予め保持する絶対基準値記憶部と、前記測光部によって測定された前記輝度から前記画像全体の輝度平均を算出し、前記輝度平均よりも所定の値大きい相対輝度を求め、前記絶対基準値及び前記相対輝度に基づいて前記所定の輝度を決定する演算部とをさらに備えてもよい。   An absolute reference value storage unit that holds in advance an absolute reference value that is regarded as abnormal luminance, and a luminance average of the entire image is calculated from the luminance measured by the photometry unit, and a relative luminance that is a predetermined value larger than the luminance average is obtained. And a calculation unit that determines the predetermined luminance based on the absolute reference value and the relative luminance.

前記異常輝度領域検出部は、光源を含む領域を前記異常輝度領域として検出してもよい。前記異常輝度領域検出部は、前記輝度が不連続な値となる点を前記異常輝度領域の境界としてもよい。   The abnormal luminance region detection unit may detect a region including a light source as the abnormal luminance region. The abnormal luminance region detection unit may use a point where the luminance is a discontinuous value as a boundary of the abnormal luminance region.

前記測光部は、前記画像をマトリクス状のセルに分割し、前記セル毎の輝度を測定してもよい。   The photometric unit may divide the image into matrix cells and measure the luminance of each cell.

前記異常輝度領域候補検出部は、前記所定の輝度以上の輝度を示すセルを検出してもよい。   The abnormal luminance region candidate detection unit may detect a cell that exhibits a luminance equal to or higher than the predetermined luminance.

前記異常輝度領域選択部は、前記異常輝度領域候補に含まれる前記セルの数が所定のセル数以下の場合に、当該異常輝度領域候補を前記異常輝度領域として選択してもよい。   The abnormal luminance region selection unit may select the abnormal luminance region candidate as the abnormal luminance region when the number of the cells included in the abnormal luminance region candidate is equal to or less than a predetermined number of cells.

前記撮像ユニットは、前記被写体の像を結像するレンズ部と、前記レンズ部が結像した像を受光して電荷を蓄積するCCDとをさらに有してもよい。前記測光部は、前記CCDが蓄積する電荷量を前記セル毎に積分し、前記積分の結果得られた値から、各セルの前記輝度を算出してもよい。   The imaging unit may further include a lens unit that forms an image of the subject and a CCD that receives the image formed by the lens unit and accumulates charges. The photometry unit may integrate the amount of charge accumulated in the CCD for each cell, and calculate the luminance of each cell from a value obtained as a result of the integration.

前記セルの位置に対応した重みを予め格納する重み記憶部と、前記セルが前記異常輝度領域に含まれる場合は、当該セルに対応した重みを小さくし、前記小さくした重みを当該セルにおいて測定された前記輝度に付与する重み付与部とをさらに備えてもよい。   A weight storage unit that preliminarily stores a weight corresponding to the position of the cell, and when the cell is included in the abnormal luminance region, the weight corresponding to the cell is reduced and the reduced weight is measured in the cell. And a weighting unit for imparting to the luminance.

前記重み付与部は、前記セルが前記異常輝度領域に含まれかつ前記画像の周辺部に位置する場合に前記重みを零にしてもよい。また、前記重み付与部は、前記セルが前記異常輝度領域に含まれかつ前記画像の中心部に位置する場合に、前記重みを小さくしてもよい。   The weight assigning unit may set the weight to zero when the cell is included in the abnormal luminance region and located in a peripheral part of the image. Further, the weight assigning unit may reduce the weight when the cell is included in the abnormal luminance region and is located at the center of the image.

前記重み付与部は、前記異常輝度領域に含まれる前記セルに対応する前記重みを所定の数値で除算し、その結果得られた値に基づいて前記重みを変更してもよい。   The weighting unit may divide the weight corresponding to the cell included in the abnormal luminance region by a predetermined numerical value, and change the weight based on a value obtained as a result.

前記所定の数値は、前記画像のうち前記周辺部に位置する前記セルに対応する前記重みよりも大きく、前記画像のうち前記中心部に位置する前記セルに対応する前記重みよりも小さい数であってもよい。前記重み付与部は、前記除算の結果が1未満である場合に、前記重みを零に変更し、前記除法の結果が1以上である場合に、前記重みを前記除算の結果得られた値に変更してもよい。   The predetermined numerical value is a number larger than the weight corresponding to the cell located in the peripheral portion of the image and smaller than the weight corresponding to the cell located in the central portion of the image. May be. The weighting unit changes the weight to zero when the result of the division is less than 1, and sets the weight to a value obtained as a result of the division when the result of the division is 1 or more. It may be changed.

前記所定のセルの数は、前記セルの境界上の任意の点が接する前記セルの最大個数であってもよい。前記セルは四角形であってもよく、この場合、前記所定のセルの数は、4つであってもよい。   The predetermined number of cells may be the maximum number of cells that an arbitrary point on the boundary of the cells touches. The cells may be square, and in this case, the number of the predetermined cells may be four.

本発明の第2の形態は、露出を制御する露出制御方法であって、被写体の画像を撮像する撮像段階と、前記画像の領域毎の輝度を測定する測光段階と、前記画像の周辺部から局所的に輝度が高い異常輝度領域を検出する異常輝度領域検出段階と、前記異常輝度領域を除いた前記画像の領域毎の前記輝度を加算し、前記画像を撮影するときの露出値を算出する加算段階とを備える。   According to a second aspect of the present invention, there is provided an exposure control method for controlling exposure, wherein an imaging step for capturing an image of a subject, a photometric step for measuring luminance for each region of the image, and a peripheral portion of the image An abnormal luminance region detection step for detecting an abnormal luminance region having a high local brightness and the luminance for each region of the image excluding the abnormal luminance region are added to calculate an exposure value when the image is captured. And an addition stage.

なお上記の発明の概要は、本発明の必要な特徴の全てを列挙したものではなく、これらの特徴群のサブコンビネーションも又発明となりうる。   The above summary of the invention does not enumerate all the necessary features of the present invention, and sub-combinations of these feature groups can also be the invention.

以下、発明の実施の形態を通じて本発明を説明するが、以下の実施形態はクレームにかかる発明を限定するものではなく、又実施形態の中で説明されている特徴の組み合わせの全てが発明の解決手段に必須であるとは限らない。   Hereinafter, the present invention will be described through embodiments of the invention. However, the following embodiments do not limit the claimed invention, and all combinations of features described in the embodiments are the solution of the invention. It is not always essential to the means.

図1は輝度レベルに基づいて露出値を決定する機能を有するデジタルカメラ10の構成を示す。本発明に特徴的な、露出値決定の機構については、図2で詳述する。デジタルカメラ10は、主に撮像ユニット20、撮像制御ユニット40、処理ユニット60、表示ユニット100、および操作ユニット110を含む。   FIG. 1 shows a configuration of a digital camera 10 having a function of determining an exposure value based on a luminance level. The exposure value determination mechanism characteristic of the present invention will be described in detail with reference to FIG. The digital camera 10 mainly includes an imaging unit 20, an imaging control unit 40, a processing unit 60, a display unit 100, and an operation unit 110.

撮像ユニット20は、撮影および結像に関する機構部材および電気部材を含む。撮像ユニット20はまず、映像を取り込んで処理を施す撮影レンズ22、絞り24、シャッタ26、光学LPF(ローパスフィルタ)28、CCD30、および撮像信号処理部32を含む。撮影レンズ22は、フォーカスレンズやズームレンズ等からなる。この構成により、被写体像がCCD30の受光面上に結像する。結像した被写体像の光量に応じ、CCD30の各センサエレメント(図示せず)に電荷が蓄積される(以下その電荷を「蓄積電荷」という)。蓄積電荷は、リードゲートパルスによってシフトレジスタ(図示せず)に読み出され、レジスタ転送パルスによって電圧信号として順次読み出される。   The imaging unit 20 includes a mechanism member and an electrical member related to shooting and imaging. The imaging unit 20 first includes a photographic lens 22 that captures and processes an image, an aperture 24, a shutter 26, an optical LPF (low-pass filter) 28, a CCD 30, and an imaging signal processing unit 32. The photographing lens 22 includes a focus lens, a zoom lens, and the like. With this configuration, a subject image is formed on the light receiving surface of the CCD 30. Charges are accumulated in each sensor element (not shown) of the CCD 30 in accordance with the amount of light of the formed subject image (hereinafter, the charges are referred to as “accumulated charges”). The accumulated charge is read to a shift register (not shown) by a read gate pulse, and sequentially read as a voltage signal by a register transfer pulse.

デジタルカメラ10は一般に電子シャッタ機能を有するので、シャッタ26のような機械式シャッタは必須ではない。電子シャッタ機能を実現するために、CCD30にシャッタゲートを介してシャッタドレインが設けられる。シャッタゲートを駆動すると蓄積電荷がシャッタドレインに掃き出される。シャッタゲートの制御により、各センサエレメントに電荷を蓄積するための時間、すなわちシャッタスピードが制御できる。   Since the digital camera 10 generally has an electronic shutter function, a mechanical shutter such as the shutter 26 is not essential. In order to realize the electronic shutter function, the CCD 30 is provided with a shutter drain via a shutter gate. When the shutter gate is driven, the accumulated charge is swept out to the shutter drain. By controlling the shutter gate, the time for accumulating charges in each sensor element, that is, the shutter speed can be controlled.

CCD30から出力される電圧信号、すなわちアナログ信号は撮像信号処理部32でR、G、B成分に色分解され、まずホワイトバランスが調整される。つづいて撮像信号処理部32はガンマ補正を行い、必要なタイミングでR、G、B信号を順次A/D変換し、その結果得られたデジタルの画像データ(以下単に「デジタル画像データ」とよぶ)を処理ユニット60へ出力する。   A voltage signal output from the CCD 30, that is, an analog signal, is color-separated into R, G, and B components by the imaging signal processing unit 32, and first, white balance is adjusted. Subsequently, the imaging signal processing unit 32 performs gamma correction, sequentially A / D-converts the R, G, and B signals at a necessary timing, and the resulting digital image data (hereinafter simply referred to as “digital image data”). ) To the processing unit 60.

撮像ユニット20はさらに、ファインダ34とストロボ36を有する。ファインダ34には図示しないLCDを内装してもよく、その場合、後述のメインCPU62等からの各種情報をファインダ34内に表示できる。ストロボ36は、コンデンサ(図示せず)に蓄えられたエネルギが放電管36aに供給されたときそれが発光することで機能する。   The imaging unit 20 further includes a finder 34 and a strobe 36. The finder 34 may be equipped with an LCD (not shown). In this case, various information from the main CPU 62 and the like which will be described later can be displayed in the finder 34. The strobe 36 functions by emitting light when energy stored in a capacitor (not shown) is supplied to the discharge tube 36a.

撮像制御ユニット40は、ズーム駆動部42、フォーカス駆動部44、絞り駆動部46、シャッタ駆動部48、それらを制御する撮像系CPU50、測距センサ52、および測光センサ54をもつ。ズーム駆動部42などの駆動部は、それぞれステッピングモータ等の駆動手段を有する。後述のレリーズスイッチ114の押下に応じ、測距センサ52は被写体までの距離を測定し、測光センサ54は被写体輝度を測定する。測定された距離のデータ(以下単に「測距データ」という)および被写体輝度のデータ(以下単に「輝度データ」という)は撮像系CPU50へ送られる。撮像系CPU50は、ユーザから指示されたズーム倍率等の撮影情報に基づき、ズーム駆動部42とフォーカス駆動部44を制御して撮影レンズ22のズーム倍率とピントの調整を行う。   The imaging control unit 40 includes a zoom driving unit 42, a focus driving unit 44, an aperture driving unit 46, a shutter driving unit 48, an imaging system CPU 50 that controls them, a distance measuring sensor 52, and a photometric sensor 54. Each of the driving units such as the zoom driving unit 42 has driving means such as a stepping motor. In response to pressing of a release switch 114 described later, the distance measuring sensor 52 measures the distance to the subject, and the photometric sensor 54 measures the subject brightness. The measured distance data (hereinafter simply referred to as “distance data”) and the subject luminance data (hereinafter simply referred to as “luminance data”) are sent to the imaging system CPU 50. The imaging system CPU 50 adjusts the zoom magnification and focus of the photographing lens 22 by controlling the zoom drive unit 42 and the focus drive unit 44 based on photographing information such as a zoom magnification designated by the user.

撮像系CPU50は、絞り駆動部46及びシャッタ駆動部48を制御する。絞り駆動部46とシャッタ駆動部48がそれぞれ絞り量の調整とシャッタ26の開閉を行う。   The imaging system CPU 50 controls the aperture driving unit 46 and the shutter driving unit 48. An aperture drive unit 46 and a shutter drive unit 48 adjust the aperture amount and open / close the shutter 26, respectively.

絞り量及びシャッタースピード等の露出条件は、露出値に基づいてきまる。露出値決定の機構については、図2で詳述する。   Exposure conditions such as aperture amount and shutter speed are based on the exposure value. The mechanism for determining the exposure value will be described in detail with reference to FIG.

撮像系CPU50はまた、露出値に基づいてストロボ36の発光を制御し、同時に絞り26の絞り量を調整する。ユーザが映像の取込を指示したとき、CCD30が電荷蓄積を開始し、露出値から計算されたシャッタ時間の経過後、蓄積電荷が撮像信号処理部32へ出力される。   The imaging system CPU 50 also controls the light emission of the strobe 36 based on the exposure value and simultaneously adjusts the aperture amount of the aperture 26. When the user instructs to capture an image, the CCD 30 starts to accumulate charges, and the accumulated charges are output to the imaging signal processing unit 32 after the shutter time calculated from the exposure value has elapsed.

処理ユニット60は、デジタルカメラ10全体、とくに処理ユニット60自身を制御するメインCPU62と、これによって制御されるメモリ制御部64、YC処理部70、オプション装置制御部74、圧縮伸張処理部78、通信I/F部80を有する。メインCPU62は、シリアル通信などにより、撮像系CPU50との間で必要な情報をやりとりする。メインCPU62の動作クロックは、クロック発生器88から与えられる。クロック発生器88は、撮像系CPU50、表示ユニット100に対してもそれぞれ異なる周波数のクロックを提供する。   The processing unit 60 includes a main CPU 62 that controls the entire digital camera 10, particularly the processing unit 60 itself, a memory control unit 64, a YC processing unit 70, an optional device control unit 74, a compression / decompression processing unit 78, communication, and the like. An I / F unit 80 is included. The main CPU 62 exchanges necessary information with the imaging CPU 50 by serial communication or the like. The operation clock of the main CPU 62 is given from the clock generator 88. The clock generator 88 also provides clocks with different frequencies to the imaging system CPU 50 and the display unit 100, respectively.

メインCPU62には、キャラクタ生成部84とタイマ86が併設されている。タイマ86は電池でバックアップされ、つねに日時をカウントしている。このカウント値から撮影日時に関する情報、その他の時刻情報がメインCPU62に与えられる。キャラクタ生成部84は、撮影日時、タイトル等の文字情報を発生し、この文字情報が適宜撮影画像に合成される。   The main CPU 62 is provided with a character generation unit 84 and a timer 86. The timer 86 is backed up by a battery and always counts the date and time. From this count value, information on the shooting date and time information and other time information are given to the main CPU 62. The character generation unit 84 generates character information such as a shooting date and time and a title, and the character information is appropriately combined with the shot image.

メモリ制御部64は、不揮発性メモリ66とメインメモリ68を制御する。不揮発性メモリ66は、EEPROM(電気的消去およびプログラム可能なROM)やFLASHメモリなどで構成され、ユーザーによる設定情報や出荷時の調整値など、デジタルカメラ10の電源がオフの間も保持すべきデータが格納されている。不揮発性メモリ66には、場合によりメインCPU62のブートプログラムやシステムプログラムなどが格納されてもよい。一方、メインメモリ68は一般にDRAMのように比較的安価で容量の大きなメモリで構成される。メインメモリ68は、撮像ユニット20から出力されたデータを格納するフレームメモリとしての機能、各種プログラムをロードするシステムメモリとしての機能、その他ワークエリアとしての機能をもつ。不揮発性メモリ66とメインメモリ68は、処理ユニット60内外の各部とメインバス82を介してデータのやりとりを行う。   The memory control unit 64 controls the nonvolatile memory 66 and the main memory 68. The non-volatile memory 66 includes an EEPROM (electrically erasable and programmable ROM), a FLASH memory, and the like, and should be retained even when the power of the digital camera 10 is turned off, such as setting information by a user and adjustment values at the time of shipment. Data is stored. In some cases, the non-volatile memory 66 may store a boot program or a system program for the main CPU 62. On the other hand, the main memory 68 is generally composed of a relatively inexpensive memory having a large capacity, such as a DRAM. The main memory 68 has a function as a frame memory for storing data output from the imaging unit 20, a function as a system memory for loading various programs, and other functions as a work area. The nonvolatile memory 66 and the main memory 68 exchange data with each part inside and outside the processing unit 60 via the main bus 82.

YC処理部70は、デジタル画像データにYC変換を施し、輝度信号Yと色差(クロマ)信号B−Y、R−Yを生成する。輝度信号と色差信号はメモリ制御部64によってメインメモリ68に一旦格納される。圧縮伸張処理部78はメインメモリ68から順次輝度信号と色差信号を読み出して圧縮する。こうして圧縮されたデータ(以下単に「圧縮データ」という)は、オプション装置制御部74を介してオプション装置76の一種であるメモリカードへ書き込まれる。   The YC processing unit 70 performs YC conversion on the digital image data, and generates a luminance signal Y and color difference (chroma) signals BY and RY. The luminance signal and the color difference signal are temporarily stored in the main memory 68 by the memory control unit 64. The compression / decompression processor 78 sequentially reads out the luminance signal and the color difference signal from the main memory 68 and compresses them. The data thus compressed (hereinafter simply referred to as “compressed data”) is written to a memory card which is a type of option device 76 via the option device control unit 74.

処理ユニット60はさらにエンコーダ72をもつ。エンコーダ72は輝度信号と色差信号を入力し、これらをビデオ信号(NTSCやPAL信号)に変換してビデオ出力端子90から出力する。オプション装置76に記録されたデータからビデオ信号を生成する場合、そのデータはまずオプション装置制御部74を介して圧縮伸張処理部78へ与えられる。つづいて、圧縮伸張処理部78で必要な伸張処理が施されたデータはエンコーダ72によってビデオ信号へ変換される。   The processing unit 60 further has an encoder 72. The encoder 72 receives the luminance signal and the color difference signal, converts them into a video signal (NTSC or PAL signal), and outputs the video signal from the video output terminal 90. When a video signal is generated from data recorded in the option device 76, the data is first supplied to the compression / decompression processing unit 78 via the option device control unit 74. Subsequently, the data that has undergone the necessary expansion processing in the compression / expansion processing unit 78 is converted into a video signal by the encoder 72.

オプション装置制御部74は、オプション装置76に認められる信号仕様およびメインバス82のバス仕様にしたがい、メインバス82とオプション装置76の間で必要な信号の生成、論理変換、または電圧変換などを行う。デジタルカメラ10は、オプション装置76として前述のメモリカードのほかに、例えばPCMCIA準拠の標準的なI/Oカードをサポートしてもよい。その場合、オプション装置制御部74は、PCMCIA用バス制御LSIなどで構成してもよい。   The option device control unit 74 performs necessary signal generation, logic conversion, voltage conversion, etc. between the main bus 82 and the option device 76 in accordance with the signal specifications recognized by the option device 76 and the bus specifications of the main bus 82. . The digital camera 10 may support a standard I / O card conforming to PCMCIA, for example, in addition to the memory card described above as the optional device 76. In this case, the option device control unit 74 may be configured by a PCMCIA bus control LSI or the like.

通信I/F部80は、デジタルカメラ10がサポートする通信仕様、たとえばUSB、RS−232C、イーサネットなどの仕様に応じたプロトコル変換等の制御を行う。通信I/F部80は、必要に応じてドライバICを含み、ネットワークを含む外部機器とコネクタ92を介して通信する。そうした標準的な仕様のほかに、例えばプリンタ、カラオケ機、ゲーム機等の外部機器との間で独自のI/Fによるデータ授受を行う構成としてもよい。   The communication I / F unit 80 performs control such as protocol conversion according to communication specifications supported by the digital camera 10, such as USB, RS-232C, Ethernet, and the like. The communication I / F unit 80 includes a driver IC as necessary, and communicates with an external device including a network via the connector 92. In addition to such standard specifications, a configuration may be adopted in which data is exchanged with an external device such as a printer, a karaoke machine, or a game machine using an original I / F.

表示ユニット100は、LCDモニタ102とLCDパネル104を有する。それらはLCDドライバであるモニタドライバ106、パネルドライバ108によってそれぞれ制御される。LCDモニタ102は、例えば2インチ程度の大きさでカメラ背面に設けられ、現在の撮影や再生のモード、撮影や再生のズーム倍率、電池残量、日時、モード設定のための画面、被写体画像などを表示する。LCDパネル104は例えば小さな白黒LCDでカメラ上面に設けられ、画質(FINE/NORMAL/BASICなど)、ストロボ発光/発光禁止、標準撮影可能枚数、画素数、電池容量などの情報を簡易的に表示する。   The display unit 100 includes an LCD monitor 102 and an LCD panel 104. They are controlled by a monitor driver 106 and a panel driver 108, which are LCD drivers. The LCD monitor 102 is provided on the back of the camera with a size of about 2 inches, for example, and the current shooting / playback mode, zoom magnification for shooting / playback, battery level, date / time, mode setting screen, subject image, etc. Is displayed. The LCD panel 104 is a small black and white LCD, for example, provided on the top surface of the camera, and simply displays information such as image quality (FINE / NORMAL / BASIC, etc.), strobe light emission / flash inhibition, standard number of shoots, number of pixels, battery capacity, etc. .

操作ユニット110は、ユーザーがデジタルカメラ10の動作やそのモードなどを設定または指示するために必要な機構および電気部材を含む。パワースイッチ112は、デジタルカメラ10の電源のオンオフを決める。レリーズスイッチ114は、半押しと全押しの二段階押し込み構造になっている。一例として、半押しでAFおよびAEがロックし、全押しで撮影画像の取込が行われ、必要な信号処理、データ圧縮等の後、メインメモリ68、オプション装置76等に記録される。操作ユニット110はこれらのスイッチの他、回転式のモードダイヤルや十字キーなどによる設定を受け付けてもよく、それらは図1において機能設定部116と総称されている。操作ユニット110で指定できる動作または機能の例として、「ファイルフォーマット」、「特殊効果」、「印画」、「決定/保存」、「表示切換」等がある。ズームスイッチ118は、ズーム倍率を決める。   The operation unit 110 includes mechanisms and electric members necessary for the user to set or instruct the operation of the digital camera 10 and its mode. The power switch 112 determines whether to turn on or off the power of the digital camera 10. The release switch 114 has a two-step pushing structure of half-pressing and full-pressing. As an example, AF and AE are locked when pressed halfway, and a captured image is captured when pressed fully, and is recorded in the main memory 68, optional device 76, etc. after necessary signal processing, data compression, and the like. In addition to these switches, the operation unit 110 may accept settings using a rotary mode dial, a cross key, and the like, which are collectively referred to as a function setting unit 116 in FIG. Examples of operations or functions that can be specified by the operation unit 110 include “file format”, “special effect”, “print”, “decision / save”, “display switching”, and the like. The zoom switch 118 determines the zoom magnification.

以上の構成による主な動作は以下のとおりである。まずデジタルカメラ10のパワースイッチ112がオンされ、カメラ各部に電力が供給される。メインCPU62は、機能設定部116の状態を読み込むことで、デジタルカメラ10が撮影モードにあるか再生モードにあるかを判断する。   The main operation of the above configuration is as follows. First, the power switch 112 of the digital camera 10 is turned on, and power is supplied to each part of the camera. The main CPU 62 reads the state of the function setting unit 116 to determine whether the digital camera 10 is in the shooting mode or the playback mode.

カメラが撮影モードにあるとき、メインCPU62はレリーズスイッチ114の半押し状態を監視する。半押し状態が検出されたとき、メインCPU62は測光センサ54および測距センサ52からそれぞれ輝度データと測距データを得る。得られたデータに基づいて撮像制御ユニット40が動作し、撮影レンズ22のピント、絞りなどの調整が行われる。調整が完了すると、LCDモニタ102に「スタンバイ」などの文字を表示してユーザーにその旨を伝え、つづいてレリーズスイッチ114の全押し状態を監視する。レリーズスイッチ114が全押しされると、所定のシャッタ時間をおいてシャッタ26が閉じられ、CCD30の蓄積電荷が撮像信号処理部32へ掃き出される。撮像信号処理部32による処理の結果生成されたデジタル画像データはメインバス82へ出力される。デジタル画像データは一旦メインメモリ68へ格納され、この後YC処理部70と圧縮伸張処理部78で処理を受け、オプション装置制御部74を経由してオプション装置76へ記録される。記録された画像は、フリーズされた状態でしばらくLCDモニタ102に表示され、ユーザーは撮影画像を知ることができる。以上で一連の撮影動作が完了する。   When the camera is in the shooting mode, the main CPU 62 monitors the half-pressed state of the release switch 114. When the half-pressed state is detected, the main CPU 62 obtains luminance data and distance measurement data from the photometry sensor 54 and the distance measurement sensor 52, respectively. The imaging control unit 40 operates based on the obtained data, and adjustments such as focus and aperture of the taking lens 22 are performed. When the adjustment is completed, a character such as “Standby” is displayed on the LCD monitor 102 to notify the user, and then the release switch 114 is fully pressed. When the release switch 114 is fully pressed, the shutter 26 is closed after a predetermined shutter time, and the accumulated charge in the CCD 30 is swept out to the imaging signal processing unit 32. Digital image data generated as a result of processing by the imaging signal processing unit 32 is output to the main bus 82. The digital image data is temporarily stored in the main memory 68, then processed by the YC processing unit 70 and the compression / decompression processing unit 78, and recorded in the option device 76 via the option device control unit 74. The recorded image is displayed on the LCD monitor 102 in a frozen state for a while, and the user can know the captured image. This completes a series of shooting operations.

一方、デジタルカメラ10が再生モードの場合、メインCPU62は、メモリ制御部64を介してメインメモリ68から最後に撮影した画像を読み出し、これを表示ユニット100のLCDモニタ102へ表示する。この状態でユーザーが機能設定部116にて「順送り」、「逆送り」を指示すると、現在表示している画像の前後に撮影された画像が読み出され、LCDモニタ102へ表示される。   On the other hand, when the digital camera 10 is in the playback mode, the main CPU 62 reads the last photographed image from the main memory 68 via the memory control unit 64 and displays it on the LCD monitor 102 of the display unit 100. In this state, when the user instructs “forward” or “reverse” on the function setting unit 116, images taken before and after the currently displayed image are read and displayed on the LCD monitor 102.

図2は、本発明に特徴的な、露出値決定部200の概略機能ブロックを示す。露出値決定部200は一例として、図1の撮像制御ユニット40、メインCPU62と、メインメモリ68や不揮発性メモリ66に格納またはロードされたプログラムの連携によって実現することができる。メインCPU62が内蔵メモリをもつ場合にはそのメモリに必要なプログラムを格納し、諸機能をファームウエアとして実現してもよい。図2は、の各機能をひとまとまりの構成として記述したが、これらは実際には物理的にひとまとまりであるとは限らないし、その必要もない。例えば、露出値決定部200は、重み記憶部222を有さなくてもよく、この場合、重み記憶部222が保持する情報を外部から入力してもよい。デジタルカメラ10において露出値決定部200の機能を実現する設計には相当の自由度がある。   FIG. 2 shows a schematic functional block of the exposure value determination unit 200 that is characteristic of the present invention. As an example, the exposure value determination unit 200 can be realized by cooperation of the imaging control unit 40 and the main CPU 62 in FIG. 1 and programs stored or loaded in the main memory 68 and the nonvolatile memory 66. When the main CPU 62 has a built-in memory, a necessary program may be stored in the memory and various functions may be realized as firmware. In FIG. 2, each function is described as a unitary configuration, but these are not necessarily physically combined and need not be. For example, the exposure value determination unit 200 may not have the weight storage unit 222, and in this case, information held by the weight storage unit 222 may be input from the outside. The design for realizing the function of the exposure value determining unit 200 in the digital camera 10 has a considerable degree of freedom.

露出値決定部200は、測光センサ54、バッファメモリ202、演算部204、絶対基準値記憶部208、積和回路206、異常輝度領域検出部210、重み記憶部222、及び重み付与部224を有する。   The exposure value determination unit 200 includes a photometric sensor 54, a buffer memory 202, a calculation unit 204, an absolute reference value storage unit 208, a product-sum circuit 206, an abnormal luminance region detection unit 210, a weight storage unit 222, and a weighting unit 224. .

測光センサ54は、撮影レンズ22によって結像された画像をマトリクス状の64個のセルに分割し、セル毎の輝度を測定する。測光センサ54は、各セルの輝度を示す輝度データをセルの位置を示す位置データと対応付けてバッファメモリ202に格納する。位置データは、画像における座標を示すデータであってもよいし、マトリクス状に配置されたセルに対して、縦または横に連続した番号を与え、これを位置データとしてもよい。いずれにせよ、位置データは、セルの位置を特定できるデータであればよく、そのデータ内容は上記に限定されない。   The photometric sensor 54 divides the image formed by the photographing lens 22 into 64 cells in a matrix and measures the luminance for each cell. The photometric sensor 54 stores the luminance data indicating the luminance of each cell in the buffer memory 202 in association with the position data indicating the cell position. The position data may be data indicating coordinates in the image, or may be given as a position data by giving consecutive numbers in the vertical or horizontal direction to the cells arranged in a matrix. In any case, the position data may be data that can specify the position of the cell, and the data content is not limited to the above.

輝度データと位置データは、ファイル名によって対応付けられている。また、他の形態としては、輝度データと位置データのIDなどデータ固有の情報によって対応付けられてもよく、また対応する情報が1つのファイルに格納されていてもよい。いずれにせよ、輝度データと位置データとを対応付けて格納すればよく、これを実現するための設計の自由度は大きい。   Luminance data and position data are associated by a file name. As another form, it may be associated with information unique to data such as luminance data and position data ID, or the corresponding information may be stored in one file. In any case, it is only necessary to store the luminance data and the position data in association with each other, and the degree of freedom in design for realizing this is great.

絶対基準値記憶部208は、異常輝度領域とみなす基準の輝度を示す絶対基準値データを格納する。絶対基準値は、輝度の絶対的な値である。演算部204は、バッファメモリ202に格納された全てのセルの輝度データを抽出し、全てのセルについて輝度平均を算出し、輝度平均よりも所定の値だけ大きい相対基準値を得る。演算部204はまた、絶対基準値記憶部208から絶対基準値データを抽出し、絶対基準値及び相対基準値に基づいて異常輝度とみなすしきい値を決定する。例えば、絶対基準値が相対基準値よりも低い場合は、絶対基準値をしきい値とし、相対基準値が絶対基準値よりも低い場合は、相対基準値をしきい値としてもよい。演算部204は、しきい値を示すしきい値データを高輝度セル検出部212に送る。   The absolute reference value storage unit 208 stores absolute reference value data indicating a reference luminance that is regarded as an abnormal luminance region. The absolute reference value is an absolute value of luminance. The arithmetic unit 204 extracts the luminance data of all the cells stored in the buffer memory 202, calculates the luminance average for all the cells, and obtains a relative reference value that is larger than the luminance average by a predetermined value. The arithmetic unit 204 also extracts absolute reference value data from the absolute reference value storage unit 208 and determines a threshold value that is regarded as abnormal luminance based on the absolute reference value and the relative reference value. For example, when the absolute reference value is lower than the relative reference value, the absolute reference value may be the threshold value, and when the relative reference value is lower than the absolute reference value, the relative reference value may be the threshold value. The calculation unit 204 sends threshold value data indicating a threshold value to the high luminance cell detection unit 212.

このように、絶対基準値に加えて画像全体の平均輝度に基づいた相対基準値を考慮してしきい値を決定する。従って、画像全体の輝度が低いあるいは高い傾向にあるような画像に対しても、画像全体に最適な露出値を決定することができる。   In this way, the threshold value is determined in consideration of the relative reference value based on the average luminance of the entire image in addition to the absolute reference value. Therefore, the optimum exposure value for the entire image can be determined even for an image whose luminance tends to be low or high.

異常輝度領域検出部210は、例えば光源のように局所的に輝度が高い異常輝度領域を検出する。異常輝度領域検出部210は、異常輝度領域候補検出部214及び異常輝度領域選択部216を含む。   The abnormal luminance area detection unit 210 detects an abnormal luminance area having a locally high luminance such as a light source. The abnormal luminance region detection unit 210 includes an abnormal luminance region candidate detection unit 214 and an abnormal luminance region selection unit 216.

異常輝度領域候補検出部214は、バッファメモリ202に格納された全ての輝度データを抽出し、演算部204からしきい値データを受け取る。異常輝度領域候補検出部214は、しきい値よりも高い輝度を示す高輝度セルを検出し、検出した高輝度セルの輝度データに対応付けられた位置データをバッファメモリ202から高輝度位置データとして抽出する。異常輝度領域候補検出部214は、画像においてセルの位置が連続する複数の高輝度位置データを検出する。異常輝度領域候補検出部214は、これらの高輝度位置データが占める領域を異常輝度領域候補とする。連続して配置されるセルに対する高輝度位置データが存在しない高輝度位置データは、高輝度位置データ自体が示す領域すなわちその高輝度位置データが示す1個のセルが占める領域を異常輝度領域候補とする。異常輝度領域候補検出部214は、異常輝度領域候補に含まれるセルの数及び各セルの位置を示す異常輝度領域候補データを異常輝度領域選択部216に送る。このように、所定の輝度異常のセルを検出するので、異常輝度領域のみを忠実に切り出すことができる。   The abnormal luminance region candidate detection unit 214 extracts all luminance data stored in the buffer memory 202 and receives threshold data from the calculation unit 204. The abnormal brightness area candidate detection unit 214 detects a high brightness cell that exhibits brightness higher than the threshold value, and uses the position data associated with the brightness data of the detected high brightness cell as high brightness position data from the buffer memory 202. Extract. The abnormal luminance region candidate detection unit 214 detects a plurality of high luminance position data in which the cell positions are continuous in the image. The abnormal luminance region candidate detection unit 214 sets the region occupied by these high luminance position data as the abnormal luminance region candidate. The high-luminance position data for which the high-luminance position data does not exist with respect to the continuously arranged cells is an abnormal luminance region candidate in the area indicated by the high-luminance position data itself, that is, the area occupied by one cell indicated by the high-luminance position data. To do. The abnormal luminance region candidate detection unit 214 sends abnormal luminance region candidate data indicating the number of cells included in the abnormal luminance region candidate and the position of each cell to the abnormal luminance region selection unit 216. In this manner, since a cell having a predetermined luminance abnormality is detected, it is possible to faithfully cut out only the abnormal luminance region.

異常輝度領域選択部216は、異常輝度領域候補データを受け取る。異常輝度領域選択部216は、最大セル数4を予め格納する。異常輝度領域選択部216は、異常輝度領域候補データから4つ以下のセルを有する異常輝度領域候補を異常輝度領域として選択する。異常輝度領域選択部216は、選択した異常輝度領域に含まれるセルの位置を示す異常輝度領域位置データを重み付与部224へ送る。このように、比較的小さなセルの輝度を測定し、所定のセル数以下の領域を異常輝度領域とするので、高輝度が支配的となっている領域と局所的に輝度の高い異常輝度領域とを区別することができる。   The abnormal luminance region selection unit 216 receives abnormal luminance region candidate data. The abnormal luminance region selection unit 216 stores the maximum number of cells 4 in advance. The abnormal luminance region selection unit 216 selects an abnormal luminance region candidate having four or less cells from the abnormal luminance region candidate data as an abnormal luminance region. The abnormal luminance region selection unit 216 sends abnormal luminance region position data indicating the positions of the cells included in the selected abnormal luminance region to the weighting unit 224. In this way, the brightness of relatively small cells is measured, and the area having a predetermined number of cells or less is defined as an abnormal brightness area. Therefore, an area where high brightness is dominant and an abnormal brightness area where brightness is locally high Can be distinguished.

各セルに対して、重みの基準となる重み基準値が与えられ、重み記憶部222は、重み基準値を示す重み基準値データを各セルの位置データと対応付けて格納する。重み基準値の大きさは、画像におけるセルの位置に依存する。   A weight reference value serving as a weight reference is given to each cell, and the weight storage unit 222 stores weight reference value data indicating the weight reference value in association with the position data of each cell. The size of the weight reference value depends on the position of the cell in the image.

重み付与部224は、重み記憶部222に格納された重み基準値データを抽出し、異常輝度領域選択部216から異常輝度領域位置データを受け取る。重み付与部224は、重み基準値を各セルにおいて測定された輝度に加重すべき重みに変更する。すなわち、各セルについて(式1)の演算を行って重みWiを算出する。

Figure 2009003456
The weighting unit 224 extracts the weight reference value data stored in the weight storage unit 222 and receives abnormal luminance region position data from the abnormal luminance region selection unit 216. The weight assigning unit 224 changes the weight reference value to a weight to be weighted to the luminance measured in each cell. That is, the weight Wi is calculated by performing the calculation of (Equation 1) for each cell.
Figure 2009003456

(式1)中のwは、各セルiに予め設定されている重み、ALは各セルiの重み軽減係数である。セルiが異常輝度領域に含まれない場合は、ALに1が代入される。セルiが異常輝度領域に含まれる場合は、画像の周辺部のセルに対して与えられた重みの値よりも大きく、かつ画像の中心部のセルに対して与えられた重みの値よりも小さい数がALに代入される。例えばALに3が代入されてもよい。 In Equation 1, w i is a weight set in advance for each cell i, and AL i is a weight reduction coefficient for each cell i. When cell i is not included in the abnormal luminance region, 1 is assigned to AL i . When the cell i is included in the abnormal luminance region, the weight value is larger than the weight value given to the peripheral cell of the image and smaller than the weight value given to the central cell of the image. The number is assigned to AL i . For example, 3 may be substituted for AL i .

(式1)によって、算出されたWiが1未満の場合、セルiの重みを0に変更し、Wiが1以上の場合、セルiの重みをWiに変更する。従って、異常輝度領域に含まれるセルがALよりも大きな重み基準値が与えられたセルである場合、輝度に加重される重みを小さくし、異常輝度領域に含まれるセルがALよりも小さな重み基準値が与えられたセルである場合、このセルの輝度を露出値の算出から除外することができる。重み付与部224はまた、全てのセルの変更後の重み及び重みに対応するセルの位置を示す重みデータを積和回路206へ送る。 According to (Expression 1), when the calculated Wi is less than 1, the weight of the cell i is changed to 0, and when Wi is 1 or more, the weight of the cell i is changed to Wi. Therefore, when a cell included in the abnormal luminance region is a cell to which a weight reference value larger than AL i is given, the weight weighted to the luminance is reduced, and the cell included in the abnormal luminance region is smaller than AL i. If the cell is given a weight reference value, the brightness of this cell can be excluded from the calculation of the exposure value. The weight assigning unit 224 also sends weight data indicating the changed weights of all the cells and the cell positions corresponding to the weights to the product-sum circuit 206.

積和回路206は、バッファメモリ202から全てのセルの輝度データを抽出する。積和回路206はまた、重み付与部224から重みデータを受け取る。積和回路206は、輝度を加算して撮像ユニット20がこの画像を撮影するときの最適な露出値を決定する。このとき各セルの輝度に、それぞれのセルに与えられた重みを乗じる。すなわち、各セル毎の輝度に重みを乗じ、加重された輝度の全セルの積分を算出する。積和回路206は、算出された値を露出条件決定部226へ送る。露出条件決定部226は、受けとった値に基づいて、撮像ユニット20が撮影するときの絞り値及びシャッタースピード等の露出条件を決定する。   The product-sum circuit 206 extracts luminance data of all cells from the buffer memory 202. The product-sum circuit 206 also receives weight data from the weighting unit 224. The product-sum circuit 206 adds luminance and determines an optimum exposure value when the imaging unit 20 captures this image. At this time, the luminance of each cell is multiplied by the weight given to each cell. That is, the luminance of each cell is multiplied by a weight, and the integral of all cells with the weighted luminance is calculated. The product-sum circuit 206 sends the calculated value to the exposure condition determination unit 226. The exposure condition determination unit 226 determines exposure conditions such as an aperture value and a shutter speed when the imaging unit 20 captures images based on the received values.

重み付与部224及び積和回路206で行う演算は、(式2)で表される。(式2)中のEVは露出値、evは、各セルiの輝度を示す。このように、各セル毎に予め与えられた重み基準値をALで除算して重みの値を変更し、全セルに対して変更後の重みと測定値との積和を算出する。従って、異常輝度領域を考慮して画像に最適な露出値を算出することができる。

Figure 2009003456
The calculation performed by the weighting unit 224 and the product-sum circuit 206 is expressed by (Expression 2). In (Expression 2), EV represents an exposure value, and ev i represents the luminance of each cell i. In this way, the weight reference value given in advance for each cell is divided by AL i to change the weight value, and the product sum of the changed weight and the measured value is calculated for all cells. Accordingly, it is possible to calculate an optimum exposure value for the image in consideration of the abnormal luminance region.
Figure 2009003456

図3は、規則的に配置された四角形のセルに分割された画像300を示す。この場合、1つのセル302の境界上の任意の点が接するセルの個数は、セルの頂点位置において最大となり、最大セル数は4個である。従って、この場合、異常輝度領域選択部216(図2)は、最大セル数4を予め格納する。異常輝度領域選択部216はまた、4個以下のセルからなる異常輝度領域候補を選択して、異常輝度領域とする。   FIG. 3 shows an image 300 divided into regularly arranged rectangular cells. In this case, the number of cells that an arbitrary point on the boundary of one cell 302 contacts is maximum at the vertex position of the cell, and the maximum number of cells is four. Therefore, in this case, the abnormal luminance region selection unit 216 (FIG. 2) stores the maximum number of cells 4 in advance. The abnormal luminance area selection unit 216 also selects an abnormal luminance area candidate including four or less cells as an abnormal luminance area.

画像300を構成する64個のセルにはそれぞれ重み基準値が与えられている。中心点320に近いセルほど、大きな重み基準値が与えられている。画像300の端から順に、第1領域310の各セルに対して重み基準値1、第2領域312の各セルに対して重み基準値2、第3領域314の各セルに対して重み基準値4、及び第4領域316の各セルに対して重み基準値5が与えられている。従って、中心点320に近い領域の輝度ほど露出値の算出に大きく寄与する。主要被写体は、比較的中心部に配置されることが多いので、このように中心点320に近い領域の輝度が露出値に大きく寄与するように設定しておくことで、主要被写体に最適な露出値を決定することができる。   A weight reference value is given to each of the 64 cells constituting the image 300. A cell closer to the center point 320 is given a larger weight reference value. In order from the end of the image 300, the weight reference value 1 for each cell in the first area 310, the weight reference value 2 for each cell in the second area 312 and the weight reference value for each cell in the third area 314 A weight reference value of 5 is given to each cell in the fourth and fourth regions 316. Therefore, the luminance in the region near the center point 320 greatly contributes to the calculation of the exposure value. Since the main subject is often placed in the center, the optimal exposure for the main subject is set by setting the luminance in the region near the center point 320 to greatly contribute to the exposure value. The value can be determined.

また、重み付与部224(図2)は、異常輝度領域に対するALとして3を格納しているので、周辺部306に存在する異常輝度領域内のセル302のWは、1未満の値となり、中心部304に存在する異常輝度領域内のセル302のWは、1以上の値となる。すなわち、中心部304に存在する異常輝度領域内のセル302に対しては、重みを軽くし、周辺部306に存在する異常輝度領域内のセル302に対しては、重みを零にすることができる。各セルに与える重み基準値及び重み付与部224が異常輝度領域に対するALとして与える数は任意に設定することができる。 The weight applying unit 224 (FIG. 2), since stores 3 as AL i to an abnormal luminance area, W i of the cell 302 of the abnormal luminance part present in the peripheral portion 306 has a value of less than 1 , W i of the cell 302 of the abnormal luminance part present in the center portion 304 is a value of 1 or more. That is, the weight can be reduced for the cells 302 in the abnormal luminance region existing in the central portion 304, and the weight can be made zero for the cells 302 in the abnormal luminance region existing in the peripheral portion 306. it can. The weight reference value given to each cell and the number given as AL i for the abnormal luminance region by the weight assigning unit 224 can be arbitrarily set.

図4は、撮影レンズ22によって結像された画像300を示す。このように、周辺部306に光源が存在する場合、画像300全体の輝度平均は異常輝度領域330によって大きくなる。従って、輝度平均に基づいて露出値を算出した場合、主要被写体である人物の領域に対しては小さ過ぎる露出値が算出される。しかし、本実施の形態によれば、周辺部306に位置する異常輝度領域330に含まれるセルの輝度は、露出値の算出にあたって除外されるので、人物に最適な露出値で撮影することができる。すなわち、比較的主要被写体が配置されることの多い中心部304の露出が必要以上に小さくなるのを防ぐことができる。   FIG. 4 shows an image 300 formed by the photographing lens 22. As described above, when a light source exists in the peripheral portion 306, the average luminance of the entire image 300 is increased by the abnormal luminance region 330. Therefore, when the exposure value is calculated based on the luminance average, an exposure value that is too small for the area of the person who is the main subject is calculated. However, according to the present embodiment, the luminance of the cell included in the abnormal luminance region 330 located in the peripheral portion 306 is excluded when calculating the exposure value, so that it is possible to photograph with the optimal exposure value for the person. . In other words, it is possible to prevent the exposure of the central portion 304 where the main subject is relatively disposed from becoming unnecessarily small.

また、中心部304に存在する異常輝度領域330中のセルの輝度は重みが小さくなるが、除外されることはない。従って、例えば、人物に直接光が当たっている場合のように主要被写体が異常輝度領域330を含む場合でも、主要被写体に最適な露出値を算出することができる。   Further, although the weight of the cell in the abnormal luminance region 330 existing in the central portion 304 is reduced in weight, it is not excluded. Therefore, for example, even when the main subject includes the abnormal luminance region 330 as in the case where the person is directly exposed to light, the optimum exposure value for the main subject can be calculated.

図5は、画像を撮影するときのデジタルカメラ10の動作を示すフローチャートである。撮影が開始すると、撮影レンズ22は、画像300を結像する(S100)。次に、測光センサ54は、画像を64個のセルに分割し、セル毎の輝度を測定する(S102)。次に、異常輝度領域検出部210は、異常輝度領域を検出する(S104)。次に、重み付与部224は、重み基準値データ及び異常輝度領域位置データに基づいて、重み基準値から各セルの輝度に加重すべき重みを算出する(S106)。次に、重み付与部224は、測定された各セル毎の輝度に対して、各セルに対して算出された重みを乗じる。次に、露出値決定部226は、加重された各セルの輝度を全てのセルについて積分し、露出値を算出する。次に、露出条件決定部226は、この画像に対する露出条件を決定する(S108)。次に、決定された露出条件で画像300を撮影する(S110)。以上で、画像の撮影が終了する。このように、撮影毎に輝度を調整するので、各画像に最適な露出値で画像を撮影することができる。   FIG. 5 is a flowchart showing the operation of the digital camera 10 when taking an image. When shooting starts, the shooting lens 22 forms an image 300 (S100). Next, the photometric sensor 54 divides the image into 64 cells and measures the luminance for each cell (S102). Next, the abnormal luminance region detection unit 210 detects an abnormal luminance region (S104). Next, the weight assigning unit 224 calculates a weight to be weighted to the luminance of each cell from the weight reference value based on the weight reference value data and the abnormal luminance region position data (S106). Next, the weighting unit 224 multiplies the measured luminance for each cell by the weight calculated for each cell. Next, the exposure value determination unit 226 integrates the weighted luminance of each cell for all the cells to calculate an exposure value. Next, the exposure condition determination unit 226 determines an exposure condition for this image (S108). Next, the image 300 is photographed under the determined exposure conditions (S110). This completes the image shooting. In this way, since the brightness is adjusted for each shooting, an image can be shot with an optimal exposure value for each image.

図6は、図5の異常輝度領域検出段階(S104)における露出値決定部200の詳細な動作を示すフローチャートである。演算部204は、バッファメモリ202に格納された輝度データから画像300に含まれる全てのセル302の平均輝度を算出する(S200)。次に、演算部204は、絶対基準値及び相対基準値に基づいて異常輝度領域とみなすしきい値を決定する(S202)。次に、異常輝度領域候補検出部214は、しきい値よりも高い輝度を示す高輝度セルを検出し、このセルに対応する位置データを高輝度位置データとしてバッファメモリ202から抽出する。次に、連続して配置された高輝度セルを検出し、この高輝度セルが占める領域を異常輝度領域候補とする。また、連続して配置されたセルが存在しないセルは、そのセル自体すなわちセル1個を異常輝度領域候補とする(S204)。次に、異常輝度領域選択部216は、異常輝度領域候補検出部214から受け取った異常輝度領域候補のうち、その領域が占めるセル数が4以下の異常輝度領域候補を異常輝度領域として選択する(S206)。   FIG. 6 is a flowchart showing a detailed operation of the exposure value determination unit 200 in the abnormal luminance region detection step (S104) of FIG. The calculation unit 204 calculates the average luminance of all the cells 302 included in the image 300 from the luminance data stored in the buffer memory 202 (S200). Next, the calculation unit 204 determines a threshold value to be regarded as an abnormal luminance region based on the absolute reference value and the relative reference value (S202). Next, the abnormal brightness area candidate detection unit 214 detects a high brightness cell having brightness higher than the threshold value, and extracts position data corresponding to the cell from the buffer memory 202 as high brightness position data. Next, consecutively arranged high luminance cells are detected, and an area occupied by the high luminance cells is set as an abnormal luminance area candidate. In addition, for a cell in which there are no continuously arranged cells, the cell itself, that is, one cell is set as an abnormal luminance region candidate (S204). Next, the abnormal luminance region selection unit 216 selects, as the abnormal luminance region, an abnormal luminance region candidate having four or less cells occupied by the region from among the abnormal luminance region candidates received from the abnormal luminance region candidate detection unit 214 ( S206).

このように、異常輝度領域の面積が予め定められているので、所定の面積以上の領域が高輝度な場合は、高輝度が支配的な画像と認識し、高輝度な領域が所定の面積以下の場合は、異常輝度領域と認識できる。すなわち、同じ輝度を示すセルについて、高輝度が支配的な領域であるか、異常輝度領域であるかを判断することができる。従って、露出値算出にあたって、高輝度が支配的な領域に対しては、全体の輝度を下げ、異常輝度領域に対しては、異常輝度領域の輝度が全体の輝度に影響を与えないよう、異常輝度領域の輝度の寄与を小さくすることができる。   In this way, since the area of the abnormal luminance region is determined in advance, when a region of a predetermined area or more is high luminance, it is recognized as an image in which high luminance is dominant, and the high luminance region is below the predetermined area. In this case, it can be recognized as an abnormal luminance region. That is, it is possible to determine whether high luminance is a dominant region or an abnormal luminance region for cells having the same luminance. Therefore, when calculating the exposure value, reduce the overall brightness for areas where high brightness is dominant, and for abnormal brightness areas, make sure that the brightness of the abnormal brightness area does not affect the overall brightness. The luminance contribution in the luminance region can be reduced.

図7は、デジタルカメラ10の測光センサ54が測光するセルの他の形状を示す。画像300は、三角形セル340に分割される。この場合、三角形セル340の境界上の任意の点が接する三角形セル340の最大個数は、6個である。従って、異常輝度領域選択部216は最大セル数6を記憶し、異常輝度領域候補検出部214から受け取った異常輝度領域候補からセルの数が6以下の異常輝度領域候補を異常輝度領域として選択する。   FIG. 7 shows another shape of the cell that is measured by the photometric sensor 54 of the digital camera 10. Image 300 is divided into triangular cells 340. In this case, the maximum number of triangular cells 340 that an arbitrary point on the boundary of the triangular cell 340 contacts is six. Therefore, the abnormal luminance area selection unit 216 stores the maximum number of cells 6 and selects an abnormal luminance area candidate having six or less cells as the abnormal luminance area from the abnormal luminance area candidates received from the abnormal luminance area candidate detection unit 214. .

図8は、デジタルカメラ10の測光センサ54が測光するセルのさらに他の形状を示す。画像300は、六角形セル342に分割される。この場合、六角形セル342の境界上の任意の点が接する六角形セル342の最大個数は、3個である。従って、異常輝度領域選択部216は、最大セル数3を記憶し、異常輝度領域候補検出部214から受け取った異常輝度領域候補からセルの数が3以下の異常輝度領域候補を異常輝度領域として選択する。   FIG. 8 shows still another shape of the cell that is measured by the photometric sensor 54 of the digital camera 10. Image 300 is divided into hexagonal cells 342. In this case, the maximum number of hexagonal cells 342 that an arbitrary point on the boundary of the hexagonal cells 342 contacts is three. Therefore, the abnormal luminance region selection unit 216 stores the maximum number of cells 3 and selects an abnormal luminance region candidate having three or less cells as the abnormal luminance region from the abnormal luminance region candidates received from the abnormal luminance region candidate detection unit 214. To do.

他の実施に形態としては、異常輝度領域候補検出部214は、高輝度セルを検出し、この高輝度セルに隣接するセルの輝度データに基づいて、輝度が不連続となる点を検出してもよい。この場合、輝度が不連続となる点を異常輝度領域候補の境界とする。異常輝度領域候補検出部214はまた、境界を含むセルまでのセル数を異常輝度領域候補に含まれるセル数として設定する。異常輝度領域候補検出部214は、異常輝度領域に含まれるセル数とその位置を示す異常輝度領域候補データを異常輝度領域選択部216に送る。本実施形態おいても、異常領域を忠実に検出することができる。   In another embodiment, the abnormal luminance region candidate detection unit 214 detects a high luminance cell, detects a point where the luminance becomes discontinuous based on luminance data of a cell adjacent to the high luminance cell. Also good. In this case, the point where the luminance is discontinuous is set as the boundary of the abnormal luminance region candidate. The abnormal luminance region candidate detection unit 214 also sets the number of cells up to the cell including the boundary as the number of cells included in the abnormal luminance region candidate. The abnormal luminance region candidate detection unit 214 sends abnormal luminance region candidate data indicating the number of cells included in the abnormal luminance region and the position thereof to the abnormal luminance region selection unit 216. Also in this embodiment, it is possible to detect an abnormal region faithfully.

上記第1実施形態においては、デジタルカメラ10の例を用いて本発明を説明した。しかしながら、本発明は、動画を撮影するビデオカメラに用いることもできる。ビデオカメラの全体の構成は第1実施形態において説明したデジタルカメラ10の全体の構成とほぼ同様であるので説明を省略する。但し、ビデオカメラの場合は、図1のオプション装置76がビデオテープであってもよい。ビデオカメラの他の構成及び動作は、図1から図6を用いて説明した第1実施形態におけるデジタルカメラ10の構成及び動作とほぼ同様であるので説明を省略する。   In the first embodiment, the present invention has been described using the example of the digital camera 10. However, the present invention can also be used in a video camera that captures moving images. Since the overall configuration of the video camera is substantially the same as the overall configuration of the digital camera 10 described in the first embodiment, description thereof is omitted. However, in the case of a video camera, the option device 76 in FIG. 1 may be a video tape. The other configuration and operation of the video camera are substantially the same as the configuration and operation of the digital camera 10 according to the first embodiment described with reference to FIGS.

以上、実施の形態を説明したが、本発明の技術的な範囲はこれらの記載には限定されない。これらの実施の形態に多様な変更または改良を加うることは当業者には理解されるところである。   Although the embodiments have been described above, the technical scope of the present invention is not limited to these descriptions. It will be understood by those skilled in the art that various modifications or improvements can be added to these embodiments.

そうした第1の変更例としては、本実施の形態においては、撮像装置は、デジタルカメラ10及びビデオカメラであったが、スチルカメラであってもよく、静止画及び動画の両方を撮影可能なデジタルカメラであってもよい。いずれの場合も、露出値決定部200が搭載され、露出値決定部200によって露出値が算出される。   As such a first modification, in the present embodiment, the imaging apparatus is the digital camera 10 and the video camera, but may be a still camera, and is a digital that can capture both still images and moving images. It may be a camera. In either case, the exposure value determining unit 200 is mounted, and the exposure value is calculated by the exposure value determining unit 200.

第2の変更例としては、本実施の形態においては、測光センサ54によって各セルの輝度を測定したが、測光センサのかわりに、CCD30が蓄積する電荷量を各セル毎に積分し、積分の結果得られた値を利用して各セルの輝度を算出してもよい。   As a second modification, in the present embodiment, the luminance of each cell is measured by the photometric sensor 54. Instead of the photometric sensor, the charge amount accumulated in the CCD 30 is integrated for each cell, The luminance of each cell may be calculated using the value obtained as a result.

第3の変更例としては、本実施の形態においては、画像を所定の面積のセルに分割したが、セルは、CCDが有する1素子でもよい。   As a third modification, in this embodiment, the image is divided into cells having a predetermined area, but the cells may be one element of the CCD.

第4の変更例としては、本実施の形態においては、重み付与部224は、重み記憶部222から全てのデータを抽出して重みを変更する演算を行ったが、重み付与部224は、異常輝度領域に含まれるセルについてのみ重みを変更し、それ以外の重みデータはそのまま積和回路206へ送ってもよい。   As a fourth modification example, in this embodiment, the weight assigning unit 224 performs an operation of extracting all data from the weight storage unit 222 and changing the weight, but the weight assigning unit 224 The weights may be changed only for the cells included in the luminance region, and other weight data may be sent to the product-sum circuit 206 as it is.

第5の変更例としては、本実施の形態においては、異常輝度領域の最大セル数は、セルの境界上の任意の点が接するセルの最大数であったが、最大セル数は、これよりも大きい数に設定されてもよい。   As a fifth modified example, in the present embodiment, the maximum number of cells in the abnormal luminance region is the maximum number of cells that are in contact with any point on the cell boundary, but the maximum number of cells is May be set to a large number.

第6の変更例としては、本実施の形態においては、測光センサ54は、マトリクス状に配置された同じ大きさのセル毎の輝度を測定したが、セルの大きさは統一されていなくてもよい。例えば、中心部304のセルよりも周辺部306のセルが大きくてもよい。   As a sixth modification, in the present embodiment, the photometric sensor 54 measures the luminance for each cell of the same size arranged in a matrix, but the cell size may not be unified. Good. For example, the cells in the peripheral part 306 may be larger than the cells in the central part 304.

第7の変更例としては、本実施の形態においては、異常輝度領域候補検出部214は、所定の面積以下の領域を異常輝度領域に決定したが、異常輝度領域候補検出部214は、所定の面積として画像の中心部304及び周辺部306に位置する異常輝度領域に対して異なる面積を格納してもよい。   As a seventh modification, in the present embodiment, the abnormal luminance region candidate detection unit 214 determines a region having a predetermined area or less as the abnormal luminance region, but the abnormal luminance region candidate detection unit 214 has a predetermined Different areas may be stored for the abnormal luminance regions located in the central part 304 and the peripheral part 306 of the image.

第8の変更例としては、本実施の形態の異常輝度領域検出部210は、画像300に含まれる全てのセル302から異常輝度領域330を検出したが、異常輝度領域検出部210は、画像300の周辺部306のみから異常輝度領域330を検出してもよい。   As an eighth modification example, the abnormal luminance region detection unit 210 according to the present embodiment detects the abnormal luminance region 330 from all the cells 302 included in the image 300. Alternatively, the abnormal luminance region 330 may be detected only from the peripheral portion 306.

第9の変更例としては、本実施の形態においては、中心点320に近い領域ほど重みを高く設定したが、主要被写体が配置される可能性の高い領域の重みが高くなればよく、重みの設定については、これに限定されるものではない。例えば、重み付与部224及び積和回路206における露出値を決定する演算において、中心部304に異常輝度領域330が位置する場合、異常輝度領域330に含まれるセルの輝度を除外してもよく、また例えば、周辺部306に異常輝度領域330が位置する場合、異常輝度領域330に含まれるセルの輝度を加味してもよい。また、画像中のセルの数と配置、重みの値、及びALの値についても本実施の形態に限定されるものではなく、これらの設定には、相当の自由度がある。 As a ninth modification example, in the present embodiment, the weight is set higher in the region closer to the center point 320, but the weight of the region where the main subject is likely to be arranged only needs to be higher. The setting is not limited to this. For example, in the calculation for determining the exposure value in the weighting unit 224 and the product-sum circuit 206, when the abnormal luminance region 330 is located in the central portion 304, the luminance of the cells included in the abnormal luminance region 330 may be excluded. For example, when the abnormal luminance region 330 is located in the peripheral portion 306, the luminance of the cells included in the abnormal luminance region 330 may be taken into account. Further, the number and arrangement of cells in the image, the value of weight, and the value of AL i are not limited to the present embodiment, and these settings have a considerable degree of freedom.

上記説明から明らかなように、本発明によれば輝度レベルに基づいて露出値を決定することができる。   As is apparent from the above description, according to the present invention, the exposure value can be determined based on the luminance level.

デジタルカメラ10の全体構成図である。1 is an overall configuration diagram of a digital camera 10. FIG. 露出値決定部200の機能を示す機能ブロック図である。4 is a functional block diagram illustrating functions of an exposure value determining unit 200. FIG. 規則的に配置されたセルに分割された画像300を示す図である。It is a figure which shows the image 300 divided | segmented into the cell arrange | positioned regularly. 撮影レンズ22によって結像された画像300を示す図である。It is a figure which shows the image 300 imaged by the imaging lens. 画像300を撮影するときのデジタルカメラ10の動作を示すフローチャートである。4 is a flowchart illustrating an operation of the digital camera 10 when an image 300 is captured. 図5のS104における露出値決定部200の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the exposure value determination part 200 in S104 of FIG. デジタルカメラ10の測光センサ54が測光するセルの他の形状を示す図である。It is a figure which shows the other shape of the cell which the photometry sensor 54 of the digital camera 10 measures. デジタルカメラ10の測光センサ54が測光するセルのさらに他の形状を示す図である。It is a figure which shows other shape of the cell which the photometry sensor 54 of the digital camera 10 measures.

符号の説明Explanation of symbols

10…デジタルカメラ 20…撮像ユニット 22…撮影レンズ 24…絞り 26…シャッタ 28…光学LPF 30…CCD 32…撮像信号処理部 34…ファインダ 36…ストロボ 36a…放電管 40…撮像制御ユニット 42…ズーム駆動部 44…フォーカス駆動部 46…絞り駆動部 48…シャッタ駆動部 50…撮像系CPU 52…測距センサ 54…測光センサ 60…処理ユニット 62…メインCPU 64…メモリ制御部 66…不揮発性メモリ 68…メインメモリ 70…YC処理部 72…エンコーダ 74…オプション装置制御部 76…オプション装置 78…圧縮伸張処理部 80…通信I/F部 82…メインバス 84…キャラクタ生成部 86…タイマ 88…クロック発生器 90…ビデオ出力端子 92…コネクタ 100…表示ユニット 110…操作ユニット 200…露出値決定部 202…バッファメモリ 204…演算部 206…積和回路 208…絶対基準値記憶部 210…異常輝度領域検出部 214…異常輝度領域候補検出部 216…異常輝度領域選択部 218…最大セル数記憶部 222…重み記憶部 224…重み付与部 226…露出条件決定部 300…画像 302…セル 304…中心部 306…周辺部 310…第1領域 312…第2領域 314…第3領域 316…第4領域 320…中心点 DESCRIPTION OF SYMBOLS 10 ... Digital camera 20 ... Imaging unit 22 ... Shooting lens 24 ... Aperture 26 ... Shutter 28 ... Optical LPF 30 ... CCD 32 ... Imaging signal processing part 34 ... Finder 36 ... Strobe 36a ... Discharge tube 40 ... Imaging control unit 42 ... Zoom drive Unit 44: Focus drive unit 46 ... Aperture drive unit 48 ... Shutter drive unit 50 ... Imaging system CPU 52 ... Distance measuring sensor 54 ... Photometric sensor 60 ... Processing unit 62 ... Main CPU 64 ... Memory control unit 66 ... Non-volatile memory 68 ... Main memory 70 ... YC processing unit 72 ... Encoder 74 ... Optional device control unit 76 ... Optional device 78 ... Compression / decompression processing unit 80 ... Communication I / F unit 82 ... Main bus 84 ... Character generation unit 86 ... Timer 8 DESCRIPTION OF SYMBOLS ... Clock generator 90 ... Video output terminal 92 ... Connector 100 ... Display unit 110 ... Operation unit 200 ... Exposure value determination part 202 ... Buffer memory 204 ... Calculation part 206 ... Sum-of-products circuit 208 ... Absolute reference value memory | storage part 210 ... Abnormal brightness Area detection unit 214 ... abnormal luminance region candidate detection unit 216 ... abnormal luminance region selection unit 218 ... maximum cell number storage unit 222 ... weight storage unit 224 ... weight assignment unit 226 ... exposure condition determination unit 300 ... image 302 ... cell 304 ... center Part 306 ... Peripheral part 310 ... First area 312 ... Second area 314 ... Third area 316 ... Fourth area 320 ... Center point

Claims (7)

画像を撮像する撮像ユニットと、
前記画像を複数のセルに分割し、前記セル毎の輝度を測定する測光部と、
前記画像から局所的に輝度が高い異常輝度領域を検出する異常輝度領域検出部と、
前記セルの位置に対応した重みを予め格納している重み記憶部と、
前記セルが前記異常輝度領域に含まれる場合、当該セルに対応した重みをより小さい重みに変更する重み付与部と、
前記測光部が測定した前記セル毎の輝度に、前記重み記憶部が格納している重みまたは前記重み付与部が変更した重みを乗じて加算し、画像を撮影するときの露出値を算出する加算回路と
を備える撮像装置。
An imaging unit for capturing an image;
A photometric unit that divides the image into a plurality of cells and measures the luminance of each cell;
An abnormal luminance region detecting unit for detecting an abnormal luminance region having high local luminance from the image;
A weight storage unit that stores in advance a weight corresponding to the position of the cell;
When the cell is included in the abnormal luminance region, a weighting unit that changes the weight corresponding to the cell to a smaller weight;
Multiplying the luminance measured by the photometry unit by the weight stored in the weight storage unit or the weight changed by the weighting unit, and adding the calculated value to take an image An imaging device comprising a circuit.
前記異常輝度領域検出部は、
前記画像のうちで所定の輝度以上のセルが占める領域を異常輝度領域候補として検出する異常輝度領域候補検出部と、
前記異常輝度領域候補に含まれる前記セルの数が所定のセル数以下の場合に、当該異常輝度領域候補を前記異常輝度領域として選択する異常輝度領域選択部と
を有する請求項1に記載の撮像装置。
The abnormal luminance region detection unit is
An abnormal luminance region candidate detection unit that detects, as an abnormal luminance region candidate, an area occupied by a cell having a predetermined luminance or higher in the image;
The imaging according to claim 1, further comprising: an abnormal luminance region selection unit that selects the abnormal luminance region candidate as the abnormal luminance region when the number of the cells included in the abnormal luminance region candidate is equal to or less than a predetermined number of cells. apparatus.
前記撮像ユニットは、
被写体の像を結像するレンズ部と、
前記レンズ部が結像した像を受光して電荷を蓄積するCCDと
を有し、
前記測光部は、前記CCDが蓄積する電荷量を前記セル毎に積分して、前記セル毎の輝度を算出する請求項1または2に記載の撮像装置。
The imaging unit is
A lens unit that forms an image of the subject;
A CCD that receives the image formed by the lens unit and accumulates charges;
The imaging device according to claim 1, wherein the photometry unit calculates the luminance for each cell by integrating the charge amount accumulated in the CCD for each cell.
前記重み付与部は、前記セルが前記異常輝度領域に含まれかつ前記画像の周辺部に位置する場合に、重みを零に変更し、前記セルが前記異常輝度領域に含まれかつ前記画像の中心部に位置する場合に、重みを小さくする請求項1乃至3のいずれかに記載の撮像装置。   The weighting unit changes a weight to zero when the cell is included in the abnormal luminance region and located in a peripheral portion of the image, and the cell is included in the abnormal luminance region and the center of the image. The imaging device according to any one of claims 1 to 3, wherein the weight is reduced when the unit is located in a portion. 前記重み付与部は、前記異常輝度領域に含まれる前記セルに対応する重みを所定の数値で除算し、前記除算の結果得られた値に基づいて重みを変更する請求項1乃至4のいずれかに記載の撮像装置。   The weighting unit divides a weight corresponding to the cell included in the abnormal luminance region by a predetermined numerical value, and changes the weight based on a value obtained as a result of the division. The imaging device described in 1. 前記所定の数値は、前記画像の周辺部に位置する前記セルに対応する重みよりも大きく、前記画像の中心部に位置する前記セルに対応する重みよりも小さい数であり、
前記重み付与部は、前記除算の結果が1未満である場合に、重みを零に変更し、前記除算の結果が1以上である場合に、重みを前記除算の結果得られた値に変更する請求項5に記載の撮像装置。
The predetermined numerical value is a number that is larger than a weight corresponding to the cell located in a peripheral part of the image and smaller than a weight corresponding to the cell located in a central part of the image;
The weighting unit changes the weight to zero when the result of the division is less than 1, and changes the weight to a value obtained as a result of the division when the result of the division is 1 or more. The imaging device according to claim 5.
画像を撮像する撮像段階と、
前記画像を複数のセルに分割し、前記セル毎の輝度を測定する測光段階と、
前記画像から局所的に輝度が高い異常輝度領域を検出する異常輝度領域検出段階と、
前記セルが前記異常輝度領域に含まれる場合、重み記憶部が予め記憶している当該セルの位置に対応した重みをより小さい重みに変更する重み付与段階と、
前記測光段階において測定された前記セル毎の輝度に、前記重み記憶部が前記セルの位置に対応させて格納している重みまたは前記重み付与段階において変更された重みを乗じて加算し、画像を撮影するときの露出値を算出する加算段階と
を備える露出制御方法。
An imaging stage for capturing an image;
A photometric step of dividing the image into a plurality of cells and measuring the brightness of each cell;
An abnormal luminance region detection step of detecting an abnormal luminance region having high local brightness from the image;
When the cell is included in the abnormal luminance region, a weighting step of changing the weight corresponding to the position of the cell stored in advance by the weight storage unit to a smaller weight,
Multiplying the luminance for each cell measured in the photometry step by the weight stored in correspondence with the position of the cell by the weight storage unit or the weight changed in the weighting step, and adding the image. An exposure control method comprising: an addition stage for calculating an exposure value when shooting.
JP2008172300A 2008-07-01 2008-07-01 Imaging apparatus and exposure control method Expired - Lifetime JP4777397B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008172300A JP4777397B2 (en) 2008-07-01 2008-07-01 Imaging apparatus and exposure control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008172300A JP4777397B2 (en) 2008-07-01 2008-07-01 Imaging apparatus and exposure control method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2000017388A Division JP4188531B2 (en) 2000-01-26 2000-01-26 Imaging apparatus and exposure control method

Publications (2)

Publication Number Publication Date
JP2009003456A true JP2009003456A (en) 2009-01-08
JP4777397B2 JP4777397B2 (en) 2011-09-21

Family

ID=40319819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008172300A Expired - Lifetime JP4777397B2 (en) 2008-07-01 2008-07-01 Imaging apparatus and exposure control method

Country Status (1)

Country Link
JP (1) JP4777397B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62198722A (en) * 1986-02-26 1987-09-02 Canon Inc Photometric device
JP2001086396A (en) * 1999-09-16 2001-03-30 Eastman Kodak Japan Ltd Image-pickup device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62198722A (en) * 1986-02-26 1987-09-02 Canon Inc Photometric device
JP2001086396A (en) * 1999-09-16 2001-03-30 Eastman Kodak Japan Ltd Image-pickup device

Also Published As

Publication number Publication date
JP4777397B2 (en) 2011-09-21

Similar Documents

Publication Publication Date Title
US7362370B2 (en) Image capturing apparatus, image capturing method, and computer-readable medium storing program using a distance measure for image correction
JP3914060B2 (en) Focusing device
JP4451583B2 (en) Imaging apparatus, imaging method, and program
JP3806038B2 (en) Image processing system and imaging apparatus
JP4810162B2 (en) Imaging device, control method for solid-state imaging device, and computer program
JP4343468B2 (en) Image processing system, imaging apparatus, image processing apparatus, image processing method, and program
JP4176328B2 (en) Imaging apparatus, image processing apparatus, image processing method, and program
JP4124404B2 (en) Imaging apparatus, image processing apparatus, image processing method, and program
JP2001197347A (en) Information recorder, information obtaining method and digital camera
JP4717226B2 (en) Image playback device, camera, image playback method, and program
JP5316923B2 (en) Imaging apparatus and program thereof
JP2003219217A (en) Imaging apparatus, image pick up method and program
JP4034029B2 (en) Digital camera
JP4188531B2 (en) Imaging apparatus and exposure control method
JP3957147B2 (en) Focusing device
JP2010081430A (en) Imaging apparatus, control method thereof and program
JP4846767B2 (en) Image reproducing apparatus, image reproducing method, and program
JP2003209737A (en) Imaging apparatus
JP4777397B2 (en) Imaging apparatus and exposure control method
JP4087631B2 (en) Imaging apparatus, image processing apparatus, imaging method, image processing method, image processing system, and program
JP2006217249A (en) Electronic camera, electronic camera system and program
JP2003242504A (en) Image processor
JP3921045B2 (en) Imaging device, optical power storage device, and charging method
JP4130338B2 (en) Image processing system, image processing method, imaging apparatus, and image processing apparatus
JP4939480B2 (en) Display device, imaging device, image search device, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110322

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110401

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110629

R150 Certificate of patent or registration of utility model

Ref document number: 4777397

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140708

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term