JPH11305108A - Digital camera - Google Patents

Digital camera

Info

Publication number
JPH11305108A
JPH11305108A JP10109078A JP10907898A JPH11305108A JP H11305108 A JPH11305108 A JP H11305108A JP 10109078 A JP10109078 A JP 10109078A JP 10907898 A JP10907898 A JP 10907898A JP H11305108 A JPH11305108 A JP H11305108A
Authority
JP
Japan
Prior art keywords
lens position
focus
digital camera
lens
minimum
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
JP10109078A
Other languages
Japanese (ja)
Inventor
Kazuhiko Sugimoto
和彦 杉本
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP10109078A priority Critical patent/JPH11305108A/en
Publication of JPH11305108A publication Critical patent/JPH11305108A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To precisely focus a lens on an object having high luminance under low illuminance. SOLUTION: First of all, the illuminance of the object is discriminated at a prescribed lens position and the high luminance component thereof is detected. Next, the AF lens 12 is moved by each prescribed amount at a time. At the respective lens positions, the contrast component and the low luminance component of the object are calculated. Then, the data of the respective lens positions and the contrast component and the low luminance component obtained at the lens positions are mutually related and held by a table 40c. Besides, the maximum lens position where the contrast component becomes the maximum and the minimum lens position where the low luminance component becomes the minimum are detected. When the illuminance is low, the high luminance component exists and deviation amount between the maximum lens position and the minimum lens position is large, the minimum lens position is decided as the focusing position.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、ディジタルカメラに
関し、特にたとえばフォーカスレンズの合焦位置を決定
する、ディジタルカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital camera, and more particularly, to a digital camera for determining, for example, a focus position of a focus lens.

【0002】[0002]

【従来の技術】従来のこの種のディジタルカメラとして
は、それぞれのレンズ位置で焦点評価値(AF評価値)
を算出し、このうち値が最大となるレンズ位置を合焦位
置とするものがあった。このような合焦位置の検出方法
は、AF評価値が通常は山なりに変化し、山の頂点が合
焦位置を示すことを利用したものである。なお、AF評
価値は、被写体のコントラスト成分を1画面にわたって
積分することで求められる。
2. Description of the Related Art As a conventional digital camera of this type, a focus evaluation value (AF evaluation value) is obtained at each lens position.
Was calculated, and the lens position having the maximum value was determined as the in-focus position. Such a method of detecting the focus position utilizes the fact that the AF evaluation value usually changes in a mountain shape, and the peak of the mountain indicates the focus position. Note that the AF evaluation value is obtained by integrating the contrast component of the subject over one screen.

【0003】[0003]

【発明が解決しようとする課題】しかし、このような従
来技術で低照度下にある点光源を撮影すると、AF評価
値は山なりではなく谷状に変化する。つまり、フォーカ
スが点光源に合わせられたきは、図15(A)ように点
光源は小さくかつ鋭く輝くが、フォーカスが点光源から
ずれると、図15(B)ように点光源は大きくかつ鈍く
輝く。このため、コントラスト成分を1画面にわたって
積分したAF評価値は、合焦位置で最小となり、フォー
カスがずれるほど大きくなる。つまり、AF評価値の特
性は、図17(A)に示すように谷状に変化するものと
なる。したがって、従来技術では、被写体の状況によっ
てフォーカスを合わせることができない場合があった。
However, when an image of a point light source under low illuminance is photographed in such a conventional technique, the AF evaluation value changes not in a peak but in a valley. In other words, when the focus is adjusted to the point light source, the point light source shines small and sharp as shown in FIG. 15A, but when the focus deviates from the point light source, the point light source shines large and dull as shown in FIG. 15B. . Therefore, the AF evaluation value obtained by integrating the contrast component over one screen becomes minimum at the in-focus position, and increases as the focus shifts. That is, the characteristic of the AF evaluation value changes in a valley shape as shown in FIG. Therefore, in the related art, focusing may not be performed depending on the situation of the subject.

【0004】それゆえに、この発明の主たる目的は、被
写体の状況に拘らずフォーカスを正確に調整することが
できる、ディジタルカメラを提供することである。
[0004] Therefore, a main object of the present invention is to provide a digital camera capable of accurately adjusting the focus regardless of the situation of a subject.

【0005】[0005]

【課題を解決するための手段】第1の発明は、フォーカ
スレンズを通して撮影した被写体のカメラ信号によって
フォーカスレンズの合焦位置を決定するディジタルカメ
ラにおいて、カメラ信号に基づいて被写体の照度を判別
する判別手段、カメラ信号の高輝度成分を検出する高輝
度検出手段、および照度の判別結果および高輝度成分に
基づいて合焦位置を決定する決定手段を備えることを特
徴とする、ディジタルカメラである。
According to a first aspect of the present invention, there is provided a digital camera for determining an in-focus position of a focus lens based on a camera signal of a subject photographed through a focus lens, wherein the illuminance of the subject is determined based on the camera signal. A digital camera characterized by comprising: means, a high-brightness detecting means for detecting a high-brightness component of a camera signal, and a determining means for determining a focus position based on a result of illuminance determination and the high-brightness component.

【0006】第2の発明は、フォーカスレンズを所定量
ずつ移動させて合焦位置を決定するディジタルカメラに
おいて、カメラ信号の低輝度成分が最小となる最小レン
ズ位置を検出する検出手段、および最小レンズ位置を合
焦位置として決定する決定手段を備えることを特徴とす
る、ディジタルカメラである。
According to a second aspect of the present invention, in a digital camera for determining a focus position by moving a focus lens by a predetermined amount, a detecting means for detecting a minimum lens position at which a low luminance component of a camera signal is minimized, and a minimum lens A digital camera including a determination unit that determines a position as a focus position.

【0007】[0007]

【作用】まず、所定のレンズ位置で被写体の照度が判別
されるとともに、被写体の高輝度成分が検出される。次
に、モータ駆動回路によってフォーカスレンズが所定量
ずつ移動され、それぞれのレンズ位置で被写体のコント
ラスト成分および低輝度成分が算出される。各レンズ位
置データならびにそのレンズ位置で得られたコントラス
ト成分および低輝度成分は互いに関連付けてテーブルに
保持され、コントラスト成分が最大となる最大レンズ位
置および低輝度成分が最小となる最小レンズ位置が検出
される。低照度で高輝度成分が存在し、かつ最大レンズ
位置および最小レンズ位置のずれ量が大きければ、最小
レンズ位置が合焦位置として決定される。
First, the illuminance of a subject is determined at a predetermined lens position, and a high luminance component of the subject is detected. Next, the focus lens is moved by a predetermined amount by the motor drive circuit, and the contrast component and the low luminance component of the subject are calculated at each lens position. Each lens position data and the contrast component and the low luminance component obtained at the lens position are held in a table in association with each other, and the maximum lens position where the contrast component is maximum and the minimum lens position where the low luminance component is minimum are detected. You. If there is a high luminance component at low illuminance and the amount of deviation between the maximum lens position and the minimum lens position is large, the minimum lens position is determined as the focus position.

【0008】低照度の下に点光源が存在するような被写
体を撮影した場合、算出される低輝度成分は、合焦位置
において最小となり、フォーカスがずれるほど大きくな
るという特性をもつ。つまり、低輝度成分はレンズ位置
に対して谷状に変化する。このため、ずれ量が所定値よ
りも大きいければ、最小レンズ位置が合焦位置として決
定される。
When an image of a subject in which a point light source exists under low illuminance is taken, the calculated low luminance component has a characteristic that it becomes minimum at the in-focus position and becomes large as the focus shifts. That is, the low luminance component changes like a valley with respect to the lens position. Therefore, if the shift amount is larger than the predetermined value, the minimum lens position is determined as the focus position.

【0009】[0009]

【発明の効果】第1の発明によれば、照度判別結果およ
び高輝度検出結果に基づいて合焦位置を決定するように
したため、被写体の状況に拘らずフォーカスを正確に調
整することができる。第2の発明によれば、被写体の低
輝度成分が最小となる最小レンズ位置を合焦位置として
決定するようにしたため、被写体の状況に拘らずフォー
カスを正確に調整することができる。
According to the first aspect of the invention, the focus position is determined based on the illuminance determination result and the high luminance detection result, so that the focus can be accurately adjusted regardless of the situation of the subject. According to the second aspect, the minimum lens position at which the low luminance component of the subject is minimized is determined as the focus position, so that the focus can be accurately adjusted regardless of the situation of the subject.

【0010】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0011】[0011]

【実施例】図1を参照して、この実施例のディジタルカ
メラ10は、AFレンズ12を含み、このAFレンズ1
2から入射された被写体の光像が、CCDイメージャ2
0に照射される。CCDイメージャ20には、図2に示
すように複数の受光部20aが形成され、その受光部2
0aの前面には、図3のようにYe,Cy,Mgおよび
Gがモザイク状に配列された補色フィルタ20dが装着
される。各受光部20aがCCDイメージャ20の各画
素を構成し、Ye,Cy,MgおよびGのいずれかが、
各受光部20aに対応して配置されている。照射された
光像は、この補色フィルタ20dを経てCCDイメージ
ャ20の受光部20aに供給され、光電変換される。
Referring to FIG. 1, a digital camera 10 of this embodiment includes an AF lens 12,
The light image of the subject incident from the CCD imager 2 is
It is irradiated to 0. As shown in FIG. 2, a plurality of light receiving sections 20a are formed in the CCD imager 20.
On the front surface of Oa, a complementary color filter 20d in which Ye, Cy, Mg and G are arranged in a mosaic pattern as shown in FIG. 3 is mounted. Each light receiving unit 20a constitutes each pixel of the CCD imager 20, and one of Ye, Cy, Mg, and G is
It is arranged corresponding to each light receiving section 20a. The illuminated light image is supplied to the light receiving section 20a of the CCD imager 20 via the complementary color filter 20d, and is photoelectrically converted.

【0012】CCDイメージャ20についてより詳しく
説明すると、図2に示すように、CCDイメージャ20
は、各画素に対応する複数の受光部20aと、受光部2
0aで光電変換されかつ蓄積された電荷を垂直方向に転
送する複数の垂直転送レジスタ20bと、垂直転送レジ
スタ20bの終端に配置され垂直転送レジスタ20bに
よって転送されてきた電荷を水平方向に転送する水平転
送レジスタ20cを含み、タイミングジェネレータ22
から出力されるタイミング信号によって駆動される。こ
こで、タイミング信号としては、受光部20aから垂直
転送レジスタ20bに電荷を読み出す読出パルス,垂直
転送レジスタ20b内の電荷を1ラインずつ垂直方向に
転送する垂直転送パルス,水平転送レジスタ20c内の
電荷を1画素ずつ水平方向に転送する水平転送パルス,
非露光期間すなわち非電荷蓄積期間において受光部20
aで生成された電荷をオーバフロードレイン(図示せ
ず)に掃き捨てる掃き捨てパルスなどがある。
The CCD imager 20 will be described in more detail. As shown in FIG.
Are a plurality of light receiving units 20a corresponding to each pixel, and light receiving units 2a
0a, a plurality of vertical transfer registers 20b for vertically transferring the charges which have been photoelectrically converted and accumulated, and a horizontal transfer register arranged at the end of the vertical transfer registers 20b for transferring the charges transferred by the vertical transfer registers 20b in the horizontal direction. A timing generator 22 including a transfer register 20c;
It is driven by a timing signal output from. Here, the timing signal includes a read pulse for reading out charges from the light receiving unit 20a to the vertical transfer register 20b, a vertical transfer pulse for vertically transferring the charges in the vertical transfer register 20b line by line, and a charge in the horizontal transfer register 20c. Is a horizontal transfer pulse for transferring pixel by pixel in the horizontal direction,
During the non-exposure period, that is, the non-charge accumulation period,
For example, there is a sweeping pulse for sweeping the charge generated at a into an overflow drain (not shown).

【0013】タイミングジェネレータ22は、マイコン
40から出力されたシャッタスピード指示信号に応じ
て、掃き捨てパルスの出力期間を制御する。これによっ
て、電荷蓄積期間が制御され、所望の露光期間(シャッ
タスピード)が得られる。なお、このように掃き捨てパ
ルスの出力期間によって露光期間を制御する技術は、電
子シャッタ機能として周知である。
The timing generator 22 controls the output period of the sweep-out pulse in accordance with the shutter speed instruction signal output from the microcomputer 40. As a result, the charge accumulation period is controlled, and a desired exposure period (shutter speed) is obtained. The technique of controlling the exposure period by the output period of the sweep-out pulse is well known as an electronic shutter function.

【0014】カメラモードにおいてCCDイメージャ2
0から出力された画素信号つまりカメラ信号は、A/D
変換器24でディジタル信号である画素データつまりカ
メラデータに変換される。このカメラデータが、タイミ
ングジェネレータ22からのタイミング信号に従って動
作するメモリ制御回路28によって、RAM26に書き
込まれる。RAM26に保持されたカメラデータは、そ
の後メモリ制御回路28によって読み出され、演算回路
30に入力される。
In the camera mode, the CCD imager 2
The pixel signal output from 0, that is, the camera signal is A / D
The converter 24 converts the digital data into pixel data, that is, camera data. The camera data is written into the RAM 26 by the memory control circuit 28 that operates according to the timing signal from the timing generator 22. The camera data stored in the RAM 26 is thereafter read by the memory control circuit 28 and input to the arithmetic circuit 30.

【0015】演算回路30は、入力されたYe,Cy,
MgおよびGのそれぞれのカメラデータに基づいて、輝
度データ(Yデータ)と色差データR−YおよびB−Y
とを算出する。演算回路30は、算出した色差データを
図示しない白バランス調整回路に入力するとともに、Y
データを積分器36に入力する。積分器36は、入力さ
れたYデータを1フレーム期間(1/30秒)毎に積分
し、露出調整の評価対象となる輝度評価値Yaを算出す
る。
The arithmetic circuit 30 receives the input Ye, Cy,
Based on the respective camera data of Mg and G, luminance data (Y data) and color difference data RY and BY
Is calculated. The arithmetic circuit 30 inputs the calculated color difference data to a white balance adjustment circuit (not shown),
The data is input to the integrator 36. The integrator 36 integrates the input Y data every frame period (1/30 second) and calculates a luminance evaluation value Ya to be evaluated for exposure adjustment.

【0016】マイコン40は、積分器36から入力され
た輝度評価値Yaに基づいて、最適露光期間を算出す
る。この最適露光期間が1/30秒よりも短ければ、こ
の最適露光期間が、本露光時つまり記録画像の撮影時の
露光期間となる。一方、最適露光期間が1/30秒より
も長ければ、マイコン40は本露光時の露光期間を1/
30秒とし、露出不足をストロボ(図示せず)によって
補う。マイコン40はまた、算出された最適露光期間か
ら被写体の照度を判別する。つまり、最適露光期間が1
/10秒以上であれば、低照度と判別される。
The microcomputer 40 calculates an optimum exposure period based on the luminance evaluation value Ya input from the integrator 36. If this optimal exposure period is shorter than 1/30 second, this optimal exposure period is the exposure period at the time of main exposure, that is, at the time of capturing a recorded image. On the other hand, if the optimum exposure period is longer than 1/30 second, the microcomputer 40 sets the exposure period in the main exposure to 1/30 second.
The exposure time is set to 30 seconds, and the insufficient exposure is compensated by a strobe (not shown). The microcomputer 40 also determines the illuminance of the subject from the calculated optimal exposure period. That is, the optimal exposure period is 1
If it is / 10 seconds or more, it is determined that the illuminance is low.

【0017】本露光時の露光期間が決定され、被写体の
照度が判別されると、フォーカス制御が実行される。具
体的には、まずモータ駆動回路18によってAFレンズ
12が所定量ずつ移動され、各レンズ位置で被写体の照
度に応じた期間だけプリ露光される。最適露光期間が1
/30秒よりも短ければ、この最適露光期間がプリ露光
期間となる。一方、最適露光期間が1/30秒以上1/
10秒(3フレーム期間)未満であれば、プリ露光期間
は1/30秒に設定される。また、最適露光期間が1/
10秒以上であれば、プリ露光期間は1/15秒(2フ
レーム期間)に設定される。
When the exposure period at the time of the main exposure is determined and the illuminance of the subject is determined, focus control is executed. Specifically, first, the AF lens 12 is moved by a predetermined amount by the motor drive circuit 18 and pre-exposure is performed at each lens position for a period corresponding to the illuminance of the subject. Optimal exposure period is 1
If it is shorter than / 30 seconds, this optimal exposure period is the pre-exposure period. On the other hand, the optimal exposure period is 1/30 second or more.
If less than 10 seconds (3 frame periods), the pre-exposure period is set to 1/30 seconds. Also, the optimal exposure period is 1 /
If it is 10 seconds or more, the pre-exposure period is set to 1/15 second (two frame periods).

【0018】つまり、最適露光期間が1/30秒以上で
あっても1/10秒に満たなければ、1/30秒程度の
プリ露光で被写体を適切に評価することができる。この
ため、プリ露光は、本露光時の最大露光期間である1/
30秒だけ行われる。しかし、最適露光期間が1/10
秒まで長くなると、1/30秒程度のプリ露光では被写
体を十分に評価できず、AF制御の精度が低下してしま
う。このため、プリ露光期間は、1/30秒の2倍(整
数倍)である1/15秒に設定される。
That is, if the optimal exposure period is not shorter than 1/10 second even if it is 1/30 second or longer, the subject can be appropriately evaluated with a pre-exposure of about 1/30 second. For this reason, the pre-exposure is 1 / the maximum exposure period during the main exposure.
Performed for only 30 seconds. However, the optimal exposure period is 1/10
When the exposure time is increased to seconds, the subject cannot be sufficiently evaluated by the pre-exposure of about 1/30 seconds, and the accuracy of the AF control is reduced. For this reason, the pre-exposure period is set to 1/15 second, which is twice (an integral multiple) of 1/30 second.

【0019】フォーカス制御時、演算回路30は、算出
したYデータを高レベル抽出回路32および低レベル抽
出回路34に入力する。高レベル抽出回路32では、輝
度の高レベル成分が抽出される。具体的には、Yデータ
は10ビットであり、このうち上位3ビットが高レベル
抽出回路32によって抽出される。抽出された高レベル
成分は、積分器38によって1/30秒または1/15
秒毎に積分される。つまり、設定されたプリ露光期間が
1/30秒以下であれば、高域成分は1画面分ずつ積分
され、設定されたプリ露光期間が1/15秒であれば、
高域成分は2画面分ずつ積分される。積分器38から出
力された積分データは、高輝度評価値(高輝度成分)と
してマイコン40に入力される。なお、フォーカス制御
時のプリ露光期間が1フレーム期間よりも短い場合、余
分な電荷は掃き捨てパルスによって掃き捨てされる。し
たがって、このときの積分器38の積分期間を1フレー
ム期間としても特に問題はない。
At the time of focus control, the arithmetic circuit 30 inputs the calculated Y data to the high-level extraction circuit 32 and the low-level extraction circuit 34. The high-level extraction circuit 32 extracts a high-level component of luminance. Specifically, the Y data is 10 bits, of which the upper 3 bits are extracted by the high-level extraction circuit 32. The extracted high level component is divided by the integrator 38 into 1/30 seconds or 1/15 seconds.
Integrated every second. In other words, if the set pre-exposure period is 1/30 second or less, the high frequency component is integrated for each screen, and if the set pre-exposure period is 1/15 second,
The high frequency component is integrated for each of two screens. The integration data output from the integrator 38 is input to the microcomputer 40 as a high brightness evaluation value (high brightness component). If the pre-exposure period during the focus control is shorter than one frame period, the excess charge is swept away by the sweep-out pulse. Therefore, there is no particular problem even if the integration period of the integrator 38 at this time is set to one frame period.

【0020】低レベル抽出回路40では、輝度の低レベ
ル成分つまりYデータの下位4ビットが抽出される。そ
して、抽出された低レベル成分が、積分器39によって
1画面または2画面毎に積分され、低輝度評価値(低輝
度成分)が求められる。この低輝度評価値もまた、マイ
コン40に入力される。フォーカス制御時、演算回路3
0によって算出されたYデータは、ゲート回路42にも
入力される。フォーカスは主要被写体に合わせる必要が
あるため、ゲート回路42は、主要被写体が位置すると
思われる画面中央のYデータのみを抽出し、ハイパスフ
ィルタ(HPF)44に入力する。ハイパスフィルタ4
4では、輝度データの高域成分が抽出され、積分回路4
6は1画面または2画面毎にこの高域成分を積分する。
積分回路46から出力された積分データは、AF評価値
(コントラスト成分)としてマイコン40に入力され
る。
The low level extraction circuit 40 extracts a low level component of luminance, that is, lower 4 bits of Y data. Then, the extracted low-level component is integrated by the integrator 39 for each screen or every two screens, and a low luminance evaluation value (low luminance component) is obtained. This low luminance evaluation value is also input to the microcomputer 40. Arithmetic circuit 3 during focus control
The Y data calculated by 0 is also input to the gate circuit 42. Since the focus needs to be adjusted to the main subject, the gate circuit 42 extracts only the Y data at the center of the screen where the main subject is considered to be located, and inputs the Y data to the high-pass filter (HPF) 44. High pass filter 4
At 4, the high-frequency component of the luminance data is extracted, and the integration circuit 4
Numeral 6 integrates this high-frequency component every one or two screens.
The integration data output from the integration circuit 46 is input to the microcomputer 40 as an AF evaluation value (contrast component).

【0021】このような処理が異なるレンズ位置で実行
され、複数の高輝度評価値,複数の低輝度評価値および
複数のAF評価値がマイコン40に入力される。マイコ
ン40は、入力されたAF評価値および低輝度評価値の
中から最大のAF評価値および最小の低輝度評価値を検
出し、さらに最大AF評価値に対応するレンズ位置(最
大レンズ位置)および最小低輝度評価値に対応するレン
ズ位置(最小レンズ位置)を検出する。そして、最適露
光期間の算出時に判別された照度,最小レンズ位置にお
ける高輝度評価値ならびに最大レンズ位置と最小レンズ
位置のずれ量に応じて、いずれかのレンズ位置を合焦位
置として決定する。
Such processing is executed at different lens positions, and a plurality of high luminance evaluation values, a plurality of low luminance evaluation values, and a plurality of AF evaluation values are input to the microcomputer 40. The microcomputer 40 detects the maximum AF evaluation value and the minimum low luminance evaluation value from the input AF evaluation value and the low luminance evaluation value, and further detects a lens position (maximum lens position) and a lens position corresponding to the maximum AF evaluation value. A lens position (minimum lens position) corresponding to the minimum low luminance evaluation value is detected. Then, one of the lens positions is determined as the focus position according to the illuminance determined at the time of calculating the optimal exposure period, the high luminance evaluation value at the minimum lens position, and the amount of deviation between the maximum lens position and the minimum lens position.

【0022】具体的には、照度が低く、所定値よりも大
きい以上の高輝度評価値が検出され、そしてずれ量が所
定値よりも大きければ、最小レンズ位置が合焦位置とし
て決定される。一方、照度,高輝度評価値およびずれ量
のいずれか1つでも上述の条件を満たさなければ、最大
レンズ位置が合焦位置として決定される。このように、
所定の条件下で最小レンズ位置を合焦位置として決定す
るようにしたのは、次のような理由による。低照度の下
に点光源が存在するような被写体を撮影した場合、算出
される低輝度成分は、合焦位置において最小となり、フ
ォーカスがずれるほど大きくなる。つまり、フォーカス
が点光源に合わせられると、点光源は図15(A)よう
に小さくかつ鋭く輝くが、フォーカスが点光源からずれ
ると、点光源は図15(B)ように大きくかつ鈍く輝
く。このため、コントラスト成分を1画面にわたって積
分したAF評価値は、合焦位置で最小となり、フォーカ
スがずれるほど大きくなる。この結果、AF評価値の特
性は、図17(A)に示すように谷状に変化し、最大レ
ンズ位置は合焦位置から大きくかけ離れてしまう。ちな
みに、図14に示すような典型的な被写体を撮影した場
合は、AF評価値は図16に示すように山なりに変化
し、最大レンズ位置は合焦位置に一致する。このよう
に、AF評価値の特性は、被写体によって大きく変動し
てしまる。
More specifically, a high luminance evaluation value having a low illuminance and greater than a predetermined value is detected, and if the shift amount is larger than a predetermined value, the minimum lens position is determined as the focus position. On the other hand, if any one of the illuminance, the high luminance evaluation value, and the shift amount does not satisfy the above condition, the maximum lens position is determined as the focus position. in this way,
The reason why the minimum lens position is determined as the in-focus position under a predetermined condition is as follows. When a subject in which a point light source is present under low illuminance is photographed, the calculated low luminance component becomes minimum at the in-focus position and becomes larger as the focus is shifted. That is, when the focus is adjusted to the point light source, the point light source shines small and sharp as shown in FIG. 15A, but when the focus deviates from the point light source, the point light source shines large and dull as shown in FIG. 15B. Therefore, the AF evaluation value obtained by integrating the contrast component over one screen becomes minimum at the in-focus position, and increases as the focus shifts. As a result, the characteristic of the AF evaluation value changes in a valley shape as shown in FIG. 17A, and the maximum lens position is far away from the in-focus position. Incidentally, when a typical subject as shown in FIG. 14 is photographed, the AF evaluation value changes to a mountain as shown in FIG. 16, and the maximum lens position coincides with the in-focus position. As described above, the characteristics of the AF evaluation value vary greatly depending on the subject.

【0023】これに対して、低輝度評価値は、被写体の
状況に関係なくレンズ位置に対して谷状に変化する。低
輝度評価値が谷状に変化する理由は、次の通りである。
図13(A)に示すような縞模様の被写体を撮影した場
合、フォーカスが合っていれば、輝度は図13(B)に
示すように鋭く変化するが、フォーカスが合ってなけれ
ば、輝度は図13(C)に示すように鈍く変化する。つ
まり、図13(B)に示す輝度信号は完全な矩形波とな
るが、図13(C)に示す輝度信号は放物線上の波形と
なる。このため、輝度の低レベル成分は合焦位置におい
て最低となり、フォーカスが外れるほど大きくなる。こ
れは、低レベル成分を積分して得られる低輝度評価値も
同様であり、この結果、低輝度評価値はレンズ位置に対
して谷上に変化する。さらに、図14に示す被写体を撮
影したときの低輝度評価値の特性を示す図16(B)な
らびに図15に示す被写体を撮影したときの低輝度評価
値の特性を示す図17(B)から分かるように、低輝度
評価値は、被写体の状況に関係なく谷状に変化する。
On the other hand, the low luminance evaluation value changes in a valley-like manner with respect to the lens position irrespective of the condition of the subject. The reason why the low luminance evaluation value changes in a valley shape is as follows.
When a subject having a striped pattern as shown in FIG. 13A is photographed, the brightness changes sharply as shown in FIG. 13B if the subject is in focus. It changes slowly as shown in FIG. That is, the luminance signal shown in FIG. 13B is a perfect rectangular wave, whereas the luminance signal shown in FIG. 13C has a parabolic waveform. For this reason, the low-level component of the luminance becomes lowest at the in-focus position, and becomes larger as the focus is lost. The same applies to the low luminance evaluation value obtained by integrating the low level component, and as a result, the low luminance evaluation value changes to a valley with respect to the lens position. Further, FIG. 16 (B) showing the characteristics of the low luminance evaluation value when photographing the subject shown in FIG. 14 and FIG. 17 (B) showing the characteristics of the low luminance evaluation value when photographing the subject shown in FIG. As can be seen, the low luminance evaluation value changes like a valley irrespective of the situation of the subject.

【0024】また、図14に示すような典型的な被写体
では、図16(A)および(B)から分かるように最大
レンズ位置と最小レンズ位置がほぼ一致するが、図15
に示すような低照度の下に点光源が存在する被写体で
は、図17(A)および(B)から分かるように最大レ
ンズ位置と最小レンズ位置は大きく異なってしまう。以
上のように、被写体によってはAF評価値からフォーカ
スを調整出来ない場合があるため、条件に応じて合焦位
置として決定するレンズ位置を変更している。つまり、
照度が低く、所定値よりも大きい以上の高輝度評価値が
検出され、そしてずれ量が所定値よりも大きければ、最
小レンズ位置が合焦位置とされ、これらの条件のいずれ
か1つでも満たさなければ、最大レンズ位置が合焦位置
とされる。
In a typical subject as shown in FIG. 14, the maximum lens position and the minimum lens position almost coincide as can be seen from FIGS. 16A and 16B.
As shown in FIGS. 17A and 17B, the maximum lens position and the minimum lens position of a subject having a point light source under low illuminance as shown in FIG. As described above, since the focus cannot be adjusted from the AF evaluation value for some subjects, the lens position determined as the focus position is changed according to the conditions. That is,
If the illuminance is low, a high brightness evaluation value greater than a predetermined value or more is detected, and if the shift amount is larger than a predetermined value, the minimum lens position is determined to be the in-focus position, and any one of these conditions is satisfied. If not, the maximum lens position is set as the focus position.

【0025】マイコン40は、レリーズボタン48が半
分だけ押されたときに、図4〜図8に示すフロー図の処
理を開始し、本露光時の露光期間およびAFレンズ12
の位置を決定する。マイコン40はまず、ステップS1
で絞りを開放するとともに、ステップS3で露光期間を
初期化する。初期の露光期間は1/250秒である。マ
イコン40は次に、ステップS5で露光期間つまりシャ
ッタスピードを1/250秒とするシャッタスピード指
示信号をタイミングジェネレータ22に与え、このシャ
ッタスピードでプリ露光を実行する。これによって上述
の輝度評価値Yaが算出される。
When the release button 48 is half-pressed, the microcomputer 40 starts the processing of the flowcharts shown in FIGS.
Determine the position of. First, the microcomputer 40 executes step S1.
And the exposure period is initialized in step S3. The initial exposure period is 1/250 second. Next, the microcomputer 40 gives a shutter speed instruction signal for setting the exposure period, that is, the shutter speed to 1/250 second, to the timing generator 22 in step S5, and executes the pre-exposure at this shutter speed. Thus, the above-described luminance evaluation value Ya is calculated.

【0026】マイコン40は、ステップS5のプリ露光
に基づいて演算器38から出力された輝度評価値Yaを
ステップS7で取り込み、ステップS9で最適露光期間
を算出する。具体的には、この輝度評価値Yaと最適な
露出状態で得られる目標評価値Ytとを比較し、輝度評
価値Yaが目標評価値Ytに一致する露出期間を算出す
る。たとえば、輝度評価値Yaが“50”で目標評価値
Ytが“100”であれば、現在の輝度は最適状態の半
分しかない。このため、最適露光時間は1/125秒と
なる。
The microcomputer 40 fetches the luminance evaluation value Ya output from the computing unit 38 based on the pre-exposure in step S5 in step S7, and calculates an optimum exposure period in step S9. Specifically, the brightness evaluation value Ya is compared with a target evaluation value Yt obtained in an optimal exposure state, and an exposure period in which the brightness evaluation value Ya matches the target evaluation value Yt is calculated. For example, if the luminance evaluation value Ya is "50" and the target evaluation value Yt is "100", the current luminance is only half of the optimum state. Therefore, the optimal exposure time is 1/125 second.

【0027】ステップS10では、このようにして算出
された最適露光期間が1/30秒以上であるかどうかに
よって、本露光時つまりレリーズボタン54が完全に押
されるときの露光期間を決定する。つまり、レリーズボ
タン54が全押しされて記録画像データが得られると
き、通常は手振れを考慮し、露光期間が1/30秒つま
り1フレーム期間を超えないようにしている。このた
め、算出された最適露光期間が1/30秒を超えている
場合、本露光時の露光期間は1/30秒とされる。な
お、最適露光期間が1/30秒以下であれば、最適露光
期間=本露光時の露光期間とされる。
In step S10, the exposure period at the time of main exposure, that is, when the release button 54 is completely pressed, is determined depending on whether the optimum exposure period calculated in this way is 1/30 second or more. That is, when the release button 54 is fully depressed to obtain the recorded image data, the exposure period is usually set not to exceed 1/30 second, that is, one frame period, in consideration of camera shake. Therefore, when the calculated optimal exposure period exceeds 1/30 second, the exposure period at the time of the main exposure is set to 1/30 second. If the optimal exposure period is 1/30 second or less, the optimal exposure period is equal to the exposure period for the main exposure.

【0028】マイコン40はまた、ステップS11でカ
ウンタ40aのカウント値を初期化し、つまりカウント
値(CNT)を“1”に設定し、次にステップS13
で、被写体の照度を判別する。低照度であるかどうか
は、ステップS9で算出された最適露光期間が1/10
秒よりも長いかどうかによって判断する。そして、1/
10秒以上露光をかけなければ十分なレベルのAF評価
値が得られないときに低照度と判断し、ステップS15
に進む。一方、最適露光期間が1/10秒に満たなけれ
ば、照度は十分であるとしてステップS17に進む。ス
テップS15では、フラグ40bをセットするが、ステ
ップS17ではフラグ40bをリセットする。つまり、
フラグ40bは被写体が低照度であるときにセットされ
る。
The microcomputer 40 also initializes the count value of the counter 40a in step S11, that is, sets the count value (CNT) to "1", and then proceeds to step S13.
Then, the illuminance of the subject is determined. Whether the illuminance is low or not depends on whether the optimal exposure period calculated in step S9 is 1/10.
Judge by whether it is longer than seconds. And 1 /
If a sufficient level of the AF evaluation value cannot be obtained unless exposure is performed for 10 seconds or more, it is determined that the illuminance is low, and step S15 is performed.
Proceed to. On the other hand, if the optimum exposure period is less than 1/10 second, it is determined that the illuminance is sufficient and the process proceeds to step S17. In step S15, the flag 40b is set, but in step S17, the flag 40b is reset. That is,
The flag 40b is set when the subject has low illuminance.

【0029】マイコン40は、ステップS19でフラグ
40bがセットされているかどうか判断する。そして
“YES”であれば、ステップS25でAF制御時のプ
リ露光期間を1/15秒に設定してステップS27に進
む。一方、ステップS19で“NO”であれば、ステッ
プS21で最適露光期間が1/30秒よりも長いかどう
か判断する。ここで“NO”であれば直接ステップS2
7に進むが、“YES”であれば、ステップS23でA
F制御時の露光期間を1/30秒にセットしてステップ
S27に進む。つまり、最適露光期間が1/30秒より
も長ければ、AF制御時のプリ露光期間は1/30秒と
されるが、最適露光期間が1/30秒以下であれば、最
適露光期間がAF制御時のプリ露光期間とされる。
The microcomputer 40 determines whether or not the flag 40b has been set in step S19. If "YES", the pre-exposure period during the AF control is set to 1/15 second in step S25, and the process proceeds to step S27. On the other hand, if “NO” in the step S19, it is determined whether or not the optimal exposure period is longer than 1/30 second in a step S21. If "NO" here, directly to step S2
7, but if “YES”, A is determined in the step S23.
The exposure period at the time of the F control is set to 1/30 second, and the process proceeds to step S27. That is, if the optimal exposure period is longer than 1/30 second, the pre-exposure period during AF control is 1/30 second, but if the optimal exposure period is 1/30 second or less, the optimal exposure period is This is a pre-exposure period during control.

【0030】このようにして本露光期間の算出および照
度の判別が完了すると、マイコン40はAF制御を実行
する。まず、ステップS27でAFレンズ12を図10
および図11に示す初期位置に配置し、次にステップS
29で、初期位置の位置データL(1) をカウント値”
1”に対応づけて、図11に示すテーブル40cに格納
する。マイコン40は続いて、タイミングジェネレータ
22からのタイミング信号に従って次の1フレーム期間
の先頭を検出する。1フレーム期間の先頭が検出される
と、ステップS31で“YES”と判断し、ステップS
32で、ステップS19〜S25の処理で設定された露
光時間に応じた被写体のプリ露光を開始する。
When the calculation of the main exposure period and the determination of the illuminance are completed, the microcomputer 40 executes the AF control. First, in step S27, the AF lens 12 is moved to the position shown in FIG.
And at the initial position shown in FIG.
29, the position data L (1) of the initial position is counted
11 is stored in the table 40c shown in FIG. 11. The microcomputer 40 subsequently detects the beginning of the next one frame period according to the timing signal from the timing generator 22. The beginning of the one frame period is detected. Then, "YES" is determined in the step S31, and the step S31 is performed.
At 32, pre-exposure of the subject according to the exposure time set in the processing of steps S19 to S25 is started.

【0031】その後、ステップS33でフラグ40bが
セットされているかどうか判断し、“NO”であれば直
接ステップS37に進むが、“YES”であれば、ステ
ップS35で1フレームの先頭が検出されたと判断され
るのを待って、ステップS37に進む。つまり、フラグ
40bがセットされている場合、プリ露光は2フレーム
期間にわたって行われるため、フラグ40bがリセット
されている場合に比べて1フレーム期間遅れてステップ
S37に進む。そして、ステップS37で次の1フレー
ム期間の先頭が検出されてから、ステップS39でAF
レンズ12を所定量だけ移動させる。また、ステップS
41で、AFレンズ12の位置データL (2) をカウント
値“2”に対応づけてテーブル40cに書き込む。この
ステップS39およびS41の処理は、図10に示す
の期間または図11に示すの期間に実行される。
Thereafter, the flag 40b is set in step S33.
Judge whether it is set, and if "NO",
The process proceeds to step S37, but if "YES",
In step S35, it is determined that the beginning of one frame has been detected.
After waiting for the start, the process proceeds to step S37. That is, the flag
When 40b is set, pre-exposure is performed for 2 frames.
The flag 40b is reset because it is performed over a period.
Step one frame period later than the case where
Proceed to S37. Then, in step S37, the next one frame
After the start of the program period is detected, the AF
The lens 12 is moved by a predetermined amount. Step S
41, the position data L of the AF lens 12 (2)Count
The data is written into the table 40c in association with the value “2”. this
Steps S39 and S41 are shown in FIG.
Or during the period shown in FIG.

【0032】ステップS42では、マイコン40はステ
ップS32と同様にプリ露光を開始し、ステップS43
で1フレーム期間の先頭が検出されたかどうか判断す
る。ここで“YES”であれば、ステップS45で、A
Fレンズ12が移動する前に露光された被写体像のAF
評価値,高輝度評価値および低輝度評価値を取り込む。
そして、ステップS47でこのAF評価値AF(CNT)
高輝度評価値YH(CNT)および低輝度評価値YL(CNT)を現
カウント値に対応づけてテーブル40cに書き込む。続
いて、ステップS49でフラグ40bがセットされてい
るかどうか判断し、“NO”であれば直接ステップS5
3に進むが、“YES”であれば、ステップS51の処
理を介して、つまり1フレーム期間遅れてステップS5
3に進む。
In step S42, the microcomputer 40 starts pre-exposure in the same manner as in step S32.
To determine whether the beginning of one frame period has been detected. If "YES" here, A is determined in a step S45.
AF of subject image exposed before F lens 12 moves
The evaluation value, the high luminance evaluation value, and the low luminance evaluation value are fetched.
Then, in step S47, the AF evaluation value AF (CNT) ,
The high-luminance evaluation value YH (CNT) and the low-luminance evaluation value YL (CNT) are written in the table 40c in association with the current count value. Subsequently, in step S49, it is determined whether or not the flag 40b has been set. If "NO", the process directly proceeds to step S5.
3. If “YES”, the process proceeds to step S5 via the process of step S51, that is, one frame period later.
Proceed to 3.

【0033】ステップS53では、マイコン40はAF
レンズ12を所定量だけ移動させ、次にステップS55
で移動後のAFレンズ12の位置データL(CNT+2) を現
カウント値+2のカウント値に対応づけてテーブル40
cに格納する。そして、ステップS57でカウンタ40
aをインクリメントし、ステップS59で現カウント値
が所定値A(=6)を超えたかどうか判断する。ここで
“NO”であれば、全てのレンズ位置でのAF評価値,
高輝度評価値および低輝度評価値の取り込みが完了して
いないとしてステップS42に戻るが、“YES”であ
れば、AF評価値,高輝度評価値および低輝度評価値が
全て得られたとして、ステップS61に進む。
In step S53, the microcomputer 40 sets the AF
The lens 12 is moved by a predetermined amount, and then, in step S55
The position data L (CNT + 2) of the AF lens 12 after the movement in the table 40 is associated with the current count value + 2 count value.
c. Then, in step S57, the counter 40
a is incremented, and in a step S59, it is determined whether or not the current count value exceeds a predetermined value A (= 6). If “NO” here, AF evaluation values at all lens positions,
The process returns to step S42 assuming that the acquisition of the high luminance evaluation value and the low luminance evaluation value has not been completed. If “YES”, it is determined that all the AF evaluation value, the high luminance evaluation value, and the low luminance evaluation value have been obtained. Proceed to step S61.

【0034】このように、ステップS11〜S59にお
いて、AFレンズ12が所定量ずつ移動するとともに、
それぞれの位置でAF評価値,高輝度評価値および低輝
度評価値が取り込まれる。各評価値の算出には1フレー
ム期間を要し、図10および図11のいずれの場合にお
いても、AFレンズ12が次の位置に移動してから1フ
レーム遅れて、移動前に露光された被写体像のAF評価
値,高輝度評価値および低輝度評価値が得られる。AF
レンズ12の移動時期と各評価値の取込時期にこのよう
なずれがあるため、ステップS47で各評価値に対応付
けるカウント値とステップS55でレンズ位置データに
対応付けるカウント値も、互いに異なる。なお、図10
および図11に示す番号は、レンズ位置を示している。
As described above, in steps S11 to S59, the AF lens 12 moves by a predetermined amount,
At each position, the AF evaluation value, the high luminance evaluation value, and the low luminance evaluation value are captured. It takes one frame period to calculate each evaluation value. In each of FIGS. 10 and 11, the subject exposed before the movement is delayed by one frame after the AF lens 12 moves to the next position. An AF evaluation value, a high luminance evaluation value, and a low luminance evaluation value of the image are obtained. AF
Since there is such a difference between the movement timing of the lens 12 and the timing of taking in each evaluation value, the count value associated with each evaluation value in step S47 and the count value associated with lens position data in step S55 are different from each other. Note that FIG.
And the numbers shown in FIG. 11 indicate the lens positions.

【0035】マイコン40は、ステップS61以降で、
テーブル40cを参照して最大レンズ位置および最小レ
ンズ位置を検出し、そのいずれかを合焦位置として決定
する。そして、その合焦位置にAFレンズ12を移動さ
せる。まずステップS61でカウンタ40aのカウント
値を初期値(=1)に設定し、ステップS63で最大の
AF評価値AFMAX および最小の低輝度評価値YLMIN
仮の値(=0)に設定する。続いて、ステップS65で
現カウント値のAF評価値AF(CNT) が最大AF評価値
AFMAX よりも大きいかどうか判断する。ここで“N
O”であれば直接ステップS71に進むが、“YES”
であれば、ステップS67で最大AF評価値AFMAX
現AF評価値AF(CNT) によって更新するとともに、ス
テップS69での最大レンズ位置データLS1を現レンズ
位置データL(CNT) とする。
The microcomputer 40 performs the processing from step S61 onward.
The maximum lens position and the minimum lens position are detected with reference to the table 40c, and one of them is determined as the focus position. Then, the AF lens 12 is moved to the in-focus position. First, in step S61, the count value of the counter 40a is set to an initial value (= 1), and in step S63, the maximum AF evaluation value AF MAX and the minimum low luminance evaluation value Y LMIN are set to temporary values (= 0). . Subsequently, in a step S65, it is determined whether or not the AF evaluation value AF (CNT) of the current count value is larger than the maximum AF evaluation value AF MAX . Where "N
If "O", the process directly proceeds to step S71, but "YES".
If the maximum AF evaluation value AF MAX and updates the current AF evaluation value AF (CNT) in step S67, the maximum lens position data L S1 in step S69 that the current lens position data L (CNT).

【0036】また、ステップS71で現カウント値の低
輝度評価値YL(CNT)が最小低輝度評価値YLMINよりも小
さいかどうか判断する。そして“NO”であれば直接ス
テップS77に進み、“YES”であれば、ステップS
73で最小低輝度評価値YLM INを現低輝度評価値Y
L(CNT)によって更新し、ステップS75で最小レンズ位
置データLS2を現レンズ位置データL(CNT) とする。
In step S71, it is determined whether the low luminance evaluation value Y L (CNT) of the current count value is smaller than the minimum low luminance evaluation value Y LMIN . If “NO”, the process directly proceeds to step S77, and if “YES”, the process proceeds to step S77.
At 73, the minimum low luminance evaluation value Y LM IN is replaced with the current low luminance evaluation value Y.
The minimum lens position data L S2 is updated as the current lens position data L (CNT) in step S75.

【0037】そして、ステップS77でカウント値をイ
ンクリメントし、ステップS79でカウント値が所定値
Aを超えたかどうか判断する。ここで“NO”であれば
ステップS65に戻り上述の処理を繰り返す。一方、ス
テップS79で“YES”と判断されると、マイコン4
0は、ステップS81に進む。ステップS81では、最
小レンズ位置LS2に対応する高輝度評価値YH をテーブ
ル40cから読み出し、ステップS83でこの高輝度評
価値YH が所定値Bより大きくかつフラグ40bがセッ
トされているかどうかを判断する。ここでいずれか一方
の条件でも満たされなければ、マイコン40は最大レン
ズ位置LS1を合焦位置として決定し、ステップS91で
第1レンズ位置LS1にAFレンズ12を移動させる。こ
れに対して、高輝度評価値YH が所定値Cより大きくか
つフラグ40bがセットされていれば、ステップS85
で最大レンズ位置データLS1および最小レンズ位置デー
タLS2のずれ量を算出し、次にステップS87でこのず
れ量が所定値Cよりも大きいかどうか判断する。ここ
で、ずれ量が所定値C以下であれば、最大レンズ位置L
S1を合焦位置として決定し、処理をステップS91に進
める。そして、最大レンズ位置LS1にAFレンズ12を
移動させて処理を終了する。
Then, the count value is incremented in a step S77, and it is determined whether or not the count value exceeds a predetermined value A in a step S79. If "NO" here, the process returns to the step S65 and the above-mentioned processing is repeated. On the other hand, if “YES” is determined in the step S79, the microcomputer 4
If it is 0, the process proceeds to step S81. At step S81, it reads the high luminance evaluation value Y H corresponding to the minimum lens position L S2 from the table 40c, in step S83 the high luminance evaluation value Y H is whether greater than a predetermined value B and the flag 40b is set to decide. If any one of the conditions is not satisfied, the microcomputer 40 determines the maximum lens position L S1 as the focus position, and moves the AF lens 12 to the first lens position L S1 in step S91. In contrast, high luminance evaluation value Y H is it is set large and the flag 40b than the predetermined value C, the step S85
Is used to calculate the amount of deviation between the maximum lens position data L S1 and the minimum lens position data L S2 . Next, it is determined in step S87 whether the amount of deviation is greater than a predetermined value C. Here, if the shift amount is equal to or less than the predetermined value C, the maximum lens position L
S1 is determined as the focus position, and the process proceeds to step S91. Then, the AF lens 12 is moved to the maximum lens position L S1 and the process ends.

【0038】一方、ずれ量が所定値Cよりも大きけれ
ば、マイコン40はステップS87で“YES”と判断
する。つまり、最小レンズ位置LS2を合焦位置として決
定する。このため、ステップS89で最大レンズ位置デ
ータLS1を最小レンズ位置データLS2によって更新し、
ステップS91で、更新された最大レンズ位置LS1にA
Fレンズ12を移動させる。
On the other hand, if the deviation is larger than the predetermined value C, the microcomputer 40 determines "YES" in a step S87. That is, the minimum lens position L S2 is determined as the focus position. Therefore, in step S89, the maximum lens position data L S1 is updated with the minimum lens position data L S2 ,
In step S91, the updated maximum lens position L S1 is set to A.
The F lens 12 is moved.

【0039】この実施例によれば、最小レンズ位置にお
ける高輝度評価値,照度ならびに最大レンズ位置と最小
レンズ位置とのずれ量に基づいて合焦位置を決定するよ
うにしたため、被写体の状況に拘らずフォーカスを正確
に調整することができる。また、最適露光期間に基づい
て被写体が低照度であるかどうか判断し、低照度であれ
ばAF制御時の露光期間を1/15秒(=2フレーム期
間)に設定するようにしたため、低照度の下でもAF評
価値,高輝度評価値および低輝度評価値を正確に算出す
ることができる。
According to this embodiment, the focus position is determined on the basis of the high luminance evaluation value and the illuminance at the minimum lens position and the amount of deviation between the maximum lens position and the minimum lens position. The focus can be adjusted accurately. Also, it is determined whether or not the subject has low illuminance based on the optimal exposure period. If the illuminance is low, the exposure period during AF control is set to 1/15 second (= 2 frame periods). , The AF evaluation value, the high luminance evaluation value, and the low luminance evaluation value can be accurately calculated.

【0040】なお、この実施例では、最小レンズ位置に
おける高輝度評価値,照度ならびに最大レンズ位置と最
小レンズ位置とのずれ量の全てが所定の条件を満たす場
合に、最小レンズ位置を合焦位置として決定するように
したが、最小レンズ位置の代わりにAFレンズ12の移
動範囲のセンタ位置を合焦位置としてもよい。この場
合、図8に示すステップS89に代えて図9に示すステ
ップS89’を処理する必要がある。なお、上述の条件
を満たす場合に合焦位置として決定するレンズ位置は、
センタ位置の他、無限位置も考えられる。
In this embodiment, when all of the high luminance evaluation value and illuminance at the minimum lens position and the amount of deviation between the maximum lens position and the minimum lens position satisfy predetermined conditions, the minimum lens position is changed to the in-focus position. However, instead of the minimum lens position, the center position of the moving range of the AF lens 12 may be determined as the focus position. In this case, it is necessary to process step S89 'shown in FIG. 9 instead of step S89 shown in FIG. The lens position determined as the focus position when the above condition is satisfied is
In addition to the center position, an infinite position is also conceivable.

【0041】また、この実施例では、CCDイメージャ
20から全ての画素信号を読み出すようにしたが、CC
Dイメージャ20の画素数が多ければ、不要なラインを
間引くようにしてもよい。つまり、画素数がたとえば1
20万画素である場合、連続する8ラインのうち2ライ
ンだけを読み出すようにしてもよい。読み出すラインと
しては、図3に示す最初のMg,G,Mg,G…ライン
および4番目のYe,Cy,Ye,Cy…ラインが考え
られる。
In this embodiment, all the pixel signals are read from the CCD imager 20.
If the number of pixels of the D imager 20 is large, unnecessary lines may be thinned out. That is, if the number of pixels is 1
When the number of pixels is 200,000, only two lines out of eight continuous lines may be read. As the lines to be read, the first Mg, G, Mg, G... Line and the fourth Ye, Cy, Ye, Cy.

【0042】さらに、この実施例では、記録画像データ
を生成するときの露光期間を1/30秒以下つまり1フ
レーム期間以下に設定するようにしたが、1フィールド
分の画像信号に基づいて記録画像データを生成する場合
は、露光期間を1/60秒以下つまり1フィールド期間
以下に設定した方がよい。さらにまた、この実施例では
HPF44の前段にのみゲート回路42を設け、AF評
価値のみをフォーカスエリア内の輝度信号から算出する
ようにしたが、高レベル抽出回路32および低レベル抽
出回路34の前段あるいは積分回路38および39の前
段にもゲート回路を設け、高輝度評価値および低輝度評
価値についてもフォーカスエリア内の輝度信号から算出
した方がよい。
Further, in this embodiment, the exposure period for generating the recording image data is set to 1/30 second or less, that is, one frame period or less. However, the recording image data is generated based on the image signal for one field. When generating data, it is better to set the exposure period to 1/60 second or less, that is, one field period or less. Further, in this embodiment, the gate circuit 42 is provided only in the preceding stage of the HPF 44, and only the AF evaluation value is calculated from the luminance signal in the focus area. However, the preceding stage of the high level extracting circuit 32 and the low level extracting circuit 34 is used. Alternatively, it is preferable to provide a gate circuit also in the preceding stage of the integration circuits 38 and 39, and calculate the high luminance evaluation value and the low luminance evaluation value from the luminance signal in the focus area.

【0043】また、この実施例では、演算回路30から
出力されたYデータの高レベル成分および低レベル成分
を抽出するようにしたが、いわゆる中央重点測光のため
にYデータに重み付けをかけ、重み付けされたYデータ
の高レベル成分および低レベル成分を抽出するようにし
てもよい。
In this embodiment, the high level component and the low level component of the Y data output from the arithmetic circuit 30 are extracted. However, the Y data is weighted for so-called center-weighted photometry, and the weighting is performed. High-level components and low-level components of the extracted Y data may be extracted.

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

【図1】この発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

【図2】CCDイメージャを示す図解図である。FIG. 2 is an illustrative view showing a CCD imager;

【図3】補色フィルタを示す図解図である。FIG. 3 is an illustrative view showing a complementary color filter;

【図4】図1実施例の動作の一部を示すフロー図であ
る。
FIG. 4 is a flowchart showing a part of the operation of the embodiment in FIG. 1;

【図5】図1実施例の動作の他の一部を示すフロー図で
ある。
FIG. 5 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図6】図1実施例の動作のその他の一部を示すフロー
図である。
FIG. 6 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図7】図1実施例の動作のさらにその他の一部を示す
フロー図である。
FIG. 7 is a flowchart showing yet another portion of the operation of the embodiment in FIG. 1;

【図8】図1実施例の動作の他の一部を示すフロー図で
ある。
FIG. 8 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図9】この発明の他の実施例の動作の一部を示すフロ
ー図である。
FIG. 9 is a flowchart showing a part of the operation of another embodiment of the present invention.

【図10】図1実施例の動作の一部を示す図解図であ
る。
FIG. 10 is an illustrative view showing one portion of an operation of the embodiment in FIG. 1;

【図11】図1実施例の動作の他の一部を示す図解図で
ある。
FIG. 11 is an illustrative view showing another portion of the operation of the embodiment in FIG. 1;

【図12】テーブルを示す図解図である。FIG. 12 is an illustrative view showing a table;

【図13】(A)は被写体像の一例を示す図解図であ
り、(B)は輝度信号の一例を示す波形図であり、
(C)は輝度信号の他の一例を示す波形図である。
13A is an illustrative view showing one example of a subject image; FIG. 13B is a waveform diagram showing one example of a luminance signal;
(C) is a waveform chart showing another example of the luminance signal.

【図14】被写体の一例を示す図解図である。FIG. 14 is an illustrative view showing one example of a subject;

【図15】被写体の他の一例を示す図解図である。FIG. 15 is an illustrative view showing another example of the subject;

【図16】(A)はAFレンズ位置とAF評価値との関
係の一例を示すグラフであり、(B)はAFレンズ位置
と低輝度評価値との関係の一例を示すグラフである。
16A is a graph illustrating an example of a relationship between an AF lens position and an AF evaluation value, and FIG. 16B is a graph illustrating an example of a relationship between an AF lens position and a low luminance evaluation value.

【図17】(A)はAFレンズ位置とAF評価値との関
係の他の一例を示すグラフであり、(B)はAFレンズ
位置と低輝度評価値との関係の他の一例を示すグラフで
ある。
17A is a graph showing another example of the relationship between the AF lens position and the AF evaluation value, and FIG. 17B is a graph showing another example of the relationship between the AF lens position and the low luminance evaluation value. It is.

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

10 …ディジタルカメラ 12 …AFレンズ 18 …モータ制御回路 20 …CCDイメージャ 30 …演算回路 32 …高レベル抽出回路 34 …低レベル抽出回路 36,38,39,46 …積分器 40 …マイコン 42 …ゲート回路 44 …ハイパスフィルタ DESCRIPTION OF SYMBOLS 10 ... Digital camera 12 ... AF lens 18 ... Motor control circuit 20 ... CCD imager 30 ... Calculation circuit 32 ... High level extraction circuit 34 ... Low level extraction circuit 36,38,39,46 ... Integrator 40 ... Microcomputer 42 ... Gate circuit 44… High-pass filter

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】フォーカスレンズを通して撮影した被写体
のカメラ信号によって前記フォーカスレンズの合焦位置
を決定するディジタルカメラにおいて、 前記カメラ信号に基づいて被写体の照度を判別する判別
手段、 前記カメラ信号の高輝度成分を検出する高輝度検出手
段、および前記照度の判別結果および前記高輝度成分に
基づいて前記合焦位置を決定する決定手段を備えること
を特徴とする、ディジタルカメラ。
1. A digital camera that determines a focus position of a focus lens based on a camera signal of a subject photographed through a focus lens, a determining unit that determines illuminance of the subject based on the camera signal, and high brightness of the camera signal. A digital camera, comprising: high luminance detecting means for detecting a component; and deciding means for determining the in-focus position based on a result of the illuminance determination and the high luminance component.
【請求項2】前記高輝度検出手段は、前記カメラ信号に
含まれる輝度信号の高レベル成分を抽出する高レベル抽
出手段、および前記高レベル成分を所定画面分だけ積分
して前記高輝度成分を算出する高レベル積分手段を含
む、請求項1記載のディジタルカメラ。
2. The high-luminance detecting means extracts high-level components of a luminance signal included in the camera signal, and integrates the high-level components for a predetermined screen to convert the high-luminance components. 2. The digital camera according to claim 1, further comprising a high-level integrating means for calculating.
【請求項3】前記決定手段は低照度でかつ前記高輝度成
分が所定値よりも大きいとき特定レンズ位置を前記合焦
位置として決定する、請求項1または2記載のディジタ
ルカメラ。
3. The digital camera according to claim 1, wherein said determining means determines a specific lens position as said in-focus position when the illuminance is low and said high luminance component is larger than a predetermined value.
【請求項4】前記フォーカスレンズを所定量ずつ移動さ
せる移動手段、および前記カメラ信号の低輝度成分が最
小となる最小レンズ位置を検出する最小レンズ位置検出
手段をさらに備え、 前記特定レンズ位置は前記最小レンズ位置である、請求
項3記載のディジタルカメラ。
A moving means for moving the focus lens by a predetermined amount; and a minimum lens position detecting means for detecting a minimum lens position at which a low luminance component of the camera signal is minimized. The digital camera according to claim 3, wherein the digital camera is at a minimum lens position.
【請求項5】前記フォーカスレンズを所定量ずつ移動さ
せる移動手段、 前記カメラ信号のコントラスト成分が最大となる最大レ
ンズ位置を検出する最大レンズ位置検出手段、および前
記カメラ信号の低輝度成分が最小となる最小レンズ位置
を検出する最小レンズ位置検出手段、および前記最大レ
ンズ位置および前記最小レンズ位置のずれ量を検出する
ずれ量検出手段をさらに備え、 前記決定手段は前記判別結果,前記高輝度成分および前
記ずれ量に基づいて前記合焦位置を決定する、請求項1
または2記載のディジタルカメラ。
5. A moving means for moving the focus lens by a predetermined amount, a maximum lens position detecting means for detecting a maximum lens position at which a contrast component of the camera signal is maximum, and a means for detecting a low luminance component of the camera signal. A minimum lens position detecting means for detecting a minimum lens position, and a shift amount detecting means for detecting a shift amount between the maximum lens position and the minimum lens position. 2. The in-focus position is determined based on the shift amount.
Or the digital camera according to 2.
【請求項6】前記最大レンズ位置検出手段は、前記カメ
ラ信号に含まれる輝度信号の高域成分を抽出する高域抽
出手段、および前記高域成分を所定画面分だけ積分して
前記コントラスト成分を算出する高域積分手段を含む、
請求項5記載のディジタルカメラ。
6. The maximum lens position detecting means includes high frequency extracting means for extracting a high frequency component of a luminance signal included in the camera signal, and integrating the high frequency component for a predetermined screen to reduce the contrast component. Including high-frequency integration means for calculating
The digital camera according to claim 5.
【請求項7】前記最小レンズ位置検出手段は、前記カメ
ラ信号に含まれる輝度信号の低レベル成分を抽出する低
レベル抽出手段、および前記低レベル成分を所定画面分
だけ積分して前記低輝度成分を算出する低レベル積分手
段を含む、請求項5または6記載のディジタルカメラ。
7. A low-level extracting means for extracting a low-level component of a luminance signal included in the camera signal, and a minimum-lens position detecting means, wherein the low-luminance component is integrated by a predetermined screen. The digital camera according to claim 5, further comprising a low-level integrating means for calculating the following.
【請求項8】前記決定手段は前記判別結果,前記高輝度
成分および前記ずれ量の全てが所定の条件を満たすとき
特定レンズ位置を前記合焦位置として決定する、請求項
5ないし7のいずれかに記載のディジタルカメラ。
8. The apparatus according to claim 5, wherein said determination means determines a specific lens position as said in-focus position when all of said determination result, said high luminance component and said shift amount satisfy predetermined conditions. A digital camera according to claim 1.
【請求項9】前記特定レンズ位置は前記最小レンズ位置
である、請求項8記載のディジタルカメラ。
9. The digital camera according to claim 8, wherein said specific lens position is said minimum lens position.
【請求項10】前記決定手段は前記判別結果,前記高輝
度成分および前記ずれ量のいずれか1つでも前記所定の
条件を満たさなければ前記最大レンズ位置を前記合焦位
置として決定する、請求項8または9記載のディジタル
カメラ。
10. The method according to claim 1, wherein the determining unit determines the maximum lens position as the in-focus position unless at least one of the determination result, the high luminance component, and the shift amount satisfies the predetermined condition. 10. The digital camera according to 8 or 9.
【請求項11】前記所定の条件は低照度で前記高輝度成
分が第1所定値よりも大きくかつ前記ずれ量が第2所定
値よりも大きいことである、請求項8ないし10のいず
れかに記載のディジタルカメラ。
11. The method according to claim 8, wherein said predetermined condition is that at high illuminance, said high luminance component is larger than a first predetermined value and said shift amount is larger than a second predetermined value. Digital camera as described.
【請求項12】フォーカスレンズを所定量ずつ移動させ
て合焦位置を決定するディジタルカメラにおいて、 カメラ信号の低輝度成分が最小となる最小レンズ位置を
検出する検出手段、および前記最小レンズ位置を前記合
焦位置として決定する決定手段を備えることを特徴とす
る、ディジタルカメラ。
12. A digital camera for determining a focus position by moving a focus lens by a predetermined amount at a time, detecting means for detecting a minimum lens position at which a low luminance component of a camera signal is minimized, and detecting the minimum lens position. A digital camera, comprising: determining means for determining a focus position.
JP10109078A 1998-04-20 1998-04-20 Digital camera Pending JPH11305108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10109078A JPH11305108A (en) 1998-04-20 1998-04-20 Digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10109078A JPH11305108A (en) 1998-04-20 1998-04-20 Digital camera

Publications (1)

Publication Number Publication Date
JPH11305108A true JPH11305108A (en) 1999-11-05

Family

ID=14501055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10109078A Pending JPH11305108A (en) 1998-04-20 1998-04-20 Digital camera

Country Status (1)

Country Link
JP (1) JPH11305108A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100658601B1 (en) * 2000-12-29 2006-12-15 삼성테크윈 주식회사 An automatic focus adjusting apparatus in a digital camera and a method thereof
JP2015125196A (en) * 2013-12-25 2015-07-06 キヤノン株式会社 Focus adjustment device and method, as well as imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100658601B1 (en) * 2000-12-29 2006-12-15 삼성테크윈 주식회사 An automatic focus adjusting apparatus in a digital camera and a method thereof
JP2015125196A (en) * 2013-12-25 2015-07-06 キヤノン株式会社 Focus adjustment device and method, as well as imaging device

Similar Documents

Publication Publication Date Title
CN103581565B (en) Picture pick-up device, the control method of picture pick-up device and electronic installation
JP3768060B2 (en) Digital camera
JP4003151B2 (en) Imaging device
JP2007259237A (en) Apparatus and method for photographing
JP2004157417A (en) Digital camera and exposure setting method in performing af control
JP4565370B2 (en) Electronic camera and autofocus control method
JP2004085936A (en) Camera
US6094537A (en) Auto focus camera
JP3949000B2 (en) Auto focus camera
JP3478769B2 (en) Imaging device and method, and computer-readable recording medium
JP2010062987A (en) Imaging apparatus and method
JPH11305108A (en) Digital camera
JP2004341095A (en) Automatic focusing camera
JP2001141989A (en) Camera, focusing device, focusing method, and medium for supplying focusing program
JP2001230966A (en) Electronic camera
JPH0556343A (en) Electronic image pickup device
JP3510063B2 (en) Exposure control device for still video camera
JPH1032750A (en) Electronic still camera
JP3563508B2 (en) Automatic focusing device
JP2003158673A (en) Image pickup device and method
JP2004320147A (en) Imaging control method and imaging control apparatus
JP2003319246A (en) Digital camera
JP3943613B2 (en) Imaging device and lens unit
JPH11249006A (en) Digital camera
JP3483283B2 (en) Imaging device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010807