JP2006208487A - Imaging device and focusing control method of the imaging device - Google Patents
Imaging device and focusing control method of the imaging device Download PDFInfo
- 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
Links
Images
Landscapes
- Focusing (AREA)
- Automatic Focus Adjustment (AREA)
- Color Television Image Signal Generators (AREA)
- Studio Devices (AREA)
Abstract
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の画像情報を用いて上記評価値の導出が行われていた。
ところで、近年のアウトドア・レジャーの普及により、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
本発明は上記問題点を解消するためになされたものであり、被写体像の合焦制御を的確に行うことのできる撮像装置及び撮像装置の合焦制御方法を提供することを目的とする。 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
請求項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
また、請求項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
DSC10の正面には、被写体に対応する光を結像位置に結像させるためのレンズ21と、撮影時に必要に応じて被写体に照射する光を発するストロボ44と、撮影する被写体の構図を決定するために用いられるファインダ20と、が備えられている。また、DSC10の上面には、撮影を実行する際に押圧操作されるレリーズスイッチ(所謂シャッター)56Aと、電源スイッチ56Bと、モード切替スイッチ56Cと、が備えられている。
In front of the
なお、本実施の形態に係るDSC10のレリーズスイッチ56Aは、中間位置まで押下される状態(以下、「半押し状態」という。)と、当該中間位置を超えた最終押下位置まで押下される状態(以下、「全押し状態」という。)と、の2段階の押圧操作が検出可能に構成されている。
Note that the release switch 56A of the
そして、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
一方、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
更に、DSC10の背面には、LCD38にメニュー画面を表示させるときに押圧操作されるメニュースイッチと、それまでの操作内容を確定するときに押圧操作される決定スイッチと、直前の操作内容をキャンセルするときに押圧操作されるキャンセルスイッチと、ストロボ44の発光状態を設定するときに押圧操作されるストロボスイッチと、が備えられている。
Further, on the back of the
次に、図2を参照して、本実施の形態に係るDSC10の電気系の主要構成を説明する。
Next, the main configuration of the electrical system of the
DSC10は、前述のレンズ21を含んで構成された光学ユニット22と、レンズ21の光軸後方に配設され、結像された被写体像に応じたR(赤)、G(緑)、B(青)のアナログ信号を出力する電荷結合素子(以下、「CCD」という。)24と、入力されたアナログ信号に対して各種のアナログ信号処理を行うアナログ信号処理部26と、を含んで構成されている。
The DSC 10 is disposed behind the
また、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
なお、デジタル信号処理部30は、所定容量のラインバッファを内蔵し、入力されたデジタルデータを後述するRAM48の所定領域に直接記憶させる制御も行う。
The digital
CCD24の出力端はアナログ信号処理部26の入力端に、アナログ信号処理部26の出力端はADC28の入力端に、ADC28の出力端はデジタル信号処理部30の入力端に、各々接続されている。従って、CCD24から出力された被写体像を示すアナログ信号はアナログ信号処理部26によって所定のアナログ信号処理が施され、ADC28によってデジタル画像データに変換された後にデジタル信号処理部30に入力される。
The output terminal of the
一方、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
更に、DSC10は、可搬型のメモリカード52をDSC10でアクセス可能とするための外部メモリインタフェース50と、デジタル画像データに対する圧縮処理及び伸張処理を行う圧縮・伸張処理回路54と、AE機能で用いるための評価値(以下、「AE評価値」という。)及びAF機能で用いるための評価値(以下、「AF評価値」という。)を導出する評価値導出部60と、を含んで構成されている。
Further, the
なお、本実施の形態のDSC10では、メモリカード52としてスマートメディア(Smart Media(登録商標))が用いられている。
In the
また、本実施の形態に係る評価値導出部60では、AE評価値として、上記デジタル画像データにける予め定められた露出制御の対象とするエリア(以下、「AEエリア」という。)に対応するデータから当該AEエリアの明るさを示す情報を導出すると共に、AF評価値として、上記デジタル画像データにける予め定められた合焦制御の対象とするエリア(以下、「AFエリア」という)に対応するデータからコントラストの高さを示す情報(ここでは、所定帯域の高周波成分の積分量を示す情報)を導出する。
Further, in the evaluation
デジタル信号処理部30、LCDインタフェース36、CPU40、メモリインタフェース46、外部メモリインタフェース50、圧縮・伸張処理回路54、及び評価値導出部60はシステムバスBUSを介して相互に接続されている。従って、CPU40は、デジタル信号処理部30、圧縮・伸張処理回路54及び評価値導出部60の作動の制御、LCD38に対するLCDインタフェース36を介した各種情報の表示、RAM48、ROM49及びメモリカード52へのメモリインタフェース46、外部メモリインタフェース50を介したアクセスを各々行うことができる。
The digital
一方、DSC10には、主としてCCD24を駆動させるためのタイミング信号を生成してCCD24に供給するタイミングジェネレータ32が備えられており、CCD24の駆動はCPU40によりタイミングジェネレータ32を介して制御される。
On the other hand, the
更に、DSC10にはモータ駆動部34が備えられており、光学ユニット22に備えられた図示しない焦点調整モータ、ズームモータ及び絞り駆動モータの駆動もCPU40によりモータ駆動部34を介して制御される。
Further, the
すなわち、本実施の形態に係るレンズ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
CPU40は、光学ズーム倍率を変更する際にはズームモータを駆動制御して光学ユニット22に含まれるレンズ21の焦点距離を変化させる。
When changing the optical zoom magnification, the
また、CPU40は、CCD24による撮像によって得られた被写体画像のAF評価値が最大となるように上記焦点調整モータを駆動制御することによって合焦制御を行う。すなわち、本実施の形態に係るDSC10では、合焦制御として、読み取られた画像のコントラストが最大となるようにレンズの位置を設定する、所謂TTL(Through The Lens)方式を採用している。
Further, the
更に、前述のレリーズスイッチ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 “
また、DSC10(図2参照)には、ストロボ44とCPU40との間に介在されると共に、CPU40の制御によりストロボ44を発光させるための電力を充電する充電部42が備えられている。更に、ストロボ44はCPU40にも接続されており、ストロボ44の発光はCPU40によって制御される。
Further, the DSC 10 (see FIG. 2) includes a charging
ところで、本実施の形態に係るDSC10は、撮影モードとして、地上での撮影に適した制御が行われる地上撮影モードと、水中での撮影に適した制御が行われる水中撮影モードの2種類のモードを備えている。そして、DSC10は、モード切替スイッチ56Cが撮影モードに設定されると地上撮影モードがデフォルトで設定され、十字カーソルスイッチ56Dにより所定の操作を行うことによって、水中撮影モードに切り替えることが可能となっており、設定されている撮影モードを示す情報がRAM48に記憶される。
By the way, the
一方、図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
次に、本実施の形態に係るDSC10の撮像時における全体的な動作について簡単に説明する。
Next, the overall operation at the time of imaging of the
まず、CCD24は、光学ユニット22を介した撮像を行い、被写体像を示すR、G、B毎のアナログ信号をアナログ信号処理部26に順次出力する。アナログ信号処理部26は、CCD24から入力されたアナログ信号に対して相関二重サンプリング処理等のアナログ信号処理を施した後にADC28に順次出力する。
First, the
ADC28は、アナログ信号処理部26から入力されたR、G、B毎のアナログ信号を各々12ビットのR、G、Bの信号(デジタル画像データ)に変換してデジタル信号処理部30に順次出力する。
The
デジタル信号処理部30は、内蔵しているラインバッファにADC28から順次入力されるデジタル画像データを蓄積して一旦RAM48の所定領域に直接格納する。
The digital
RAM48の所定領域に格納されたデジタル画像データは、CPU40による制御に応じてデジタル信号処理部30により読み出され、所定の物理量に応じたデジタルゲインをかけると共に、ガンマ処理及びシャープネス処理を行って8ビットのR、G、Bのデジタル画像データを生成する。
The digital image data stored in a predetermined area of the
そして、デジタル信号処理部30は、生成した8ビットのデジタル画像データに対しYC信号処理を施して輝度信号Yとクロマ信号Cr、Cb(以下、「YC信号」という。)を生成し、YC信号をRAM48の上記所定領域とは異なる領域に格納する。
The digital
なお、LCD38は、CCD24による連続的な撮像によって得られた動画像(スルー画像)を表示してファインダとして使用することができるものとして構成されており、LCD38をファインダとして使用する場合には、生成したYC信号を、LCDインタフェース36を介して順次LCD38に出力する。これによってLCD38にスルー画像が表示されることになる。
The
ここで、レリーズスイッチ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
次に、図4を参照して、モード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、図4は、このときCPU40にて実行されるモード対応合焦制御処理プログラムの処理の流れを示すフローチャートであり、当該プログラムはROM49の所定領域に予め記憶されている。
Next, with reference to FIG. 4, the operation of the
同図のステップ100では、RAM48に記憶されている情報に基づいて、この時点で設定されている撮影モードを特定し、次のステップ102では、特定した撮影モードが水中撮影モードであったか否かを判定し、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。
In
ステップ104では、評価値導出部60に対してAF評価値の導出に用いるデジタル画像データの色としてBを設定し、その後ステップ108へ移行する。
In
一方、ステップ106では、評価値導出部60に対してAF評価値の導出に用いるデジタル画像データの色としてGを設定し、その後ステップ108へ移行する。
On the other hand, in
以上のステップ104又はステップ106の処理に応じて、評価値導出部60では、CPU40によって設定された色のデジタル画像データに基づいてAF評価値を導出する。
In accordance with the processing of
そこで、ステップ108では、評価値導出部60によって導出されたAF評価値に基づいて合焦制御処理を行う。なお、ここでは、評価値導出部60によって導出されたAF評価値が最大となるように上記焦点調整モータを駆動制御することによって合焦制御を行う。そして、当該合焦制御が終了すると本モード対応合焦制御処理プログラムは終了となる。
Therefore, in
このように、第1の実施の形態に係るDSC10によれば、水中において撮像を行う場合、R、Gの光が減衰してGの画像データにおいて合焦制御を行うための十分なコントラストを得られない場合であっても、水中撮影モードに設定することにより、Bの画像データに基づいてAF評価値を導出して良好な合焦制御を行うことができる。
As described above, according to the
以上詳細に説明したように、第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
図5には、第2の実施の形態に係るDSC10の電気系の主要構成が示されている。なお、同図の図2と同一の構成要素については図2と同一符号箇所を付して、その説明を省略する。
FIG. 5 shows the main configuration of the electrical system of the
本実施の形態に係るDSC10は、圧力センサが内蔵される共に、当該圧力センサにより検出された外部の圧力を示す信号を出力する水中検出部70と、水中検出部70から出力された信号が入力される外部信号入力部72と、を備えており、外部信号入力部72はシステムバスBUSに接続されている。従って、CPU40は、水中検出部70により検出されたDSC10の外部の圧力を外部信号入力部72を介して把握することができる。
The
なお、DSC10が防水対策がなされており、水中カメラケース等に収納することなく水中での撮像が可能な場合は、水中検出部70をDSC10の本体筐体外壁に設けるようにすればよい。また、DSC10が防止対策がなされておらず、水中カメラケース等に収納して水中での撮像を行う場合は、水中検出部70を当該水中カメラケース等の外壁に設け、外部信号入力部72と電気的に接続すればよい。
If the
次に、図6を参照して、第2の実施の形態に係るモード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、同図の図4と同一の処理を行うステップについては図4と同一のステップ番号を付して、その説明を省略する。
Next, with reference to FIG. 6, the operation of the
同図のステップ200では、水中検出部70から外部信号入力部72を介して入力された信号に基づいて外部圧力を検出する。次のステップ202では、検出された外部圧力が所定の圧力以上であるか否かを判定して、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。すなわち、水中では水による圧力(水圧)によって地上に比べて圧力が上昇することを利用し、本実施の形態では、検出された圧力の大きさによって水中であるか、地上であるかを判別している。なお、本実施の形態では、前記所定の圧力として水中検出部70によって検出された圧力が当該圧力以上となった場合にDSCが水中に存在すると見なすことができる圧力として予めDSC10実機を用いた実験や、DSC10の設計仕様等に基づいてコンピュータ・シュミレーション等によって得られたものが適用されて、ROM49に予め記憶されている。
In
このように、第2の実施の形態に係るDSC10によれば、水中検出部70による外部圧力の検出結果に基づいて水中での撮影であるか否かを判定し、水中の撮影の場合には、Bの画像データに基づいてAF評価値を導出しているので、良好な合焦制御を行うことができる。
As described above, according to the
以上詳細に説明したように、第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
[第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
図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
そして、本実施の形態では、算出したRの濃度値の比率を示す値が水中での撮影によって生成された画像に基づく値として許容される所定範囲以内であるか否かによってDSC10が水中にあるかを判定する。
In the present embodiment, the
次に、図7を参照して、第3の実施の形態に係るモード対応合焦制御処理の実行時におけるDSC10の作用を説明する。なお、同図の図4と同一の処理を行うステップについては図4と同一のステップ番号を付して、その説明を省略する。
Next, with reference to FIG. 7, the operation of the
同図のステップ300では、CCD24の撮影によって得られた画像データにより示される画像全体のR、G、Bの各色間の濃度値の比率を示す値を算出する。
In
次のステップ302では、DSC10が水中にあるかを判定するため、算出したRの濃度値の比率を示す値が、ROM49に記憶された比率データにより示されるRの濃度値の比率を示す値と上記所定範囲以内であるか否かを判定し、肯定判定となった場合はステップ104へ移行し、否定判定となった場合はステップ106へ移行する。
In the
このように、第3の実施の形態に係るDSC10によれば、撮影によって得られた画像データにより示される画像におけるRの濃度値の比率を示す値と比率データにより示されるRの濃度値の比率を示す値とに基づいてDSC10が水中に存在するかを判定することができ、水中に存在すると検出された場合に、Bの画像データに基づいてAF評価値を導出するよにしているので、良好な合焦制御を行うことができる。
As described above, according to the
以上詳細に説明したように、前記画像情報により示される前記被写体像の赤、緑、青の各色間の濃度値の比率を示す値を算出する算出手段(ここでは、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
その他、第1の実施の形態乃至第3の実施の形態で説明したDSC10の構成(図1、図2、図5参照。)は、一例であり、本発明の主旨を逸脱しない範囲内において適宜変更可能であることは言うまでもない。
In addition, the configuration of the
また、上記第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.
10 DSC
24 CCD
34 モータ駆動部
40 CPU
60 評価値導出部
70 水中検出部
10 DSC
24 CCD
34
60 Evaluation
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.
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)
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 |
-
2005
- 2005-01-25 JP JP2005017313A patent/JP2006208487A/en active Pending
Cited By (3)
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 |