[go: up one dir, main page]

JP2003241071A - Imaging device and automatic focusing method thereof - Google Patents

Imaging device and automatic focusing method thereof

Info

Publication number
JP2003241071A
JP2003241071A JP2002041763A JP2002041763A JP2003241071A JP 2003241071 A JP2003241071 A JP 2003241071A JP 2002041763 A JP2002041763 A JP 2002041763A JP 2002041763 A JP2002041763 A JP 2002041763A JP 2003241071 A JP2003241071 A JP 2003241071A
Authority
JP
Japan
Prior art keywords
focus
value
lens
evaluation value
sequentially
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
JP2002041763A
Other languages
Japanese (ja)
Inventor
Junichi Sakurai
純一 桜井
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2002041763A priority Critical patent/JP2003241071A/en
Publication of JP2003241071A publication Critical patent/JP2003241071A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To accurately focus at any time, without being influenced by an environment. <P>SOLUTION: The device is provided with a CPU 22 for moving a photographic lens 12 by the drive of a motor 11, obtaining the focused object image, calculating the focusing estimation value for estimating the focusing state, and then, judging whether or not the focal position of the photographic lens is appropriate based on whether or not a difference between the photographic lens position where the maximum value is obtained out of a series of focusing estimation values and the photographic lens position where the minimum value is obtained is above a prescribed value. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、コントラスト方式
の自動合焦機能を有するデジタルカメラ等の撮像装置及
びその撮像装置で行なう自動合焦方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an imaging device such as a digital camera having a contrast type automatic focusing function and an automatic focusing method performed by the imaging device.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータの普及に
伴い、銀塩フィルムに代えて、不揮発性の半導体メモリ
を封入したメモリカードにデジタルデータの状態で画像
を記録するデジタルスチルカメラ(以下「デジタルカメ
ラ」と称する)が広く一般に普及している。
2. Description of the Related Art In recent years, with the spread of personal computers, a digital still camera (hereinafter referred to as "digital camera") that records an image in a digital data state on a memory card enclosing a non-volatile semiconductor memory instead of a silver salt film. (Referred to as) is widely spread.

【0003】この種のデジタルカメラでは、ほぼ全ての
機種が自動合焦機能を有しており、そのうち多くのもの
がコントラスト方式を採用している。このコントラスト
方式の自動合焦においては、CCD(Charge C
oupled Device:電荷結合素子)などの撮
像素子から自動合焦を行なう領域の画像データを取出
し、水平方向のみ、もしくは水平及び垂直両方向に対し
てハイパスフィルタ処理を施して空間周波数の高周波成
分を抽出し、その絶対値を加算したものをAF(自動合
焦)の評価値とするものである。
In this type of digital camera, almost all models have an automatic focusing function, and many of them adopt the contrast method. In this contrast type automatic focusing, a CCD (Charge C
Image data of the area where automatic focusing is performed is taken out from an image sensor such as an open device (charge coupled device), and high-pass filtering is performed only in the horizontal direction or in both the horizontal and vertical directions to extract high frequency components of the spatial frequency. The sum of the absolute values is used as an AF (automatic focusing) evaluation value.

【0004】合焦動作を行なうフォーカシングレンズが
正確に合焦位置にある場合に上述したAF評価値が最大
となるので、フォーカスレンズを1画面分の画像データ
を得るフィールド毎に移動させながら上記AF評価値を
比較することで所定のフォーカス範囲を走査し、最後に
その最大値が得られる位置にフォーカスレンズを移動さ
せて、一連の自動合焦動作を終了することとなる。
Since the above-mentioned AF evaluation value becomes maximum when the focusing lens for performing the focusing operation is at the accurate focusing position, the AF is performed while moving the focusing lens for each field for obtaining image data for one screen. By comparing the evaluation values, a predetermined focus range is scanned, and finally the focus lens is moved to a position where the maximum value is obtained, and a series of automatic focusing operations are completed.

【0005】実際の動作においては、カメラのシャッタ
ボタンが半押し操作されてから自動合焦の動作を開始
し、且つシャッタボタンが全押し操作された際には直ち
に撮影動作に移行しないとシャッタタイムラグが発生し
てしまうので、合焦状態を得るまでに要する時間を短縮
するために、AF評価値の最大値を見極めた時点で走査
を停止し、最大評価値となると思われる位置にフォーカ
スレンズを移動させることになる。
In actual operation, the shutter time lag must be set until the automatic focusing operation is started after the shutter button of the camera is half-pressed and the shooting operation is not immediately started when the shutter button is fully pressed. Therefore, in order to shorten the time required to obtain the in-focus state, stop scanning at the time when the maximum AF evaluation value is determined, and place the focus lens at the position where the maximum evaluation value will be reached. Will be moved.

【0006】AF評価値の最大値を見極める方法は様々
であるが、フォーカスレンズの位置の移動に伴ない、A
F評価値の最大値が得られる位置の前後で、該AF評価
値が増加から減少に転ずることを利用するようにしたも
のが多い。
There are various methods for determining the maximum value of the AF evaluation value, but as the position of the focus lens moves, A
In many cases, the fact that the AF evaluation value changes from increasing to decreasing is used before and after the position where the maximum F evaluation value is obtained.

【0007】図8は、一般的にフォーカスレンズの位置
の移動に伴なって得られるAF評価値の変化の過程を例
示するもので、本来のピント位置P周辺でAF評価値の
変化が小さくなり、且つ該ピント位置Pを境にしてAF
評価値が増加から減少に転じていることがわかる。
FIG. 8 exemplifies the process of the change of the AF evaluation value generally obtained with the movement of the position of the focus lens. The change of the AF evaluation value becomes small around the original focus position P. AF at the focus position P
It can be seen that the evaluation value has changed from increasing to decreasing.

【0008】したがって、このようにAF評価値のピー
ク位置検出を行なうことで、比較的容易に正確な合焦を
得ることができる。
Therefore, by detecting the peak position of the AF evaluation value in this way, it is possible to obtain accurate focusing relatively easily.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、撮像素
子を駆動してフィールド毎に取込む画像データを処理し
てAF評価値、すなわちコントラストの強さを測定して
正しいフォーカス位置を得ようとする場合、フィールド
毎にランダムに含まれるノイズ成分が大きい場合や、光
源の種類等によってフリッカ(画像のちらつき)を生じ
るような環境下にある場合、あるいは被写体の前を何ら
かの物体が瞬時に横切った場合などでは、AF評価値が
フィールド単位で大きく変化することがある。
However, when the image pickup device is driven to process the image data captured in each field to measure the AF evaluation value, that is, the strength of the contrast, the correct focus position is obtained. , When the noise component randomly included in each field is large, when the environment is such that flicker (flickering of the image) occurs depending on the type of light source, or when some object instantaneously crosses the front of the subject, etc. Then, the AF evaluation value may change greatly in field units.

【0010】このような場合、フォーカスレンズを移動
させながらAF評価値を比較すると、フィールド毎に得
られるAF評価値のぶれが原因でAF評価値のピークを
通過したか否かを誤認してしまうことや、ノイズ成分が
加わることでAF評価値の分布から予測される位置から
離れたフォーカスレンズの位置でAF評価値の最大値や
最小値が得られることがあり得るために、結果として合
焦を得るまでに時間を要するだけでなく自動合焦の精度
を悪化させてしまう要因となる。
In such a case, when the AF evaluation values are compared while moving the focus lens, it is erroneously recognized whether the peak of the AF evaluation value has passed due to the blurring of the AF evaluation value obtained for each field. In addition, since a noise component may be added, the maximum or minimum value of the AF evaluation value may be obtained at the position of the focus lens far from the position predicted from the distribution of the AF evaluation value. It not only takes a long time to obtain, but also becomes a factor that deteriorates the accuracy of automatic focusing.

【0011】本発明は上記のような実情に鑑みてなされ
たもので、その目的とするところは、環境に左右され
ず、常に正確な合焦を得ることが可能な撮像装置及びそ
の自動合焦方法を提供することにある。
The present invention has been made in view of the above situation, and an object thereof is an image pickup apparatus capable of always obtaining an accurate focus regardless of the environment and its automatic focus. To provide a method.

【0012】[0012]

【課題を解決するための手段】請求項1記載の発明は、
被写体像を撮像して出力する撮像手段と、撮影レンズを
順次駆動するレンズ駆動手段と、このレンズ駆動手段に
より順次駆動される撮影レンズを介して上記撮像手段に
入射され該撮像手段から順次出力される被写体像に基づ
いて合焦状態を評価する合焦評価値を順次算出する評価
値算出手段と、この評価値算出手段で順次得られる一連
の合焦評価値中で最大値が得られた際の撮影レンズ位置
と最小値が得られた際の撮影レンズ位置との差が所定値
以上であるか否かを判断することにより上記撮影レンズ
の合焦位置の適不適を判断する合焦判断手段とを具備し
たことを特徴とする。
The invention according to claim 1 is
An image pickup unit for picking up and outputting a subject image, a lens driving unit for sequentially driving the photographing lens, and a photographing lens sequentially driven by the lens driving unit are made incident on the image pickup unit and sequentially outputted from the image pickup unit. When the maximum value is obtained in the series of focus evaluation values sequentially obtained by the evaluation value calculation means for sequentially calculating the focus evaluation value for evaluating the focus state based on the subject image Focus determination means for determining whether or not the focus position of the photographing lens is appropriate by determining whether or not the difference between the photographing lens position and the photographing lens position when the minimum value is obtained is greater than or equal to a predetermined value. And is provided.

【0013】このような構成とすれば、合焦評価値の最
大値を得た際の撮影レンズ位置と最小値を得た際の撮影
レンズ位置とが充分に離れている場合にのみ合焦評価値
が最大値を得た際のレンズ位置を合焦位置であると判断
するため、コントラストが低い被写体に対して誤った合
焦判断を行なう確率を低減して、正確な合焦を得ること
が可能となる。
With this structure, the focus evaluation is performed only when the photographing lens position when the maximum focus evaluation value is obtained and the photographing lens position when the minimum focus evaluation value is obtained are sufficiently separated from each other. Since the lens position when the maximum value is obtained is determined to be the in-focus position, the probability of making an incorrect in-focus determination for a subject with low contrast can be reduced to obtain accurate in-focus. It will be possible.

【0014】請求項2記載の発明は、上記請求項1記載
の発明において、上記合焦判断手段は、上記合焦評価値
中の最大値と最小値とのの間に大きな開きがあるか否か
を判断することにより上記撮影レンズの合焦位置の適不
適を判断する手段を含むことを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, the focus determination means determines whether or not there is a large difference between the maximum value and the minimum value of the focus evaluation values. It is characterized in that it comprises means for judging whether or not the in-focus position of the taking lens is suitable by judging whether or not.

【0015】このような構成とすれば、上記請求項1記
載の発明の作用に加えて、合焦評価値の最大値と最小値
との間に大きな開きがない場合は合焦不可と判断するの
で誤った合焦判断を行なう確率をさらに低減させること
ができる。
With such a configuration, in addition to the operation of the invention described in claim 1, if there is no large difference between the maximum value and the minimum value of the focus evaluation value, it is determined that focus is impossible. Therefore, the probability of making an incorrect focus determination can be further reduced.

【0016】請求項3記載の発明は、被写体像を撮像し
て出力する撮像手段と、撮影レンズを順次駆動するレン
ズ駆動手段と、このレンズ駆動手段により順次駆動され
る撮影レンズを介して上記撮像手段に入射され該撮像手
段から順次出力される被写体像に基づいて合焦状態を評
価する合焦評価値を順次算出する評価値算出手段と、こ
の評価値算出手段で順次得られる一連の合焦評価値中で
最大値又は最小値が得られた際の撮影レンズ位置と所定
値以上離れているレンズ位置の合焦評価値が上記最大値
又は最小値と大きな開きがあるか否かを判断することに
より上記撮影レンズの合焦位置の適不適を判断する合焦
判断手段とを具備したことを特徴とする。
According to a third aspect of the present invention, the image pickup is performed via an image pickup means for picking up and outputting a subject image, a lens driving means for sequentially driving the photographing lenses, and a photographing lens sequentially driven by the lens driving means. Evaluation value calculation means for sequentially calculating a focus evaluation value for evaluating a focus state based on a subject image incident on the means and sequentially output from the image pickup means, and a series of in-focus points sequentially obtained by the evaluation value calculation means. It is determined whether or not the focus evaluation value at the lens position at which the maximum value or the minimum value is obtained from the evaluation value and the lens position that is apart from the photographing lens position by a predetermined value or more is significantly different from the maximum value or the minimum value. Thus, a focus determination means for determining the suitability of the focus position of the photographing lens is provided.

【0017】このような構成とすれば、合焦評価値の最
大値を得た際の撮影レンズ位置と最小値を得た際の撮影
レンズ位置とが充分に離れており、且つ最大値または最
小値以外の値も勘案してコントラストが充分であると判
断できる場合に合焦評価値が最大値を得た際のレンズ位
置を合焦位置であると判断するため、コントラストが低
い被写体に対して誤った合焦判断を行なう確率を低減し
て、正確な合焦を得ることが可能となる。
With this structure, the photographing lens position when the maximum focus evaluation value is obtained and the photographing lens position when the minimum focus evaluation value is obtained are sufficiently separated from each other, and the maximum or minimum value is obtained. When it is possible to determine that the contrast is sufficient considering other values, the lens position when the maximum focus evaluation value is obtained is determined to be the in-focus position. It is possible to obtain an accurate focus by reducing the probability of making an incorrect focus determination.

【0018】請求項4記載の発明は、被写体像を撮像し
て出力する撮像工程と、撮影レンズを順次駆動するレン
ズ駆動工程と、このレンズ駆動工程で順次駆動される撮
影レンズを介して上記撮像工程で順次出力される被写体
像に基づいて合焦状態を評価する合焦評価値を順次算出
する評価値算出工程と、この評価値算出工程で順次得ら
れる一連の合焦評価値中で最大値が得られた際の撮影レ
ンズ位置と最小値が得られた際の撮影レンズ位置との差
が所定値以上であるか否かを判断することにより上記撮
影レンズの合焦位置の適不適を判断する合焦判断工程と
を有したことを特徴とする。
According to a fourth aspect of the present invention, an image pickup process for picking up and outputting a subject image, a lens driving process for sequentially driving the photographing lens, and a photographing lens sequentially driven in the lens driving process are used for the image pickup. An evaluation value calculation step that sequentially calculates a focus evaluation value that evaluates the focus state based on the subject image that is sequentially output in the step, and the maximum value among the series of focus evaluation values that are sequentially obtained in this evaluation value calculation step. Judgment is made as to whether the focus position of the photographing lens is appropriate or not by judging whether or not the difference between the photographing lens position when the above is obtained and the photographing lens position when the minimum value is obtained is not less than a predetermined value. And a focus determination step to perform.

【0019】このような方法とすれば、合焦評価値の最
大値を得た際の撮影レンズ位置と最小値を得た際の撮影
レンズ位置とが充分に離れている場合にのみ合焦評価値
が最大値を得た際のレンズ位置を合焦位置であると判断
するため、コントラストが低い被写体に対して誤った合
焦判断を行なう確率を低減して、正確な合焦を得させる
ことが可能となる。
According to such a method, the focus evaluation is performed only when the photographing lens position when the maximum focusing evaluation value is obtained and the photographing lens position when the minimum focusing evaluation value is obtained are sufficiently separated from each other. Since the lens position when the maximum value is obtained is determined to be the in-focus position, the probability of making an incorrect in-focus determination for a subject with low contrast is reduced to obtain accurate in-focus. Is possible.

【0020】請求項5記載の発明は、被写体像を撮像し
て出力する撮像工程と、撮影レンズを順次駆動するレン
ズ駆動工程と、このレンズ駆動工程で順次駆動される撮
影レンズを介して上記撮像工程で順次出力される被写体
像に基づいて合焦状態を評価する合焦評価値を順次算出
する評価値算出工程と、この評価値算出工程で順次得ら
れる一連の合焦評価値中で最大値又は最小値が得られた
際の撮影レンズ位置と所定値以上離れているレンズ位置
の合焦評価値が上記最大値又は最小値と大きな開きがあ
るか否かを判断することにより上記撮影レンズの合焦位
置の適不適を判断する合焦判断工程とを有したことを特
徴とする。
According to a fifth aspect of the present invention, an image pickup step for picking up and outputting a subject image, a lens driving step for sequentially driving the photographing lenses, and the image pickup through the photographing lenses sequentially driven in the lens driving step. An evaluation value calculation step that sequentially calculates a focus evaluation value that evaluates the focus state based on the subject image that is sequentially output in the step, and the maximum value among the series of focus evaluation values that are sequentially obtained in this evaluation value calculation step. Alternatively, by determining whether or not the focus evaluation value of the lens position which is apart from the photographing lens position when the minimum value is obtained and the predetermined value or more is greatly different from the maximum value or the minimum value, And a focus determination step of determining the suitability of the focus position.

【0021】このような方法とすれば、合焦評価値の最
大値を得た際の撮影レンズ位置と最小値を得た際の撮影
レンズ位置とが充分に離れており、且つ最大値または最
小値以外の値も勘案してコントラストが充分であると判
断できる場合に合焦評価値が最大値を得た際のレンズ位
置を合焦位置であると判断するため、コントラストが低
い被写体に対して誤った合焦判断を行なう確率を低減し
て、正確な合焦を得させることが可能となる。
With this method, the taking lens position when the maximum focus evaluation value is obtained and the taking lens position when the minimum focus value is obtained are sufficiently separated from each other, and the maximum or minimum value is obtained. When it is possible to determine that the contrast is sufficient considering other values, the lens position when the maximum focus evaluation value is obtained is determined to be the in-focus position. It is possible to obtain a correct focus by reducing the probability of making an incorrect focus determination.

【0022】[0022]

【発明の実施の形態】(第1の実施の形態)以下本発明
をコントラスト方式の自動合焦機能を備えたデジタルカ
メラに適用した場合の第1の実施の形態について図面を
参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) A first embodiment in which the present invention is applied to a digital camera having a contrast type automatic focusing function will be described below with reference to the drawings. .

【0023】図1はその回路構成を示すもので、10が
デジタルカメラである。このデジタルカメラ10は、記
録モードと再生モードとを切換えて設定可能であり、記
録モードのモニタリング状態においては、モータ11の
駆動により合焦位置が移動されるフォーカスレンズ12
を含むレンズ光学系の撮影光軸後方に配置された撮像素
子であるCCD13が、タイミング発生器(TG)1
4、垂直ドライバ15によって走査駆動され、一定周期
毎に結像した光像に対応する光電変換出力を1画面分出
力する。
FIG. 1 shows the circuit configuration thereof, and 10 is a digital camera. The digital camera 10 can be set by switching between a recording mode and a reproduction mode. In the monitoring mode of the recording mode, the focus lens 12 whose focus position is moved by driving the motor 11 is moved.
The CCD 13 which is an image pickup element disposed behind the photographing optical axis of the lens optical system including the timing generator (TG) 1
4. The scanning is driven by the vertical driver 15 and the photoelectric conversion output corresponding to the optical image formed at a constant cycle is output for one screen.

【0024】この光電変換出力は、アナログ値の信号の
状態でRGBの各原色成分毎に適宜ゲイン調整された後
に、サンプルホールド回路(S/H)16でサンプルホ
ールドされ、A/D変換器17でデジタルデータに変換
され、カラープロセス回路18で画素補間処理を含むカ
ラープロセス処理が行なわれて、デジタル値の輝度信号
Y及び色差信号Cb,Crが生成され、DMA(Dir
ect MemoryAccess)コントローラ19
に出力される。
This photoelectric conversion output is appropriately adjusted in gain for each of the RGB primary color components in the state of an analog value signal, and then sample-held by a sample-hold circuit (S / H) 16 to obtain an A / D converter 17. Is converted into digital data by the color process circuit 18, and the color process circuit 18 performs color process processing including pixel interpolation processing to generate a digital value luminance signal Y and color difference signals Cb and Cr, and DMA (Dir
ect Memory Access) controller 19
Is output to.

【0025】DMAコントローラ19は、カラープロセ
ス回路18の出力する輝度信号Y及び色差信号Cb,C
rを、同じくカラープロセス回路18からの複合同期信
号、メモリ書込みイネーブル信号、及びクロック信号を
用いて一度DMAコントローラ19内部のバッファに書
込み、DRAMインタフェース(I/F)20を介して
DRAM21にDMA転送を行なう。
The DMA controller 19 has a luminance signal Y and color difference signals Cb and C output from the color process circuit 18.
Similarly, r is once written in the buffer inside the DMA controller 19 using the composite synchronizing signal, the memory write enable signal, and the clock signal from the color process circuit 18, and is DMA-transferred to the DRAM 21 via the DRAM interface (I / F) 20. Do.

【0026】CPU22は、上記輝度及び色差信号のD
RAM21へのDMA転送終了後に、この輝度及び色差
信号をDRAMインタフェース20を介してDRAM2
1より読出し、VRAMコントローラ23を介してVR
AM24に書込む。
The CPU 22 controls the D of the luminance and color difference signals.
After the completion of the DMA transfer to the RAM 21, the luminance and color difference signals are sent to the DRAM 2 via the DRAM interface 20.
Read from 1 and VR via VRAM controller 23
Write to AM24.

【0027】デジタルビデオエンコーダ25は、上記輝
度及び色差信号をVRAMコントローラ23を介してV
RAM24より定期的に読出し、これらのデータを元に
ビデオ信号を発生して表示部26に出力する。
The digital video encoder 25 outputs the luminance and color difference signals to the VRAM controller 23 through the VRAM controller 23.
It periodically reads from the RAM 24, generates a video signal based on these data, and outputs it to the display unit 26.

【0028】この表示部26は、例えばバックライト付
のカラー液晶表示パネルとその駆動回路とで構成され、
デジタルカメラ10の背面側に配設されて、記録モード
時にはEVF(Electronic View Fi
nder:電子ビューファインダ)として機能するもの
で、デジタルビデオエンコーダ25からのビデオ信号に
基づいた表示を行なうことで、その時点でVRAMコン
トローラ23から取込んでいる画像情報に基づく画像を
表示することとなる。
The display unit 26 is composed of, for example, a color liquid crystal display panel with a backlight and a drive circuit for the same.
It is disposed on the back side of the digital camera 10 and is in an EVF (Electronic View Fi) in the recording mode.
nder: electronic viewfinder), and displays an image based on the image information fetched from the VRAM controller 23 at that time by performing a display based on the video signal from the digital video encoder 25. Become.

【0029】そして、このように表示部26にその時点
での画像がモニタ画像としてリアルタイムに表示されて
いる状態で、記録保存を行ないたいタイミングでキー入
力部27を構成する複数のキー中のシャッタキーを操作
すると、トリガ信号を発生する。
Then, in the state where the image at that time is displayed as the monitor image in real time on the display unit 26 in this way, the shutters in the plurality of keys constituting the key input unit 27 are recorded at the timing when recording and saving are desired. When the key is operated, a trigger signal is generated.

【0030】CPU22は、このトリガ信号に応じてそ
の時点でCCD13から取込んでいる1画面分の輝度及
び色差信号のDRAM21へのDMA転送の終了後、直
ちにCCD13からのDRAM21への経路を停止し、
記録保存の状態に遷移する。
In response to this trigger signal, the CPU 22 stops the path from the CCD 13 to the DRAM 21 immediately after the completion of the DMA transfer of the luminance and color difference signals for one screen captured from the CCD 13 at that time to the DRAM 21. ,
Transition to the state of record preservation.

【0031】この記録保存の状態では、CPU22がD
RAM21に書込まれている1フレーム分の輝度及び色
差信号をDRAMインタフェース20を介してY,C
b,Crの各コンポーネント毎に縦8画素×横8画素の
基本ブロックと呼称される単位で読出してJPEG回路
28に書込み、このJPEG回路28でADCT(Ad
aptive Discrete Cosine Tr
ansform:適応離散コサイン変換)、エントロピ
符号化方式であるハフマン符号化等の処理によりデータ
圧縮し、得た符号データを1画像のデータファイルとし
て該JPEG回路28から読出し、このデジタルカメラ
10の記憶媒体として着脱自在に装着される、不揮発性
メモリであるフラッシュメモリ29に書込む。
In this state of record storage, the CPU 22
The luminance and color difference signals for one frame written in the RAM 21 are passed through the DRAM interface 20 to Y, C
Each component of b and Cr is read out in a unit called a basic block of vertical 8 pixels × horizontal 8 pixels, written in a JPEG circuit 28, and ADCT (Ad
adaptive Discrete Cosine Tr
data is compressed by a process such as Huffman coding which is an entropy coding method, and the obtained code data is read from the JPEG circuit 28 as a data file of one image, and the storage medium of the digital camera 10 Is written in the flash memory 29, which is a non-volatile memory, which is detachably attached.

【0032】そして、1フレーム分の輝度及び色差信号
の圧縮処理及びフラッシュメモリ29への全圧縮データ
の書込み終了に伴なって、CPU22は再度CCD13
からDRAM21への経路を再び起動する。
Then, with the compression processing of the luminance and color difference signals for one frame and the completion of writing all the compressed data to the flash memory 29, the CPU 22 again causes the CCD 13 to operate.
To the DRAM 21 again.

【0033】この際、併せてCPU22は、元の画像デ
ータの構成画素数を大幅に間引いた画像データを作成
し、これをサムネイル画像とも呼称されるプレビュー画
像として元の画像データに関連付けてフラッシュメモリ
29に記憶させる。
At this time, the CPU 22 also creates image data in which the number of constituent pixels of the original image data is greatly thinned, and the created image data is associated with the original image data as a preview image also called a thumbnail image and is associated with the flash memory. 29.

【0034】なお、上記キー入力部27は、上述したシ
ャッタキーの他に、記録(REC)モードと再生(PL
AY)モードとを切換える録/再モード切換えキー、各
種メニュー項目を表示させる「メニュー」キー、画像や
モードの選択、メニュー選択項目の指定等のために上下
左右各方向を指示するカーソルキーや選択内容を決定す
るための「Enter」キー等から構成され、キー操作
に伴なう信号は直接CPU22へ送出される。
The key input section 27 has a recording (REC) mode and a reproducing (PL) mode in addition to the shutter key described above.
AY) recording / re-mode switching key for switching between modes, "menu" key for displaying various menu items, cursor keys for selecting up / down / left / right directions for selecting images and modes, and specifying menu selection items It is composed of an "Enter" key or the like for determining the content, and a signal associated with the key operation is directly sent to the CPU 22.

【0035】上記シャッタキーは、2段階の押圧操作で
動作するものとし、第1段階の押圧操作、所謂「半押
し」の状態でAE(自動露出)及びAF(自動合焦)の
各動作が実行されてその値をロックし、さらに第2段階
の押圧操作、所謂「全押し」の状態で上記AE,AFの
各値に基づいた撮像動作が実行されるものとする。
It is assumed that the shutter key is operated by two-step pressing operation, and the AE (automatic exposure) and AF (automatic focusing) operations are performed in the first-step pressing operation, that is, the so-called "half-press" state. It is assumed that the value is executed and the value is locked, and further, the image capturing operation based on each value of the above AE and AF is executed in the state of the pressing operation in the second stage, so-called "full pressing".

【0036】また、再生モードでは、CPU22はCC
D13からDRAM21への経路を停止し、キー入力部
27の画像選択キー等の操作に応じてCPU22がフラ
ッシュメモリ29から特定の1フレーム分の符号データ
を読出してJPEG回路28に書込み、JPEG回路2
8で伸長処理を行なって得られた縦8画素×横8画素の
基本ブロック単位に、VRAMコントローラ23を介し
てVRAM24へ1フレーム分の輝度及び色差信号を展
開記憶させる。
In the reproduction mode, the CPU 22 makes CC
The path from D13 to the DRAM 21 is stopped, and the CPU 22 reads out the code data for one specific frame from the flash memory 29 and writes it in the JPEG circuit 28 in response to the operation of the image selection key of the key input unit 27, and the JPEG circuit 2
The luminance and color difference signals for one frame are expanded and stored in the VRAM 24 via the VRAM controller 23 in a basic block unit of vertical 8 pixels × horizontal 8 pixels obtained by performing decompression processing in 8.

【0037】すると、デジタルビデオエンコーダ25
は、VRAM24に展開記憶されている1フレーム分の
輝度及び色差信号を元にビデオ信号を発生し、表示部2
6で表示させる。
Then, the digital video encoder 25
Generates a video signal based on the luminance and color difference signals for one frame which are expanded and stored in the VRAM 24, and the display unit 2
Display with 6.

【0038】次に上記実施の形態の動作について説明す
る。図2は、記録モード時のモニタリング状態からシャ
ッタキーの半押し操作に応じて自動合焦を行なう際の、
主としてCPU22による処理内容を例示するものであ
る。
Next, the operation of the above embodiment will be described. FIG. 2 shows a case where automatic focusing is performed in response to a half-press operation of the shutter key from the monitoring state in the recording mode,
It mainly illustrates the processing contents by the CPU 22.

【0039】同図で、その処理当初には、まずその時点
でのフォーカスレンズ12の駆動位置をモータ11より
取得すると共に(ステップA01)、その時CCD13
で撮像している画像データのコントラスト値をDRAM
21に記憶されている内容から算出して取得し、そのま
ま合焦評価値として保持する(ステップA02)。
In the figure, at the beginning of the process, first, the drive position of the focus lens 12 at that time is acquired from the motor 11 (step A01), and the CCD 13 at that time is obtained.
The contrast value of the image data captured by the
It is calculated and obtained from the contents stored in No. 21, and is held as it is as the focus evaluation value (step A02).

【0040】次いで、取得した合焦評価値がそれまでに
取得した合焦評価値の最大値より大きいか、または最小
値より小さい場合にのみ、これを新たに最大値または最
小値としてそのときのレンズ位置と共に更新設定する
(ステップA03)。
Then, only when the acquired focus evaluation value is larger than the maximum value or smaller than the minimum focus evaluation value acquired so far, this is newly set as the maximum value or the minimum value at that time. The update is set together with the lens position (step A03).

【0041】このとき合わせて、実際に更新設定を行な
った場合には、合焦評価値の最大値と最小値との比「最
小値/最大値」と、最大値が得られたときのフォーカス
レンズ12の駆動位置と最小値が得られたときのフォー
カスレンズ12の駆動位置との差の絶対値とを同時に算
出して保持しておく。
At the same time, when the update setting is actually performed, the ratio "minimum value / maximum value" between the maximum value and the minimum value of the focus evaluation value and the focus when the maximum value is obtained. The absolute value of the difference between the drive position of the lens 12 and the drive position of the focus lens 12 when the minimum value is obtained is calculated and held at the same time.

【0042】さらに、上記ステップA02で取得した合
焦評価値とその前に取得した一連の合焦評価値からなる
増減パターンを解析して更新設定する(ステップA0
4)。
Further, an increase / decrease pattern consisting of the focus evaluation value acquired in step A02 and a series of focus evaluation values acquired before that is analyzed and updated and set (step A0).
4).

【0043】次に、フォーカスレンズ12の移動範囲の
端点に到達しているか否かを判断する(ステップA0
5)。ここで端点に到達していないと判断すると、次い
で上記ステップA04で更新設定した合焦評価値の増減
パターンによって合焦評価値のピーク(最大値)を通過
したか否かを、例えば2回連続して合焦評価値が増加し
た後2回連続して合焦評価値が減少したか否かにより判
断する(ステップA10)。
Next, it is determined whether or not the end point of the moving range of the focus lens 12 has been reached (step A0).
5). If it is determined that the end point has not been reached, whether or not the peak (maximum value) of the focus evaluation value has been passed through the increase / decrease pattern of the focus evaluation value updated and set in step A04 is continuously determined, for example, twice. Then, it is determined whether or not the focus evaluation value has decreased twice in a row after the focus evaluation value has increased (step A10).

【0044】ここでピークを通過していないと判断する
と、次に同合焦評価値の増減パターンによってフォーカ
スレンズ12の移動方向を切換える折返し条件となって
いるか否かを、例えば合焦評価値が4回連続して減少し
ているか否かにより判断する(ステップA11)。
If it is determined that the peak has not passed, whether or not there is a turning-back condition for switching the moving direction of the focus lens 12 according to the increase / decrease pattern of the same focus evaluation value, for example, the focus evaluation value is determined. It is judged whether or not it has decreased four times in a row (step A11).

【0045】ここで折返し条件ともなっていないと判断
すると、あらためてモータ11によりフォーカスレンズ
12の駆動方向を変えずにさらに1ステップ分だけ移動
させた上で(ステップA14)、上記ステップA01か
らの処理を繰返し行なう。
If it is determined that the conditions for folding back are not satisfied, the motor 11 is moved again by one step without changing the driving direction of the focus lens 12 (step A14), and then the processing from step A01 is performed. Repeat.

【0046】また、上記ステップA11で合焦評価値の
増減パターンが折返し条件となっていると判断した場合
は、次にすでに一度フォーカスレンズ12の駆動方向を
折返したか否かにより折返し終了条件となっているか否
かを判断する(ステップA12)。
When it is determined in step A11 that the increase / decrease pattern of the focus evaluation value is the return condition, the return end condition is determined depending on whether or not the drive direction of the focus lens 12 has already been turned back. It is determined whether or not (step A12).

【0047】ここで折返し終了条件とはなっていないと
判断すると、モータ11によるフォーカスレンズ12の
駆動方向をそれまでとは逆の方向に切換えて1ステップ
分だけ移動させた上で(ステップA13)、上記ステッ
プA01からの処理を繰返し行なう。
If it is determined that the return end condition is not satisfied, the direction in which the focus lens 12 is driven by the motor 11 is switched to the opposite direction, and the motor 11 is moved by one step (step A13). The processing from step A01 is repeated.

【0048】また、上記ステップA05でフォーカスレ
ンズ12の移動範囲の端点に到達していると判断した場
合、あるいは上記ステップA10で合焦評価値のピーク
を通過したと判断した場合には、上記ステップA03で
算出した、それまでに得た一連の合焦評価値中の最大値
と最小値との比「最小値/最大値」が予め設定されてい
る基準値以下であるか否かにより、合焦評価値が充分広
い範囲にわたって分布しているか否かを判断する(ステ
ップA06)。
If it is determined in step A05 that the end point of the moving range of the focus lens 12 has been reached, or if it is determined in step A10 that the peak focus evaluation value has passed, the above steps are performed. Depending on whether the ratio “minimum value / maximum value” of the maximum value and the minimum value in the series of focus evaluation values obtained up to that time calculated in A03 is less than or equal to a preset reference value, It is determined whether the focus evaluation values are distributed over a sufficiently wide range (step A06).

【0049】ここで、合焦評価値中の最大値と最小値と
の比が予め設定されている基準値以下であり、したがっ
て合焦評価値が充分広い範囲にわたって分布していると
判断すると、次いで上記ステップA03で算出した、合
焦評価値の最大値が得られたときのフォーカスレンズ1
2の駆動位置と合焦評価値の最小値が得られたときのフ
ォーカスレンズ12の駆動位置との差の絶対値が、やは
り予め設定されている基準値以上であるか否かにより、
その合焦評価値の最大値が充分に信頼性の高い、正確な
合焦位置でのものであるか否かを判断する(ステップA
07)。
Here, when it is determined that the ratio of the maximum value to the minimum value in the focus evaluation values is less than or equal to a preset reference value, and therefore the focus evaluation values are distributed over a sufficiently wide range, Then, the focus lens 1 when the maximum focus evaluation value calculated in step A03 is obtained
Depending on whether or not the absolute value of the difference between the drive position of 2 and the drive position of the focus lens 12 when the minimum focus evaluation value is obtained is also a preset reference value or more,
It is determined whether or not the maximum focus evaluation value is at a sufficiently reliable and accurate focus position (step A).
07).

【0050】図3は、フォーカスレンズの駆動に伴なう
合焦評価値の変化特性の一例を示すものであり、破線で
示す理想的な合焦評価値の変化特性Iに沿って各合焦評
価値が適宜誤差を持って分布している状態を表わしてい
る。
FIG. 3 shows an example of the change characteristic of the focus evaluation value accompanying the driving of the focus lens, and each focus is changed along the ideal change characteristic I of the focus evaluation value shown by the broken line. It represents a state in which the evaluation values are distributed with an appropriate error.

【0051】このような合焦評価値の分布が得られた場
合、上記ステップA06で判断する合焦評価値中の最大
値と最小値との比「最小値/最大値」が予め設定された
基準値より小さくなると共に、図中にも示す如く、合焦
評価値の最大値が得られたときのフォーカスレンズ12
の駆動位置と合焦評価値の最小値が得られたときのフォ
ーカスレンズ12の駆動位置との差の絶対値ΔLは予め
設定された基準値よりも大きな値となる。
When such a focus evaluation value distribution is obtained, the ratio "minimum value / maximum value" between the maximum value and the minimum value in the focus evaluation values determined in step A06 is set in advance. The focus lens 12 when it becomes smaller than the reference value and the maximum focus evaluation value is obtained as shown in FIG.
The absolute value ΔL of the difference between the driving position of the focus lens 12 and the driving position of the focus lens 12 when the minimum focus evaluation value is obtained is larger than a preset reference value.

【0052】したがって、上記ステップA07ではこの
点が判断されて、モータ11によりフォーカスレンズ1
2を合焦評価値の最大値が得られた際の駆動位置まで移
動させて(ステップA08)、以上でこの図2による自
動合焦処理を終了する。
Therefore, in step A07, this point is determined, and the motor 11 causes the focus lens 1 to move.
2 is moved to the drive position when the maximum focus evaluation value is obtained (step A08), and the automatic focus processing according to FIG. 2 is completed.

【0053】また、上記ステップA06でそれまでに得
た一連の合焦評価値中の最大値と最小値との比「最小値
/最大値」が予め設定されている基準値より大きいと判
断した場合、あるいは上記ステップA07で合焦評価値
の最大値が得られたときのフォーカスレンズ12の駆動
位置と合焦評価値の最小値が得られたときのフォーカス
レンズ12の駆動位置との差の絶対値が予め設定されて
いる基準値より小さいと判断した場合、あるいは上記ス
テップA12で折返し終了条件となっていると判断した
場合には、正確な合焦が得られないものとして、それに
対応したレンズ位置、例えば過焦点位置となるようにモ
ータ11によりフォーカスレンズ12を移動させて(ス
テップA09)、以上でこの図2による自動合焦処理を
終了する。
In step A06, it is determined that the ratio "minimum value / maximum value" of the maximum value and the minimum value in the series of focus evaluation values obtained up to that time is larger than the preset reference value. Or the difference between the drive position of the focus lens 12 when the maximum focus evaluation value is obtained in step A07 and the drive position of the focus lens 12 when the minimum focus evaluation value is obtained. If it is determined that the absolute value is smaller than the preset reference value, or if it is determined that the return end condition is satisfied in step A12, it is determined that accurate focusing cannot be obtained, and it is dealt with. The focus lens 12 is moved by the motor 11 to the lens position, for example, the hyperfocal position (step A09), and the automatic focusing process according to FIG. 2 is completed.

【0054】図4は、フォーカスレンズの駆動に伴なう
合焦評価値の変化特性の一例を示すものであり、適正な
合焦評価値の変化特性が得られないままに分布している
状態を表わしている。
FIG. 4 shows an example of the change characteristic of the focus evaluation value due to the driving of the focus lens, which is distributed without obtaining the proper change characteristic of the focus evaluation value. Is represented.

【0055】このような合焦評価値の分布が得られた場
合、上記ステップA06で判断する合焦評価値中の最大
値と最小値との比「最小値/最大値」が仮に予め設定さ
れた基準値より小さくなったとしても、図示する如く、
合焦評価値の最大値が得られたときのフォーカスレンズ
12の駆動位置と合焦評価値の最小値が得られたときの
フォーカスレンズ12の駆動位置との差の絶対値ΔLは
予め設定された基準値を越えることはない。
When such a focus evaluation value distribution is obtained, the ratio "minimum value / maximum value" between the maximum value and the minimum value in the focus evaluation values determined in step A06 is temporarily set in advance. Even if it becomes smaller than the reference value, as shown in the figure,
The absolute value ΔL of the difference between the drive position of the focus lens 12 when the maximum focus evaluation value is obtained and the drive position of the focus lens 12 when the minimum focus evaluation value is obtained is preset. It does not exceed the standard value.

【0056】したがって、上記ステップA07ではこの
点が判断されて、上記ステップA09に進み、正確な合
焦が得られないものとして例えば図中にIIで示す過焦
点位置となるようにモータ11によりフォーカスレンズ
12を移動させるものとなる。
Therefore, in step A07, this point is determined, and the flow advances to step A09 to focus by the motor 11 so as to reach the hyperfocal position indicated by II in the figure, assuming that accurate focusing cannot be obtained. The lens 12 is moved.

【0057】このように、コントラストから算出された
合焦評価値の最大値を得た際のフォーカスレンズ12の
駆動位置と最小値を得た際のフォーカスレンズ12の駆
動位置とが充分に離れている場合にのみ合焦評価値が最
大値を得た際のレンズ位置を合焦位置であると判断する
ため、コントラストが低い被写体に対して誤った合焦判
断を行なう確率を低減して、正確な合焦を得ることが可
能となる。
As described above, the drive position of the focus lens 12 when the maximum focus evaluation value calculated from the contrast is obtained and the drive position of the focus lens 12 when the minimum value is obtained are sufficiently separated. When the maximum focus evaluation value is obtained, the lens position is determined to be the focus position, so the probability of making an incorrect focus determination for a subject with low contrast is reduced, and It is possible to obtain a proper focus.

【0058】また特に、上記ステップA07での判断に
先立って、ステップA06で合焦評価値の最大値と最小
値との比を基準値と比較することで、上記ステップA0
7の判断を行なうか否かを判断している。このように正
確な合焦を得ることができないと思われる条件下を事前
に判断することにより、結果として自動合焦に要する時
間を短縮できる。
Further, in particular, prior to the determination at the step A07, the ratio between the maximum value and the minimum value of the focus evaluation value is compared with the reference value at the step A06, so that the step A0 is performed.
It is determined whether or not to make the determination of 7. By preliminarily determining the conditions in which accurate focusing cannot be obtained in this way, the time required for automatic focusing can be shortened as a result.

【0059】(第2の実施の形態)以下本発明をコント
ラスト方式の自動合焦機能を備えたデジタルカメラに適
用した場合の第2の実施の形態について図面を参照して
説明する。
(Second Embodiment) A second embodiment in which the present invention is applied to a digital camera having a contrast type automatic focusing function will be described below with reference to the drawings.

【0060】なお、その回路構成については、上記図1
に示したものと基本的に同様であるものとして、同一部
分には同一符号を付してその図示及び説明は省略するも
のとする。
The circuit configuration is shown in FIG.
Since they are basically the same as those shown in FIG. 3, the same parts are designated by the same reference numerals, and the illustration and description thereof will be omitted.

【0061】次に上記実施の形態の動作について説明す
る。図5は、記録モード時のモニタリング状態からシャ
ッタキーの半押し操作に応じて自動合焦を行なう際の、
主としてCPU22による処理内容を例示するものであ
る。
Next, the operation of the above embodiment will be described. FIG. 5 shows a case where automatic focusing is performed in response to a half-press operation of the shutter key from the monitoring state in the recording mode.
It mainly illustrates the processing contents by the CPU 22.

【0062】同図で、その処理当初には、まずその時点
でのフォーカスレンズ12の駆動位置をモータ11より
取得すると共に(ステップB01)、その時CCD13
で撮像している画像データのコントラスト値をDRAM
21に記憶されている内容から算出して取得し、そのま
ま合焦評価値として保持する(ステップB02)。
In the figure, at the beginning of the process, first, the drive position of the focus lens 12 at that time is acquired from the motor 11 (step B01), and at that time, the CCD 13
The contrast value of the image data captured by the
It is calculated and obtained from the contents stored in No. 21, and is held as it is as the focus evaluation value (step B02).

【0063】次いで、取得した合焦評価値がそれまでに
取得した合焦評価値の最大値より大きい場合にのみ、こ
れを新たに最大値としてそのときのレンズ位置と共に更
新設定する(ステップB03)。
Next, only when the acquired focus evaluation value is larger than the maximum focus evaluation value acquired so far, this is newly set as the maximum value and updated with the lens position at that time (step B03). .

【0064】これと合わせて、それまでに取得した合焦
評価値中の最も小さいものから順に10個のデータをそ
の順位とレンズ位置と共に最小値候補として更新設定す
る(ステップB04)。
At the same time, 10 pieces of data from the smallest focus evaluation value acquired so far are updated and set as the minimum value candidate together with their rank and lens position (step B04).

【0065】さらに、上記ステップB02で取得した合
焦評価値とその前に取得した一連の合焦評価値からなる
増減パターンを解析して更新設定する(ステップB0
5)。
Furthermore, an increase / decrease pattern consisting of the focus evaluation value acquired in step B02 and a series of focus evaluation values acquired before that is analyzed and updated and set (step B0).
5).

【0066】次に、フォーカスレンズ12の移動範囲の
端点に到達しているか否かを判断する(ステップB0
6)。ここで端点に到達していないと判断すると、次い
で上記ステップB05で更新設定した合焦評価値の増減
パターンによって合焦評価値のピーク(最大値)を通過
したか否かを、例えば2回連続して合焦評価値が増加し
た後2回連続して合焦評価値が減少したか否かにより判
断する(ステップB13)。
Next, it is determined whether or not the end point of the moving range of the focus lens 12 has been reached (step B0).
6). If it is determined that the end point has not been reached, then whether or not the peak (maximum value) of the focus evaluation value has been passed through the increase / decrease pattern of the focus evaluation value updated and set in step B05 is continuously determined, for example, twice. Then, after the focus evaluation value has increased, it is determined whether or not the focus evaluation value has decreased twice consecutively (step B13).

【0067】ここでピークを通過していないと判断する
と、次に同合焦評価値の増減パターンによってフォーカ
スレンズ12の移動方向を切換える折返し条件となって
いるか否かを、例えば合焦評価値が4回連続して減少し
ているか否かにより判断する(ステップB14)。
When it is determined that the peak has not passed, whether or not there is a turnback condition for switching the moving direction of the focus lens 12 according to the increase / decrease pattern of the same focus evaluation value, for example, the focus evaluation value is It is judged whether or not it has decreased four times in a row (step B14).

【0068】ここで折返し条件ともなっていないと判断
すると、あらためてモータ11によりフォーカスレンズ
12の駆動方向を変えずにさらに1ステップ分だけ移動
させた上で(ステップB17)、上記ステップB01か
らの処理を繰返し行なう。
If it is determined that the conditions for folding back are not satisfied, the motor 11 is moved again by one step without changing the driving direction of the focus lens 12 (step B17), and then the processing from step B01 is performed. Repeat.

【0069】また、上記ステップB14で合焦評価値の
増減パターンが折返し条件となっていると判断した場合
は、次にすでに一度フォーカスレンズ12の駆動方向を
折返したか否かにより折返し終了条件となっているか否
かを判断する(ステップB15)。
When it is determined in step B14 that the increase / decrease pattern of the focus evaluation value is the return condition, the return end condition is determined by whether or not the drive direction of the focus lens 12 has already been turned back. It is determined whether or not (step B15).

【0070】ここで折返し終了条件とはなっていないと
判断すると、モータ11によるフォーカスレンズ12の
駆動方向をそれまでとは逆の方向に切換えて1ステップ
分だけ移動させた上で(ステップB16)、上記ステッ
プB01からの処理を繰返し行なう。
If it is determined that the conditions for ending the loopback are not satisfied, the driving direction of the focus lens 12 by the motor 11 is switched to the opposite direction, and is moved by one step (step B16). The processing from step B01 is repeated.

【0071】また、上記ステップB06でフォーカスレ
ンズ12の移動範囲の端点に到達していると判断した場
合、あるいは上記ステップB13で合焦評価値のピーク
を通過したと判断した場合には、上記ステップB04で
更新設定した合焦評価値中の最小値候補がまだ存在する
ことを確認した上で(ステップB07)、その中で最も
合焦評価値の小さなものを用いて上記ステップB03で
更新設定した同最大値とにより最大値と最小値との比
「最小値/最大値」を算出し、その値が予め設定されて
いる基準値以下であるか否かにより、合焦評価値が充分
広い範囲にわたって分布しているか否かを判断する(ス
テップB08)。
If it is determined in step B06 that the end point of the moving range of the focus lens 12 has been reached, or if it is determined in step B13 that the peak focus evaluation value has passed, the above steps are performed. After confirming that the minimum value candidate in the focus evaluation values updated and set in B04 still exists (step B07), the one with the smallest focus evaluation value among them is updated and set in step B03. A ratio "minimum value / maximum value" between the maximum value and the minimum value is calculated from the same maximum value, and the focus evaluation value is in a sufficiently wide range depending on whether the value is less than or equal to a preset reference value. It is determined whether or not it is distributed over (step B08).

【0072】ここで、合焦評価値中の最大値と最小値と
の比が予め設定されている基準値以下であり、したがっ
て合焦評価値が充分広い範囲にわたって分布していると
判断すると、次いで上記合焦評価値の最大値が得られた
ときのフォーカスレンズ12の駆動位置と合焦評価値の
最小値が得られたときのフォーカスレンズ12の駆動位
置との差の絶対値を算出し、その値がやはり予め設定さ
れている基準値以上であるか否かにより、その合焦評価
値の最大値が充分に信頼性の高い、正確な合焦位置での
ものであるか否かを判断する(ステップB09)。
Here, if it is determined that the ratio of the maximum value to the minimum value in the focus evaluation values is less than or equal to a preset reference value, and therefore the focus evaluation values are distributed over a sufficiently wide range, Next, the absolute value of the difference between the drive position of the focus lens 12 when the maximum focus evaluation value is obtained and the drive position of the focus lens 12 when the minimum focus evaluation value is obtained is calculated. , Whether or not the value is greater than or equal to a preset reference value, whether or not the maximum value of the focus evaluation value is at a sufficiently reliable and accurate focus position. It is determined (step B09).

【0073】ここで、上記レンズ位置の差の絶対値が基
準値より小さい場合には、その検査で採用した合焦評価
値の最小値候補が大きな誤差を含んでいるものと判断
し、その合焦評価値の最小値候補を削除すると共に、残
る他の最小値候補の順位を繰り上げるように更新設定し
た上で(ステップB11)、再び上記ステップB07か
らの処理を繰返し実行する。
If the absolute value of the lens position difference is smaller than the reference value, it is determined that the minimum value of the focus evaluation values adopted in the inspection includes a large error, and the result is the same. The minimum value candidate of the focus evaluation value is deleted, and the remaining minimum value candidates are updated and set so as to be moved up (step B11), and the processing from step B07 is repeatedly executed.

【0074】そして、上記ステップB09で上記レンズ
位置の差の絶対値が基準値以上であると判断されると、
モータ11によりフォーカスレンズ12を合焦評価値の
最大値が得られた際の駆動位置まで移動させて(ステッ
プB10)、以上でこの図5による自動合焦処理を終了
する。
If it is determined in step B09 that the absolute value of the lens position difference is greater than or equal to the reference value,
The focus lens 12 is moved by the motor 11 to the drive position when the maximum focus evaluation value is obtained (step B10), and the automatic focus processing according to FIG. 5 is completed.

【0075】また、上記ステップB07で合焦評価値中
の最小値候補がもう存在しないと判断した場合、あるい
は上記ステップB08で合焦評価値中の最大値と最小値
との比「最小値/最大値」が予め設定されている基準値
より大きいと判断した場合、あるいは上記ステップB1
5で折返し終了条件となっていると判断した場合には、
正確な合焦が得られないものとして、それに対応したレ
ンズ位置、例えば過焦点位置となるようにモータ11に
よりフォーカスレンズ12を移動させて(ステップB1
2)、以上でこの図5による自動合焦処理を終了する。
When it is determined in step B07 that the minimum value candidate in the focus evaluation value no longer exists, or in step B08, the ratio of the maximum value to the minimum value in the focus evaluation value "minimum value / minimum value / When it is determined that the “maximum value” is larger than the preset reference value, or the above step B1
If it is judged that the condition is the end condition for loopback in 5,
Assuming that accurate focusing cannot be obtained, the focus lens 12 is moved by the motor 11 so as to reach a lens position corresponding to that, for example, a hyperfocal position (step B1).
2) Then, the automatic focusing processing according to FIG. 5 is completed.

【0076】図6は、フォーカスレンズの駆動に伴なう
合焦評価値の変化特性の一例を示すものであり、一部を
除いて全体としては破線で示す理想的な合焦評価値の変
化特性IIIに沿って各合焦評価値が適宜誤差を持って
分布している状態を表わしている。
FIG. 6 shows an example of the change characteristic of the focus evaluation value with the driving of the focus lens. Except for a part, the change of the ideal focus evaluation value shown by the broken line as a whole. This shows a state in which the focus evaluation values are distributed with an appropriate error along the characteristic III.

【0077】このような一連の合焦評価値の分布が得ら
れた場合、上記ステップB03で合焦評価値の最大値で
あるd5が更新設定される一方、上記ステップB04で
は最小値候補として値の小さい順にd4,d1,d1
1,d2,d9,d12,‥‥と10個の合焦評価値の
データを順位を付与して保持することとなる。
When a series of such focus evaluation value distributions are obtained, the maximum value d5 of the focus evaluation values is updated and set in step B03, while the value is set as the minimum value candidate in step B04. In ascending order of d4, d1, d1
Data of 10 focusing evaluation values such as 1, d2, d9, d12, ...

【0078】図7は、上記各最小値候補に対する処理内
容の流れを示すものであり、これら最小値候補中で最も
小さい合焦評価値d4が始めにステップB07で最小値
候補として選択され、ステップB08で最大値との比が
基準値より小さいものと判断されるが、続くステップB
09で対応するレンズ位置の差ΔLが基準値に達してい
ないと判断され、ステップB11で削除されて他の候補
の順位が繰り上げられる。
FIG. 7 shows the flow of processing contents for each of the minimum value candidates. The smallest focus evaluation value d4 among these minimum value candidates is first selected as the minimum value candidate in step B07, In B08, it is determined that the ratio with the maximum value is smaller than the reference value, but the following step B
At 09, it is determined that the corresponding lens position difference ΔL has not reached the reference value, and at step B11 the difference is deleted and the ranks of other candidates are advanced.

【0079】次の最小値候補d1に関しては、ステップ
B07で選択され、ステップB08で最大値との比が基
準値より小さいものと判断された後、続くステップB0
9で対応するレンズ位置の差ΔLが基準値以上であると
判断される。
The next minimum value candidate d1 is selected in step B07, and it is determined in step B08 that the ratio to the maximum value is smaller than the reference value, and then the following step B0.
At 9, it is determined that the corresponding lens position difference ΔL is greater than or equal to the reference value.

【0080】したがって、この最小値候補d1が正しい
合焦評価値の最小値であるものとして判断されることに
なり、続くステップB10で合焦評価値の最大値d5に
基づいてモータ11によりフォーカスレンズ12の駆動
位置が移動制御されることになる。
Therefore, the minimum value candidate d1 is judged as the correct minimum focus evaluation value, and in step B10, the focus lens is driven by the motor 11 based on the maximum focus evaluation value d5. The drive positions of 12 are controlled to move.

【0081】上記第1の実施の形態であれば、合焦評価
値の最大値が得られたフォーカスレンズ12のレンズ位
置と最小値が得られた同レンズ位置との差が充分離れて
いないと判断した場合に、最大値と最小値のどちらが正
しくないデータであるのかがわからないため、少なくと
も最大値が正しくないデータであれば、適正な合焦が得
られないものとして処理するより他にないが、最小値の
みが正しくないデータである場合には、最大値が正しい
データであるにも拘わらずエラーと判断されて適正な合
焦を得られないことになる。
According to the first embodiment, the difference between the lens position of the focus lens 12 where the maximum focus evaluation value is obtained and the same lens position where the minimum focus evaluation value is obtained is not sufficiently separated. When it is judged, it is not known which of the maximum value and the minimum value is incorrect data.Therefore, if at least the maximum value is incorrect data, there is no choice but to process it as if proper focus cannot be obtained. When only the minimum value is incorrect data, it is determined that an error occurs even though the maximum value is correct data, and proper focusing cannot be obtained.

【0082】これに対して本第2の実施の形態では、合
焦評価値で最小値以外のほぼ同様に小さい他の値も勘案
して、コントラストが充分であると判断できるものを用
いて合焦の判断を行なうため、合焦評価値の最小値が正
しくないデータであった場合でも、最大値が正しいデー
タであればエラーとはならずに適正な合焦を得ることが
できる。したがって、正確な合焦を得る可能性をより高
くできる。
On the other hand, in the second embodiment, a focus evaluation value that is judged to be sufficient in contrast is taken into consideration by taking into consideration other values that are substantially the same but other than the minimum value. Since the focus is determined, even if the minimum value of the focus evaluation value is incorrect, if the maximum value is correct data, an appropriate focus can be obtained without causing an error. Therefore, the possibility of obtaining accurate focus can be increased.

【0083】なお、上記第2の実施の形態では、順次選
択される最小値候補と最大値との比が基準値以下か否か
を判断した後に最小値候補と最大値が得られたレンズ位
置の差が基準値以上か否かを判断することにより合焦位
置の適否を判断するようにしたが(ステップB07〜B
09、B11)、先ず最大値が得られたレンズ位置から
基準値以上離れたレンズ位置の合焦評価値を抽出し、こ
の合焦評価値と最大値との比が基準値以下か否かを判断
することにより合焦位置の適否を判断するようにしても
よい。
In the second embodiment, the lens position at which the minimum value candidate and the maximum value are obtained after determining whether the ratio of the sequentially selected minimum value candidate and maximum value is less than or equal to the reference value. Whether or not the in-focus position is appropriate is determined by determining whether or not the difference is greater than or equal to the reference value (steps B07 to B
09, B11), first, the focus evaluation value of the lens position that is more than the reference value away from the lens position where the maximum value is obtained is extracted, and it is determined whether the ratio between the focus evaluation value and the maximum value is the reference value or less. The appropriateness of the in-focus position may be determined by the determination.

【0084】また、上記第2の実施の形態では合焦評価
値の最小値候補を変更するようにしたが、合焦評価値の
最小値が正しくて最大値が正しくない場合も考えられる
ので、この場合は合焦評価値の最小値ではなく最大値候
補を変更するようにすることにより正確な合焦を得る可
能性をより高くできる。この場合、結果として、最小値
が得られたレンズ位置と基準値以上離れているレンズ位
置で、且つ最小値との比が基準値以下の合焦評価値(最
大値候補)が得られたレンズ位置が合焦レンズ位置とし
て決定される。
In the second embodiment, the minimum focus evaluation value candidate is changed. However, the minimum focus evaluation value may be correct and the maximum focus evaluation value may not be correct. In this case, by changing the maximum value candidate instead of the minimum focus evaluation value, the possibility of obtaining accurate focus can be further increased. In this case, as a result, a lens position is obtained at a lens position at which the minimum value is obtained and at a lens position separated by a reference value or more, and a ratio between the minimum value and the reference value is equal to or less than the reference value (maximum value candidate). The position is determined as the focus lens position.

【0085】さらに、上記第1及び第2の実施の形態
は、いずれも本発明をデジタルスチルカメラに適用した
場合について説明したものであるが、本発明はこれに限
らず、コントラスト方式を含むパッシブ方式の自動合焦
動作を行なうような撮像装置であれば、例えば携帯電話
機やパーソナルコンピュータに備えられるカメラ部、あ
るいはカメラ一体式のビデオテープレコーダ等のいずれ
にもに適用可能であることは勿論である。
Further, in each of the first and second embodiments described above, the present invention is applied to a digital still camera. However, the present invention is not limited to this, and a passive method including a contrast method is also used. It is needless to say that the present invention can be applied to, for example, a camera unit provided in a mobile phone or a personal computer, a video tape recorder with a built-in camera, or the like as long as it is an image pickup apparatus that performs the automatic focusing operation of the system. is there.

【0086】その他、本発明は上記実施の形態に限ら
ず、その要旨を逸脱しない範囲内で種々変形して実施す
ることが可能であるものとする。
In addition, the present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the scope of the invention.

【0087】さらに、上記実施の形態には種々の段階の
発明が含まれており、開示される複数の構成要件におけ
る適宜な組合わせにより種々の発明が抽出され得る。例
えば、実施の形態に示される全構成要件からいくつかの
構成要件が削除されても、発明が解決しようとする課題
の欄で述べた課題の少なくとも1つが解決でき、発明の
効果の欄で述べられている効果の少なくとも1つが得ら
れる場合には、この構成要件が削除された構成が発明と
して抽出され得る。
Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiments, at least one of the problems described in the section of the problem to be solved by the invention can be solved, and it is described in the section of the effect of the invention. When at least one of the effects described above is obtained, a configuration in which this constituent element is deleted can be extracted as an invention.

【0088】[0088]

【発明の効果】請求項1記載の発明によれば、合焦評価
値の最大値を得た際の撮影レンズ位置と最小値を得た際
の撮影レンズ位置とが充分に離れている場合にのみ合焦
評価値が最大値を得た際のレンズ位置を合焦位置である
と判断するため、コントラストが低い被写体に対して誤
った合焦判断を行なう確率を低減して、正確な合焦を得
ることが可能となる。
According to the first aspect of the present invention, when the taking lens position when the maximum focusing evaluation value is obtained and the taking lens position when the minimum focusing value is obtained are sufficiently separated from each other. Only when the maximum focus evaluation value is obtained, the lens position is determined to be the focus position, so the probability of making an incorrect focus determination for a subject with low contrast is reduced, and accurate focus is achieved. Can be obtained.

【0089】請求項2記載の発明によれば、上記請求項
1記載の発明の効果に加えて、合焦評価値の最大値と最
小値との間に大きな開きがない場合は合焦不可と判断す
るので誤った合焦判断を行なう確率をさらに低減させる
ことができる。
According to the invention of claim 2, in addition to the effect of the invention of claim 1, if there is no large difference between the maximum value and the minimum value of the focus evaluation value, it becomes impossible to focus. Since the determination is made, the probability of making an incorrect focus determination can be further reduced.

【0090】請求項3記載の発明によれば、合焦評価値
の最大値を得た際の撮影レンズ位置と最小値を得た際の
撮影レンズ位置とが充分に離れており、且つ最大値また
は最小値以外の値も勘案してコントラストが充分である
と判断できる場合に合焦評価値が最大値を得た際のレン
ズ位置を合焦位置であると判断するため、コントラスト
が低い被写体に対して誤った合焦判断を行なう確率を低
減して、正確な合焦を得ることが可能となる。
According to the third aspect of the invention, the taking lens position when the maximum focus evaluation value is obtained and the taking lens position when the minimum focus value is obtained are sufficiently separated from each other and the maximum value is obtained. Alternatively, if it is possible to determine that the contrast is sufficient considering the values other than the minimum value, the lens position when the maximum focus evaluation value is obtained is determined to be the in-focus position. On the other hand, it is possible to reduce the probability of making an incorrect focus determination and obtain accurate focus.

【0091】請求項4記載の発明によれば、合焦評価値
の最大値を得た際の撮影レンズ位置と最小値を得た際の
撮影レンズ位置とが充分に離れている場合にのみ合焦評
価値が最大値を得た際のレンズ位置を合焦位置であると
判断するため、コントラストが低い被写体に対して誤っ
た合焦判断を行なう確率を低減して、正確な合焦を得さ
せることが可能となる。
According to the fourth aspect of the present invention, only when the taking lens position when the maximum focus evaluation value is obtained and the taking lens position when the minimum focus value is obtained are sufficiently separated from each other. Since the lens position when the maximum focus evaluation value is obtained is determined to be the in-focus position, the probability of making an incorrect focus determination for a subject with low contrast is reduced, and accurate focus is obtained. It becomes possible.

【0092】請求項5記載の発明によれば、合焦評価値
の最大値を得た際の撮影レンズ位置と最小値を得た際の
撮影レンズ位置とが充分に離れており、且つ最大値また
は最小値以外の値も勘案してコントラストが充分である
と判断できる場合に合焦評価値が最大値を得た際のレン
ズ位置を合焦位置であると判断するため、コントラスト
が低い被写体に対して誤った合焦判断を行なう確率を低
減して、正確な合焦を得させることが可能となる。
According to the fifth aspect of the present invention, the taking lens position when the maximum focus evaluation value is obtained and the taking lens position when the minimum focus value is obtained are sufficiently separated from each other and the maximum value is obtained. Alternatively, if it is possible to determine that the contrast is sufficient considering the values other than the minimum value, the lens position when the maximum focus evaluation value is obtained is determined to be the in-focus position. On the other hand, it is possible to obtain a correct focus by reducing the probability of making an incorrect focus determination.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第1の実施の形態に係るデジタルスチ
ルカメラの回路構成を示すブロック図。
FIG. 1 is a block diagram showing a circuit configuration of a digital still camera according to a first embodiment of the present invention.

【図2】同実施の形態に係る自動合焦時の処理内容を示
すフローチャート。
FIG. 2 is a flowchart showing the processing contents during automatic focusing according to the same embodiment.

【図3】同実施の形態に係るフォーカスレンズの駆動に
伴なう合焦評価値の変化特性を例示する図。
FIG. 3 is a view exemplifying a change characteristic of a focus evaluation value associated with driving of the focus lens according to the same embodiment.

【図4】同実施の形態に係るフォーカスレンズの駆動に
伴なう合焦評価値の変化特性を例示する図。
FIG. 4 is a view exemplifying a change characteristic of a focus evaluation value along with driving of the focus lens according to the same embodiment.

【図5】本発明の第2の実施の形態に係るデジタルスチ
ルカメラでの自動合焦時の処理内容を示すフローチャー
ト。
FIG. 5 is a flowchart showing the processing contents during automatic focusing in the digital still camera according to the second embodiment of the present invention.

【図6】同実施の形態に係るフォーカスレンズの駆動に
伴なう合焦評価値の変化特性を例示する図。
FIG. 6 is a view exemplifying a change characteristic of a focus evaluation value associated with driving of the focus lens according to the same embodiment.

【図7】同実施の形態に係る各最小値候補に対する処理
内容の流れを示す図。
FIG. 7 is a diagram showing a flow of processing contents for each minimum value candidate according to the embodiment.

【図8】一般的なフォーカスレンズの駆動に伴なう合焦
評価値(コントラスト)の変化特性を例示する図。
FIG. 8 is a diagram exemplifying a change characteristic of a focus evaluation value (contrast) associated with driving of a general focus lens.

【符号の説明】[Explanation of symbols]

10…デジタルカメラ 11…モータ 12…フォーカスレンズ 13…CCD 14…タイミング発生器(TG) 15…垂直ドライバ 16…サンプルホールド回路(S/H) 17…A/D変換器 18…カラープロセス回路 19…DMAコントローラ 20…DRAMインタフェース(I/F) 21…DRAM 22…CPU 23…VRAMコントローラ 24…VRAM 25…デジタルビデオエンコーダ 26…表示部 27…キー入力部 28…JPEG回路 29…フラッシュメモリ 10 ... Digital camera 11 ... Motor 12 ... Focus lens 13 ... CCD 14 ... Timing generator (TG) 15 ... Vertical driver 16 ... Sample hold circuit (S / H) 17 ... A / D converter 18 ... Color process circuit 19 ... DMA controller 20 ... DRAM interface (I / F) 21 ... DRAM 22 ... CPU 23 ... VRAM controller 24 ... VRAM 25 ... Digital video encoder 26 ... Display 27 ... Key input section 28 ... JPEG circuit 29 ... Flash memory

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】被写体像を撮像して出力する撮像手段と、 撮影レンズを順次駆動するレンズ駆動手段と、 このレンズ駆動手段により順次駆動される撮影レンズを
介して上記撮像手段に入射され該撮像手段から順次出力
される被写体像に基づいて合焦状態を評価する合焦評価
値を順次算出する評価値算出手段と、 この評価値算出手段で順次得られる一連の合焦評価値中
で最大値が得られた際の撮影レンズ位置と最小値が得ら
れた際の撮影レンズ位置との差が所定値以上であるか否
かを判断することにより上記撮影レンズの合焦位置の適
不適を判断する合焦判断手段とを具備したことを特徴と
する撮像装置。
1. An image pickup means for picking up and outputting a subject image, a lens driving means for sequentially driving a photographing lens, and a photographing lens which is sequentially driven by the lens driving means and is incident on the image pickup means. Evaluation value calculation means for sequentially calculating a focus evaluation value for evaluating the focus state based on the subject image sequentially output from the means, and the maximum value among the series of focus evaluation values sequentially obtained by the evaluation value calculation means. Judgment is made as to whether the focus position of the photographing lens is appropriate or not by judging whether or not the difference between the photographing lens position when the above is obtained and the photographing lens position when the minimum value is obtained is not less than a predetermined value. An image pickup device comprising:
【請求項2】上記合焦判断手段は、上記合焦評価値中の
最大値と最小値とのの間に大きな開きがあるか否かを判
断することにより上記撮影レンズの合焦位置の適不適を
判断する手段を含むことを特徴とする請求項1記載の撮
像装置。
2. The focus determining means determines whether or not the focus position of the taking lens is appropriate by determining whether or not there is a large difference between the maximum value and the minimum value of the focus evaluation values. The image pickup apparatus according to claim 1, further comprising: a unit that determines whether or not the image is inappropriate.
【請求項3】被写体像を撮像して出力する撮像手段と、 撮影レンズを順次駆動するレンズ駆動手段と、 このレンズ駆動手段により順次駆動される撮影レンズを
介して上記撮像手段に入射され該撮像手段から順次出力
される被写体像に基づいて合焦状態を評価する合焦評価
値を順次算出する評価値算出手段と、 この評価値算出手段で順次得られる一連の合焦評価値中
で最大値又は最小値が得られた際の撮影レンズ位置と所
定値以上離れているレンズ位置の合焦評価値が上記最大
値又は最小値と大きな開きがあるか否かを判断すること
により上記撮影レンズの合焦位置の適不適を判断する合
焦判断手段とを具備したことを特徴とする撮像装置。
3. An image pickup means for picking up and outputting a subject image, a lens driving means for sequentially driving a photographing lens, and a photographing lens which is sequentially driven by the lens driving means and is incident on the image pickup means. Evaluation value calculation means for sequentially calculating a focus evaluation value for evaluating the focus state based on the subject image sequentially output from the means, and the maximum value among the series of focus evaluation values sequentially obtained by the evaluation value calculation means. Alternatively, by determining whether or not the focus evaluation value of the lens position which is apart from the photographing lens position when the minimum value is obtained and the predetermined value or more is greatly different from the maximum value or the minimum value, An image pickup apparatus comprising: a focus determination unit that determines whether or not a focus position is appropriate.
【請求項4】被写体像を撮像して出力する撮像工程と、 撮影レンズを順次駆動するレンズ駆動工程と、 このレンズ駆動工程で順次駆動される撮影レンズを介し
て上記撮像工程で順次出力される被写体像に基づいて合
焦状態を評価する合焦評価値を順次算出する評価値算出
工程と、 この評価値算出工程で順次得られる一連の合焦評価値中
で最大値が得られた際の撮影レンズ位置と最小値が得ら
れた際の撮影レンズ位置との差が所定値以上であるか否
かを判断することにより上記撮影レンズの合焦位置の適
不適を判断する合焦判断工程とを有したことを特徴とす
る撮像装置の自動合焦方法。
4. An image pickup step of picking up and outputting a subject image, a lens drive step of sequentially driving a photographing lens, and a sequential output in the image pickup step via a photographing lens sequentially driven in this lens driving step. An evaluation value calculation step for sequentially calculating a focus evaluation value for evaluating a focus state based on a subject image, and a maximum value among the series of focus evaluation values sequentially obtained in this evaluation value calculation step A focus determination step of determining whether the focus position of the photographing lens is appropriate by determining whether or not the difference between the photographing lens position and the photographing lens position when the minimum value is obtained is equal to or more than a predetermined value. An automatic focusing method for an image pickup apparatus, comprising:
【請求項5】被写体像を撮像して出力する撮像工程と、 撮影レンズを順次駆動するレンズ駆動工程と、 このレンズ駆動工程で順次駆動される撮影レンズを介し
て上記撮像工程で順次出力される被写体像に基づいて合
焦状態を評価する合焦評価値を順次算出する評価値算出
工程と、 この評価値算出工程で順次得られる一連の合焦評価値中
で最大値又は最小値が得られた際の撮影レンズ位置と所
定値以上離れているレンズ位置の合焦評価値が上記最大
値又は最小値と大きな開きがあるか否かを判断すること
により上記撮影レンズの合焦位置の適不適を判断する合
焦判断工程とを有したことを特徴とする撮像装置の自動
合焦方法。
5. An image pickup step of picking up and outputting a subject image, a lens driving step of sequentially driving a photographing lens, and a sequential output in the image pickup step via a photographing lens sequentially driven in this lens driving step. An evaluation value calculation step for sequentially calculating a focus evaluation value for evaluating the focus state based on the subject image, and a maximum value or a minimum value in the series of focus evaluation values sequentially obtained in this evaluation value calculation step are obtained. Whether the focusing position of the taking lens is appropriate or not by determining whether or not the focusing evaluation value of the lens position which is separated from the taking lens position by a predetermined value or more is greatly different from the maximum value or the minimum value. An automatic focusing method for an image pickup apparatus, comprising:
JP2002041763A 2002-02-19 2002-02-19 Imaging device and automatic focusing method thereof Pending JP2003241071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002041763A JP2003241071A (en) 2002-02-19 2002-02-19 Imaging device and automatic focusing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002041763A JP2003241071A (en) 2002-02-19 2002-02-19 Imaging device and automatic focusing method thereof

Publications (1)

Publication Number Publication Date
JP2003241071A true JP2003241071A (en) 2003-08-27

Family

ID=27782066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002041763A Pending JP2003241071A (en) 2002-02-19 2002-02-19 Imaging device and automatic focusing method thereof

Country Status (1)

Country Link
JP (1) JP2003241071A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326681A (en) * 2004-05-14 2005-11-24 Pentax Corp Focus detection apparatus and focus detection method
JP2006030601A (en) * 2004-07-16 2006-02-02 Matsushita Electric Ind Co Ltd Automatic focus detection device
JP2006091293A (en) * 2004-09-22 2006-04-06 Fuji Photo Film Co Ltd Photographing device
JP2007212723A (en) * 2006-02-09 2007-08-23 Fujifilm Corp In-focus position determination method and apparatus
JP2011095763A (en) * 2010-12-13 2011-05-12 Ricoh Co Ltd Imaging apparatus and imaging method
JP2013054133A (en) * 2011-09-01 2013-03-21 Olympus Corp Microscope device and focusing method for microscope device
JP2014013368A (en) * 2012-06-07 2014-01-23 Canon Inc Imaging apparatus and control method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005326681A (en) * 2004-05-14 2005-11-24 Pentax Corp Focus detection apparatus and focus detection method
JP2006030601A (en) * 2004-07-16 2006-02-02 Matsushita Electric Ind Co Ltd Automatic focus detection device
JP2006091293A (en) * 2004-09-22 2006-04-06 Fuji Photo Film Co Ltd Photographing device
JP2007212723A (en) * 2006-02-09 2007-08-23 Fujifilm Corp In-focus position determination method and apparatus
JP2011095763A (en) * 2010-12-13 2011-05-12 Ricoh Co Ltd Imaging apparatus and imaging method
JP2013054133A (en) * 2011-09-01 2013-03-21 Olympus Corp Microscope device and focusing method for microscope device
JP2014013368A (en) * 2012-06-07 2014-01-23 Canon Inc Imaging apparatus and control method thereof

Similar Documents

Publication Publication Date Title
JP4645685B2 (en) Camera, camera control program, and photographing method
JP4443735B2 (en) Imaging apparatus and operation control method thereof
US6542192B2 (en) Image display method and digital still camera providing rapid image display by displaying low resolution image followed by high resolution image
TWI420902B (en) Camera, camera control program and camera control method
US7151564B2 (en) Image recording apparatus and method
US20030071904A1 (en) Image capturing apparatus, image reproducing apparatus and program product
TWI492618B (en) Image pickup device and computer readable recording medium
JP4569389B2 (en) Imaging apparatus, image processing method, and program
JP2003149530A (en) Imaging device
JP2003241071A (en) Imaging device and automatic focusing method thereof
JP2003262786A (en) Imaging device and automatic focusing method thereof
JP4045829B2 (en) Image pickup apparatus and automatic focusing method thereof
JP2005012423A (en) Imaging apparatus and signal processing apparatus
JP4467232B2 (en) Image recording apparatus and method
CN102209199A (en) Imaging apparatus
JP4609315B2 (en) Imaging device, method of displaying angle frame at zoom, and program
JP3915404B2 (en) Imaging apparatus and white balance adjustment method thereof
JP4630530B2 (en) Movie recording apparatus, electronic camera, and program
JP2003114376A (en) Imaging device and automatic focusing method thereof
JP5170217B2 (en) Camera, camera control program, and photographing method
JP5417920B2 (en) Image processing apparatus, image processing method, electronic camera, and image processing program
JP3275873B2 (en) 3D information input camera
JP2005278003A (en) Image processing apparatus
JP2005249959A (en) Imaging device, light emission control method and program used for the imaging device
JP2002287195A (en) Imaging device and camera shake detection method