JP2005308769A - Automatic focusing device - Google Patents

Automatic focusing device Download PDF

Info

Publication number
JP2005308769A
JP2005308769A JP2004121432A JP2004121432A JP2005308769A JP 2005308769 A JP2005308769 A JP 2005308769A JP 2004121432 A JP2004121432 A JP 2004121432A JP 2004121432 A JP2004121432 A JP 2004121432A JP 2005308769 A JP2005308769 A JP 2005308769A
Authority
JP
Japan
Prior art keywords
focus
focus lens
image
sampling
lens
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.)
Withdrawn
Application number
JP2004121432A
Other languages
Japanese (ja)
Inventor
Kimita Terayama
公太 寺山
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2004121432A priority Critical patent/JP2005308769A/en
Publication of JP2005308769A publication Critical patent/JP2005308769A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an automatic focusing device capable of quickly performing focusing operation when high image quality is not especially expected in a machine loaded with a high pixel CCD. <P>SOLUTION: The automatic focusing device is provided with a function for changing the moving quantity of a focusing lens for each sampling when sampling a focus evaluation value in accordance with a compression ratio set by a recording image compression ratio setting means. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、自動焦点装置を備えた撮像装置に関する。   The present invention relates to an imaging device including an autofocus device.

近年、デジタルカメラに対するユーザのニーズが多様化している。例えば、高画質で記録したいというニーズに応え、高画素CCDが搭載されるようになっている。
特開平06−217180
In recent years, user needs for digital cameras have been diversified. For example, in response to the need to record with high image quality, a high pixel CCD is mounted.
JP 06-217180 A

高画素CCD搭載機では記録画素数増大に伴い、同容量の記録媒体に記録できる枚数は減少してしまう。特に高画質を必要とせず、少しでも多く撮影したい場合には、記録画素数を小さく設定したり、記録画像の圧縮率を高く設定するなどして使用する。しかし、撮影画像を高圧縮で記録すると画質は低下してしまう。   In a high-pixel CCD-equipped machine, the number of sheets that can be recorded on a recording medium of the same capacity decreases as the number of recording pixels increases. In particular, when high image quality is not required and it is desired to shoot as much as possible, the number of recording pixels is set to a small value or the compression rate of the recorded image is set to a high value. However, when a captured image is recorded with high compression, the image quality is degraded.

また、レリーズタイムラグを短くして欲しいというニーズがあるが、画素サイズの小さい高画素CCD搭載機では高精度なAF制御が要求され、フォーカスレンズを駆動しながら焦点評価値をサンプリングして合焦位置を検出する自動焦点装置ではサンプリング間隔を小さくする必要があるが、同時に合焦動作時間が長くなる問題が生ずる。   In addition, there is a need to shorten the release time lag, but high-precision CCD control with a small pixel size requires high-precision AF control, and the focus evaluation value is sampled while the focus lens is driven. In the autofocus device for detecting the image, it is necessary to reduce the sampling interval, but at the same time, there arises a problem that the focusing operation time becomes long.

そのため、特に高画質を必要とせず画像サイズ低減のため高圧縮で記録する場合などにおいて、高画素CCD搭載機は合焦動作時間が長くなるというマイナス面ばかりが目立つことになる。   For this reason, in particular, when recording with high compression for reducing the image size without requiring high image quality, the high-pixel CCD-equipped machine is conspicuous only in terms of a long focusing operation time.

本発明の目的は、上記のような特に高画質を期待しないような場合において、短時間で合焦動作が可能な自動焦点装置を提供することにある。   An object of the present invention is to provide an autofocus device capable of performing a focusing operation in a short time in the case where high image quality is not expected as described above.

前述の目的を達成するために請求項1の自動焦点装置は、
被写体像の焦点調節を行うフォーカスレンズと、前記フォーカスレンズによって結像された被写体像を電気信号に変換する撮像素子と、前記電気信号をA/D変換してデジタル画像信号に変換するA/D変換手段と、前記デジタル画像信号から被写体の高周波成分より焦点評価値を出力する焦点評価手段と、前記フォーカスレンズの位置を移動させながら前記焦点評価手段により得られた前記焦点評価値をサンプリングするサンプリング手段と、画像を記録する際の圧縮率を設定する記録画像圧縮率設定手段と、前記サンプリング手段の前記焦点評価値のサンプリング結果により合焦位置を検出する合焦位置検出手段と、前記合焦位置検出手段により検出された合焦位置に前記フォーカスレンズを駆動するフォーカスレンズ駆動手段とを備え、
前記焦点評価値をサンプリングするときの各サンプリングの前記フォーカスレンズの移動量を、前記記録画像圧縮率設定手段に設定された圧縮率に応じて変更することを特徴とする。
To achieve the foregoing object, the autofocus device of claim 1 comprises:
A focus lens that adjusts the focus of the subject image, an image sensor that converts the subject image formed by the focus lens into an electrical signal, and an A / D that converts the electrical signal into a digital image signal by A / D conversion Conversion means; focus evaluation means for outputting a focus evaluation value from a high-frequency component of the subject from the digital image signal; and sampling for sampling the focus evaluation value obtained by the focus evaluation means while moving the position of the focus lens Means, a recorded image compression ratio setting means for setting a compression ratio when recording an image, a focus position detection means for detecting a focus position based on a sampling result of the focus evaluation value of the sampling means, and the focus Focus lens driving means for driving the focus lens at the in-focus position detected by the position detection means
The amount of movement of the focus lens for each sampling when sampling the focus evaluation value is changed according to the compression rate set in the recording image compression rate setting means.

請求項1の自動焦点装置によれば、記録画像圧縮率設定に応じて焦点評価値サンプリング時のフォーカスレンズの移動量が変更されるため、例えば高圧縮に設定され、高画質を期待していないと考えられる場合には、焦点評価値のサンプリング間隔を大きく設定することで、短時間での合焦動作が可能となる。   According to the automatic focusing apparatus of the first aspect, since the moving amount of the focus lens at the time of sampling the focus evaluation value is changed according to the recording image compression rate setting, for example, it is set to high compression and high image quality is not expected. In this case, the focusing operation can be performed in a short time by setting the sampling interval for the focus evaluation value to be large.

以上説明したように、請求項1の自動焦点装置によれば、記録画像圧縮率設定に応じて焦点評価値サンプリング時のフォーカスレンズの移動量が変更されるため、例えば高圧縮に設定され、高画質を期待していないと考えられる場合には、焦点評価値のサンプリング間隔を大きく設定することで、短時間での合焦動作が可能となる。   As described above, according to the automatic focusing apparatus of the first aspect, the amount of movement of the focus lens at the time of sampling the focus evaluation value is changed according to the recording image compression rate setting. When it is considered that the image quality is not expected, the focusing operation can be performed in a short time by setting the sampling interval of the focus evaluation value large.

以下、図面を参照しながら本発明の実施例を説明する。図1は本発明の実施例を適用した自動焦点装置の構成を示すブロック図である。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an automatic focusing apparatus to which an embodiment of the present invention is applied.

101は固定レンズ、102は光量を制御する絞り及びシャッター、103は絞り及びシャッターを動かすモータ、104はモータ103を駆動して絞り及びシャッター102を動かすメカ系駆動回路、105は後述する撮像素子上に焦点をあわせるためのフォーカスレンズ、106はフォーカスレンズ105のリセット位置を検出するフォトインタラプタ、107はフォーカスレンズ105を駆動するモータ、108はモータ107を駆動してフォーカスレンズ105を動かすフォーカスレンズ駆動回路、109は被写体からの反射光を電気信号に変換する受光手段又は光電変換手段としての撮像素子、110は撮像素子109を動作させるために必要なタイミング信号を発生するタイミング信号発生回路、111は撮像素子109の出力ノイズを除去するCDS回路やA/D変換前に行う非線形増幅回路を備えた前置処理回路、112はA/D変換器、113は画像処理部、114は撮影シーケンスなどシステムを制御するシステム制御用CPU、115はバッファメモリ、116はメモリの読み書きやDRAMのリフレッシュ動作を制御するメモリコントローラ、117は後述する記録媒体との接続のためのインターフェース、118はメモリーカードやハードディスクなどの記録媒体、119は操作補助のための表示やカメラの状態表示の他、撮影時には撮影画面と測距領域を表示する操作表示部、120はカメラを外部から操作するための操作部、121は電気的に書き換え可能な不揮発性メモリ(EEPROM)、122はシステムに電源を投入するためのメインスイッチ、123はAFやAE等の撮影スタンバイ動作を行うためのスイッチ(以下SW1と記す)、124はSW1の操作後、撮影を行う撮影スイッチ(以下SW2と記す)、125は撮影モードを設定するモードスイッチ、126はフラッシュである。   Reference numeral 101 denotes a fixed lens, 102 denotes a diaphragm and shutter for controlling the amount of light, 103 denotes a motor for moving the diaphragm and the shutter, 104 denotes a mechanical system driving circuit for driving the motor 103 to move the diaphragm and the shutter 102, and 105 denotes an image pickup device described later. A focus lens 106 for focusing on the photo lens, a photo interrupter 106 for detecting the reset position of the focus lens 105, a motor 107 for driving the focus lens 105, and a focus lens driving circuit 108 for driving the focus lens 105 by driving the motor 107. , 109 is an image sensor as a light receiving means or photoelectric conversion means for converting the reflected light from the subject into an electrical signal, 110 is a timing signal generating circuit for generating a timing signal necessary for operating the image sensor 109, and 111 is an image sensor. Output of element 109 System control for controlling the system such as a CDS circuit for removing noise and a pre-processing circuit having a non-linear amplifier circuit to be performed before A / D conversion, 112 an A / D converter, 113 an image processing unit, and 114 a photographing sequence CPU, 115 is a buffer memory, 116 is a memory controller that controls memory read / write and DRAM refresh operations, 117 is an interface for connection to a recording medium to be described later, 118 is a recording medium such as a memory card or hard disk, 119 Indicates an operation assist display and camera status display, an operation display section for displaying a shooting screen and a distance measurement area at the time of shooting, 120 an operation section for operating the camera from the outside, and 121 an electrically rewritable A non-volatile memory (EEPROM) 122 is a main switch for powering on the system. H and 123 are switches for performing shooting standby operations such as AF and AE (hereinafter referred to as SW1), 124 is a shooting switch for performing shooting after operation of SW1 (hereinafter referred to as SW2), and 125 is for setting a shooting mode. A mode switch 126 is a flash.

前記108のフォーカスレンズ駆動回路は、システム制御用CPU114から供給される制御信号に従い、フォーカスレンズ105をモータ107で光軸方向に移動させる。前記115のバッファメモリは一時的な画像記憶手段としての高速バッファとして、あるいは画像の圧縮伸張における作業用メモリなどに使用される。   The focus lens drive circuit 108 moves the focus lens 105 in the optical axis direction by the motor 107 in accordance with a control signal supplied from the system control CPU 114. The 115 buffer memory is used as a high-speed buffer as temporary image storage means, or a working memory for image compression / decompression.

画像処理部113では、A/D変換器112から入力したデジタル画像データについて色差、輝度信号に分け各種処理、補正および画像圧縮/伸長のデータ処理を施す。   The image processing unit 113 divides the digital image data input from the A / D converter 112 into color differences and luminance signals, and performs various processing, correction, and image compression / decompression data processing.

システム制御用CPU114は、前記AF動作制御の他、撮像動作、自動露出(AE)動作などの制御を行う。   The system control CPU 114 controls the imaging operation, automatic exposure (AE) operation, and the like in addition to the AF operation control.

前記120の操作部は、機能選択や各種設定を外部から行うための部材を備え、例えば画像再生時の設定など各種設定を行うメニュースイッチ、撮影時の感度設定や、画像記録時の記録画素数や圧縮率、などを設定するファンクションキーなどを備える。   The operation unit 120 includes members for externally performing function selection and various settings, for example, a menu switch for performing various settings such as settings during image reproduction, sensitivity settings during shooting, and the number of pixels recorded during image recording. And function keys to set the compression rate, etc.

以下、本発明の実施例の動作を図2を参照しながら詳述する。ここに図2は、本発明の実施例を適用した自動焦点装置の動作を表すフローチャートである。   The operation of the embodiment of the present invention will be described in detail below with reference to FIG. FIG. 2 is a flowchart showing the operation of the autofocus device to which the embodiment of the present invention is applied.

まず、ステップS201でメインスイッチ122の状態を検出し、ONであればステップS202へ進む。ここに、メインスイッチ122の機能はシステムに電源を投入することである。ステップS202では画像を記録する記録媒体118の残容量を調べ、残容量が0であればステップS203へ進み、そうでなければステップS204へ進む。ステップS203では画像を記録する記録媒体118の残容量が0であることを警告してステップS201に戻る。警告は操作表示部119に表示するか又は図示しない音声出力部から警告音を出すか、又はその両方をおこなってもよい。ステップS204では後述する図3のフローチャートに従ってフォーカスレンズ105をリセットする。ステップS205ではスイッチSW1の状態を調べ、ONであればステップS207へ進み、そうでなければステップS206へ進む。ここに、SW1の機能は、AFやAEなどの撮影スタンバイ動作を行うことである。ステップS206ではメインスイッチ122の状態を調べ、ONであればステップS204へ、そうでなければステップS201へ進む。   First, the state of the main switch 122 is detected in step S201, and if it is ON, the process proceeds to step S202. Here, the function of the main switch 122 is to turn on the system. In step S202, the remaining capacity of the recording medium 118 for recording an image is checked. If the remaining capacity is 0, the process proceeds to step S203, and if not, the process proceeds to step S204. In step S203, a warning is given that the remaining capacity of the recording medium 118 for recording an image is 0, and the process returns to step S201. The warning may be displayed on the operation display unit 119, a warning sound may be emitted from a sound output unit (not shown), or both may be performed. In step S204, the focus lens 105 is reset according to the flowchart of FIG. In step S205, the state of the switch SW1 is checked. If it is ON, the process proceeds to step S207, and if not, the process proceeds to step S206. Here, the function of SW1 is to perform a shooting standby operation such as AF or AE. In step S206, the state of the main switch 122 is checked. If it is ON, the process proceeds to step S204, and if not, the process proceeds to step S201.

ステップS207では後述する図4のフローチャートに従ってAF動作を行う。ステップS208はSW2の状態を調べ、ONであればステップS210へ、そうでなければステップS209へ進む。ここに、SW2の機能はSW1の操作後撮影を行うことである。ステップS209ではSW1の状態を調べ、ONであればステップS208へ戻り、そうでなければステップS204へ戻る。ステップS210では後述する図5のフローチャートにしたがって撮影動作をおこなう。ステップS211では画像を記録する記録媒体118の残容量を調べ、残容量が0であればステップS203へ進み、そうでなければステップS212へ進む。ステップS212ではSW2の状態を調べ、ONでなければステップS209へ進む。   In step S207, an AF operation is performed according to the flowchart of FIG. In step S208, the state of SW2 is checked. If ON, the process proceeds to step S210, and if not, the process proceeds to step S209. Here, the function of SW2 is to perform photographing after operation of SW1. In step S209, the state of SW1 is checked. If ON, the process returns to step S208. Otherwise, the process returns to step S204. In step S210, a photographing operation is performed according to the flowchart of FIG. In step S211, the remaining capacity of the recording medium 118 for recording an image is checked. If the remaining capacity is 0, the process proceeds to step S203, and if not, the process proceeds to step S212. In step S212, the state of SW2 is checked, and if not ON, the process proceeds to step S209.

以下、図3のフローチャートを参照しながら図2のフローチャートにおけるS204のフォーカスレンズ105のリセットの動作を説明する。ここに、図3は、図2のフローチャートにおけるフォーカスレンズ105のリセットの動作(S204)のサブルーチンのフローチャートである。   Hereinafter, the reset operation of the focus lens 105 in S204 in the flowchart of FIG. 2 will be described with reference to the flowchart of FIG. FIG. 3 is a flowchart of the subroutine of the reset operation (S204) of the focus lens 105 in the flowchart of FIG.

本説明において、フォトインタラプタ106の位置と出力の関係を図4に示すようにフォーカスレンズ105がフォトインタラプタ出力切り替え位置に対して無限端側にあるときはフォトインタラプタ106の出力は“Lo”、至近端側にあるときは“Hi”になるものとする。   In this description, the relationship between the position of the photointerrupter 106 and the output is shown in FIG. 4, and when the focus lens 105 is on the infinite end side with respect to the photointerrupter output switching position, the output of the photointerrupter 106 is “Lo”. When it is on the near end side, it is assumed to be “Hi”.

まず、ステップS301ではフォトインタラプタ106の出力の状態を調べて、“Lo”であればステップS302へ進み、そうでなければステップS303へ進む。ステップS302では、ステップS301でフォトインタラプタ106の出力によりフォーカスレンズ105はフォトインタラプタ出力切り替え位置に対して無限端側にあると判断されるのでフォーカスレンズ105を至近端側へ1ステップ移動する。ステップS303ではフォトインタラプタ106の出力の状態を調べ、“Hi”であればステップS304へ進み、そうでなければ該当処理を終了する。ステップS304では、ステップS303でフォトインタラプタ106の出力によりフォーカスレンズ105はフォトインタラプタ出力切り替え位置に対して至近端側にあると判定されるので、フォーカスレンズ105を無限端側へ1ステップ移動する。   First, in step S301, the output state of the photo interrupter 106 is checked. If “Lo”, the process proceeds to step S302; otherwise, the process proceeds to step S303. In step S302, the focus lens 105 is determined to be on the infinite end side with respect to the photointerrupter output switching position based on the output of the photo interrupter 106 in step S301, so the focus lens 105 is moved one step toward the closest end side. In step S303, the output state of the photo interrupter 106 is checked. If “Hi”, the process proceeds to step S304, and if not, the corresponding process is terminated. In step S304, since it is determined that the focus lens 105 is on the near end side with respect to the photo interrupter output switching position based on the output of the photo interrupter 106 in step S303, the focus lens 105 is moved to the infinite end side by one step.

このようにしてフォーカスレンズ105をリセットした場合の動作について説明する。まず、メインスイッチ122をONにしたときのフォーカスレンズ105の位置がフォトインタラプタ出力切り替え位置に対して無限端側にあった場合、フォトインタラプタ106の出力は“Lo”であるので図3のステップS301、ステップS302によってフォーカスレンズ105はフォトインタラプタ106の出力が“Hi”になるまで至近端側へ1ステップずつ移動される。図4のフォトインタラプタ出力切り替え位置を越えたところでフォトインタラプタ106の出力は“Hi”に切り替わるので、今度は図3のステップS303、ステップS304にしたがってフォトインタラプタ106の出力が“Lo”になるまで無限端側へ1ステップずつ移動される。こうして最終的にはフォーカスレンズ105は図4のリセット位置で止まる。メインスイッチ122をONにしたときのフォーカスレンズ105の位置がフォトインタラプタ出力切り替え位置に対して至近端側にあった場合は、無限端側へのみフォーカスレンズ105を移動してフォトインタラプタ106の出力が“Lo”になったら止める。こうして前述のメインスイッチ123をONにしたときのフォーカスレンズ105の位置がフォトインタラプタ出力切り替え位置に対して無限端側にあった場合と同様に、最終的にはフォーカスレンズ105は図4のリセット位置に止まる。   The operation when the focus lens 105 is reset in this way will be described. First, when the position of the focus lens 105 when the main switch 122 is turned on is on the infinite end side with respect to the photointerrupter output switching position, the output of the photointerrupter 106 is “Lo”, so step S301 in FIG. In step S302, the focus lens 105 is moved step by step toward the closest end until the output of the photo interrupter 106 becomes “Hi”. Since the output of the photo interrupter 106 is switched to “Hi” when the photo interrupter output switching position in FIG. 4 is exceeded, this time is infinite until the output of the photo interrupter 106 becomes “Lo” according to steps S303 and S304 in FIG. It is moved step by step to the end side. Thus, the focus lens 105 finally stops at the reset position in FIG. When the position of the focus lens 105 when the main switch 122 is turned on is close to the photo interrupter output switching position, the focus lens 105 is moved only to the infinite end side and the output of the photo interrupter 106 is output. Stop when “Lo” becomes “Lo”. Thus, as in the case where the position of the focus lens 105 when the main switch 123 is turned on is on the infinite end side with respect to the photointerrupter output switching position, the focus lens 105 finally becomes the reset position in FIG. Stop on.

以下、図5のフローチャートを参照しながら図2のフローチャートにおけるステップS207のAF動作のサブルーチンを説明する。AF動作は撮像素子109から得られる信号の高域成分(焦点評価値)のピーク検出により行われる。ここに図5は、図2のフローチャートにおけるAF動作(ステップS207)のサブルーチンのフローチャート図である。   Hereinafter, the AF operation subroutine of step S207 in the flowchart of FIG. 2 will be described with reference to the flowchart of FIG. The AF operation is performed by detecting a peak of a high frequency component (focus evaluation value) of a signal obtained from the image sensor 109. FIG. 5 is a flowchart of the subroutine of the AF operation (step S207) in the flowchart of FIG.

まず、ステップS501では、AF動作におけるフォーカスレンズ105の設定を行う。具体的には、スキャン開始位置、スキャン終了位置、サンプリング時のフォーカスレンズ105のレンズ移動量などの設定を行う。後述する図6のフローチャートに従って、サンプリング時のフォーカスレンズ105のレンズ移動量を設定する。ステップS502ではフォーカスレンズ105をスキャン開始位置に移動する。ここではスキャン開始位置を測距範囲における無限端に設定するものとする。ステップS503では、焦点評価値とフォーカスレンズ105の位置を記憶する。フォーカスレンズ105の位置の検出はフォーカスレンズ駆動モータ107にステッピングモータを用いている場合は、リセット位置検出用のフォトインタラプタ106によって検出されるリセット位置からの相対位置として検出される。ステップS504ではレンズ位置が終了位置にあるかどうかを調べ、終了位置であればステップS506へ、そうでなければステップS505へ進む。ここではスキャン終了位置を測距範囲における至近端に設定するものとする。ステップS505では、フォーカスレンズ105をステップS501で設定した移動量だけ至近方向へ駆動する。ステップS506では、ステップS503で記憶した焦点評価値の最大値を求め、そのときのフォーカスレンズ105の位置を抽出する。ステップS507では焦点評価値が最大値を示した位置へフォーカスレンズ105を移動する。   First, in step S501, the focus lens 105 is set in the AF operation. Specifically, settings such as a scan start position, a scan end position, and a lens movement amount of the focus lens 105 at the time of sampling are performed. The amount of lens movement of the focus lens 105 at the time of sampling is set according to the flowchart of FIG. In step S502, the focus lens 105 is moved to the scan start position. Here, it is assumed that the scan start position is set to an infinite end in the distance measurement range. In step S503, the focus evaluation value and the position of the focus lens 105 are stored. When the stepping motor is used as the focus lens driving motor 107, the position of the focus lens 105 is detected as a relative position from the reset position detected by the reset position detection photo interrupter 106. In step S504, it is checked whether or not the lens position is at the end position. If it is the end position, the process proceeds to step S506, and if not, the process proceeds to step S505. Here, the scan end position is set to the closest end in the distance measurement range. In step S505, the focus lens 105 is driven in the closest direction by the amount of movement set in step S501. In step S506, the maximum focus evaluation value stored in step S503 is obtained, and the position of the focus lens 105 at that time is extracted. In step S507, the focus lens 105 is moved to a position where the focus evaluation value shows the maximum value.

以下、図6のフローチャートを参照しながら図5のフローチャートにおけるステップS501のレンズ位置移動量設定のサブルーチンを説明する。ここに、図6は、図5のフローチャートにおけるレンズ位置移動量設定(ステップS501)のサブルーチンのフローチャートである。   The subroutine for setting the lens position movement amount in step S501 in the flowchart of FIG. 5 will be described below with reference to the flowchart of FIG. FIG. 6 is a flowchart of the subroutine for lens position movement amount setting (step S501) in the flowchart of FIG.

まず、ステップS601では記録画像圧縮率設定が低圧縮になっているかどうかを調べ、低圧縮に設定されていればステップS602へ、そうでなければステップS603へ進む。ステップS602では、フォーカスレンズ105のレンズ位置移動量を3stepに設定する。ステップS603では記録画像圧縮率設定が中圧縮になっているかどうかを調べ、中圧縮に設定されていればステップS604へ、そうでなければステップS605へ進む。ステップS604では、フォーカスレンズ105のレンズ位置移動量を5stepに設定する。ステップS605では記録画像圧縮率設定が高圧縮になっているかどうかを調べ、高圧縮に設定されていればステップS606へ、そうでなければ当該処理を終了する。ステップS606では、フォーカスレンズ105のレンズ位置移動量を7stepに設定する。   First, in step S601, it is checked whether the recording image compression rate setting is low compression. If low compression is set, the process proceeds to step S602, and if not, the process proceeds to step S603. In step S602, the lens position movement amount of the focus lens 105 is set to 3step. In step S603, it is checked whether or not the recording image compression rate setting is medium compression. If medium compression is set, the process proceeds to step S604, and if not, the process proceeds to step S605. In step S604, the lens position movement amount of the focus lens 105 is set to 5 steps. In step S605, it is checked whether the recording image compression rate is set to high compression. If high compression is set, the process proceeds to step S606. If not, the process ends. In step S606, the lens position movement amount of the focus lens 105 is set to 7step.

以下、図7のフローチャートを参照しながら図2のフローチャートにおけるステップS210の撮影動作のサブルーチンを説明する。ここに、図7は、図2のフローチャートにおける撮影動作(ステップS210)のサブルーチンのフローチャートである。   Hereinafter, the subroutine of the photographing operation in step S210 in the flowchart of FIG. 2 will be described with reference to the flowchart of FIG. FIG. 7 is a flowchart of the subroutine of the photographing operation (step S210) in the flowchart of FIG.

まず、ステップS701では被写体輝度を測定する。ステップS702ではステップS701で測定した被写体輝度に応じて撮像素子109への露光を行う。撮像素子面上に結像された像は光電変換されてアナログ信号となり、ステップS703では、前置処理回路111にて撮像素子109の出力ノイズ除去や非線形処理がなされ、A/D変換器112にてアナログ信号をデジタル信号に変換する。ステップS704では、A/D変換器112からの出力信号を画像処理部113にて、ホワイトバランス調整などの画像処理、JPEGフォーマット等への画像フォーマット変換を行い、メモリコントローラ116を介してバッファメモリ115に一時的に格納する。画像フォーマット変換においてJPEGフォーマットなどの圧縮が可能なフォーマットでは、設定された圧縮率で圧縮される。ステップS705ではバッファメモリ115内のデータをメモリコントローラ116、記録媒体インターフェース117を介して、カメラに装着されたメモリーカードなどの記録媒体118へ転送し記録する。   First, in step S701, the subject brightness is measured. In step S702, the image sensor 109 is exposed in accordance with the subject brightness measured in step S701. The image formed on the surface of the image sensor is photoelectrically converted into an analog signal. In step S703, the output noise of the image sensor 109 is removed or nonlinear processing is performed by the pre-processing circuit 111, and the A / D converter 112 is processed. Convert analog signals to digital signals. In step S 704, the output signal from the A / D converter 112 is subjected to image processing such as white balance adjustment, image format conversion into a JPEG format, and the like by the image processing unit 113, and the buffer memory 115 via the memory controller 116. Temporarily store. In a format that can be compressed such as the JPEG format in image format conversion, the image is compressed at a set compression rate. In step S705, the data in the buffer memory 115 is transferred to the recording medium 118 such as a memory card attached to the camera via the memory controller 116 and the recording medium interface 117 and recorded.

以上で説明した前記レンズ位置移動量設定のフローチャートは、圧縮率が低圧縮、中圧縮、高圧縮の3通りにおける実施例であるが、圧縮率設定は3通りに限られるものではない。また、各圧縮率設定におけるレンズ移動量は、前記で示した3step(低圧縮設定)、5step(中圧縮設定)、7step(高圧縮設定)に限られたものではない。   The flow chart for setting the lens position movement amount described above is an example in which the compression rate is low compression, medium compression, and high compression, but the compression rate setting is not limited to three. Further, the lens movement amount in each compression rate setting is not limited to 3 step (low compression setting), 5 step (medium compression setting), and 7 step (high compression setting) described above.

以上説明したように自動焦点装置の制御を行うことにより、本実施例を使用した自動焦点装置は、記録画像圧縮率設定に応じて焦点評価値サンプリング時のフォーカスレンズ移動量が変更されるため、例えば高圧縮に設定され、高画質を期待していないと考えられる場合には、スキャン範囲のサンプリングは少ない回数で済むため、AF動作時間の短縮が可能となる。   By controlling the autofocus device as described above, the autofocus device using this embodiment changes the focus lens movement amount during sampling of the focus evaluation value according to the recording image compression rate setting. For example, when high compression is set and it is considered that high image quality is not expected, since the scan range needs to be sampled a small number of times, the AF operation time can be shortened.

本発明を適用した自動焦点カメラの構成を示すブロック図である。It is a block diagram which shows the structure of the autofocus camera to which this invention is applied. 本発明を適用した自動焦点カメラの動作を表すフローチャート図である。It is a flowchart figure showing operation | movement of the autofocus camera to which this invention is applied. 図2におけるフォーカスレンズのリセット動作を表すフローチャート図である。FIG. 3 is a flowchart illustrating a reset operation of the focus lens in FIG. 2. フォトインタラプタの位置と出力の関係を表す図である。It is a figure showing the relationship between the position of a photo interrupter, and an output. 図2におけるAF動作のサブルーチンのフローチャート図である。FIG. 3 is a flowchart of an AF operation subroutine in FIG. 2. 図5におけるレンズ位置移動量設定のサブルーチンのフローチャート図である。It is a flowchart figure of the subroutine of the lens position movement amount setting in FIG. 図2における撮影動作のサブルーチンのフローチャート図である。FIG. 3 is a flowchart of a shooting operation subroutine in FIG. 2.

符号の説明Explanation of symbols

101 固定レンズ
102 絞り及びシャッター
103 モータ
104 メカ系駆動回路
105 フォーカスレンズ
106 フォトインタラプタ
107 モータ
108 フォーカスレンズ駆動回路
109 撮像素子
110 タイミング信号発生回路
111 前置処理回路
112 A/D変換器
113 画像処理部
114 フォーマット変換部、システム制御用CPU
115 バッファメモリ
116 メモリコントローラ
117 インターフェース
118 記録媒体
119 操作表示部
120 操作部
121 EEPROM
122 メインスイッチ
123 スイッチ(SW1)
124 撮影スイッチ(SW2)
125 モードスイッチ
126 フラッシュ
DESCRIPTION OF SYMBOLS 101 Fixed lens 102 Aperture and shutter 103 Motor 104 Mechanical system drive circuit 105 Focus lens 106 Photo interrupter 107 Motor 108 Focus lens drive circuit 109 Image sensor 110 Timing signal generation circuit 111 Pre-processing circuit 112 A / D converter 113 Image processing part 114 Format converter, CPU for system control
115 Buffer Memory 116 Memory Controller 117 Interface 118 Recording Medium 119 Operation Display Unit 120 Operation Unit 121 EEPROM
122 Main switch 123 Switch (SW1)
124 Shooting switch (SW2)
125 Mode switch 126 Flash

Claims (1)

被写体像の焦点調節を行うフォーカスレンズと、前記フォーカスレンズによって結像された被写体像を電気信号に変換する撮像素子と、前記電気信号をA/D変換してデジタル画像信号に変換するA/D変換手段と、前記デジタル画像信号から被写体の高周波成分より焦点評価値を出力する焦点評価手段と、前記フォーカスレンズの位置を移動させながら前記焦点評価手段により得られた前記焦点評価値をサンプリングするサンプリング手段と、画像を記録する際の圧縮率を設定する記録画像圧縮率設定手段と、前記サンプリング手段の前記焦点評価値のサンプリング結果により合焦位置を検出する合焦位置検出手段と、前記合焦位置検出手段により検出された合焦位置に前記フォーカスレンズを駆動するフォーカスレンズ駆動手段とを備え、
前記焦点評価値をサンプリングするときの各サンプリングの前記フォーカスレンズの移動量を、前記記録画像圧縮率設定手段に設定された圧縮率に応じて変更することを特徴とする自動焦点装置。
A focus lens that adjusts the focus of the subject image, an image sensor that converts the subject image formed by the focus lens into an electrical signal, and an A / D that converts the electrical signal into a digital image signal by A / D conversion Conversion means; focus evaluation means for outputting a focus evaluation value from a high-frequency component of the subject from the digital image signal; and sampling for sampling the focus evaluation value obtained by the focus evaluation means while moving the position of the focus lens Means, a recorded image compression ratio setting means for setting a compression ratio when recording an image, a focus position detection means for detecting a focus position based on a sampling result of the focus evaluation value of the sampling means, and the focus Focus lens driving means for driving the focus lens at the in-focus position detected by the position detection means
An automatic focusing apparatus, wherein a moving amount of the focus lens at each sampling when sampling the focus evaluation value is changed according to a compression rate set in the recording image compression rate setting means.
JP2004121432A 2004-04-16 2004-04-16 Automatic focusing device Withdrawn JP2005308769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004121432A JP2005308769A (en) 2004-04-16 2004-04-16 Automatic focusing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004121432A JP2005308769A (en) 2004-04-16 2004-04-16 Automatic focusing device

Publications (1)

Publication Number Publication Date
JP2005308769A true JP2005308769A (en) 2005-11-04

Family

ID=35437675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004121432A Withdrawn JP2005308769A (en) 2004-04-16 2004-04-16 Automatic focusing device

Country Status (1)

Country Link
JP (1) JP2005308769A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271983A (en) * 2006-03-31 2007-10-18 Casio Hitachi Mobile Communications Co Ltd Imaging device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007271983A (en) * 2006-03-31 2007-10-18 Casio Hitachi Mobile Communications Co Ltd Imaging device and program

Similar Documents

Publication Publication Date Title
JP4727534B2 (en) Imaging device
JP2008020710A (en) Photographing device and focus adjusting method
JP2007178576A (en) Imaging apparatus and program therefor
JP2007114585A (en) Image blur correcting device and imaging apparatus
JP2010054730A (en) Focusing position detecting device, imaging apparatus, and focusing position detecting method
US7925149B2 (en) Photographing apparatus and method for fast photographing capability
JP2009169282A (en) Imaging apparatus and its program
JP3604750B2 (en) Automatic focusing device
JP2006325194A (en) Image sensing apparatus and control method therefor
JP5178394B2 (en) Imaging apparatus and control method thereof
JP5100410B2 (en) Imaging apparatus and control method thereof
JP2007057974A (en) Photographing device
JP2007293144A (en) Optical equipment
JP4715200B2 (en) Electronic camera
JP6617285B2 (en) Imaging device
JP2005141068A (en) Automatic focusing device, automatic focusing method, and control program readable by computer
JP2005223588A (en) Digital camera and control method therefor
JP2003319237A (en) Digital camera and automatic focus adjusting-method thereof
JP2005308769A (en) Automatic focusing device
JP4783685B2 (en) Imaging device with image stabilization function
JP4574726B2 (en) Imaging apparatus and automatic focusing control method
JP2001116978A (en) Image pickup device, image pickup method, and storage medium
JP2010204303A (en) Imaging apparatus
JP2009159238A (en) Automatic focus adjusting apparatus and imaging apparatus
JP2007025129A (en) Exposure setting method and device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070703