JP2005284156A - Camera with automatic focusing function and automatic focusing method of camera - Google Patents

Camera with automatic focusing function and automatic focusing method of camera Download PDF

Info

Publication number
JP2005284156A
JP2005284156A JP2004100854A JP2004100854A JP2005284156A JP 2005284156 A JP2005284156 A JP 2005284156A JP 2004100854 A JP2004100854 A JP 2004100854A JP 2004100854 A JP2004100854 A JP 2004100854A JP 2005284156 A JP2005284156 A JP 2005284156A
Authority
JP
Japan
Prior art keywords
focus
camera
lens
information
warning
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
JP2004100854A
Other languages
Japanese (ja)
Inventor
Manabu Hyodo
学 兵藤
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 JP2004100854A priority Critical patent/JP2005284156A/en
Publication of JP2005284156A publication Critical patent/JP2005284156A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)
  • Focusing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To generate a warning when a camera becomes a non-focused state during focus lock and to prevent photography at the non-focused state in accordance with transfer of the camera, etc. during the focus lock. <P>SOLUTION: After a focal lens is moved to a focused position by AF control (steps S16 to S26), whether or not the focused position continuously changes during the focus lock in which a shutter button is half-depressed is detected (steps S28 to S38). Then, when it is detected that the focused position changes during the focus lock (a step S32), the warning indicating the non-focused state is issued to a photographing person (a step S36). By this warning, the photographing person release the focus lock and makes the camera perform the AF control. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は自動焦点調節機能付きカメラ及びカメラの自動焦点調節方法に係り、特にマクロ撮影の失敗をなくす技術に関する。   The present invention relates to a camera with an automatic focus adjustment function and an automatic focus adjustment method for a camera, and more particularly to a technique for eliminating a macro shooting failure.

従来、通常距離撮影用の通常モードと近接撮影用のマクロモードとを有し、これらのモードの設定ミスによる撮影の失敗を防止することができるカメラが提案されている(特許文献1)。   Conventionally, there has been proposed a camera that has a normal mode for normal distance shooting and a macro mode for close-up shooting, and can prevent a shooting failure due to a setting error in these modes (Patent Document 1).

このカメラは、CCD等の撮像素子から出力される画像信号から被写体のコントラストに応じた焦点情報を算出し、この焦点情報が最大になるようにフォーカスレンズを移動させる自動焦点調節機能を有し、通常モードが設定されている場合には、通常モードに対応するフォーカスレンズ移動範囲内で最大となる焦点情報をサーチし、マクロモードが設定されている場合には、マクロモードに対応するフォーカスレンズ移動範囲内で最大となる焦点情報をサーチする。そして、各モードで合焦検出ができない場合には、他のモードのフォーカスレンズ移動範囲までサーチするようにしている。   This camera has an automatic focus adjustment function that calculates focus information according to the contrast of a subject from an image signal output from an image sensor such as a CCD, and moves the focus lens so that the focus information is maximized, When the normal mode is set, the focus information that is the maximum within the focus lens movement range corresponding to the normal mode is searched, and when the macro mode is set, the focus lens corresponding to the macro mode is moved. Searches for the maximum focus information within the range. When focus detection cannot be performed in each mode, the focus lens movement range in other modes is searched.

これにより通常モードとマクロモードとのモード設定に誤りがあった場合にも適切な撮影ができるようにしている。   As a result, appropriate shooting can be performed even when there is an error in the mode setting between the normal mode and the macro mode.

また、通常のカメラは、シャッタボタンの半押し時に自動焦点調節により合焦位置に移動した後のフォーカスレンズの移動を禁止(フォーカスロック)するフォーカスロック機能を有している。このフォーカスロック機能は、通常、ある被写体に焦点を合わせてから構図を変更する場合に使用され、これにより構図の変更後もフォーカスロックした被写体にピントを合わせることができる。
特開2000−147368号公報
Further, a normal camera has a focus lock function that prohibits (focus lock) the movement of the focus lens after moving to the in-focus position by automatic focus adjustment when the shutter button is half-pressed. This focus lock function is usually used when the composition is changed after focusing on a certain subject, so that the focus locked subject can be focused even after the composition is changed.
JP 2000-147368 A

ところで、上記フォーカスロック機能は、シャッタチャンスを逃さないようにフォーカスロックした状態で待機し、被写体の状態(構図、動きなど)をみて撮影を行う場合にも使用されるが、特にマクロ撮影時にフォーカスロックし、被写体の状態をみて撮影動作を行う状況の場合、フォーカスロック後に撮影者(カメラ)や被写体が僅かに動くと、焦点が合わなくなるという問題がある。   By the way, the focus lock function is also used when shooting while looking at the state of the subject (composition, movement, etc.) in a state where the focus is locked so as not to miss a photo opportunity. In a situation where the photographing operation is performed while the subject is locked and the state of the subject is observed, there is a problem that if the photographer (camera) or the subject moves slightly after the focus is locked, the subject cannot be focused.

また、デジタルカメラの場合には、カメラ背面の液晶モニタに表示されるスルー画像からは合焦しているか否かの確認ができないという問題がある。これは、実際に撮影される画像サイズに比べて液晶モニタの画像サイズが小さいからである。   In addition, in the case of a digital camera, there is a problem that it cannot be confirmed whether or not it is in focus from a through image displayed on a liquid crystal monitor on the back of the camera. This is because the image size of the liquid crystal monitor is smaller than the actually captured image size.

特許文献1に記載のカメラは、マクロ撮影時にフォーカスロックし、その後、撮影者(カメラ)等が移動した場合に生じる非合焦の問題を回避することができない。   The camera described in Patent Document 1 cannot focus on the out-of-focus problem that occurs when the photographer (camera) or the like moves after the focus is locked during macro shooting.

本発明はこのような事情に鑑みてなされたもので、フォーカスロック中に非合焦状態になった場合に警告を発生することができ、これによりフォーカスロック中のカメラの移動等に伴う非合焦状態での撮影を防止することができる自動焦点調節機能付きカメラ及びカメラの自動焦点調節方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and can issue a warning when the camera is out of focus during focus lock. It is an object of the present invention to provide a camera with an automatic focus adjustment function and an automatic focus adjustment method for the camera that can prevent photographing in a focused state.

前記目的を達成するために請求項1に係る自動焦点調節機能付きカメラは、被写体に焦点が合う合焦位置に自動的にフォーカスレンズを移動させる自動焦点調節手段と、フォーカスロック操作部材の操作によるフォーカスロック指示があると、前記合焦位置に移動した後のフォーカスレンズの移動を禁止するフォーカスロック手段と、前記フォーカスロック手段による前記フォーカスレンズの移動禁止中に前記合焦位置が変化したことを検知する検知手段と、前記検知手段により合焦位置の変化が検知されると、撮影者に非合焦状態であることを示す警告を行う警告手段と、を備えたことを特徴としている。   In order to achieve the above object, a camera with an automatic focus adjustment function according to claim 1 is based on an operation of an automatic focus adjustment means for automatically moving a focus lens to a focus position where a subject is in focus, and an operation of a focus lock operation member. When there is a focus lock instruction, a focus lock unit that prohibits movement of the focus lens after moving to the in-focus position, and that the in-focus position has changed while the focus lock unit prohibits movement of the focus lens. And detecting means for detecting, and warning means for giving a warning indicating that the photographer is out of focus when a change in focus position is detected by the detecting means.

即ち、自動焦点調節手段によりフォーカスレンズが合焦位置に移動させられた後、フォーカスロック指示によりフォーカスレンズの移動が禁止(フォーカスロック)された場合にも継続して合焦位置が変化したか否かを検知する。そして、フォーカスロック中に合焦位置が変化したことが検知されると、撮影者に非合焦状態であることを示す警告を行うようにしている。この警告によって撮影者はフォーカスロックを解除して再度、自動焦点調節手段による合焦制御を行わせることができ、これにより非合焦状態での撮影を未然に防止することができる。   That is, whether or not the in-focus position has continuously changed even after the focus lens is moved to the in-focus position by the automatic focus adjustment means and then the focus lens movement is prohibited (focus lock) by the focus lock instruction. Is detected. When it is detected that the in-focus position has changed while the focus is locked, a warning indicating that the photographer is out of focus is issued. By this warning, the photographer can release the focus lock and again perform the focus control by the automatic focus adjustment means, thereby preventing the photographing in the out-of-focus state.

請求項2に示すように請求項1に記載の自動焦点調節機能付きカメラにおいて、前記自動焦点調節手段は、撮像手段から出力される焦点検出エリア内の画像信号から前記被写体のコントラストに応じた焦点情報を算出する焦点情報算出手段と、前記焦点情報算出手段により焦点情報を算出する各レンズ位置に前記フォーカスレンズを移動させるとともに、前記焦点情報算出手段によって算出された焦点情報が最大値となる位置に前記フォーカスレンズを移動させるレンズ移動制御手段と、を有することを特徴としている。   According to a second aspect of the present invention, in the camera with an automatic focus adjustment function according to the first aspect, the automatic focus adjustment unit has a focus corresponding to the contrast of the subject from the image signal in the focus detection area output from the imaging unit. A focus information calculation means for calculating information, and a position at which the focus information calculated by the focus information calculation means is a maximum value while moving the focus lens to each lens position for which focus information is calculated by the focus information calculation means And a lens movement control means for moving the focus lens.

即ち、撮像手段から出力される画像信号から被写体のコントラストが最大になるようにフォーカスレンズを制御する自動焦点調節手段を有するカメラ(デジタルカメラ)の場合、前記画像信号からカメラ背面の液晶モニタ等に表示されるスルー画像からは合焦状態を確認することができず、本発明はこの種のカメラにおいて特に有効である。   That is, in the case of a camera (digital camera) having an automatic focus adjustment unit that controls the focus lens so that the contrast of the subject is maximized from the image signal output from the imaging unit, the image signal is applied to a liquid crystal monitor on the back of the camera. The in-focus state cannot be confirmed from the displayed through image, and the present invention is particularly effective in this type of camera.

請求項3に示すように請求項2に記載の自動焦点調節機能付きカメラにおいて、前記焦点情報算出手段は、前記フォーカスレンズの移動禁止中に前記焦点検出エリアよりも広いエリアから焦点情報を検出することを特徴としている。   According to a third aspect of the present invention, in the camera with an automatic focus adjustment function according to the second aspect, the focus information calculation unit detects focus information from an area wider than the focus detection area while the movement of the focus lens is prohibited. It is characterized by that.

これにより、フォーカスロック後、カメラや被写体が上下左右等に僅かに動いても被写体距離が変化しない場合には、前記焦点情報の最大値が変化しないように、又は変化を最小限にすることができ、不要な警告の発生を防止することができる。   Thereby, after the focus lock, if the subject distance does not change even if the camera or the subject moves slightly up and down, left and right, the maximum value of the focus information does not change, or the change can be minimized. It is possible to prevent unnecessary warnings from occurring.

請求項4に示すように請求項2又は3に記載の自動焦点調節機能付きカメラにおいて、前記検知手段は、前記フォーカスレンズの移動禁止中に前記焦点情報算出手段から焦点情報を逐次取得する手段と、前記取得した焦点情報を前記最大値に基づいて規格化する手段と、前記規格化した焦点情報が所定の閾値未満になったときに前記合焦位置が変化したと判断する手段と、を有することを特徴としている。   According to a fourth aspect of the present invention, in the camera with an automatic focus adjustment function according to the second or third aspect, the detection means includes means for sequentially acquiring focus information from the focus information calculation means while the movement of the focus lens is prohibited. Means for normalizing the acquired focus information based on the maximum value, and means for determining that the in-focus position has changed when the normalized focus information falls below a predetermined threshold. It is characterized by that.

前記規格化した焦点情報を基に合焦位置が変化したか否かを判断するようにしたため、被写体のコントラストや撮影条件等に影響されずに精度良く合焦位置の変化(非合焦状態)を検知することができる。   Since it has been determined whether or not the focus position has changed based on the standardized focus information, the focus position can be accurately changed without being affected by the contrast of the subject or shooting conditions (non-focus state). Can be detected.

請求項5に示すように請求項1乃至4のいずれかに記載の自動焦点調節機能付きカメラにおいて、標準距離撮影用の標準モード又は近距離撮影用のマクロモードを設定するモード設定手段を有し、前記検知手段及び警告手段は、前記モード設定手段によってマクロモードが設定されているときのみ動作可能になることを特徴としている。   5. A camera with an automatic focusing function according to claim 1, further comprising mode setting means for setting a standard mode for standard distance shooting or a macro mode for short distance shooting. The detecting means and the warning means can be operated only when the macro mode is set by the mode setting means.

特にマクロモードでの撮影時には、フォーカスロック中にカメラ等が僅かに移動すると、合焦状態に大きく影響するからである。一方、標準モードでの撮影時には、ある被写体に焦点を合わせてフォーカスロックし、その後、構図の変更等を行う撮影方法があるが、この場合に警告が発生するのは好ましくないからである。   This is because, in particular, when shooting in the macro mode, if the camera or the like slightly moves while the focus is locked, the focused state is greatly affected. On the other hand, when shooting in the standard mode, there is a shooting method in which a certain subject is focused and focus-locked, and then the composition is changed. However, in this case, it is not preferable to generate a warning.

請求項6に係るカメラの自動焦点調節方法は、被写体に焦点が合う合焦位置に自動的にフォーカスレンズを移動させるステップと、フォーカスロックの指示入力があると、前記合焦位置に移動した後のフォーカスレンズの移動を禁止するステップと、前記フォーカスレンズの移動禁止中に前記合焦位置が変化したか否かを検知するステップと、前記フォーカスレンズの移動禁止中に前記合焦位置の変化が検知されると、撮影者に非合焦状態であることを示す警告を行うステップと、を含むことを特徴としている。   According to a sixth aspect of the present invention, there is provided an automatic focus adjustment method for a camera, the step of automatically moving a focus lens to a focus position where a subject is in focus, and a focus lock instruction input, after moving to the focus position. A step of prohibiting the movement of the focus lens, a step of detecting whether or not the focus position has changed while the movement of the focus lens is prohibited, and a change in the focus position while the movement of the focus lens is prohibited. And a step of giving a warning indicating that the photographer is out of focus when detected.

上記構成の本発明によれば、フォーカスロック中に非合焦状態になった場合に警告を発生することができ、撮影者にフォーカスロックを解除して再度、自動焦点調節の実行を促すことができる。これにより、フォーカスロック中のカメラの移動等に伴う非合焦状態での撮影を防止することができる。   According to the present invention having the above-described configuration, a warning can be generated when the in-focus state is reached while the focus is locked, and the photographer can release the focus lock and prompt the execution of automatic focus adjustment again. it can. Thereby, it is possible to prevent photographing in an out-of-focus state due to movement of the camera in focus lock or the like.

以下添付図面に従って本発明に係る自動焦点調節機能付きカメラ及びカメラの自動焦点調節方法の好ましい実施の形態について詳説する。   DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of a camera with an autofocus function and a camera autofocus method according to the present invention will be described in detail below with reference to the accompanying drawings.

図1は本発明に係る自動焦点調節機能付きカメラの実施の形態を示すブロック図である。   FIG. 1 is a block diagram showing an embodiment of a camera with an automatic focusing function according to the present invention.

同図に示す自動焦点調節機能付きカメラ10は、デジタルカメラである。このデジタルカメラ10の撮像部は、フォーカスレンズを含むレンズ群12、絞り14及び撮像素子(CCD)16を含み、レンズ群12及び絞り14を介してCCD16の受光面に結像された被写体像は、各センサで光の入射光量に応じた量の信号電荷に変換される。このようにして蓄積された信号電荷は、信号電荷に応じた電圧信号として順次読み出される。尚、CCD16は、蓄積した信号電荷をシャッタゲートパルスによって掃き出すことができ、これにより電荷の蓄積時間(シャッタスピード)を制御する、いわゆる電子シャッタ機能を有している。   A camera 10 with an automatic focus adjustment function shown in the figure is a digital camera. The imaging unit of the digital camera 10 includes a lens group 12 including a focus lens, an aperture 14 and an image sensor (CCD) 16, and an object image formed on the light receiving surface of the CCD 16 via the lens group 12 and the aperture 14 is Each sensor converts the signal charge into an amount corresponding to the amount of incident light. The signal charges accumulated in this way are sequentially read out as voltage signals corresponding to the signal charges. The CCD 16 has a so-called electronic shutter function that can sweep out the accumulated signal charge with a shutter gate pulse, thereby controlling the charge accumulation time (shutter speed).

CCD16から順次読み出された電圧信号は、アナログ・フロント・エンド(AFE)18に加えられる。AFE18は、相関二重サンプリング回路(CDS回路)、アンプ、A/Dコンバータ等を有し、CDS回路はタイミング信号発生回路20から加えられるCDSパルスに基づいて入力する電圧信号を相関二重サンプリング処理する。CDS回路によって処理された信号は、アンプによってゲインコントロールされたのち、A/Dコンバータに加えられる。A/Dコンバータは、タイミング信号発生回路20から加えられるADパルスに基づいて入力信号を画素ごとにデジタルのR、G、B信号に変換して出力する。   The voltage signal sequentially read from the CCD 16 is applied to an analog front end (AFE) 18. The AFE 18 includes a correlated double sampling circuit (CDS circuit), an amplifier, an A / D converter, and the like. The CDS circuit performs correlated double sampling processing on a voltage signal input based on a CDS pulse applied from the timing signal generation circuit 20. To do. The signal processed by the CDS circuit is gain-controlled by an amplifier and then applied to the A / D converter. The A / D converter converts the input signal into a digital R, G, B signal for each pixel based on the AD pulse applied from the timing signal generation circuit 20 and outputs it.

尚、CCD16及びAFE18は、タイミング信号発生回路20から加えられるタイミング信号によって同期して駆動されるようになっている。また、レンズ群12のフォーカスレンズ及び絞り14は、それぞれレンズ駆動部22及び絞り駆動部24によって駆動され、フォーカス制御及び絞り制御される。   The CCD 16 and the AFE 18 are driven in synchronism with a timing signal applied from the timing signal generation circuit 20. The focus lens and the diaphragm 14 of the lens group 12 are driven by a lens driving unit 22 and a diaphragm driving unit 24, respectively, and are subjected to focus control and aperture control.

上記AFE18から出力されるR、G、B信号は、本線系の信号処理部26及びAF系の信号処理部28に加えられる。本線系の信号処理部26に加えられたR、G、B信号は、一旦DRAM等のメモリ30に格納され、その後、メモリ30から適宜読み出されて信号処理部26にてホワイトバランス調整、ガンマ補正、及びYC処理等の信号処理が施され、再びメモリ30に格納される。このYC処理された輝度信号Yとクロマ信号Cr、Cb(YC信号)は、液晶モニタ等の表示部32に出力される。これにより、スルー画像や撮影された静止画等を表示部32に表示させることができる。   The R, G, B signals output from the AFE 18 are added to the main signal processing unit 26 and the AF signal processing unit 28. The R, G, and B signals applied to the main line signal processing unit 26 are temporarily stored in a memory 30 such as a DRAM, and then appropriately read out from the memory 30 to be used for white balance adjustment and gamma in the signal processing unit 26. Signal processing such as correction and YC processing is performed and stored in the memory 30 again. The YC-processed luminance signal Y and chroma signals Cr and Cb (YC signal) are output to a display unit 32 such as a liquid crystal monitor. Thereby, a through image, a captured still image, and the like can be displayed on the display unit 32.

また、撮影後のYC信号は、圧縮/伸長部34によって所定のフォーマットに圧縮されたのち、記録装置36にてメモリカードなどの記録メディアに記録される。更に、再生モード時にはメモリカードなどに記録されている画像データが圧縮/伸長部34によって伸長処理された後、表示部32に出力され、表示部32に再生画像が表示されるようになっている。   Further, the YC signal after photographing is compressed into a predetermined format by the compression / decompression unit 34 and then recorded on a recording medium such as a memory card by the recording device 36. Further, in the reproduction mode, the image data recorded on the memory card or the like is decompressed by the compression / decompression unit 34 and then output to the display unit 32 so that the reproduced image is displayed on the display unit 32. .

AF系の信号処理部28は、AFE18から加えられるR、G、B信号の高周波成分を抽出するとともに、この抽出した高周波成分を積算してなる焦点情報を算出し、この焦点情報を中央処理装置(CPU)38に出力する。   The AF signal processing unit 28 extracts high-frequency components of the R, G, and B signals applied from the AFE 18, calculates focus information obtained by integrating the extracted high-frequency components, and uses the focus information as a central processing unit. (CPU) 38 to output.

CPU38は、操作部40(シャッタボタン、モードダイヤル、十字キー等を含む)からの入力に基づいて各回路を統括制御するとともに、前記レンズ駆動部22及び絞り駆動部24を駆動制御するためのオートフォーカス(AF)制御、及び自動露出(AE)制御、並びにホワイトバランス(WB)補正などを実施し、更に警告発生部42から非合焦状態である旨の警告を発生させるための制御を行う。   The CPU 38 performs overall control of each circuit based on input from the operation unit 40 (including a shutter button, a mode dial, a cross key, etc.), and an auto for driving and controlling the lens driving unit 22 and the aperture driving unit 24. Focus (AF) control, automatic exposure (AE) control, white balance (WB) correction, and the like are performed, and control for generating a warning indicating that the in-focus state is not generated from the warning generation unit 42 is performed.

尚、AF制御は、フォーカスレンズを所定のフォーカスレンズ移動範囲にわたって移動させ、そのときにAF系の信号処理部28から各レンズ位置毎に入力する焦点情報のうちの最大値を求め、この最大値が得られるレンズ位置にフォーカスレンズを移動させるコントラストAFであり、シャッタボタンの半押し時にフォーカスレンズを合焦位置に移動させる。   In the AF control, the focus lens is moved over a predetermined focus lens moving range, and the maximum value of the focus information input at each lens position from the AF system signal processing unit 28 at that time is obtained. This is contrast AF that moves the focus lens to a lens position where the focus lens is obtained. When the shutter button is half-pressed, the focus lens is moved to the in-focus position.

また、このデジタルカメラ10は、標準距離撮影用の標準モードと、近距離撮影用のマクロモードとをそれぞれ切り替えて設定するモード設定手段を有し、前記AF制御時において、標準モードが設定されている場合には標準距離(例えば、約60cm〜無限遠)に対応するフォーカスレンズ移動範囲内で合焦位置をサーチし、マクロモードが設定されている場合には近距離(例えば、約10cm〜約80cm)に対応するフォーカスレンズ移動範囲内で合焦位置をサーチする。   The digital camera 10 also has mode setting means for switching between a standard mode for standard distance shooting and a macro mode for short distance shooting, and the standard mode is set during the AF control. If the macro mode is set, the focus position is searched within the focus lens movement range corresponding to the standard distance (for example, about 60 cm to infinity). The focus position is searched within the focus lens movement range corresponding to 80 cm).

AE制御は、シャッタボタンの半押し時にR、G、B信号を取り込み、これらのR、G、B信号を積算した積算値に基づいて被写体輝度(撮影EV値)を求め、この撮影EV値に基づいて撮影時の絞り値とシャッタスピードを決定する。そして、シャッタボタンの全押し時に前記決定した絞り値になるように絞りを駆動し、また、決定したシャッタスピードとなるように電子シャッタによって電荷の蓄積時間を制御して1コマ分の画像データを取り込み、所要の信号処理をした後、記録メディアに記録する。   In the AE control, when the shutter button is half-pressed, R, G, and B signals are captured, and subject luminance (shooting EV value) is obtained based on an integrated value obtained by integrating these R, G, and B signals. Based on this, the aperture value and shutter speed at the time of shooting are determined. Then, when the shutter button is fully pressed, the aperture is driven so that the determined aperture value is obtained, and the charge accumulation time is controlled by the electronic shutter so that the determined shutter speed is obtained, and image data for one frame is obtained. After taking in and performing necessary signal processing, it is recorded on a recording medium.

次に、本発明に係るカメラの自動焦点調節方法について説明する。   Next, the automatic focus adjustment method of the camera according to the present invention will be described.

図2は本発明に係るカメラの自動焦点調節時におけるAF処理を含む全体のフローチャートであり、特にマクロモードが設定されている場合に関して示している。   FIG. 2 is an overall flowchart including AF processing at the time of automatic focusing of the camera according to the present invention, and particularly shows a case where the macro mode is set.

まず、マクロモードが設定されると、マクロモードでの近距離撮影範囲に対応するフォーカスレンズ移動範囲を取得し(ステップS10、S12)、このフォーカスレンズ移動範囲内で以下に示すAF制御が行われる。   First, when the macro mode is set, the focus lens movement range corresponding to the short-distance shooting range in the macro mode is acquired (steps S10 and S12), and the AF control described below is performed within the focus lens movement range. .

2段ストロークのシャッタボタン(半押しでスイッチS1がONし、全押しでスイッチS2がONするシャッタボタン)が半押し(スイッチS1がON)されたか否かを検知し(ステップS14)、シャッタボタンが半押しされると、AF系の信号処理部28は、被写体の撮像に伴ってAFE18から出力されるA/D変換後のR、G、B信号を取り込む(ステップS16)。   It is detected whether or not a two-stroke shutter button (a shutter button that turns on the switch S1 when pressed halfway and a switch S2 that turns on when fully pressed) is pressed halfway (the switch S1 is turned on) (step S14). When is pressed halfway, the AF system signal processing unit 28 takes in the R, G, and B signals after A / D conversion output from the AFE 18 when the subject is imaged (step S16).

続いて、AF系の信号処理部28は、ハイパスフィルタ(HPF)によりR、G、B信号の高周波成分を抽出する(ステップS18)。図3は、R、G、B信号の高周波成分を抽出すHPFの振幅特性の一例を示すグラフである。   Subsequently, the AF signal processing unit 28 extracts high-frequency components of the R, G, and B signals using a high-pass filter (HPF) (step S18). FIG. 3 is a graph showing an example of the amplitude characteristic of the HPF that extracts high-frequency components of the R, G, and B signals.

続いて、HPFを通過したR、G、B信号の高周波成分のうちの焦点検出エリア1内の高周波成分を積算する(ステップS20)。このようにして求めた積算値は、焦点検出エリア1内の被写体のコントラストの大きさを示す焦点情報として使用される。   Subsequently, the high frequency components in the focus detection area 1 among the high frequency components of the R, G, and B signals that have passed through the HPF are integrated (step S20). The integrated value obtained in this way is used as focus information indicating the magnitude of the contrast of the subject in the focus detection area 1.

尚、焦点検出エリア1は、図4に示すように1画面を64(=8×8)分割した分割エリアのうちの中央の4つのエリアである。   The focus detection area 1 is the central four areas among the divided areas obtained by dividing one screen into 64 (= 8 × 8) as shown in FIG.

次に、ステップS12で取得したフォーカスレンズ移動範囲にわたってフォーカスレンズを移動させたか否か(サーチ終了したか否か)を判別する(ステップS22)。サーチが終了していない場合にはフォーカスレンズを微小量移動させ(ステップS24)、ステップS16に戻る。このステップS16からステップS24を繰り返すことで、フォーカスレンズ移動範囲内の各レンズ位置毎の焦点情報を取得する。   Next, it is determined whether or not the focus lens has been moved over the focus lens movement range acquired in step S12 (whether or not the search has been completed) (step S22). If the search is not completed, the focus lens is moved by a minute amount (step S24), and the process returns to step S16. By repeating steps S16 to S24, focus information for each lens position within the focus lens movement range is acquired.

サーチが終了すると、フォーカスレンズ移動範囲内の各レンズ位置毎に取得した焦点情報のうちの最大値を求め、この最大値が得られるレンズ位置(合焦位置)にフォーカスレンズを移動させる(ステップS26)。   When the search is completed, the maximum value of the focus information acquired for each lens position within the focus lens movement range is obtained, and the focus lens is moved to the lens position (focus position) where the maximum value is obtained (step S26). ).

その後、焦点検出エリア1〜5の積算値(焦点情報)を取得する(ステップS28)。焦点検出エリア2〜5は、図4に示すように焦点検出エリア1の一部を含む焦点検出エリア1の周囲の4つのエリアである。続いて、各エリア1〜5の焦点情報を、ステップS28で求めたエリア1の最大値で除算して規格化し、規格化した焦点情報のうちの最大値Hmax (=MAX{(エリア1〜5)/エリア1})を求める(ステップS30)。 Thereafter, the integrated value (focus information) of the focus detection areas 1 to 5 is acquired (step S28). The focus detection areas 2 to 5 are four areas around the focus detection area 1 including a part of the focus detection area 1 as shown in FIG. Subsequently, the focus information of each area 1 to 5 is normalized by dividing by the maximum value of area 1 obtained in step S28, and the maximum value H max (= MAX {(area 1 to area 1) of the normalized focus information. 5) / area 1}) is obtained (step S30).

次に、規格化した焦点情報のうちの最大値Hmax が所定の閾値Th未満になったか否かを判別する(ステップS32)。ここで、所定の閾値Thは、ステップS26でフォーカスレンズを合焦位置に移動させた後、焦点が合わなくなる程度にカメラと被写体との距離が変化したか否か(非合焦状態になったか否か)を判断するための閾値である。 Next, it is determined whether or not the maximum value H max of the normalized focus information is less than a predetermined threshold Th (step S32). Here, the predetermined threshold value Th is whether or not the distance between the camera and the subject has changed to such an extent that the focus lens is not in focus after the focus lens is moved to the in-focus position in step S26 (whether the in-focus state has been achieved). This is a threshold value for determining whether or not.

また、焦点検出エリア1よりも広いエリア(エリア1〜5)の焦点情報のうちの最大値を使用する理由は、カメラが前後方向には移動せずに(被写体距離が変わらずに)、カメラが上下左右方向に移動した場合に得られる最大値が、AF制御時に得た最大値に対して変化しないようにするためである。即ち、エリア1のみの焦点情報を使用すると、カメラが上下左右方向のみに僅かに移動しても焦点情報がAF制御時に得た最大値から大きく低下し、被写体距離が変わらないにもかかわらず、非合焦状態と判断されることになるからである。   Also, the reason for using the maximum value of the focus information in the area (areas 1 to 5) wider than the focus detection area 1 is that the camera does not move in the front-rear direction (the subject distance does not change). This is to prevent the maximum value obtained when the lens moves in the vertical and horizontal directions from changing with respect to the maximum value obtained during AF control. That is, when the focus information of only area 1 is used, even if the camera moves slightly only in the vertical and horizontal directions, the focus information is greatly reduced from the maximum value obtained during AF control, and the subject distance does not change. This is because it is determined to be out of focus.

更に、各エリア1〜5の焦点情報を、ステップS28で求めたエリア1の最大値に基づいて規格化する理由は、被写体のコントラストや撮影条件の影響を受けずに適正に非合焦状態になったか否かを判断するためである。   Further, the reason for normalizing the focus information of each area 1 to 5 based on the maximum value of area 1 obtained in step S28 is that the focus information is properly in-focused without being affected by the contrast of the subject and the shooting conditions. This is to determine whether or not it has become.

ステップS32において、最大値Hmax が所定の閾値Th未満になっていない場合(即ち、合焦状態が維持されている場合)には、シャッタボタンが半押し(S1がON)されているか否かを判別する(ステップS34)。一方、最大値Hmax が所定の閾値Th未満になると、非合焦状態であることを示すAF警告を発生し、撮影者に知らせる(ステップS36)。 In step S32, when the maximum value H max is not less than the predetermined threshold Th (that is, when the in-focus state is maintained), whether or not the shutter button is half-pressed (S1 is ON). Is discriminated (step S34). On the other hand, when the maximum value H max is less than the predetermined threshold Th, an AF warning indicating that the in-focus state is present is generated to notify the photographer (step S36).

このAF警告は、警告発生部42(図1)及び表示部32において、警告表示により行われる。尚、警告発生部42は、例えば光学ファインダ内や光学ファインダ近傍に設けられたファインダランプ(赤)であり、このファインダランプを点滅することによって警告表示することができる。また、表示部32は、モニタ画面上に警告メッセージをオーバーレイ表示することで警告表示することができる。更に、音声やブザー等によって警告を発生するようにしてもよい。   This AF warning is performed by warning display in the warning generation unit 42 (FIG. 1) and the display unit 32. The warning generation unit 42 is, for example, a finder lamp (red) provided in the optical finder or in the vicinity of the optical finder, and a warning can be displayed by blinking the finder lamp. Also, the display unit 32 can display a warning by overlaying a warning message on the monitor screen. Further, a warning may be generated by voice or buzzer.

ステップS34において、シャッタボタンの半押しが継続している場合には、シャッタボタンが全押し(S2がON)されたか否かを判別する(ステップS38)。シャッタボタンが全押しされない場合には、ステップS28に戻り、シャッタボタンが半押しされている間(即ち、フォーカスロックがされている期間)、ステップS28からステップS36の処理を繰り返す。   If it is determined in step S34 that the shutter button is half-pressed, it is determined whether or not the shutter button is fully pressed (S2 is ON) (step S38). If the shutter button is not fully pressed, the process returns to step S28, and the process from step S28 to step S36 is repeated while the shutter button is half-pressed (that is, during the focus lock period).

従って、フォーカスロック中にカメラ等が移動し、最大値Hmax が所定の閾値Th未満になると、前述したステップS36にてAF警告が発せられる。 Accordingly, when the camera or the like moves while the focus is locked and the maximum value H max becomes less than the predetermined threshold Th, an AF warning is issued in the above-described step S36.

一方、フォーカスロック中にシャッタボタンの半押しが解除(ステップS34において、S1がOFF)されると、ステップS14に戻り、ここで再びシャッタボタンが半押しされたか否かが判別される。   On the other hand, when the half-press of the shutter button is released during the focus lock (S1 is OFF in step S34), the process returns to step S14, where it is determined whether or not the shutter button is half-pressed again.

従って、撮影者は、AF警告が発せられると、フォーカスロックを解除して再度、ステップS16〜ステップS26によるAF制御を行わせることができ、これにより非合焦状態での撮影を未然に防止することができる。尚、撮影者は、AF警告が発せられたときに、フォーカスロックした状態で、AF警告が消えるようにカメラを前後に移動させるようにしてもよい。   Therefore, when an AF warning is issued, the photographer can release the focus lock and again perform AF control in steps S16 to S26, thereby preventing photographing in an out-of-focus state. be able to. Note that when the AF warning is issued, the photographer may move the camera back and forth so that the AF warning disappears while the focus is locked.

ステップS38において、シャッタボタンの全押し(S2のON)があったことが判別されると、現在のフォーカスレンズのレンズ位置で本撮像を行い(ステップS40)、本撮像によって取得したR、G、B信号の各種の信号処理を行った後、記録メディアへの画像の記録が行われる(ステップS42、S44)。   If it is determined in step S38 that the shutter button has been fully pressed (S2 is turned on), actual imaging is performed at the current lens position of the focus lens (step S40), and R, G, After various signal processing of the B signal, an image is recorded on the recording medium (steps S42 and S44).

尚、この実施の形態では、マクロモードが設定されている場合のAF警告等について説明したが、標準距離撮影用の標準モードが設定されている場合にも同様なAF警告等を行うようにしてもよい。また、自動焦点調節手段として、CCDから出力される画像信号を使用してコントラストAFを行うものについて説明したが、これに限らず、例えば、左右一対の光電変換素子(ラインセンサ)により被写体を撮像し、左右のラインセンサにより得られる左右のセンサ像のずれ量から被写体距離を算出するAFセンサを使用するものや、三角測距を行うセンサを使用する他の自動焦点調節手段を使用するものでもよく、更に本発明はデジタルカメラに限らず、銀塩カメラにも適用できる。   In this embodiment, the AF warning or the like when the macro mode is set has been described. However, the same AF warning or the like is also performed when the standard mode for standard distance shooting is set. Also good. In addition, although the description has been given of the automatic focus adjustment unit that performs the contrast AF using the image signal output from the CCD, the present invention is not limited thereto. For example, the subject is imaged by a pair of left and right photoelectric conversion elements (line sensors). Even those using an AF sensor that calculates the object distance from the deviation amount of the left and right sensor images obtained by the left and right line sensors, or other automatic focus adjustment means using a sensor that performs triangulation In addition, the present invention is not limited to a digital camera and can be applied to a silver salt camera.

本発明に係る自動焦点調節機能付きカメラの実施の形態を示すブロック図1 is a block diagram showing an embodiment of a camera with an automatic focusing function according to the present invention. 本発明に係るカメラの自動焦点調節時におけるAF処理を含む全体のフローチャートEntire flowchart including AF processing at the time of automatic focus adjustment of the camera according to the present invention HPFの振幅特性を示すグラフGraph showing amplitude characteristics of HPF 焦点検出エリアを説明するために用いた画面全体の分割エリアを示す図The figure which shows the division area of the whole screen used in order to demonstrate a focus detection area

符号の説明Explanation of symbols

10…デジタルカメラ、12…レンズ群、14…絞り、16…撮像素子(CCD)、18…アナログ・フロント・エンド(AFE)、22…レンズ駆動部、24…絞り駆動部、26、28…信号処理部、30…メモリ、32…表示部、34…圧縮/伸長部、36…記録装置、38…中央処理装置(CPU)、40…操作部、42…警告発生部   DESCRIPTION OF SYMBOLS 10 ... Digital camera, 12 ... Lens group, 14 ... Aperture, 16 ... Image pick-up element (CCD), 18 ... Analog front end (AFE), 22 ... Lens drive part, 24 ... Aperture drive part, 26, 28 ... Signal Processing unit 30 ... Memory 32 ... Display unit 34 ... Compression / decompression unit 36 ... Recording device 38 ... Central processing unit (CPU) 40 ... Operation unit 42 ... Warning generating unit

Claims (6)

被写体に焦点が合う合焦位置に自動的にフォーカスレンズを移動させる自動焦点調節手段と、
フォーカスロック操作部材の操作によるフォーカスロック指示があると、前記合焦位置に移動した後のフォーカスレンズの移動を禁止するフォーカスロック手段と、
前記フォーカスロック手段による前記フォーカスレンズの移動禁止中に前記合焦位置が変化したことを検知する検知手段と、
前記検知手段により合焦位置の変化が検知されると、撮影者に非合焦状態であることを示す警告を行う警告手段と、
を備えたことを特徴とする自動焦点調節機能付きカメラ。
Automatic focus adjustment means for automatically moving the focus lens to a focus position where the subject is in focus;
A focus lock means for prohibiting movement of the focus lens after moving to the in-focus position when there is a focus lock instruction by operating a focus lock operation member;
Detection means for detecting that the focus position has changed while the focus lens is prohibited from moving the focus lens;
Warning means for giving a warning indicating that the photographer is out of focus when a change in focus position is detected by the detection means;
A camera with an automatic focusing function, characterized by comprising
前記自動焦点調節手段は、撮像手段から出力される焦点検出エリア内の画像信号から前記被写体のコントラストに応じた焦点情報を算出する焦点情報算出手段と、前記焦点情報算出手段により焦点情報を算出する各レンズ位置に前記フォーカスレンズを移動させるとともに、前記焦点情報算出手段によって算出された焦点情報が最大値となる位置に前記フォーカスレンズを移動させるレンズ移動制御手段と、を有することを特徴とする請求項1に記載の自動焦点調節機能付きカメラ。   The automatic focus adjustment unit calculates focus information from the image signal in the focus detection area output from the imaging unit, and calculates focus information according to the contrast of the subject, and the focus information calculation unit calculates the focus information. And a lens movement control unit that moves the focus lens to each lens position and moves the focus lens to a position where the focus information calculated by the focus information calculation unit becomes a maximum value. Item 2. The camera with an automatic focusing function according to Item 1. 前記焦点情報算出手段は、前記フォーカスレンズの移動禁止中に前記焦点検出エリアよりも広いエリアから焦点情報を検出することを特徴とする請求項2に記載の自動焦点調節機能付きカメラ。   The camera with an automatic focus adjustment function according to claim 2, wherein the focus information calculation unit detects focus information from an area wider than the focus detection area while prohibiting movement of the focus lens. 前記検知手段は、前記フォーカスレンズの移動禁止中に前記焦点情報算出手段から焦点情報を逐次取得する手段と、前記取得した焦点情報を前記最大値に基づいて規格化する手段と、前記規格化した焦点情報が所定の閾値未満になったときに前記合焦位置が変化したと判断する手段と、を有することを特徴とする請求項2又は3に記載の自動焦点調節機能付きカメラ。   The detection means includes means for sequentially acquiring focus information from the focus information calculation means while prohibiting movement of the focus lens; means for normalizing the acquired focus information based on the maximum value; 4. The camera with an automatic focus adjustment function according to claim 2, further comprising means for determining that the in-focus position has changed when the focus information becomes less than a predetermined threshold value. 標準距離撮影用の標準モード又は近距離撮影用のマクロモードを設定するモード設定手段を有し、前記検知手段及び警告手段は、前記モード設定手段によってマクロモードが設定されているときのみ動作可能になることを特徴とする請求項1乃至4のいずれかに記載の自動焦点調節機能付きカメラ。   It has mode setting means for setting a standard mode for standard distance shooting or a macro mode for short distance shooting, and the detection means and the warning means are operable only when the macro mode is set by the mode setting means. The camera with an automatic focusing function according to claim 1, wherein the camera has an automatic focusing function. 被写体に焦点が合う合焦位置に自動的にフォーカスレンズを移動させるステップと、
フォーカスロックの指示入力があると、前記合焦位置に移動した後のフォーカスレンズの移動を禁止するステップと、
前記フォーカスレンズの移動禁止中に前記合焦位置が変化したか否かを検知するステップと、
前記フォーカスレンズの移動禁止中に前記合焦位置の変化が検知されると、撮影者に非合焦状態であることを示す警告を行うステップと、
を含むことを特徴とするカメラの自動焦点調節方法。
Automatically moving the focus lens to the in-focus position where the subject is in focus;
A step of prohibiting movement of the focus lens after moving to the in-focus position when there is a focus lock instruction input;
Detecting whether or not the in-focus position has changed while the focus lens is prohibited from moving; and
When a change in the in-focus position is detected while movement of the focus lens is prohibited, a warning is given to the photographer indicating that the focus lens is out of focus;
A method of automatically focusing a camera, comprising:
JP2004100854A 2004-03-30 2004-03-30 Camera with automatic focusing function and automatic focusing method of camera Pending JP2005284156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004100854A JP2005284156A (en) 2004-03-30 2004-03-30 Camera with automatic focusing function and automatic focusing method of camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004100854A JP2005284156A (en) 2004-03-30 2004-03-30 Camera with automatic focusing function and automatic focusing method of camera

Publications (1)

Publication Number Publication Date
JP2005284156A true JP2005284156A (en) 2005-10-13

Family

ID=35182565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004100854A Pending JP2005284156A (en) 2004-03-30 2004-03-30 Camera with automatic focusing function and automatic focusing method of camera

Country Status (1)

Country Link
JP (1) JP2005284156A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233491A (en) * 2007-03-20 2008-10-02 Fujitsu Ltd Controller, electronic equipment, control method, and control program
JP2009014964A (en) * 2007-07-04 2009-01-22 Nikon Corp Autofocus device and photographing device
WO2009090862A1 (en) * 2008-01-17 2009-07-23 Panasonic Corporation Imaging device, portable terminal, and camera control method
US8714754B2 (en) 2008-07-30 2014-05-06 Seiko Epson Corporation Projector having condition indicating unit for displaying specified focusing condition and control method of projector

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008233491A (en) * 2007-03-20 2008-10-02 Fujitsu Ltd Controller, electronic equipment, control method, and control program
JP2009014964A (en) * 2007-07-04 2009-01-22 Nikon Corp Autofocus device and photographing device
WO2009090862A1 (en) * 2008-01-17 2009-07-23 Panasonic Corporation Imaging device, portable terminal, and camera control method
US8714754B2 (en) 2008-07-30 2014-05-06 Seiko Epson Corporation Projector having condition indicating unit for displaying specified focusing condition and control method of projector

Similar Documents

Publication Publication Date Title
JP4674471B2 (en) Digital camera
JP5635211B2 (en) Imaging device
JP4946337B2 (en) Autofocus device and camera
JP4727534B2 (en) Imaging device
JP4543602B2 (en) camera
KR20070086061A (en) Image processing and image processing program of image processing
JP2007212724A (en) Focusing position determination method and device
JP2011217311A (en) Imaging apparatus and method of controlling the same
US10313602B2 (en) Image capture apparatus and method for controlling the same
JP2007225897A (en) Focusing position determination device and method
JP2009098167A (en) Imaging device and program of the same
JP4949717B2 (en) In-focus position determining apparatus and method
JP4822283B2 (en) Imaging device
JP2007212723A (en) Focusing position determination method and device
JP2006253887A (en) Imaging apparatus
JP2009092961A (en) Focusing position control device, focusing position control method, and focusing position control program
JP2005284156A (en) Camera with automatic focusing function and automatic focusing method of camera
JP2003241066A (en) Camera
JP2006157604A (en) Camera apparatus and automatic photographing control program
JP4239954B2 (en) Camera device and focusing area control program
JP2009048123A (en) Photographing equipment and method of controlling same
JP2006243609A (en) Autofocus device
JP2016142895A (en) Focusing control device, control method of the same, and control program thereof, as well as imaging device
JP2007028163A (en) Display device of electronic camera
JP5069076B2 (en) Imaging apparatus and continuous imaging method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061213