JP4853447B2 - Digital camera, focus control system thereof, focus control method, focus control program - Google Patents
Digital camera, focus control system thereof, focus control method, focus control program Download PDFInfo
- Publication number
- JP4853447B2 JP4853447B2 JP2007259327A JP2007259327A JP4853447B2 JP 4853447 B2 JP4853447 B2 JP 4853447B2 JP 2007259327 A JP2007259327 A JP 2007259327A JP 2007259327 A JP2007259327 A JP 2007259327A JP 4853447 B2 JP4853447 B2 JP 4853447B2
- Authority
- JP
- Japan
- Prior art keywords
- imaging
- image
- focus
- irradiation position
- setting
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Automatic Focus Adjustment (AREA)
- Studio Devices (AREA)
- Focusing (AREA)
Description
本発明は、オートフォーカス機能を有するデジタルカメラと、そのフォーカス制御システム、フォーカス制御方法、フォーカス制御プログラムに関するものである。 The present invention relates to a digital camera having an autofocus function, a focus control system thereof, a focus control method, and a focus control program.
従来、被写体をCCDやMOS型の固体撮像素子を用いて撮像するデジタルカメラではAF(オートフォーカス)機能を通常備えており、静止画撮影時にAF機能を使用する場合には、スルー画像を表示しているモニター内に、画角内でピント合わせの対象となる位置を示すためのAFエリアを表示するものが一般的である。また、AFエリアはモニター内の中央部に設定されているものが多いが、撮影時には、AFエリアが設定されている撮影範囲(画面中央)以外に位置する特定の被写体を合焦したい場合がある。その場合、一旦、カメラを振って撮影範囲画の中央に特定の被写体を位置させてからピント合わせを行い、その後に当該特定の被写体が撮影範囲の中央以外に位置するように再度カメラを振る必要がある。そのため、ユーザは繰り返しカメラを振るという煩わしい動作を強いられる。 Conventionally, a digital camera that captures an image of a subject using a CCD or MOS type solid-state image sensor usually has an AF (autofocus) function. When using the AF function for still image shooting, a through image is displayed. In general, an AF area for indicating a position to be focused within an angle of view is displayed in a monitor. In many cases, the AF area is set at the center of the monitor, but when shooting, it may be desired to focus on a specific subject located outside the shooting range (center of the screen) where the AF area is set. . In that case, it is necessary to shake the camera once to position a specific subject in the center of the shooting range, then focus, and then shake the camera again so that the specific subject is located outside the center of the shooting range. There is. For this reason, the user is forced to perform a troublesome operation of shaking the camera repeatedly.
ここで、例えば下記特許文献1には、AFエリアを複数設け、それらのマルチ(複数)AFエリアの中からユーザが切替スイッチの操作によって所望のAFエリアを選択することにより、撮影範囲の中央以外に位置する特定の被写体にピントを合わせる技術が開示されている。この特許文献1の技術によれば、ユーザが最初にカメラを構えた時点でピントを合わせたい被写体がマルチAFエリアの範囲内に位置していれば、カメラを振ることなく撮影範囲の中央以外に位置する被写体に合焦することができる。
しかしながら、特許文献1の技術においても、マルチAFエリアの範囲から外れた被写体に合焦する場合は、カメラを振ってAFエリアの範囲を当該被写体に重ねた後に切替スイッチの操作によって所望のAFエリアを選択して合焦させる必要があり手間がかかるという問題がある。 However, even in the technique of Patent Document 1, when focusing on a subject outside the range of the multi-AF area, the desired AF area is operated by operating the changeover switch after the camera is shaken and the range of the AF area is superimposed on the subject. There is a problem that it is necessary to select and focus on the image.
そこで、本発明は、かかる従来の課題に鑑みてなされたものであり、撮影範囲における任意の場所に位置する被写体に対するピント合わせを容易に行うことが可能となるデジタルカメラと、そのフォーカス制御システム、フォーカス制御方法、フォーカス制御プログラムを提供することを目的とする。 Therefore, the present invention has been made in view of such a conventional problem, a digital camera that can easily focus on a subject located at an arbitrary place in a shooting range, and a focus control system thereof, It is an object to provide a focus control method and a focus control program.
前記課題を解決するため請求項1記載の発明に係るデジタルカメラにあっては、オートフォーカス機能を備えたデジタルカメラにおいて、被写体像を撮像して画像を取得する撮像手段と、前記撮像手段により取得された画像に、第1のフォーカス検出領域を設定する第1の設定手段と、前記撮像手段により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出手段と、前記撮像手段により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段と、前記第1のフォーカス検出領域の画像情報に基づくオートフォーカス処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせる制御手段と、前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段と、前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、前記撮像手段に、撮像した画像の記録に向けた撮像動作を行わせる撮像制御手段とを備えたことを特徴とする。
In order to solve the above-described problem, in the digital camera according to the first aspect of the present invention, in a digital camera having an autofocus function, an imaging unit that captures a subject image and acquires the image is acquired by the imaging unit. A first setting unit that sets a first focus detection region in the captured image, and a detection unit that detects an irradiation position of predetermined instruction light irradiated to the subject from the image acquired by the imaging unit Second setting means for setting a second focus detection area corresponding to the irradiation position detected by the detection means in the image acquired by the imaging means, and image information of the first focus detection area in preference to the auto-focus processing based on, and control means for causing the auto focus processing based on the image information of the second focus detection area, before After the irradiation position is once detected by the detection means, the measurement means for measuring the elapsed time after the irradiation position cannot be detected by the detection means, and the elapsed time measured by the measurement means has reached a predetermined time And an imaging control unit that causes the imaging unit to perform an imaging operation for recording the captured image .
また、請求項2記載の発明に係るデジタルカメラにあっては、前記検出手段は、前記撮像手段により取得された画像から、外部から照射されるとともに一定周期で点滅する指示光の照射位置を検出することを特徴とする。 Further, in the digital camera according to the second aspect of the invention, the detection unit detects an irradiation position of the instruction light that is irradiated from the outside and blinks at a constant cycle from the image acquired by the imaging unit. It is characterized by doing.
また、請求項3記載の発明に係るデジタルカメラにあっては、前記検出手段は、撮像手段により取得された画像から、前記指示光の色と同様の色成分の画素情報を抽出する抽出手段を含み、この抽出手段により抽出された画素情報に基づいて前記指示光の照射位置を検出することを特徴とする。 In the digital camera according to a third aspect of the invention, the detection means includes extraction means for extracting pixel information of a color component similar to the color of the instruction light from an image acquired by the imaging means. And the irradiation position of the indicator light is detected based on the pixel information extracted by the extracting means.
また、請求項4記載の発明に係るデジタルカメラにあっては、前記第1の設定手段は、前記撮像手段により取得された画像に前記第1のフォーカス検出領域を複数設定し、前記撮像手段により取得された画像をスルー画像として表示する表示手段と、この表示手段に、画像内における前記複数の第1のフォーカス検出領域をそれぞれ示す複数のフォーカス枠を表示させる表示制御手段とをさらに備え、前記制御手段は、前記表示制御手段が前記表示手段に表示させた複数のフォーカス枠のうちのいずれかのフォーカス枠の選択操作に応答し、前記検出手段による照射位置の検出動作を停止させるとともに、前記選択操作により選択されたフォーカス枠に対応するフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせることを特徴とする。
In the digital camera according to a fourth aspect of the present invention, the first setting means sets a plurality of the first focus detection areas in the image acquired by the imaging means, and the imaging means Display means for displaying the acquired image as a through image, and display control means for displaying a plurality of focus frames respectively indicating the plurality of first focus detection areas in the image on the display means, The control means responds to the selection operation of any one of the plurality of focus frames displayed on the display means by the display control means, stops the irradiation position detection operation by the detection means, and that to perform auto-focus processing based on the image information of the focus detection area corresponding to the focus frame selected by the selection operation And butterflies.
また、請求項5記載の発明に係るフォーカス制御システムにあっては、被写体に対して所定の指示光を照射する照射手段と、オートフォーカス機能を備えたデジタルカメラであって、被写体像を撮像して画像を取得する撮像手段と、前記撮像手段により取得された画像に、第1のフォーカス検出領域を設定する第1の設定手段と、前記撮像手段により取得された画像から、前記照射手段により照射された前記所定の指示光の照射位置を検出する検出手段と、前記撮像手段により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段と、前記第1のフォーカス検出領域の画像情報に基づくオートフォーカス処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせる制御手段と、前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段と、前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、前記撮像手段に、撮像した画像の記録に向けた撮像動作を行わせる撮像制御手段とを備えたデジタルカメラとを備えたことを特徴とする。
Further, in the focus control system according to the invention of claim 5, wherein irradiating means for irradiating a pointing light of a Jo Tokoro with respect object, a digital camera having an autofocus function, capturing a subject image An imaging unit that acquires an image, a first setting unit that sets a first focus detection area in the image acquired by the imaging unit, and an image acquired by the imaging unit by the irradiation unit. A detection unit that detects an irradiation position of the predetermined instruction light that has been irradiated, and a second focus detection region that corresponds to the irradiation position detected by the detection unit is set in an image acquired by the imaging unit. 2 based on the image information of the second focus detection area in preference to the auto-focus process based on the setting means and the image information of the first focus detection area. Ku and control means for causing the auto focus processing, after the irradiation position is detected once by the detection unit, a measuring unit irradiation position to measure the elapsed time after that can no longer detected by said detecting means, by said measuring means A digital camera comprising: an imaging control unit that causes the imaging unit to perform an imaging operation for recording a captured image, triggered by a measured elapsed time reaching a predetermined time. And
また、請求項6記載の発明に係るフォーカス制御方法にあっては、オートフォーカス機能を備えたデジタルカメラにおけるフォーカス制御方法であって、撮像された画像に第1のフォーカス検出領域を設定する第1の設定ステップと、撮像により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出ステップと、撮像により取得された画像に、前記検出ステップで検出した照射位置に応じた領域を第2のフォーカス検出領域として設定する第2の設定ステップと、前記第1のフォーカス検出領域の画像情報に基づく合焦処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づく合焦処理を行う合焦処理ステップと、前記検出ステップで照射位置がいったん検出された後、前記検出ステップで照射位置が検出できなくなった後の経過時間を計測する計測ステップと、前記計測ステップで計測された経過時間が所定時間に達したことをトリガとして、画像の記録に向けた撮像動作を行わせる撮像制御ステップとを含むことを特徴とする。
According to a sixth aspect of the present invention, there is provided a focus control method for a digital camera having an autofocus function, wherein the first focus detection area is set in a captured image. Setting step, a detection step for detecting an irradiation position of predetermined instruction light irradiated to the subject from an image acquired by imaging, and an irradiation position detected by the detection step in the image acquired by imaging In accordance with the second setting step of setting the area corresponding to the second focus detection area and the focusing process based on the image information of the first focus detection area. a focusing process step performs the focusing processing based on the image information, after the irradiation position by the detecting step is detected once, in the detecting step A measurement step for measuring an elapsed time after the shooting position cannot be detected, and an imaging for performing an imaging operation for recording an image triggered by the elapsed time measured in the measurement step reaching a predetermined time And a control step .
また、請求項7記載の発明にあっては、オートフォーカス機能を備えたデジタルカメラが有するコンピュータを、撮像により取得された画像に第1のフォーカス検出領域を設定する第1の設定手段、撮像により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出手段、撮像により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段、前記第1のフォーカス検出領域の画像情報に基づく合焦処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づく合焦処理を行わせる制御手段、前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段、前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、画像の記録に向けた撮像動作を行わせる撮像制御手段、として機能させるためのフォーカス制御プログラムとした。 Further, in the invention of claim 7, wherein, the computer having a digital camera having an autofocus function, a first setting means for setting a first focus detection area in the image acquired by the imaging by the imaging Detection means for detecting the irradiation position of the predetermined instruction light irradiated to the subject from the acquired image, the second focus corresponding to the irradiation position detected by the detection means on the image acquired by imaging second setting means for setting a detection area, the first in preference to the focusing processing based on the image information of the focus detection area, line Align the focusing processing based on the image information of the second focus detection area that control means, wherein after the irradiation position is detected once by the detecting means, measuring means for irradiating position by the detection means for measuring an elapsed time after no detectable As a trigger that the elapsed time measured by said measuring means reaches a predetermined time, and a focus control program for functioning as an imaging control means for causing the image pickup operation for the recording of the image.
本発明によれば、撮影範囲における任意の場所に位置する被写体に対するピント合わせを容易に行うことが可能となる。 According to the present invention, it is possible to easily focus on a subject located at an arbitrary place in the photographing range.
以下、本発明の一実施の形態を図にしたがって説明する。図1は、本発明に係るフォーカス制御システムを示すブロック図であって、図示したように、フォーカス制御システムはデジタルカメラ1とレーザーポインタ51とから構成される。まず、デジタルカメラ1について説明すると、本実施形態のデジタルカメラ1は、AE(自動露出)、及び周知のコントラスト検出方式によるAF機能を備えたものであって、デジタルカメラ全体を制御するCPU2と、以下の各部から構成されている。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a focus control system according to the present invention. As shown in the figure, the focus control system comprises a digital camera 1 and a
すなわちデジタルカメラ1は、カメラ本体内において図示しない駆動機構に支持されたフォーカスレンズ3と、フォーカスレンズ3を光軸方向に移動するためのフォーカスモータ4、フォーカスモータ4を駆動するためのモータードライバ5を有している。モータードライバ5はバス6を介してCPU2と接続されており、CPU2からの制御信号に基づきフォーカスレンズ3が光軸方向へ移動することによりフォーカス調整が行われる。
That is, the digital camera 1 includes a focus lens 3 supported by a drive mechanism (not shown) in the camera body, a
一方、本実施形態のデジタルカメラ1は撮像手段としてCCD7を有している。CCD7は、CPU2の命令に従いタイミング発生器(TG:Timing Generator)8が生成するタイミング信号に基づき垂直/水平ドライバ9によって駆動され、フォーカスレンズ3を介して結像された被写体の光学像を光電変換し、撮像信号としてアナログ信号処理部10に出力する。
On the other hand, the digital camera 1 of the present embodiment has a CCD 7 as an imaging means. The CCD 7 is driven by a vertical /
アナログ信号処理部10は、CCD7の出力信号に含まれるノイズを相関二重サンプリングによって除去するCDS回路や、ノイズが除去された撮像信号をデジタル信号に変換するA/D変換器、ゲイン調整アンプ等から構成され、デジタルに変換した画像信号を画像処理部11へ出力する。
The analog
画像処理部11は、SDRAM12をワーキングメモリとして使用し、入力したデジタルの画像信号、すなわちCCD7のフィルター配列に応じた画素毎に異なる色の画像データ(ベイヤデータ)から画素補間、及び画素毎のRGBデータの生成を行った後、それを輝度(Y)、及び色差(Cb,Cr)の各データからなるYUVデータに変換する。その際、CPU2の指令に従いCb,Cr(R,Bデータでもよい。)のゲイン調整によるホワイトバランス調整などのデジタル信号処理を行う。
The
また、画像処理部11で生成されたYUVデータは順次SDRAM12に格納され、1フレーム分のデータ(画像データ)が蓄積される毎にビデオ信号に変換された後、本発明の表示手段である液晶モニタ(LCD)13においてスルー画像として表示される。また、記録モードでの撮影時には、SDRAM12に一時記憶された画像データ(YUVデータ)がCPU2により圧縮されてSDRAM12内のバッファ領域にいったん蓄積された後、最終的にはJPEG等の所定のフォーマットの画像ファイルとして外部メモリ14に記録される。なお、外部メモリ14は図示しないカードインターフェイスを介して接続されたカメラ本体に着脱自在なメモリカードである。
The YUV data generated by the
外部メモリ14に記録された画像ファイルは、再生モードにおいてユーザーの選択操作に応じてCPU2に読み出されるとともに伸張され、YUVデータとしてSDRAM12に展開された後、液晶モニタ13において表示される。
The image file recorded in the
フラッシュメモリ15はカメラ本体に内蔵されたメモリであって、フラッシュメモリ15には、外部メモリ14(メモリカード)が装着されていない状態で撮影された画像のファイルが記憶される画像記憶領域や、デジタルカメラ1の動作に必要な各種のプログラムが記憶されたプログラム領域が確保されている。プログラム領域に記憶されているプログラムにはAE制御プログラムや、AF制御プログラム(本発明のフォーカス制御プログラム)が含まれており、係るAF制御プログラムに従い動作することにより、CPU2は本発明の検出手段、第1の設定手段、第2の設定手段、合焦処理手段、制御手段、抽出手段(計測手段を含む)、表示制御手段、撮影制御手段として機能する。
The
キー入力部16は、電源キーやシャッターキー、モード切替スイッチ、メニューキー、ディスプレーキー、コントロールキー、セットキー等の各操作キーから構成される。コントロールキーは、デジタルカメラにおいて一般的な上下左右の各方向が指示可能な1組(又は一体型)の方向キーであり、前記メニューキーの押下により液晶モニタ13に表示されるメニュー画面において設定項目や設定内容の選択に使用される。また、前記セットキーは、設定項目や設定内容の選択状態の確定等に使用される。そして、キー入力部16におけるキー操作状態はCPU2によって逐次スキャンされており、ユーザーによっていずれかの操作キーが操作されると、その操作内容がCPU2によって検出される。
The
次に、前述したレーザーポインタ51について説明する。前記レーザーポインタ51は、撮影時に、ユーザーが必要に応じて所望する特定の被写体や、任意の被写体の特定部分にレーザービーム(指示光)を照射する本発明の照射手段であり、赤色でかつ一定周期(1秒間に数十回)で点滅するレーザービームを発する構成を備えている。
Next, the
以下、上述した構成からなるデジタルカメラ1の動作について説明する。図2は、記録モードにおいて、AF機能がオン設定されているときCPU2が実行する本発明に係る処理の内容を示したフローチャートである。 Hereinafter, the operation of the digital camera 1 having the above-described configuration will be described. FIG. 2 is a flowchart showing the contents of the process according to the present invention which is executed by the CPU 2 when the AF function is set to ON in the recording mode.
図2に示したようにCPU2は、記録モードの設定とともに処理を開始し、CCD7を所定のフレームレートで駆動しスルー画像の取得、及び液晶モニタ13への表示を開始した後(ステップS1)、液晶モニタ13の表示画面に、図3(a)に示したようにスルー画像100を表示中の画面中央部に3つ1組のAF枠101(マルチAF枠)を表示させる(ステップS2)。
As shown in FIG. 2, the CPU 2 starts processing together with the setting of the recording mode, drives the CCD 7 at a predetermined frame rate, starts acquiring a through image, and starts displaying on the liquid crystal monitor 13 (step S1). As shown in FIG. 3A, a set of three AF frames 101 (multi-AF frames) is displayed on the display screen of the liquid crystal monitor 13 at the center of the screen where the through
引き続き、CPU2は、その時点でポインタ優先モードが設定されているか、つまりポインタ優先機能がオン設定されているか否かを確認する(ステップS3)。ポインタ優先モードは、後述するようにユーザーが撮影時にAF機能により所望する特定の被写体へのピント合わせを行う場合に、前記レーザーポインタ51の光によって、画角内における任意の位置をフォーカス位置として設定することができるモードである。
Subsequently, the CPU 2 checks whether or not the pointer priority mode is set at that time, that is, whether or not the pointer priority function is set on (step S3). In the pointer priority mode, as will be described later, when the user focuses on a specific subject desired by the AF function during shooting, an arbitrary position within the angle of view is set as a focus position by the light of the
ここで、上記ポインタ優先モードが設定されていない場合には(ステップS3でNO)、直ちにユーザーにより前述した3つのAF枠101のいずれかの選択操作があるか否かをさらに確認する(ステップS4)。なお、AF枠101の選択は、ユーザーが前述したコントロールキー及びセットキーを操作することにより、例えばコントロールキーにより選択対象のAF枠101を変更し、セットキーにより選択の終了(AF枠101の決定)することにより行われる。
Here, when the pointer priority mode is not set (NO in step S3), it is further confirmed whether or not there is any selection operation of any of the three
そして、AF枠101の選択操作が行われるまで(ステップS4,S7が共にNO)、AF枠101の選択操作の有無を繰り返し確認する。また、上記AF枠101の選択操作が行われたら(ステップS4でYES)、選択されたいずれかのAF枠101によって示される画像内のAFエリア(本発明における第1のフォーカス検出領域)を対象とする合焦処理、すなわちフォーカスレンズ3を移動させながらAFエリアにおけるコントラスト値が最大となるフォーカスレンズ位置をサーチし、サーチ位置にフォーカスレンズ3を移動するAF動作を行い、選択されたAF枠101に重なる(位置する)特定の被写体(又はある被写体の特定部分)へのピント合わせを行う(ステップS5)。
Until the
その後、シャッターキーが押されるまでの間は(ステップS6でNO)、ステップS4へ戻り、AF枠101の選択操作が再度行われたときには(ステップS)、その都度、合焦処理を繰り返す(ステップS4でYES、ステップS5)。そして、シャッターキーが押されたら(ステップS6でYES)、その時点でCCD7による画像記録に向けた撮像動作、撮像した画像の圧縮及び外部メモリ14への記録といった撮影処理を行う(ステップS17)。これにより1回の撮影動作を完了する。
Thereafter, until the shutter key is pressed (NO in step S6), the process returns to step S4, and when the
一方、前述したステップS3の確認結果がYESであって、前述したポインタ優先モードが設定されていたときには、いったんユーザーによる前述したAF枠101の選択操作があるか否かを確認し、選択操作があれば(ステップS8でYES)、その時点でステップS5の処理へ移行する。すなわち、選択されたAF枠101に重なる(位置する)特定の被写体(又はある被写体の特定部分)へのピント合わせを行い、その後は、ポインタ優先モードが設定されていない場合と同様の処理を行う。
On the other hand, if the confirmation result in step S3 described above is YES and the pointer priority mode described above is set, it is once confirmed whether or not the user has performed the selection operation of the
これに対し、AF枠101の選択操作がなければ(ステップS8NO)、所定のフレーム期間内(例えば0.5秒間)に、画像処理部11により生成されSDRAM12に一時記憶される各フレームのRGBデータからRデータのみを抽出し、フレーム毎に各画素の画素値を確認するとともに、画素値が一定周期で変化する画素が連続して並んだ光点滅領域を検出する(ステップS9)。つまりレーザーポインタ51の光ビーム(指示光)が照射されている場合における光ビームの照射位置を検出する。
On the other hand, if the
そして、処理開始当初においては、光点滅領域が確認できず、かつ後述する光点確認フラグがオフであるため(ステップS10,S11が共にNO)、そのままステップS8へ戻る。その後、レーザーポインタ51によって画角内の任意の被写体部分に光ビームが照射され、それに伴い前記光点滅領域が確認できたら(ステップS10でYES)、光点滅領域を中心とするとともに前述した各々のAF枠101により示されるAFエリアと同じ大きさのAFエリア(本発明における第2のフォーカス検出領域)を新たに設定し、そのAFエリアを対象とする合焦処理を行う(ステップS12)。これにより、前記光ビームが照射された特定の被写体(又はある被写体の特定部分)へのピント合わせを行う。
Then, at the beginning of the process, the light blinking area cannot be confirmed, and the light spot confirmation flag described later is OFF (both NO in steps S10 and S11), so the process directly returns to step S8. Thereafter, when the
図3(b)は、画角内の被写体にレーザーポインタ51の光ビームが照射されているときのスルー画像100に現れる光点Pを示した図3(a)に対応する図であって、図中に破線の矩形で示した領域がステップS11において新たに設定されるAFエリア102である。なお、同図は、光点Pの大きさを便宜上拡大して示した図である。
FIG. 3B is a diagram corresponding to FIG. 3A showing the light spot P appearing in the through
したがって、ユーザーにあっては、図に示したように、所望する被写体の特定部分(図の例では人物の手の部分)に光ビームを照射するだけで、3つのAF枠101に関係なく、その特定部分にAFエリアを設定してピントを合わせることができる。 Therefore, as shown in the figure, the user simply irradiates a specific portion of the desired subject (portion of the person's hand in the example of the figure), regardless of the three AF frames 101. An AF area can be set to the specific portion to focus.
また、CPU2は、上記のように光ビームが照射された特定の被写体(又はある被写体の特定部分)へのピント合わせを行った後には、光ビームが照射が開始されていることを示す光点確認フラグをオンした後(ステップS11)、ステップS8へ戻る。そして、前述した光点滅領域が確認できている間、つまり光ビームの照射が継続されている間には(ステップS10がYES)、ステップS12の合焦処理を繰り返す。 In addition, after focusing on a specific subject (or a specific portion of a certain subject) irradiated with the light beam as described above, the CPU 2 indicates a light spot indicating that irradiation with the light beam has started. After the confirmation flag is turned on (step S11), the process returns to step S8. Then, while the above-described light blinking region can be confirmed, that is, while the light beam irradiation is continued (YES in step S10), the focusing process in step S12 is repeated.
その後、光点滅領域が確認できなくなったら、つまり光ビームの照射が終了したら(ステップS10がNO)、その時点で、タイマを動作させて光ビームの照射終了後の経過時間のカウントを開始する(ステップS14でNO、ステップS15)。そして、カウント開始当初は、予め決められている所定時間が経過していないため(ステップS16でNO)、ステップS8へ戻って前述した処理を繰り返す。 Thereafter, when the light blinking region can no longer be confirmed, that is, when the light beam irradiation ends (NO in step S10), at that time, the timer is operated to start counting the elapsed time after the light beam irradiation ends ( NO in step S14, step S15). At the beginning of the count, since a predetermined time has not elapsed (NO in step S16), the process returns to step S8 and the above-described processing is repeated.
その後も、光ビームの照射が終了してから所定時間が経過するまでの間は(ステップS16がNO)、ステップS8〜S16の処理を繰り返し、その間に、ユーザーによるAF枠101の選択操作があれば(ステップS8でYES)、その時点で直ちにステップS5の処理へ移行する。
Thereafter, the process of steps S8 to S16 is repeated until a predetermined time elapses after the irradiation of the light beam ends (NO in step S16), during which the user selects the
やがて、光ビームの照射が終了してから所定時間が経過したら(ステップS16でYES)、それをトリガとして撮影処理、すなわちCCD7による画像記録に向けた撮像動作、撮像した画像の圧縮及び外部メモリ14への記録を行う(ステップS17)。これにより1回の撮影動作を完了する。
Eventually, when a predetermined time elapses after the irradiation of the light beam ends (YES in step S16), it is used as a trigger to perform imaging processing, that is, an imaging operation for image recording by the CCD 7, compression of the captured image, and
以上のように本実施形態のデジタルカメラ1においては、撮影時にポインタ優先モードを設定(ポインタ優先機能がオン設定)しておくことにより、ユーザーは所望する特定の被写体や、任意の被写体の特定部分に、レーザーポインタ51の光ビームを照射するといった簡単な作業を行うだけで、特定の被写体等がマルチAF枠のいずれかのAF枠101からも外れている場合であっても、その特定の被写体等にAFエリアを設定してピントを合わせることができる。つまり撮影範囲における任意の場所に位置する被写体に対するピント合わせを容易に行うことができる。
As described above, in the digital camera 1 according to the present embodiment, by setting the pointer priority mode at the time of shooting (the pointer priority function is set to on), the user can specify a specific subject desired or a specific portion of an arbitrary subject. In addition, even if a specific subject or the like is removed from any one of the AF frames 101 of the multi-AF frame only by performing a simple operation such as irradiating the light beam of the
しかも、光ビームの照射を終了するだけで、シャッターキーを操作することなく直ちに撮影を行うことができる。その結果、主要被写体をマルチAF枠から外れる場所に位置させた構図の画像であっても、それを容易に撮影して取得することができる。 In addition, it is possible to immediately take a picture without operating the shutter key by simply ending the irradiation of the light beam. As a result, even an image with a composition in which the main subject is located outside the multi-AF frame can be easily captured and acquired.
また、ポインタ優先モードが設定されている状態であっても、ユーザーはマルチAF枠のいずれかのAF枠101を選択すれば、特にポインタ優先モードを解除する操作を行わなくとも、前述したステップSA9以降の処理を停止させ、直ちにAF枠101を用いたピント合わせに移行することもできる。したがって、使い勝手も良好である。
Even in the state in which the pointer priority mode is set, if the user selects any
ここで、本実施形態では、ユーザーに特定の被写体等の指示に使用させる光ビームを点滅光とし、フレーム毎に画素値が一定周期で変化する画素が連続して並んだ光点滅領域を検出し、それをユーザーに指定された位置と判断するため、ユーザーに指示された位置を高い精度で判断することができる。なお、指示位置の判断精度は低下することとなるが、定の被写体等の指示に使用させる光ビームは必ずしも点滅光でなくともよく、その場合には、フレーム毎に、周囲の他の画素よりも輝度が高い画素値を有する画素を検出することにより指示位置を判断するようにすればよい。 Here, in the present embodiment, the light beam that is used by the user for instructing a specific subject or the like is used as blinking light, and a light blinking region in which pixels whose pixel values change at a constant cycle for each frame is continuously detected is detected. Since it is determined as the position designated by the user, the position instructed by the user can be determined with high accuracy. In addition, although the accuracy of determining the pointing position will be reduced, the light beam used for pointing to a fixed subject or the like does not necessarily have to be blinking light. Alternatively, the designated position may be determined by detecting a pixel having a pixel value with high luminance.
また、本実施形態では、前記光点滅領域を、ユーザーに特定の被写体等の指示に使用させる光ビームと同色のRデータ(画素情報)のみから検出するようにしたことから、前記光点滅領域の検出に要するCPU2の処理負担を軽減することができるとともに、これによってもユーザーに指示された位置を高い精度で判断することができる。なお、これに関しても、CPU2の処理負担が増大したり、指示位置の判断精度が低下したりするが、前記光点滅領域を全ての色成分の画像データから検出する構成としても構わない。 Further, in this embodiment, the light blinking area is detected only from R data (pixel information) of the same color as the light beam that is used by the user to indicate a specific subject or the like. The processing load on the CPU 2 required for detection can be reduced, and the position instructed by the user can be determined with high accuracy. In this regard as well, although the processing load on the CPU 2 increases and the accuracy of determining the designated position decreases, the light blinking area may be detected from the image data of all color components.
また、以上の説明においては本発明を一般的な構成を備えたデジタルカメラ1に適用する場合について述べたが、本発明は、当然、携帯電話端末等の他の情報機器に内蔵されたデジタルカメラにも適用可能である。 In the above description, the case where the present invention is applied to the digital camera 1 having a general configuration has been described. However, the present invention naturally includes a digital camera incorporated in another information device such as a mobile phone terminal. It is also applicable to.
1 デジタルカメラ
2 CPU
3 フォーカスレンズ
4 フォーカスモータ
5 モータードライバ
7 CCD
11 画像処理部
12 SDRAM
13 液晶モニタ
14 外部メモリ
15 フラッシュメモリ
16 キー入力部
100 スルー画像
101 AF枠
102 AFエリア
P 光点
1 Digital camera 2 CPU
3
11
13
Claims (7)
被写体像を撮像して画像を取得する撮像手段と、
前記撮像手段により取得された画像に、第1のフォーカス検出領域を設定する第1の設定手段と、
前記撮像手段により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出手段と、
前記撮像手段により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段と、
前記第1のフォーカス検出領域の画像情報に基づくオートフォーカス処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせる制御手段と、
前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段と、
前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、前記撮像手段に、撮像した画像の記録に向けた撮像動作を行わせる撮像制御手段と
を備えたことを特徴とするデジタルカメラ。 In digital cameras with autofocus function,
Imaging means for capturing a subject image and acquiring the image;
First setting means for setting a first focus detection area in the image acquired by the imaging means;
Detection means for detecting an irradiation position of predetermined instruction light emitted to the subject from an image acquired by the imaging means;
Second setting means for setting a second focus detection area corresponding to the irradiation position detected by the detection means in the image acquired by the imaging means;
Control means for performing autofocus processing based on image information of the second focus detection region in preference to autofocus processing based on image information of the first focus detection region;
A measuring means for measuring an elapsed time after the irradiation position cannot be detected by the detection means after the irradiation position is once detected by the detection means;
An imaging control unit that causes the imaging unit to perform an imaging operation for recording a captured image triggered by an elapsed time measured by the measuring unit reaching a predetermined time is provided. Digital camera.
前記撮像手段により取得された画像をスルー画像として表示する表示手段と、
この表示手段に、画像内における前記複数の第1のフォーカス検出領域をそれぞれ示す複数のフォーカス枠を表示させる表示制御手段と
をさらに備え、
前記制御手段は、前記表示制御手段が前記表示手段に表示させた複数のフォーカス枠のうちのいずれかのフォーカス枠の選択操作に応答し、前記検出手段による照射位置の検出動作を停止させるとともに、前記選択操作により選択されたフォーカス枠に対応するフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせる
ことを特徴とする請求項1乃至3いずれか記載のデジタルカメラ。 The first setting means sets a plurality of the first focus detection areas in the image acquired by the imaging means,
Display means for displaying an image acquired by the imaging means as a through image;
The display means further comprises display control means for displaying a plurality of focus frames respectively indicating the plurality of first focus detection areas in the image,
In response to the selection operation of any one of the plurality of focus frames displayed on the display unit by the display control unit, the control unit stops the irradiation position detection operation by the detection unit, and claims 1 to 3 digital camera according to any one, characterized in that to perform auto-focus processing based on the image information of the focus detection area corresponding to the selected focus frame by the selection operation.
オートフォーカス機能を備えたデジタルカメラであって、
被写体像を撮像して画像を取得する撮像手段と、
前記撮像手段により取得された画像に、第1のフォーカス検出領域を設定する第1の設定手段と、
前記撮像手段により取得された画像から、前記照射手段により照射された前記所定の指示光の照射位置を検出する検出手段と、
前記撮像手段により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段と、
前記第1のフォーカス検出領域の画像情報に基づくオートフォーカス処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づくオートフォーカス処理を行わせる制御手段と、
前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段と、
前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、前記撮像手段に、撮像した画像の記録に向けた撮像動作を行わせる撮像制御手段と
を備えたデジタルカメラと
を備えたことを特徴とするフォーカス制御システム。 Irradiating means for irradiating a constant indication light Tokoro with respect subject,
A digital camera with an autofocus function,
Imaging means for capturing a subject image and acquiring the image;
First setting means for setting a first focus detection area in the image acquired by the imaging means;
Detecting means for detecting an irradiation position of the predetermined instruction light irradiated by the irradiation means from an image acquired by the imaging means;
Second setting means for setting a second focus detection area corresponding to the irradiation position detected by the detection means in the image acquired by the imaging means;
Control means for performing autofocus processing based on image information of the second focus detection region in preference to autofocus processing based on image information of the first focus detection region ;
A measuring means for measuring an elapsed time after the irradiation position cannot be detected by the detection means after the irradiation position is once detected by the detection means;
A digital image processing apparatus including: an imaging control unit that causes the imaging unit to perform an imaging operation for recording a captured image, triggered by an elapsed time measured by the measuring unit reaching a predetermined time; A focus control system characterized by comprising a camera.
撮像された画像に第1のフォーカス検出領域を設定する第1の設定ステップと、
撮像により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出ステップと、
撮像により取得された画像に、前記検出ステップで検出した照射位置に応じた領域を第2のフォーカス検出領域として設定する第2の設定ステップと、
前記第1のフォーカス検出領域の画像情報に基づく合焦処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づく合焦処理を行う合焦処理ステップと、
前記検出ステップで照射位置がいったん検出された後、前記検出ステップで照射位置が検出できなくなった後の経過時間を計測する計測ステップと、
前記計測ステップで計測された経過時間が所定時間に達したことをトリガとして、画像の記録に向けた撮像動作を行わせる撮像制御ステップと
を含むことを特徴とするフォーカス制御方法。 A focus control method for a digital camera having an autofocus function,
A first setting step for setting a first focus detection area in the captured image;
A detection step of detecting an irradiation position of predetermined instruction light irradiated to the subject from an image acquired by imaging ;
A second setting step of setting an area corresponding to the irradiation position detected in the detection step as a second focus detection area in the image acquired by imaging ;
A focusing processing step for performing focusing processing based on image information of the second focus detection area in preference to focusing processing based on image information of the first focus detection area ;
After the irradiation position is once detected in the detection step, a measurement step for measuring an elapsed time after the irradiation position cannot be detected in the detection step;
A focus control method comprising: an imaging control step for performing an imaging operation for recording an image with a trigger that the elapsed time measured in the measurement step has reached a predetermined time .
撮像により取得された画像に第1のフォーカス検出領域を設定する第1の設定手段、
撮像により取得された画像から、被写体に対して照射された所定の指示光の照射位置を検出する検出手段、
撮像により取得された画像に、前記検出手段により検出された照射位置に応じた第2のフォーカス検出領域を設定する第2の設定手段、
前記第1のフォーカス検出領域の画像情報に基づく合焦処理よりも優先して、前記第2のフォーカス検出領域の画像情報に基づく合焦処理を行わせる制御手段、
前記検出手段により照射位置がいったん検出された後、前記検出手段により照射位置が検出できなくなった後の経過時間を計測する計測手段、
前記計測手段により計測された経過時間が所定時間に達したことをトリガとして、画像の記録に向けた撮像動作を行わせる撮像制御手段、
として機能させるためのフォーカス制御プログラム。 A computer with a digital camera equipped with an autofocus function
First setting means for setting a first focus detection area in an image acquired by imaging ;
Detecting means for detecting an irradiation position of predetermined instruction light irradiated to the subject from an image acquired by imaging ;
Second setting means for setting a second focus detection area corresponding to the irradiation position detected by the detection means in an image acquired by imaging ;
The first focus detection area than the focusing processing based on the image information by priority, the second focus detection area control means causes I line focus processing based on the image information,
A measuring means for measuring an elapsed time after the irradiation position cannot be detected by the detection means after the irradiation position is once detected by the detection means;
An imaging control means for performing an imaging operation for recording an image, triggered by an elapsed time measured by the measuring means reaching a predetermined time;
Focus control program to function as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007259327A JP4853447B2 (en) | 2007-10-03 | 2007-10-03 | Digital camera, focus control system thereof, focus control method, focus control program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007259327A JP4853447B2 (en) | 2007-10-03 | 2007-10-03 | Digital camera, focus control system thereof, focus control method, focus control program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009086559A JP2009086559A (en) | 2009-04-23 |
JP4853447B2 true JP4853447B2 (en) | 2012-01-11 |
Family
ID=40660008
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007259327A Expired - Fee Related JP4853447B2 (en) | 2007-10-03 | 2007-10-03 | Digital camera, focus control system thereof, focus control method, focus control program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4853447B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2018054439A (en) | 2016-09-28 | 2018-04-05 | 株式会社デンソー | Inspection device |
JP7271357B2 (en) * | 2019-07-23 | 2023-05-11 | キヤノン株式会社 | Electronics |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001128056A (en) * | 1999-08-18 | 2001-05-11 | Olympus Optical Co Ltd | Camera |
JP4391637B2 (en) * | 1999-10-04 | 2009-12-24 | オリンパス株式会社 | camera |
JP2006030393A (en) * | 2004-07-13 | 2006-02-02 | Nikon Corp | Autofocus electronic camera |
-
2007
- 2007-10-03 JP JP2007259327A patent/JP4853447B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2009086559A (en) | 2009-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4761146B2 (en) | Imaging apparatus and program thereof | |
EP1981261B1 (en) | Imaging device, display control method, and program | |
US7433586B2 (en) | Camera with an auto-focus function | |
JP4760742B2 (en) | Digital camera, information display method, and information display control program | |
JP5025532B2 (en) | Imaging apparatus, imaging apparatus control method, and imaging apparatus control program | |
EP2401860B1 (en) | Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame | |
JP4759329B2 (en) | Imaging device having autofocus function | |
CN101931752B (en) | Imaging apparatus and focusing method | |
JP5931464B2 (en) | Imaging device | |
JP2009010777A (en) | Imaging device, photography control method, and program | |
JP2006025238A (en) | Imaging device | |
JP2007201539A (en) | Digital camera | |
JP4395619B2 (en) | Imaging apparatus, imaging condition setting method, and program | |
JP5092673B2 (en) | Imaging apparatus and program thereof | |
JP5409483B2 (en) | Imaging device | |
JP5429588B2 (en) | Imaging apparatus and imaging method | |
JP4853447B2 (en) | Digital camera, focus control system thereof, focus control method, focus control program | |
JP2006166358A (en) | Imaging apparatus and imaging system | |
JP2007019893A (en) | Image generating apparatus and image generating method | |
JP5195663B2 (en) | Imaging apparatus, focusing method, and program | |
JP2008113466A (en) | Electronic camera | |
JP2005278003A (en) | Image processing apparatus | |
JP5477345B2 (en) | Imaging apparatus, focusing method, and program | |
JP3923056B2 (en) | Camera phone | |
JP5561392B2 (en) | Imaging apparatus, focusing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100824 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110810 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110816 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110905 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110927 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20111010 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141104 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4853447 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |