JP2006208487A - Imaging device and focusing control method of the imaging device - Google Patents

Imaging device and focusing control method of the imaging device Download PDF

Info

Publication number
JP2006208487A
JP2006208487A JP2005017313A JP2005017313A JP2006208487A JP 2006208487 A JP2006208487 A JP 2006208487A JP 2005017313 A JP2005017313 A JP 2005017313A JP 2005017313 A JP2005017313 A JP 2005017313A JP 2006208487 A JP2006208487 A JP 2006208487A
Authority
JP
Japan
Prior art keywords
imaging
color
evaluation value
image information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005017313A
Other languages
Japanese (ja)
Inventor
Tetsuo Ashida
哲郎 芦田
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 Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2005017313A priority Critical patent/JP2006208487A/en
Publication of JP2006208487A publication Critical patent/JP2006208487A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging device capable of accurate focusing control over a subject image, and to provide a focusing control method of the imaging device. <P>SOLUTION: A CCD 24 generates pieces of image information by colors of red, green and blue, representing the subject image through imaging and a CPU 40 sets a color of the image information used to derive an evaluated value, indicating the degree of focusing of the subject image; and an evaluated value derivation section 60 derives the evaluated value, indicating the degree of focusing of the subject image based upon the image information of the set color and a motor driving section 34 performs focusing control, based on the value evaluated. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を取得する撮像装置及び当該撮像装置の合焦制御方法に関する。   The present invention relates to an imaging apparatus that acquires image information for each color of red, green, and blue, which indicates a subject image by imaging, and a focusing control method for the imaging apparatus.

近年、CCD(Charge Coupled Device)エリアセンサ、CMOS(Complementary Metal Oxide Semiconductor)イメージ・センサ等の撮像素子の高解像度化に伴い、デジタル電子スチールカメラ(以下、「DSC」という。)の需要が急増しており、この種のDSCには、一般に、被写体像のピントを自動的に調節する自動合焦機能(AF機能)が備えられている。   In recent years, the demand for digital electronic still cameras (hereinafter referred to as “DSCs”) has increased rapidly as the resolution of imaging elements such as CCD (Charge Coupled Device) area sensors and CMOS (Complementary Metal Oxide Semiconductor) image sensors has increased. In general, this type of DSC is provided with an automatic focusing function (AF function) for automatically adjusting the focus of a subject image.

ところで、従来より自動合焦機能による合焦方式としてアクティブ方式およびパッシブ方式による三角測距方式が採用されてきたが、DSCでは、撮像素子により取得した画像情報によって示される被写体像のコントラストに基づいて最適なピント状態を設定するコントラスト検出方式を採用しているものがある。   Incidentally, a triangulation method using an active method and a passive method has been conventionally employed as a focusing method using an automatic focusing function. In DSC, however, based on the contrast of a subject image indicated by image information acquired by an image sensor. Some have adopted a contrast detection method for setting an optimum focus state.

このコントラスト検出方式を用いた従来技術として、特許文献1には、撮像レンズの位置に応じて撮像素子により取得された画像情報により示される被写体像の高周波成分を抽出し、この評価値が最大となる位置に撮像レンズを位置させて撮像素子の撮像面に被写体像を結像させる、所謂山登り制御方式に関する技術が開示されている。通常コントラスト検出方式では、R(赤)、G(緑)、B(青)の画像情報からY(輝度)成分を算出してコントラストを求めるのが一般的であるが、特許文献1の技術では、処理を簡易化するため、輝度成分の半分以上の構成要素となるGの画像情報を用いて上記評価値の導出が行われていた。
特開平11−239291号公報
As a conventional technique using this contrast detection method, Patent Document 1 extracts a high-frequency component of a subject image indicated by image information acquired by an image sensor according to the position of an imaging lens, and the evaluation value is maximum. A technique related to a so-called hill-climbing control system is disclosed in which an imaging lens is positioned at a certain position and a subject image is formed on an imaging surface of an imaging element. In the normal contrast detection method, the contrast is generally obtained by calculating the Y (luminance) component from the image information of R (red), G (green), and B (blue). In order to simplify the processing, the evaluation value is derived using G image information which is a component of more than half of the luminance component.
JP 11-239291 A

ところで、近年のアウトドア・レジャーの普及により、DSCを水中カメラケース等に収納することにより防水し、水中にて撮影が行われる場合があった。   By the way, with the spread of outdoor / leisure in recent years, DSCs are waterproofed by being housed in an underwater camera case or the like, and shooting is sometimes performed underwater.

しかしながら、水中ではR、G、Bの光のうちR及びGの光が地上より減衰してしまうため、上記特許文献1の技術を用いた場合、撮像素子により取得したGの画像情報から十分なコントラストを求めることができない場合があり、自動合焦を的確に行うことができない場合がある、という問題点があった。   However, in the water, R and G light out of R, G, and B light attenuates from the ground. Therefore, when the technique of Patent Document 1 is used, it is sufficient from the G image information acquired by the image sensor. In some cases, contrast cannot be obtained, and in some cases, automatic focusing cannot be performed accurately.

本発明は上記問題点を解消するためになされたものであり、被写体像の合焦制御を的確に行うことのできる撮像装置及び撮像装置の合焦制御方法を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an imaging apparatus and an imaging apparatus focusing control method capable of accurately performing focusing control of a subject image.

上記目的を達成するために、請求項1記載の撮像装置は、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成する撮像手段と、予め設定された色の前記画像情報に基いて被写体像の合焦の度合いを示す評価値を導出する導出手段と、前記導出手段に対して前記評価値の導出に用いる前記画像情報の色を設定する設定手段と、前記導出手段によって導出された前記評価値に基づいて合焦制御を行う制御手段と、を備えている。   In order to achieve the above object, the imaging apparatus according to claim 1 includes an imaging unit that generates image information for each color of red, green, and blue indicating a subject image by imaging, and the image information of a preset color. Deriving means for deriving an evaluation value indicating the degree of focus of the subject image based on the setting means, setting means for setting the color of the image information used for deriving the evaluation value for the deriving means, and the deriving means Control means for performing focusing control based on the derived evaluation value.

請求項1に記載の発明は、撮像手段により、撮像によって被写体像を示す赤、緑、青の各色別の画像情報が生成され、導出手段により、予め設定された色の前記画像情報に基いて被写体像の合焦の度合いを示す評価値が導出され、設定手段により、前記導出手段に対して前記評価値の導出に用いる前記画像情報の色が設定され、制御手段により、前記導出手段によって導出された前記評価値に基づいて合焦制御が行われる。   According to the first aspect of the present invention, image information for each color of red, green, and blue indicating a subject image is generated by imaging by the imaging unit, and based on the image information of a preset color by the derivation unit. An evaluation value indicating the degree of focus of the subject image is derived, and the setting means sets the color of the image information used for deriving the evaluation value for the deriving means, and the control means derives it by the deriving means. Focus control is performed based on the evaluated value.

このように、請求項1に記載の発明によれば、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成し、被写体像の合焦の度合いを示す評価値の導出に用いる前記画像情報の色を設定し、設定された色の前記画像情報に基いて前記評価値を導出し、導出された前記評価値に基づいて合焦制御を行っているので、被写体像の合焦制御を的確に行うことができる。   Thus, according to the first aspect of the present invention, image information for each color of red, green, and blue indicating a subject image is generated by imaging, and an evaluation value indicating the degree of focus of the subject image is derived. Since the color of the image information to be used is set, the evaluation value is derived based on the image information of the set color, and focusing control is performed based on the derived evaluation value, the focus of the subject image Focus control can be performed accurately.

なお、請求項1記載の発明は、請求項2に記載の発明のように、前記撮像装置が水中にあるか否かを検出する検出手段をさらに備え、前記設定手段は、前記検出手段により水中にあることを検出した場合に前記導出手段に対して青を設定するようにしてもよい。なお、撮像装置が、地上での撮影に適した制御が行われる地上撮影モードと水中での撮影に適した制御が行われる水中撮影モードとを備えている場合、検出手段は、撮像装置が水中撮影モードであることから水中にあるか否かを検出するようにしもよい。   The invention according to claim 1 is further provided with detection means for detecting whether or not the imaging device is in water, as in the invention according to claim 2, wherein the setting means If it is detected that the light is present, blue may be set for the derivation means. Note that when the imaging apparatus has a ground shooting mode in which control suitable for shooting on the ground is performed and an underwater shooting mode in which control suitable for shooting under water is performed, the detection unit is configured so that the imaging apparatus is underwater. Since it is a photographing mode, it may be detected whether it is underwater.

また、請求項1記載の発明は、請求項3に記載の発明のように、前記画像情報により示される前記被写体像の赤、緑、青の各色間の濃度値の比率を示す値を算出する算出手段をさらに備え、前記設定手段は、前記算出手段により算出された値に基づいて前記導出手段に対して設定する色を決定するようにしてもよい。   According to a first aspect of the invention, as in the third aspect of the invention, a value indicating a ratio of density values between red, green, and blue colors of the subject image indicated by the image information is calculated. A calculation unit may be further provided, and the setting unit may determine a color to be set for the derivation unit based on a value calculated by the calculation unit.

また、請求項3記載の発明は、請求項4に記載の発明のように、前記設定手段は、前記算出手段により算出された値が水中での撮像により前記撮像手段によって生成された画像情報に基づく値として許容される所定範囲以内である場合に前記導出手段に対して青を設定するようにしてもよい。   According to a third aspect of the present invention, as in the fourth aspect of the present invention, the setting means converts the value calculated by the calculation means into image information generated by the imaging means by imaging in water. You may make it set blue with respect to the said derivation means, when it is less than the predetermined range permitted as a value based on.

また、請求項3記載の発明は、請求項5に記載の発明のように、前記設定手段は、前記算出手段により算出された値により示される比率が最も大きい色を前記導出手段に対して設定するようにしてもよい。   According to a third aspect of the present invention, as in the fifth aspect of the present invention, the setting means sets the color having the largest ratio indicated by the value calculated by the calculation means to the derivation means. You may make it do.

一方、上記目的を達成するために、請求項6記載の撮像装置の合焦制御方法は、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成する撮像手段を有する撮像装置の合焦制御方法であって、前記被写体像の合焦の度合いを示す評価値の導出に用いる色を決定し、決定した色の前記画像情報に基いて前記評価値を導出し、導出した前記評価値に基づいて合焦制御を行うものである。   On the other hand, in order to achieve the above object, an in-focus control method for an imaging apparatus according to claim 6 includes an imaging means for generating image information for each color of red, green, and blue indicating a subject image by imaging. Determining the color used for deriving an evaluation value indicating the degree of focus of the subject image, deriving the evaluation value based on the image information of the determined color, and deriving the derived value Focus control is performed based on the evaluation value.

従って、請求項6に記載の撮像装置の合焦制御方法によれば、請求項1に記載の発明と同様に作用するので、請求項1記載の発明と同様に、被写体像の合焦制御を的確に行うことのできる。   Therefore, according to the focus control method of the imaging apparatus according to the sixth aspect, since it operates in the same manner as the invention according to the first aspect, the focus control of the subject image is performed as in the first aspect. Can be done accurately.

このように、本発明によれば、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成し、被写体像の合焦の度合いを示す評価値の導出に用いる前記画像情報の色を設定し、設定された色の前記画像情報に基いて前記評価値を導出し、導出された前記評価値に基づいて合焦制御を行っているので、被写体像の合焦制御を的確に行うことのできる、という効果が得られる。   As described above, according to the present invention, image information for each color of red, green, and blue indicating a subject image is generated by imaging, and the image information used for derivation of the evaluation value indicating the degree of focus of the subject image is generated. Since the color is set, the evaluation value is derived based on the image information of the set color, and the focus control is performed based on the derived evaluation value, the focus control of the subject image is accurately performed. The effect that it can be performed is acquired.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。
[第1の実施の形態]
まず、図1を参照して、本実施の形態に係るDSC10の外観上の構成を説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[First Embodiment]
First, with reference to FIG. 1, an external configuration of the DSC 10 according to the present embodiment will be described.

DSC10の正面には、被写体に対応する光を結像位置に結像させるためのレンズ21と、撮影時に必要に応じて被写体に照射する光を発するストロボ44と、撮影する被写体の構図を決定するために用いられるファインダ20と、が備えられている。また、DSC10の上面には、撮影を実行する際に押圧操作されるレリーズスイッチ(所謂シャッター)56Aと、電源スイッチ56Bと、モード切替スイッチ56Cと、が備えられている。   In front of the DSC 10, a lens 21 for imaging light corresponding to the subject at the imaging position, a strobe 44 that emits light to irradiate the subject when necessary, and a composition of the subject to be photographed are determined. And a finder 20 used for the purpose. Further, on the upper surface of the DSC 10, a release switch (so-called shutter) 56A, a power switch 56B, and a mode changeover switch 56C that are pressed when performing shooting are provided.

なお、本実施の形態に係るDSC10のレリーズスイッチ56Aは、中間位置まで押下される状態(以下、「半押し状態」という。)と、当該中間位置を超えた最終押下位置まで押下される状態(以下、「全押し状態」という。)と、の2段階の押圧操作が検出可能に構成されている。   Note that the release switch 56A of the DSC 10 according to the present embodiment is in a state of being pressed down to an intermediate position (hereinafter referred to as “half-pressed state”) and in a state of being pressed down to a final pressed position beyond the intermediate position ( Hereinafter, it is configured to be able to detect a two-stage pressing operation of “fully pressed state”.

そして、DSC10では、レリーズスイッチ56Aを半押し状態にすることによりAF(Auto Focus、自動合焦)機能が働いて合焦制御されれた後、AE(Automatic Exposure、自動露出)機能が働いて露出状態(シャッタースピード、絞りの状態)が設定され、その後、引き続き全押し状態にすると露光(撮影)が行われる。   In the DSC 10, after the release switch 56A is pressed halfway, the AF (Auto Focus) function is activated and the focus control is performed, and then the AE (Automatic Exposure) function is activated to perform exposure. The state (shutter speed, aperture state) is set, and then exposure (photographing) is performed when the state is fully depressed.

また、モード切替スイッチ56Cは、撮影を行うモードである撮影モード及び被写体像を後述するLCD38に再生するモードである再生モードの何れかのモードに設定する際にスライド操作される。   The mode changeover switch 56C is slid when setting to any one of a shooting mode that is a mode for shooting and a playback mode that is a mode for playing back a subject image on the LCD 38 described later.

一方、DSC10の背面には、前述のファインダ20の接眼部と、撮像された被写体像やメニュー画面等を表示するための液晶ディスプレイ(以下、「LCD」という。)38と、十字カーソルスイッチ56Dと、が備えられている。なお、十字カーソルスイッチ56Dは、LCD38の表示領域における上・下・左・右の4方向の移動方向を示す4つの矢印キーを含んで構成されている。   On the other hand, on the back of the DSC 10, the eyepiece of the finder 20, the liquid crystal display (hereinafter referred to as “LCD”) 38 for displaying the captured subject image, menu screen, and the like, and the cross cursor switch 56D. And are provided. The cross-cursor switch 56D includes four arrow keys that indicate four moving directions of up, down, left, and right in the display area of the LCD 38.

更に、DSC10の背面には、LCD38にメニュー画面を表示させるときに押圧操作されるメニュースイッチと、それまでの操作内容を確定するときに押圧操作される決定スイッチと、直前の操作内容をキャンセルするときに押圧操作されるキャンセルスイッチと、ストロボ44の発光状態を設定するときに押圧操作されるストロボスイッチと、が備えられている。   Further, on the back of the DSC 10, a menu switch that is pressed when displaying the menu screen on the LCD 38, a determination switch that is pressed when confirming the operation content up to that point, and the previous operation content are canceled. A cancel switch that is sometimes pressed and a strobe switch that is pressed when setting the light emission state of the strobe 44 are provided.

次に、図2を参照して、本実施の形態に係るDSC10の電気系の主要構成を説明する。   Next, the main configuration of the electrical system of the DSC 10 according to the present embodiment will be described with reference to FIG.

DSC10は、前述のレンズ21を含んで構成された光学ユニット22と、レンズ21の光軸後方に配設され、結像された被写体像に応じたR(赤)、G(緑)、B(青)のアナログ信号を出力する電荷結合素子(以下、「CCD」という。)24と、入力されたアナログ信号に対して各種のアナログ信号処理を行うアナログ信号処理部26と、を含んで構成されている。   The DSC 10 is disposed behind the optical unit 22 including the lens 21 and the optical axis of the lens 21, and R (red), G (green), and B (in accordance with the imaged subject image. A charge coupled device (hereinafter referred to as “CCD”) 24 that outputs an analog signal of blue, and an analog signal processing unit 26 that performs various analog signal processing on the input analog signal. ing.

また、DSC10は、入力されたアナログ信号をデジタルデータに変換するアナログ/デジタル変換器(以下、「ADC」という。)28と、入力されたデジタルデータに対して各種のデジタル信号処理を行うデジタル信号処理部30と、を含んで構成されている。   The DSC 10 also includes an analog / digital converter (hereinafter referred to as “ADC”) 28 that converts an input analog signal into digital data, and a digital signal that performs various digital signal processing on the input digital data. And a processing unit 30.

なお、デジタル信号処理部30は、所定容量のラインバッファを内蔵し、入力されたデジタルデータを後述するRAM48の所定領域に直接記憶させる制御も行う。   The digital signal processing unit 30 has a built-in line buffer having a predetermined capacity, and also performs control for directly storing the input digital data in a predetermined area of the RAM 48 described later.

CCD24の出力端はアナログ信号処理部26の入力端に、アナログ信号処理部26の出力端はADC28の入力端に、ADC28の出力端はデジタル信号処理部30の入力端に、各々接続されている。従って、CCD24から出力された被写体像を示すアナログ信号はアナログ信号処理部26によって所定のアナログ信号処理が施され、ADC28によってデジタル画像データに変換された後にデジタル信号処理部30に入力される。   The output terminal of the CCD 24 is connected to the input terminal of the analog signal processing unit 26, the output terminal of the analog signal processing unit 26 is connected to the input terminal of the ADC 28, and the output terminal of the ADC 28 is connected to the input terminal of the digital signal processing unit 30. . Accordingly, the analog signal indicating the subject image output from the CCD 24 is subjected to predetermined analog signal processing by the analog signal processing unit 26, converted into digital image data by the ADC 28, and then input to the digital signal processing unit 30.

一方、DSC10は、被写体像やメニュー画面等をLCD38に表示させるための信号を生成してLCD38に供給するLCDインタフェース36と、DSC10全体の動作を司るCPU(中央処理装置)40と、撮像により得られたデジタル画像データ等を記憶するRAM(Random Access Memory)48と、後述するモード対応合焦制御処理プログラムを含む各種プログラムや各種パラメータ等が予め記憶されたROM(Read Only Memory)49と、RAM48及びROM49に対するアクセスの制御を行うメモリインタフェース46と、を含んで構成されている。   On the other hand, the DSC 10 generates an image for displaying a subject image, a menu screen or the like on the LCD 38 and supplies the signal to the LCD 38, a CPU (central processing unit) 40 that controls the entire operation of the DSC 10, and an image obtained by imaging. A RAM (Random Access Memory) 48 for storing the digital image data and the like, a ROM (Read Only Memory) 49 in which various programs including various mode focusing control processing programs and various parameters to be described later are stored, and a RAM 48 And a memory interface 46 for controlling access to the ROM 49.

更に、DSC10は、可搬型のメモリカード52をDSC10でアクセス可能とするための外部メモリインタフェース50と、デジタル画像データに対する圧縮処理及び伸張処理を行う圧縮・伸張処理回路54と、AE機能で用いるための評価値(以下、「AE評価値」という。)及びAF機能で用いるための評価値(以下、「AF評価値」という。)を導出する評価値導出部60と、を含んで構成されている。   Further, the DSC 10 is used for the external memory interface 50 for enabling the portable memory card 52 to be accessed by the DSC 10, the compression / decompression processing circuit 54 for performing compression processing and decompression processing on digital image data, and the AE function. And an evaluation value deriving unit 60 for deriving an evaluation value (hereinafter referred to as “AF evaluation value”) for use in the AF function. Yes.

なお、本実施の形態のDSC10では、メモリカード52としてスマートメディア(Smart Media(登録商標))が用いられている。   In the DSC 10 of the present embodiment, smart media (Smart Media (registered trademark)) is used as the memory card 52.

また、本実施の形態に係る評価値導出部60では、AE評価値として、上記デジタル画像データにける予め定められた露出制御の対象とするエリア(以下、「AEエリア」という。)に対応するデータから当該AEエリアの明るさを示す情報を導出すると共に、AF評価値として、上記デジタル画像データにける予め定められた合焦制御の対象とするエリア(以下、「AFエリア」という)に対応するデータからコントラストの高さを示す情報(ここでは、所定帯域の高周波成分の積分量を示す情報)を導出する。   Further, in the evaluation value deriving unit 60 according to the present embodiment, the AE evaluation value corresponds to an area subject to predetermined exposure control in the digital image data (hereinafter referred to as “AE area”). In addition to deriving information indicating the brightness of the AE area from the data, the AF evaluation value corresponds to a predetermined focus control target area (hereinafter referred to as “AF area”) in the digital image data. Information indicating the height of contrast (in this case, information indicating the amount of integration of high-frequency components in a predetermined band) is derived from the data to be processed.

デジタル信号処理部30、LCDインタフェース36、CPU40、メモリインタフェース46、外部メモリインタフェース50、圧縮・伸張処理回路54、及び評価値導出部60はシステムバスBUSを介して相互に接続されている。従って、CPU40は、デジタル信号処理部30、圧縮・伸張処理回路54及び評価値導出部60の作動の制御、LCD38に対するLCDインタフェース36を介した各種情報の表示、RAM48、ROM49及びメモリカード52へのメモリインタフェース46、外部メモリインタフェース50を介したアクセスを各々行うことができる。   The digital signal processing unit 30, the LCD interface 36, the CPU 40, the memory interface 46, the external memory interface 50, the compression / decompression processing circuit 54, and the evaluation value deriving unit 60 are connected to each other via a system bus BUS. Therefore, the CPU 40 controls the operation of the digital signal processing unit 30, the compression / decompression processing circuit 54 and the evaluation value deriving unit 60, displays various information via the LCD interface 36 on the LCD 38, and displays the information on the RAM 48, ROM 49 and memory card 52. Access through the memory interface 46 and the external memory interface 50 can be performed.

一方、DSC10には、主としてCCD24を駆動させるためのタイミング信号を生成してCCD24に供給するタイミングジェネレータ32が備えられており、CCD24の駆動はCPU40によりタイミングジェネレータ32を介して制御される。   On the other hand, the DSC 10 includes a timing generator 32 that mainly generates a timing signal for driving the CCD 24 and supplies the timing signal to the CCD 24, and the driving of the CCD 24 is controlled by the CPU 40 via the timing generator 32.

更に、DSC10にはモータ駆動部34が備えられており、光学ユニット22に備えられた図示しない焦点調整モータ、ズームモータ及び絞り駆動モータの駆動もCPU40によりモータ駆動部34を介して制御される。   Further, the DSC 10 is provided with a motor drive unit 34, and driving of a focus adjustment motor, a zoom motor, and an aperture drive motor (not shown) provided in the optical unit 22 is also controlled by the CPU 40 via the motor drive unit 34.

すなわち、本実施の形態に係るレンズ21は複数枚のレンズを有し、焦点距離の変更(変倍)が可能なズームレンズとして構成されており、図示しないレンズ駆動機構を備えている。このレンズ駆動機構に上記焦点調整モータ、ズームモータ及び絞り駆動モータは含まれるものであり、これらのモータは各々CPU40の制御によりモータ駆動部34から供給された駆動信号によって駆動される。   In other words, the lens 21 according to the present embodiment has a plurality of lenses, is configured as a zoom lens that can change (magnify) the focal length, and includes a lens driving mechanism (not shown). The lens drive mechanism includes the focus adjustment motor, the zoom motor, and the aperture drive motor, and these motors are each driven by a drive signal supplied from the motor drive unit 34 under the control of the CPU 40.

CPU40は、光学ズーム倍率を変更する際にはズームモータを駆動制御して光学ユニット22に含まれるレンズ21の焦点距離を変化させる。   When changing the optical zoom magnification, the CPU 40 drives and controls the zoom motor to change the focal length of the lens 21 included in the optical unit 22.

また、CPU40は、CCD24による撮像によって得られた被写体画像のAF評価値が最大となるように上記焦点調整モータを駆動制御することによって合焦制御を行う。すなわち、本実施の形態に係るDSC10では、合焦制御として、読み取られた画像のコントラストが最大となるようにレンズの位置を設定する、所謂TTL(Through The Lens)方式を採用している。   Further, the CPU 40 performs focus control by driving and controlling the focus adjustment motor so that the AF evaluation value of the subject image obtained by imaging by the CCD 24 is maximized. That is, the DSC 10 according to the present embodiment employs a so-called TTL (Through The Lens) method in which the lens position is set so that the contrast of the read image is maximized as the focus control.

更に、前述のレリーズスイッチ56A、電源スイッチ56B、モード切替スイッチ56C、十字カーソルスイッチ56D、メニュースイッチ等の各種スイッチ(同図では、「操作部56」と総称。)はCPU40に接続されており、CPU40は、これらの操作部56に対する操作状態を常時把握できる。   Further, various switches such as the release switch 56A, the power switch 56B, the mode switch 56C, the cross cursor switch 56D, and the menu switch (generally referred to as “operation unit 56” in the figure) are connected to the CPU 40. The CPU 40 can always grasp the operation state with respect to the operation unit 56.

また、DSC10(図2参照)には、ストロボ44とCPU40との間に介在されると共に、CPU40の制御によりストロボ44を発光させるための電力を充電する充電部42が備えられている。更に、ストロボ44はCPU40にも接続されており、ストロボ44の発光はCPU40によって制御される。   Further, the DSC 10 (see FIG. 2) includes a charging unit 42 that is interposed between the strobe 44 and the CPU 40 and charges the power for causing the strobe 44 to emit light under the control of the CPU 40. Further, the strobe 44 is also connected to the CPU 40, and the light emission of the strobe 44 is controlled by the CPU 40.

ところで、本実施の形態に係るDSC10は、撮影モードとして、地上での撮影に適した制御が行われる地上撮影モードと、水中での撮影に適した制御が行われる水中撮影モードの2種類のモードを備えている。そして、DSC10は、モード切替スイッチ56Cが撮影モードに設定されると地上撮影モードがデフォルトで設定され、十字カーソルスイッチ56Dにより所定の操作を行うことによって、水中撮影モードに切り替えることが可能となっており、設定されている撮影モードを示す情報がRAM48に記憶される。   By the way, the DSC 10 according to the present embodiment has two types of shooting modes: a ground shooting mode in which control suitable for shooting on the ground is performed, and an underwater shooting mode in which control suitable for shooting under water is performed. It has. When the mode switch 56C is set to the shooting mode, the DSC 10 sets the ground shooting mode by default, and the DSC 10 can be switched to the underwater shooting mode by performing a predetermined operation with the cross cursor switch 56D. Thus, information indicating the set shooting mode is stored in the RAM 48.

一方、図3には、地上(空気中)及び水中における撮像によって得られた画像データにより示される画像の各画素のR、G、B毎の濃度値の分布状態を示すヒストグラムの1例が示されている。地上では、図3(A)に示されるように、一般的にR、G、Bの各濃度値の積算数は画像の全体的な色身の状態に応じた分布状態となるが、水中では、図3(B)に示されるように、R及びGの光が減衰するため、R及びGの濃度値の積算数が極端に低濃度側に編位している。   On the other hand, FIG. 3 shows an example of a histogram showing the distribution state of density values for each pixel R, G, and B of an image indicated by image data obtained by imaging on the ground (in the air) and underwater. Has been. On the ground, as shown in FIG. 3A, generally, the cumulative number of density values of R, G, and B is distributed according to the overall color state of the image. As shown in FIG. 3B, since the light of R and G attenuates, the integrated number of the density values of R and G is extremely arranged on the low density side.

このため、本実施の形態に係るDSC10では、撮影モードとして地上撮影モードが設定されている場合は従来から広く用いられているGのデジタル画像データに基づいて前記AF評価値を導出し、水中撮影モードが設定されている場合はBのデジタル画像データから前記AF評価値を導出するようにしている。   For this reason, in the DSC 10 according to the present embodiment, when the ground shooting mode is set as the shooting mode, the AF evaluation value is derived based on G digital image data that has been widely used conventionally, and underwater shooting is performed. When the mode is set, the AF evaluation value is derived from the B digital image data.

次に、本実施の形態に係るDSC10の撮像時における全体的な動作について簡単に説明する。   Next, the overall operation at the time of imaging of the DSC 10 according to the present embodiment will be briefly described.

まず、CCD24は、光学ユニット22を介した撮像を行い、被写体像を示すR、G、B毎のアナログ信号をアナログ信号処理部26に順次出力する。アナログ信号処理部26は、CCD24から入力されたアナログ信号に対して相関二重サンプリング処理等のアナログ信号処理を施した後にADC28に順次出力する。   First, the CCD 24 performs imaging through the optical unit 22 and sequentially outputs analog signals for R, G, and B indicating the subject image to the analog signal processing unit 26. The analog signal processing unit 26 performs analog signal processing such as correlated double sampling processing on the analog signal input from the CCD 24 and sequentially outputs the analog signal to the ADC 28.

ADC28は、アナログ信号処理部26から入力されたR、G、B毎のアナログ信号を各々12ビットのR、G、Bの信号(デジタル画像データ)に変換してデジタル信号処理部30に順次出力する。   The ADC 28 converts the R, G, and B analog signals input from the analog signal processing unit 26 into 12-bit R, G, and B signals (digital image data) and sequentially outputs them to the digital signal processing unit 30. To do.

デジタル信号処理部30は、内蔵しているラインバッファにADC28から順次入力されるデジタル画像データを蓄積して一旦RAM48の所定領域に直接格納する。   The digital signal processing unit 30 accumulates digital image data sequentially input from the ADC 28 in a built-in line buffer and temporarily stores the digital image data directly in a predetermined area of the RAM 48.

RAM48の所定領域に格納されたデジタル画像データは、CPU40による制御に応じてデジタル信号処理部30により読み出され、所定の物理量に応じたデジタルゲインをかけると共に、ガンマ処理及びシャープネス処理を行って8ビットのR、G、Bのデジタル画像データを生成する。   The digital image data stored in a predetermined area of the RAM 48 is read by the digital signal processing unit 30 under the control of the CPU 40, and is subjected to a digital gain according to a predetermined physical quantity, and is subjected to gamma processing and sharpness processing to obtain 8 Bit R, G, B digital image data is generated.

そして、デジタル信号処理部30は、生成した8ビットのデジタル画像データに対しYC信号処理を施して輝度信号Yとクロマ信号Cr、Cb(以下、「YC信号」という。)を生成し、YC信号をRAM48の上記所定領域とは異なる領域に格納する。   The digital signal processing unit 30 performs YC signal processing on the generated 8-bit digital image data to generate a luminance signal Y and chroma signals Cr and Cb (hereinafter referred to as “YC signal”), and the YC signal. Is stored in an area different from the predetermined area of the RAM 48.

なお、LCD38は、CCD24による連続的な撮像によって得られた動画像(スルー画像)を表示してファインダとして使用することができるものとして構成されており、LCD38をファインダとして使用する場合には、生成したYC信号を、LCDインタフェース36を介して順次LCD38に出力する。これによってLCD38にスルー画像が表示されることになる。   The LCD 38 is configured to display a moving image (through image) obtained by continuous imaging by the CCD 24 and can be used as a finder. When the LCD 38 is used as a finder, the LCD 38 is generated. The YC signals thus output are sequentially output to the LCD 38 via the LCD interface 36. As a result, a through image is displayed on the LCD 38.

ここで、レリーズスイッチ56Aがユーザによって半押し状態とされたタイミングで後述するモード対応合焦制御処理が実行されて、この時点の撮影モードに応じて評価値導出部60により前述したようにAF評価値が導出され、当該AF評価値に基づいてAF機能が働いて合焦制御される。そして、評価値導出部60によって前述したようにAE評価値が導出され、当該AE評価値に基づいてAE機能が働いて露出状態が設定される。その後、引き続き全押し状態とされたタイミングで、その時点でRAM48に格納されているYC信号を、圧縮・伸張処理回路54によって所定の圧縮形式(本実施の形態では、JPEG形式)で圧縮した後に外部メモリインタフェース50を介してメモリカード52に電子化ファイルとして記録する。   Here, the mode-corresponding focus control process described later is executed at the timing when the release switch 56A is half-pressed by the user, and the evaluation value deriving unit 60 performs AF evaluation as described above according to the shooting mode at this time. A value is derived, and an AF function is activated based on the AF evaluation value to control the focus. Then, as described above, the evaluation value deriving unit 60 derives the AE evaluation value, and based on the AE evaluation value, the AE function works to set the exposure state. After that, after the YC signal stored in the RAM 48 at that time is fully pressed, the compression / decompression processing circuit 54 compresses the signal in a predetermined compression format (in this embodiment, JPEG format). The file is recorded as an electronic file on the memory card 52 via the external memory interface 50.

次に、図4を参照して、モード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、図4は、このときCPU40にて実行されるモード対応合焦制御処理プログラムの処理の流れを示すフローチャートであり、当該プログラムはROM49の所定領域に予め記憶されている。   Next, with reference to FIG. 4, the operation of the DSC 10 at the time of execution of the mode-related focusing control process will be described. FIG. 4 is a flowchart showing the flow of processing of the mode-compatible focusing control processing program executed by the CPU 40 at this time, and the program is stored in advance in a predetermined area of the ROM 49.

同図のステップ100では、RAM48に記憶されている情報に基づいて、この時点で設定されている撮影モードを特定し、次のステップ102では、特定した撮影モードが水中撮影モードであったか否かを判定し、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。   In step 100 in the figure, based on the information stored in the RAM 48, the shooting mode set at this time is specified, and in the next step 102, it is determined whether or not the specified shooting mode is the underwater shooting mode. If the determination is affirmative, the process proceeds to step 104. If the determination is negative, the process proceeds to step 106.

ステップ104では、評価値導出部60に対してAF評価値の導出に用いるデジタル画像データの色としてBを設定し、その後ステップ108へ移行する。   In step 104, B is set as the color of the digital image data used to derive the AF evaluation value for the evaluation value deriving unit 60, and then the process proceeds to step.

一方、ステップ106では、評価値導出部60に対してAF評価値の導出に用いるデジタル画像データの色としてGを設定し、その後ステップ108へ移行する。   On the other hand, in step 106, G is set as the color of the digital image data used for deriving the AF evaluation value for the evaluation value deriving unit 60, and then the process proceeds to step 108.

以上のステップ104又はステップ106の処理に応じて、評価値導出部60では、CPU40によって設定された色のデジタル画像データに基づいてAF評価値を導出する。   In accordance with the processing of step 104 or step 106 described above, the evaluation value deriving unit 60 derives an AF evaluation value based on the digital image data of the color set by the CPU 40.

そこで、ステップ108では、評価値導出部60によって導出されたAF評価値に基づいて合焦制御処理を行う。なお、ここでは、評価値導出部60によって導出されたAF評価値が最大となるように上記焦点調整モータを駆動制御することによって合焦制御を行う。そして、当該合焦制御が終了すると本モード対応合焦制御処理プログラムは終了となる。   Therefore, in step 108, focusing control processing is performed based on the AF evaluation value derived by the evaluation value deriving unit 60. Here, focus control is performed by driving and controlling the focus adjustment motor so that the AF evaluation value derived by the evaluation value deriving unit 60 is maximized. When the focusing control is completed, the mode-compatible focusing control processing program ends.

このように、第1の実施の形態に係るDSC10によれば、水中において撮像を行う場合、R、Gの光が減衰してGの画像データにおいて合焦制御を行うための十分なコントラストを得られない場合であっても、水中撮影モードに設定することにより、Bの画像データに基づいてAF評価値を導出して良好な合焦制御を行うことができる。   As described above, according to the DSC 10 according to the first embodiment, when imaging is performed underwater, the R and G lights are attenuated to obtain sufficient contrast for performing focusing control on the G image data. Even if it is not possible, the AF evaluation value can be derived based on the B image data and good focusing control can be performed by setting the underwater shooting mode.

以上詳細に説明したように、第1の実施の形態によれば、撮像手段(ここでは、CCD24)は、撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成し、設定手段(CPU40)は、写体像の合焦の度合いを示す評価値の導出に用いる前記画像情報の色を設定し、導出手段(ここでは、評価値導出部60)は、設定された色の前記画像情報に基いて被写体像の合焦の度合いを示す評価値を導出し、制御手段(モータ駆動部34)は、前記導出手段によって導出された前記評価値に基づいて合焦制御を行っているので、被写体像の合焦制御を的確に行うことのできる。   As described above in detail, according to the first embodiment, the imaging means (here, the CCD 24) generates and sets image information for each color of red, green, and blue indicating the subject image by imaging. The means (CPU 40) sets the color of the image information used for derivation of the evaluation value indicating the degree of focusing of the body image, and the derivation means (here, the evaluation value derivation unit 60) sets the color of the set color. An evaluation value indicating the degree of focus of the subject image is derived based on the image information, and the control means (motor drive unit 34) performs focus control based on the evaluation value derived by the derivation means. Therefore, the focus control of the subject image can be performed accurately.

[第2の実施の形態]
本第2の実施の形態では、DSC10が水中にあるか否かを検出する検出部をDSC10に設けて、DSC10が水中にあることが検出された場合に、評価値導出部60における評価値の導出に用いる画像情報の色をBとする場合の形態例について説明する。
[Second Embodiment]
In the second embodiment, a detection unit that detects whether the DSC 10 is in water is provided in the DSC 10, and when it is detected that the DSC 10 is in water, the evaluation value in the evaluation value deriving unit 60 An example in which the color of image information used for derivation is B will be described.

図5には、第2の実施の形態に係るDSC10の電気系の主要構成が示されている。なお、同図の図2と同一の構成要素については図2と同一符号箇所を付して、その説明を省略する。   FIG. 5 shows the main configuration of the electrical system of the DSC 10 according to the second embodiment. 2 that are the same as those in FIG. 2 are assigned the same reference numerals as in FIG. 2, and descriptions thereof are omitted.

本実施の形態に係るDSC10は、圧力センサが内蔵される共に、当該圧力センサにより検出された外部の圧力を示す信号を出力する水中検出部70と、水中検出部70から出力された信号が入力される外部信号入力部72と、を備えており、外部信号入力部72はシステムバスBUSに接続されている。従って、CPU40は、水中検出部70により検出されたDSC10の外部の圧力を外部信号入力部72を介して把握することができる。   The DSC 10 according to the present embodiment has a built-in pressure sensor, an underwater detection unit 70 that outputs a signal indicating an external pressure detected by the pressure sensor, and a signal output from the underwater detection unit 70 The external signal input unit 72 is connected to the system bus BUS. Therefore, the CPU 40 can grasp the pressure outside the DSC 10 detected by the underwater detection unit 70 via the external signal input unit 72.

なお、DSC10が防水対策がなされており、水中カメラケース等に収納することなく水中での撮像が可能な場合は、水中検出部70をDSC10の本体筐体外壁に設けるようにすればよい。また、DSC10が防止対策がなされておらず、水中カメラケース等に収納して水中での撮像を行う場合は、水中検出部70を当該水中カメラケース等の外壁に設け、外部信号入力部72と電気的に接続すればよい。   If the DSC 10 is waterproofed and can be taken underwater without being stored in an underwater camera case or the like, the underwater detection unit 70 may be provided on the outer wall of the main body housing of the DSC 10. In addition, when the DSC 10 is not provided with a preventive measure and is stored in an underwater camera case or the like to perform underwater imaging, an underwater detection unit 70 is provided on the outer wall of the underwater camera case or the like, What is necessary is just to connect electrically.

次に、図6を参照して、第2の実施の形態に係るモード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、同図の図4と同一の処理を行うステップについては図4と同一のステップ番号を付して、その説明を省略する。   Next, with reference to FIG. 6, the operation of the DSC 10 at the time of execution of the mode-compatible focusing control process according to the second embodiment will be described. In addition, the same step number as FIG. 4 is attached | subjected about the step which performs the process same as FIG. 4 of the same figure, and the description is abbreviate | omitted.

同図のステップ200では、水中検出部70から外部信号入力部72を介して入力された信号に基づいて外部圧力を検出する。次のステップ202では、検出された外部圧力が所定の圧力以上であるか否かを判定して、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。すなわち、水中では水による圧力(水圧)によって地上に比べて圧力が上昇することを利用し、本実施の形態では、検出された圧力の大きさによって水中であるか、地上であるかを判別している。なお、本実施の形態では、前記所定の圧力として水中検出部70によって検出された圧力が当該圧力以上となった場合にDSCが水中に存在すると見なすことができる圧力として予めDSC10実機を用いた実験や、DSC10の設計仕様等に基づいてコンピュータ・シュミレーション等によって得られたものが適用されて、ROM49に予め記憶されている。   In step 200 of the figure, the external pressure is detected based on the signal input from the underwater detection unit 70 via the external signal input unit 72. In the next step 202, it is determined whether or not the detected external pressure is equal to or higher than a predetermined pressure. If the determination is affirmative, the process proceeds to step 104. If the determination is negative, the process proceeds to step 106. To do. In other words, using the fact that the pressure increases in water compared to the ground due to the pressure of water (water pressure), in the present embodiment, it is determined whether it is underwater or on the ground depending on the magnitude of the detected pressure. ing. In the present embodiment, when the pressure detected by the underwater detection unit 70 as the predetermined pressure is equal to or higher than the pressure, an experiment using a DSC10 actual machine in advance as a pressure at which DSC can be considered to exist in water. In addition, what is obtained by computer simulation or the like based on the design specifications of the DSC 10 is applied and stored in the ROM 49 in advance.

このように、第2の実施の形態に係るDSC10によれば、水中検出部70による外部圧力の検出結果に基づいて水中での撮影であるか否かを判定し、水中の撮影の場合には、Bの画像データに基づいてAF評価値を導出しているので、良好な合焦制御を行うことができる。   As described above, according to the DSC 10 according to the second embodiment, it is determined whether or not the photographing is underwater based on the detection result of the external pressure by the underwater detection unit 70. Since the AF evaluation value is derived based on the image data of B, good focusing control can be performed.

以上詳細に説明したように、第2の実施の形態によれば、撮像装置(DSC10)が水中にあるか否かを検出する検出手段(ここでは、水中検出部70)をさらに備え、前記設定手段は、前記検出手段により水中にあることを検出した場合に前記導出手段に対して青を設定しているので、水中であると青の画像情報から評価値を導出して被写体像の合焦制御を行うことで的確に被写体像の合焦制御を行うことができる。   As described above in detail, according to the second embodiment, the imaging device (DSC 10) further includes detection means (here, the underwater detection unit 70) for detecting whether or not the setting is performed. The means sets blue for the deriving means when the detecting means detects that the subject is underwater, so that if it is underwater, the evaluation value is derived from the blue image information and the subject image is focused. By performing the control, it is possible to accurately control the focus of the subject image.

なお、本実施の形態では、水中検出部70により検出された外部圧力に応じて、水中であるか否かを判定した場合について説明したが、本発明はこれに限定されるものではなく、例えば、赤外線は可視光線に比べて水中での減衰が大きいことを利用し、水中検出部70として、可視光線と赤外線を被写体に照射する照射部と、被写体により反射された可視光線と赤外線を受光する受光部を設け、可視光線と赤外線の受光部による検出結果から可視光線に比べて赤外線が大きく減衰していた場合に、水中であると判定するようにしてもよい。また、水中検出部70として、特開平6−351025号公報において水中識別センサとして示されているように、所定間隔を隔てて2つの電極を設けたものを適用し、各電極間に電圧を印加した際に、水中である場合は電極間に電流が流れることを利用して水中であるか否かを判定するようにしてもよい。これらの場合も、本実施の形態と同様の効果を奏することができる。   In the present embodiment, the case where it is determined whether or not it is underwater according to the external pressure detected by the underwater detection unit 70 has been described, but the present invention is not limited to this, for example, Utilizing the fact that infrared rays are more attenuated in water than visible rays, the underwater detection unit 70 receives an irradiation unit that irradiates a subject with visible rays and infrared rays, and receives visible rays and infrared rays reflected by the subject. A light receiving unit may be provided, and it may be determined that it is underwater when the infrared light is greatly attenuated compared to the visible light based on the detection results of the visible light and infrared light receiving units. Further, as the underwater detection unit 70, as shown in Japanese Patent Laid-Open No. 6-351525, as an underwater identification sensor, a device in which two electrodes are provided at a predetermined interval is applied, and a voltage is applied between the electrodes. When it is underwater, it may be determined whether it is underwater using the fact that current flows between the electrodes. In these cases, the same effects as in the present embodiment can be obtained.

[第3の実施の形態]
本第3の実施の形態では、R、G、Bのデジタル画像データにより示される被写体像のR、G、Bの各色間の濃度値の比率を示す値を算出し、算出した値に基づいて評価値導出部60における評価値の導出に用いる画像情報の色を決定する場合の形態例について説明する。なお、第3の実施の形態に係るDSCの構成は上記第1の実施の形態と同様であるので、ここでの説明は省略する。
[Third Embodiment]
In the third embodiment, a value indicating a ratio of density values between the R, G, and B colors of the subject image indicated by the R, G, and B digital image data is calculated, and based on the calculated value. An example of a case in which the color of the image information used for derivation of the evaluation value in the evaluation value derivation unit 60 will be described. The configuration of the DSC according to the third embodiment is the same as that of the first embodiment, and a description thereof is omitted here.

図3を参照して前述したように、水中では、R及びGの光が減衰するため、R及びGの濃度値の積算数が極端に低濃度側に編位している。   As described above with reference to FIG. 3, since the R and G light attenuates in water, the accumulated number of density values of R and G is extremely knitted to the low density side.

そこで、本実施の形態では、CPU40によってCCD24の撮影によって得られた画像データにより示される画像全体のR、G、Bの各色間の濃度値の比率を示す値を算出する。また、DSC10実機を用いて予め水中で撮像された画像、あるいは、DSC10の設計仕様等に基づいてコンピュータ・シュミレーション等によって得られた水中で撮影したとみなすことができる画像、に基づくR、G、Bの各色間の濃度値の比率を比率データとしてROM49に予め記憶しておく。   Therefore, in the present embodiment, the CPU 40 calculates a value indicating the ratio of the density values between the R, G, and B colors of the entire image indicated by the image data obtained by photographing with the CCD 24. In addition, R, G, and the like based on an image captured in water using a DSC10 real machine in advance, or an image that can be regarded as captured in water obtained by computer simulation based on the design specifications of the DSC10. The ratio of density values between B colors is stored in advance in the ROM 49 as ratio data.

そして、本実施の形態では、算出したRの濃度値の比率を示す値が水中での撮影によって生成された画像に基づく値として許容される所定範囲以内であるか否かによってDSC10が水中にあるかを判定する。   In the present embodiment, the DSC 10 is in the water depending on whether or not the value indicating the calculated ratio of the density value of R is within a predetermined range that is allowed as a value based on an image generated by photographing in water. Determine whether.

次に、図7を参照して、第3の実施の形態に係るモード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、同図の図4と同一の処理を行うステップについては図4と同一のステップ番号を付して、その説明を省略する。   Next, with reference to FIG. 7, the operation of the DSC 10 at the time of execution of the mode-compatible focusing control process according to the third embodiment will be described. In addition, the same step number as FIG. 4 is attached | subjected about the step which performs the process same as FIG. 4 of the same figure, and the description is abbreviate | omitted.

同図のステップ300では、CCD24の撮影によって得られた画像データにより示される画像全体のR、G、Bの各色間の濃度値の比率を示す値を算出する。   In step 300 in the figure, a value indicating a ratio of density values between the R, G, and B colors of the entire image indicated by the image data obtained by photographing with the CCD 24 is calculated.

次のステップ302では、DSC10が水中にあるかを判定するため、算出したRの濃度値の比率を示す値が、ROM49に記憶された比率データにより示されるRの濃度値の比率を示す値と上記所定範囲以内であるか否かを判定し、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。   In the next step 302, in order to determine whether the DSC 10 is in water, the value indicating the ratio of the calculated R density value is a value indicating the ratio of the R density value indicated by the ratio data stored in the ROM 49. It is determined whether it is within the predetermined range. If the determination is affirmative, the process proceeds to step 104. If the determination is negative, the process proceeds to step 106.

このように、第3の実施の形態に係るDSC10によれば、撮影によって得られた画像データにより示される画像におけるRの濃度値の比率を示す値と比率データにより示されるRの濃度値の比率を示す値とに基づいてDSC10が水中に存在するかを判定することができ、水中に存在すると検出された場合に、Bの画像データに基づいてAF評価値を導出するよにしているので、良好な合焦制御を行うことができる。   As described above, according to the DSC 10 according to the third embodiment, the value indicating the ratio of the density value of R in the image indicated by the image data obtained by photographing and the ratio of the density value of R indicated by the ratio data. It is possible to determine whether the DSC 10 is present in the water based on the value indicating, and when it is detected that the DSC 10 is present in the water, the AF evaluation value is derived based on the B image data. Good focusing control can be performed.

以上詳細に説明したように、前記画像情報により示される前記被写体像の赤、緑、青の各色間の濃度値の比率を示す値を算出する算出手段(ここでは、CPU40)をさらに備え、前記設定手段は、前記算出手段により算出された値に基づいて前記導出手段に対して設定する色を決定しているので、水中であっても青の画像情報を評価値の導出対象と設定することにより被写体像の合焦制御を行うことのできる。   As described in detail above, the image processing apparatus further includes calculation means (here, the CPU 40) that calculates a value indicating a ratio of density values between the red, green, and blue colors of the subject image indicated by the image information. Since the setting means determines the color to be set for the derivation means based on the value calculated by the calculation means, the blue image information is set as the evaluation value derivation target even underwater. Thus, it is possible to perform focus control of the subject image.

また、前記設定手段は、前記算出手段により算出された値が水中での撮像により前記撮像手段によって生成された画像情報に基づく値として許容される所定範囲以内である場合に前記導出手段に対して青を設定しているので、水中であっても被写体像の合焦制御を行うことのできる。   In addition, the setting unit may provide the derivation unit with respect to the derivation unit when the value calculated by the calculation unit is within a predetermined range that is allowed as a value based on image information generated by the imaging unit by underwater imaging. Since blue is set, focus control of the subject image can be performed even underwater.

なお、第3の実施の形態では、画像全体のR、G、Bの各色間の濃度値の比率を示す値を算出する場合について説明したが、本発明はこれに限定されるものではなく、例えば、所定の範囲(例えば、画像の4隅の領域)のR、G、Bの各色間の濃度値の比率を示す値を算出してもよい。この場合も、本実施の形態と同様の効果を奏することができる。   In the third embodiment, the case where the value indicating the ratio of the density values between the R, G, and B colors of the entire image is calculated has been described. However, the present invention is not limited to this. For example, a value indicating a ratio of density values between R, G, and B colors in a predetermined range (for example, the four corner regions of the image) may be calculated. Also in this case, the same effects as in the present embodiment can be obtained.

また、本発明は、算出されたR、G、Bの各色間の濃度値の比率を示す値が最も大きい色の画像データを評価値の導出対象としてもよい。これにより、被写体像に対して濃度値が高い色の画像に基づいて評価値が導出されるため、適切に合焦制御を行うことができる。すなわち、例えば、地上においてDSC10によって夕日を撮像した場合、CCD24により得られた画像データにより示される画像では、赤の濃度値が高くなるため、赤の画像データを用いることにより良好な合焦制御を行うことができる。   In the present invention, image data of a color having the largest value indicating the calculated ratio of density values between R, G, and B colors may be an evaluation value derivation target. As a result, the evaluation value is derived based on an image of a color having a high density value with respect to the subject image, so that focusing control can be performed appropriately. That is, for example, when the sunset is imaged by the DSC 10 on the ground, since the red density value is high in the image indicated by the image data obtained by the CCD 24, good focusing control can be performed by using the red image data. It can be carried out.

その他、第1の実施の形態乃至第3の実施の形態で説明したDSC10の構成(図1、図2、図5参照。)は、一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。   In addition, the configuration of the DSC 10 described in the first to third embodiments (see FIGS. 1, 2, and 5) is an example, and is appropriately within the scope not departing from the gist of the present invention. Needless to say, it can be changed.

また、上記第1の実施の形態乃至第3の実施の形態において説明したモード対応合焦制御処理プログラムの処理の流れ(図4、図6、図7参照。)も一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。   In addition, the flow of processing of the mode-compatible focusing control processing program described in the first to third embodiments (see FIGS. 4, 6, and 7) is also an example, and the present invention Needless to say, changes can be made as appropriate without departing from the spirit of the invention.

第1の実施の形態に係るDSCの外観を示す外観図である。It is an external view which shows the external appearance of DSC which concerns on 1st Embodiment. 第1の実施の形態に係るDSCの電気系の主要構成を示すブロック図である。It is a block diagram which shows the main structures of the electric system of DSC which concerns on 1st Embodiment. 第1の実施の形態に係る地上及び水中で撮像された画像データにより示される画像のヒストグラムを示す図である。It is a figure which shows the histogram of the image shown by the image data imaged on the ground and underwater which concern on 1st Embodiment. 第1の実施の形態に係るモード対応合焦制御処理プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the mode corresponding | compatible focusing control processing program which concerns on 1st Embodiment. 第2の実施の形態に係るDSCの電気系の主要構成を示すブロック図である。It is a block diagram which shows the main structures of the electric system of DSC which concerns on 2nd Embodiment. 第2の実施の形態に係るモード対応合焦制御処理プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the mode corresponding | compatible focusing control processing program which concerns on 2nd Embodiment. 第3の実施の形態に係るモード対応合焦制御処理プログラムの処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process of the mode corresponding | compatible focusing control processing program which concerns on 3rd Embodiment.

符号の説明Explanation of symbols

10 DSC
24 CCD
34 モータ駆動部
40 CPU
60 評価値導出部
70 水中検出部
10 DSC
24 CCD
34 Motor drive unit 40 CPU
60 Evaluation Value Deriving Unit 70 Underwater Detection Unit

Claims (6)

撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成する撮像手段と、
予め設定された色の前記画像情報に基いて被写体像の合焦の度合いを示す評価値を導出する導出手段と、
前記導出手段に対して前記評価値の導出に用いる前記画像情報の色を設定する設定手段と、
前記導出手段によって導出された前記評価値に基づいて合焦制御を行う制御手段と、
を備えた撮像装置。
Imaging means for generating image information for each color of red, green, and blue indicating a subject image by imaging;
Derivation means for deriving an evaluation value indicating the degree of focus of the subject image based on the image information of a preset color;
Setting means for setting a color of the image information used for deriving the evaluation value with respect to the deriving means;
Control means for performing focus control based on the evaluation value derived by the derivation means;
An imaging apparatus comprising:
前記撮像装置が水中にあるか否かを検出する検出手段をさらに備え、
前記設定手段は、前記検出手段により水中にあることを検出した場合に前記導出手段に対して青を設定する
請求項1記載の撮像装置。
Further comprising detecting means for detecting whether or not the imaging device is in water,
The imaging apparatus according to claim 1, wherein the setting unit sets blue for the derivation unit when the detection unit detects that the unit is underwater.
前記画像情報により示される前記被写体像の赤、緑、青の各色間の濃度値の比率を示す値を算出する算出手段をさらに備え、
前記設定手段は、前記算出手段により算出された値に基づいて前記導出手段に対して設定する色を決定する
請求項1記載の撮像装置。
A calculation means for calculating a value indicating a ratio of density values between red, green, and blue colors of the subject image indicated by the image information;
The imaging apparatus according to claim 1, wherein the setting unit determines a color to be set for the derivation unit based on the value calculated by the calculation unit.
前記設定手段は、前記算出手段により算出された値が水中での撮像により前記撮像手段によって生成された画像情報に基づく値として許容される所定範囲以内である場合に前記導出手段に対して青を設定する
請求項3記載の撮像装置。
The setting means outputs blue to the derivation means when the value calculated by the calculation means is within a predetermined range that is allowed as a value based on image information generated by the imaging means by underwater imaging. The imaging device according to claim 3 to be set.
前記設定手段は、前記算出手段により算出された値により示される比率が最も大きい色を前記導出手段に対して設定する
請求項3記載の撮像装置。
The imaging apparatus according to claim 3, wherein the setting unit sets a color having the largest ratio indicated by the value calculated by the calculation unit to the derivation unit.
撮像によって被写体像を示す赤、緑、青の各色別の画像情報を生成する撮像手段を有する撮像装置の合焦制御方法であって、
前記被写体像の合焦の度合いを示す評価値の導出に用いる色を決定し、
決定した色の前記画像情報に基いて前記評価値を導出し、
導出した前記評価値に基づいて合焦制御を行う、
撮像装置の合焦制御方法。
A focus control method for an imaging apparatus having imaging means for generating image information for each color of red, green, and blue indicating a subject image by imaging,
Determining a color used to derive an evaluation value indicating the degree of focus of the subject image;
Deriving the evaluation value based on the image information of the determined color,
Focus control is performed based on the derived evaluation value.
A focusing control method for an imaging apparatus.
JP2005017313A 2005-01-25 2005-01-25 Imaging device and focusing control method of the imaging device Pending JP2006208487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005017313A JP2006208487A (en) 2005-01-25 2005-01-25 Imaging device and focusing control method of the imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005017313A JP2006208487A (en) 2005-01-25 2005-01-25 Imaging device and focusing control method of the imaging device

Publications (1)

Publication Number Publication Date
JP2006208487A true JP2006208487A (en) 2006-08-10

Family

ID=36965454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005017313A Pending JP2006208487A (en) 2005-01-25 2005-01-25 Imaging device and focusing control method of the imaging device

Country Status (1)

Country Link
JP (1) JP2006208487A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009124598A (en) * 2007-11-16 2009-06-04 Canon Inc Image processor, and image processing method
JP2013037325A (en) * 2011-08-11 2013-02-21 Olympus Imaging Corp Imaging apparatus capable of performing underwater imaging

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009124598A (en) * 2007-11-16 2009-06-04 Canon Inc Image processor, and image processing method
US8437539B2 (en) 2007-11-16 2013-05-07 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2013037325A (en) * 2011-08-11 2013-02-21 Olympus Imaging Corp Imaging apparatus capable of performing underwater imaging

Similar Documents

Publication Publication Date Title
JP5954336B2 (en) Image processing apparatus, image processing method, and recording medium
JP2007019973A (en) Imaging device and imaging method
JP2007060328A (en) Imaging apparatus and display control method
JP6460721B2 (en) Image processing apparatus, image processing method, and program
JP2007178576A (en) Imaging apparatus and program therefor
JP2007053499A (en) White balance control unit and imaging apparatus
US10298862B2 (en) Imaging apparatus and imaging method
JP2010054730A (en) Focusing position detecting device, imaging apparatus, and focusing position detecting method
JP2011082965A (en) Imaging apparatus and imaging processing method
US8189055B2 (en) Digital photographing apparatus and method of controlling the same
CN111434104B (en) Image processing apparatus, image capturing apparatus, image processing method, and recording medium
JP2009098167A (en) Imaging device and program of the same
WO2006103880A1 (en) Imaging device
JP2009017427A (en) Imaging device
JP2006208487A (en) Imaging device and focusing control method of the imaging device
JP2009218689A (en) Photometry apparatus and imaging apparatus
JP5224879B2 (en) Imaging device
JP5493273B2 (en) Imaging apparatus, imaging method, and program
JP2005167465A (en) Digital camera and imaging method of digital camera
JP2006345162A (en) Digital camera
JP2006197478A (en) Photographing device
JP4727526B2 (en) Imaging device
JP2008227839A (en) Image-taking device
JP2006222806A (en) Photographing device, and method and program of controlling photographing device
JP2006303755A (en) Imaging apparatus and imaging method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20070222