JPH06303490A - Camera - Google Patents

Camera

Info

Publication number
JPH06303490A
JPH06303490A JP5330975A JP33097593A JPH06303490A JP H06303490 A JPH06303490 A JP H06303490A JP 5330975 A JP5330975 A JP 5330975A JP 33097593 A JP33097593 A JP 33097593A JP H06303490 A JPH06303490 A JP H06303490A
Authority
JP
Japan
Prior art keywords
dct
coefficient
control
range
circuit
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.)
Granted
Application number
JP5330975A
Other languages
Japanese (ja)
Other versions
JP3279417B2 (en
Inventor
Kazuya Kobayashi
一也 小林
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.)
Olympus Corp
Original Assignee
Olympus Optical 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 Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP33097593A priority Critical patent/JP3279417B2/en
Publication of JPH06303490A publication Critical patent/JPH06303490A/en
Application granted granted Critical
Publication of JP3279417B2 publication Critical patent/JP3279417B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To realize high-speed and highly precise focusing while maintaining simple configuration by selecting and switching either a range made to limit to arithmetic operation for calculating the DCT coefficient of a frequency domain or the range in which this limitation is not executed. CONSTITUTION:AF control based on an obtained transformation coefficient is executed by using a feature that a coefficient value is small both in the case that a lens position is at approximately infinite distance and the in the case that it is at the closest distance, and the coefficient value shows a peak at a focusing position. The AF control is executed in this way by using an increasing and decreasing variation of the transformation coefficient value, but if the area of the coefficient to be used for the AF control is fixed, and the AC transformation coefficient of only a part to be used is determined by DCT (discrete cosine transformation) operation, focusing speed is improved. For instance, if the transformation coefficient of only a hatched part area (to show frequency domain) is used for the AF control, the DCT operation can be finished only with that of the hatched part. Namely, in this case, the range of either the DCT operation of an AF area part or the DCT operation of compression recording can be switched.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、カメラに関し、特に合
焦特性を改善したカメラに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera, and more particularly to a camera having improved focusing characteristics.

【0002】[0002]

【従来の技術】オートフォーカス方式においては、レン
ズ等の光学系を通して得られる被写体像を電気信号に変
換し、この電気信号からコントラスト情報を検出し、検
出されたコントラスト情報値が最大となるように光学系
の位置をフイードバック制御するものがある。かかる方
式によるオートフォーカス制御は、ビデオカメラ等に用
いられる。
2. Description of the Related Art In an autofocus system, a subject image obtained through an optical system such as a lens is converted into an electric signal, contrast information is detected from the electric signal, and the detected contrast information value is maximized. There is one that performs feedback control of the position of the optical system. The autofocus control according to this method is used for video cameras and the like.

【0003】従来のスチルビデオカメラの構成が図15
に示されている。レンズ2は、レンズ駆動回路1により
位置が駆動制御され、被写体像を撮像素子であるCCD
3に結像する。CCD3で電気信号に変換された画像信
号は、撮像プロセス回路4において、γ補正や色分離等
の処理が施され、A/Dコンバータ(ADC)5により
デジタルデータに変換された後、バッファメモリ6に記
録される。バッファメモリ6からは、周知のように、縦
横N画素(例えば、8画素)のブロックデータが読み出
され、DCT(離散コサイン変換)回路8において直交
変換処理が施される。DCT回路8により直交変換さ
れ、得られた直流(DC)変換係数は、量子化回路9と
レンズAF制御回路40に供給され、一方、AC変換係
数は、量子化回路10とレンズAF制御回路40とに供
給される。レンズAF制御回路40は、交流変換係数を
受け、レンズ駆動回路1を制御してレンズ2を移動さ
せ、DCT回路8で得られるAC変換係数が最大になる
ようにレンズ2の位置を制御、合焦(フォーカス)制御
する。尚、パルス発生(SSG)回路7は、CCD3、
撮像プロセス回路4、A/Dコンバータ5、バッファメ
モリ6およびレンズAF制御回路40を制御するための
水平、垂直同期信号等の各種パルスを生成する。
The structure of a conventional still video camera is shown in FIG.
Is shown in. The position of the lens 2 is drive-controlled by the lens driving circuit 1, and the subject image is a CCD that is an image sensor.
Image to 3. The image signal converted into the electric signal by the CCD 3 is subjected to γ correction, color separation, and the like in the imaging process circuit 4, converted into digital data by the A / D converter (ADC) 5, and then the buffer memory 6 Recorded in. As is well known, block data of vertical and horizontal N pixels (for example, 8 pixels) is read from the buffer memory 6, and orthogonal transform processing is performed in a DCT (discrete cosine transform) circuit 8. The direct current (DC) conversion coefficient obtained by the orthogonal transformation by the DCT circuit 8 is supplied to the quantization circuit 9 and the lens AF control circuit 40, while the AC conversion coefficient is obtained by the quantization circuit 10 and the lens AF control circuit 40. And supplied to. The lens AF control circuit 40 receives the AC conversion coefficient, controls the lens driving circuit 1 to move the lens 2, and controls the position of the lens 2 so that the AC conversion coefficient obtained by the DCT circuit 8 becomes maximum. Focus control. The pulse generation (SSG) circuit 7 is composed of the CCD 3,
Various pulses such as horizontal and vertical synchronizing signals for controlling the imaging process circuit 4, the A / D converter 5, the buffer memory 6 and the lens AF control circuit 40 are generated.

【0004】量子化回路9で量子化されたDC変換係数
は、遅延回路11と減算回路12に供給され、減算回路
12の出力として予測誤差が得られる。この予測誤差
は、符号化回路14で符号化されて合成回路16に出力
される。一方、量子化回路10で量子化されたAC変換
係数は、いわゆるジグザグ走査回路13で係数の並べ替
え処理が行われた後、符号化回路15で符号化されて合
成回路16に出力される。合成回路16で合成されたD
C変換係数の予測誤差およびAC変換係数は記録装置1
7に記録される。しかして、これらの各部構成は、シス
テム制御回路18によって全体シーケンスが制御され
る。DCT回路8は、画像符号化の際に用いられること
が多く、コントラスト情報をDCT回路で検出すれば、
DCT回路の共用化が図れるので構成の簡易化・コスト
ダウンにつながる。
The DC conversion coefficient quantized by the quantization circuit 9 is supplied to the delay circuit 11 and the subtraction circuit 12, and the prediction error is obtained as the output of the subtraction circuit 12. This prediction error is encoded by the encoding circuit 14 and output to the synthesis circuit 16. On the other hand, the AC transform coefficient quantized by the quantizing circuit 10 is subjected to coefficient rearrangement processing by the so-called zigzag scanning circuit 13, coded by the coding circuit 15 and output to the synthesizing circuit 16. D synthesized by the synthesis circuit 16
The prediction error of the C conversion coefficient and the AC conversion coefficient are recorded in the recording device 1.
Recorded in 7. Thus, the overall sequence of these respective components is controlled by the system control circuit 18. The DCT circuit 8 is often used at the time of image coding, and if contrast information is detected by the DCT circuit,
Since the DCT circuit can be shared, the configuration can be simplified and the cost can be reduced.

【0005】[0005]

【発明が解決しようとする課題】上述のように、従来の
カメラの自動焦点(AF)制御は、画面全体エリアにつ
いてDCT演算を行い、得られたDCT係数(AC変換
係数やDC変換係数)に基づいてAF制御を実行してい
る(例えば、特開平3ー216078号公報記載の方
式)。しかしながら、全画面についてDCT演算する
と、演算に時間がかかり合焦速度が遅くなってしまうと
いう問題がある。また、演算量を低減するため、AF制
御に最低限必要なAFエリアの画像だけをDCT演算す
るようにした場合でも、、合焦速度の遅れはやはり残る
だけでなくAF制御に必要な情報量が少なくなる結果、
偽合焦する恐れもある。
As described above, in the conventional auto focus (AF) control of the camera, the DCT operation is performed on the entire screen area, and the obtained DCT coefficient (AC conversion coefficient or DC conversion coefficient) is obtained. Based on this, AF control is executed (for example, the method described in Japanese Patent Laid-Open No. 3-216078). However, when the DCT calculation is performed on the entire screen, there is a problem that the calculation takes time and the focusing speed becomes slow. Further, in order to reduce the amount of calculation, even when the DCT calculation is performed only on the image of the AF area that is the minimum necessary for AF control, the focusing speed delay still remains and the amount of information required for AF control is also left. As a result,
There is also a risk of false focusing.

【0006】そこで、本発明の目的は、簡易な構成を維
持するも高速且つ高精度な合焦を可能とするカメラを提
供することにある。
Therefore, an object of the present invention is to provide a camera capable of high-speed and highly accurate focusing while maintaining a simple structure.

【0007】[0007]

【課題を解決するための手段】前述の課題を解決するた
め、本発明によるカメラは、撮像素子の出力信号をA/
D変換してなるデジタル映像信号に該映像信号に係る画
面を複数ブロックに分割したときのブロック毎にDCT
演算を施してDCT係数を得るためのDCT演算手段
と、上記DCT演算手段によるDCT係数のうち特定の
周波数領域のものに基づいて合焦の程度を認識するため
の合焦認識手段と、上記DCT演算手段による演算実行
の範囲を、上記合焦認識手段で合焦の程度を認識するた
めに適用する特定の周波数領域のDCT係数の算出のた
めの演算に限定された範囲にするかまたはこの制限を行
わない範囲にするかを選択切換するための演算範囲切換
手段と、を備えて構成される。
In order to solve the above-mentioned problems, the camera according to the present invention uses an A / D converter for the output signal of the image pickup device.
DCT for each block when a screen related to the video signal is divided into a plurality of blocks in the D-converted digital video signal
DCT calculation means for performing calculation to obtain a DCT coefficient, focus recognition means for recognizing the degree of focus based on the DCT coefficient by the DCT calculation means in a specific frequency range, and the DCT The calculation execution range of the calculation means is set to a range limited to the calculation for calculating the DCT coefficient in a specific frequency domain applied for recognizing the degree of focus by the focus recognition means, or this limitation. And a calculation range switching means for selectively switching whether or not the range is not performed.

【0008】[0008]

【作用】本発明では、DCTを求める演算実行の範囲を
選択切り換えできるようにしている。
According to the present invention, the range of calculation execution for obtaining the DCT can be selectively switched.

【0009】[0009]

【実施例】次に、本発明の実施例について図面を参照し
ながら説明する。図1は、本発明に関連するカメラの一
例を示す構成ブロック図である。図1において、図15
と同一符号が付されている構成部は同様機能を有する構
成部を示す。本例では、バッファメモリ6から、全画面
について、またはAFエリア内について、例えば縦横8
画素のブロックデータをレンズAF演算制御回路30に
供給する。該演算制御回路30は、供給されたブロック
データをDCT演算して変換係数を求める。8画素×8
画素から成るブロックデータをDCT演算して得られる
変換係数Cuvの一例が図2に示されている。図2におい
て、uが大きくなるにつれて、より高い水平周波数成分
となり、vが大きくなるにつれて、より高い垂直周波数
成分となる。したがって、C00がDC成分の大きさを示
し(DC変換係数)、右方向(u:0から7)に向かっ
て水平方向の、より高い高周波成分が、また、C00より
下方向(v:0から7)に向かって垂直方向の、より高
い高周波成分が示されることになる。ここで、DC変換
係数を除いた残りの変換係数をAC変換係数と呼ぶ。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a configuration block diagram showing an example of a camera related to the present invention. In FIG.
Components having the same reference numerals as those in Fig. 1 indicate components having the same function. In this example, from the buffer memory 6, for the entire screen or in the AF area, for example, 8
The pixel block data is supplied to the lens AF calculation control circuit 30. The arithmetic control circuit 30 performs a DCT operation on the supplied block data to obtain a transform coefficient. 8 pixels x 8
FIG. 2 shows an example of the transform coefficient Cuv obtained by performing the DCT operation on the block data composed of pixels. In FIG. 2, the larger u is, the higher the horizontal frequency component is, and the larger v is, the higher the vertical frequency component is. Therefore, C00 indicates the magnitude of the DC component (DC conversion coefficient), and higher high-frequency components in the horizontal direction toward the right (u: 0 to 7) also fall below C00 (from v: 0). Higher high frequency components in the vertical direction will be shown towards 7). Here, the remaining transform coefficients excluding the DC transform coefficients are called AC transform coefficients.

【0010】図3を参照すると、上記の如く得られた変
換係数値に基づくAF制御を、レンズ位置が略無限遠距
離にある場合と最至近距離にある場合とで係数値が小さ
く、合焦位置で係数値がピークを示す特徴を利用して行
なっている。
Referring to FIG. 3, in the AF control based on the conversion coefficient value obtained as described above, the coefficient value is small when the lens position is substantially infinity and at the closest distance, and the focusing is performed. This is done by utilizing the feature that the coefficient value shows a peak at the position.

【0011】次に、本発明によるカメラの一実施例を説
明する。上述のように変換係数値の増減変化を利用して
AF制御が行われるが、AF制御に利用する係数の領域
を固定して、利用する部分のみのAC変換係数をDCT
演算により求めれば合焦速度を向上させることができ
る。例えば、図4のように、斜線部領域(周波数領域を
示す)の変換係数だけをAF制御に利用するようにすれ
ば、斜線部のみのDCT演算で済むので、全領域DCT
演算する場合と比較して約4倍高速化できる。すなわ
ち、AFエリア部のDCT演算や圧縮記録のDCT演算
の範囲を切り換えることができる。
Next, an embodiment of the camera according to the present invention will be described. As described above, the AF control is performed by using the increase / decrease of the conversion coefficient value. However, the area of the coefficient used for the AF control is fixed, and the AC conversion coefficient of only the used portion is DCT
The focusing speed can be improved by calculating. For example, as shown in FIG. 4, if only the conversion coefficient in the shaded area (which indicates the frequency domain) is used for AF control, the DCT calculation of only the shaded area is sufficient, so that the entire area DCT
The speed can be increased by about 4 times compared with the case of calculation. That is, it is possible to switch the range of the DCT calculation of the AF area portion and the DCT calculation of the compressed recording.

【0012】上記実施例では、AF制御に利用する係数
の領域を固定させているが、任意に可変させれば、次の
ような利点も得られる。例えば、AF制御を行う場合、
合焦点が無限遠または最至近方向のどちらにあるのかわ
からないため、レンズを任意の方向に少し駆動し、係数
の増減変化状況を調べ、増方向にレンズを駆動させてA
F制御を行う前処理としての方向判断を行う。
In the above embodiment, the area of the coefficient used for AF control is fixed, but if it is arbitrarily changed, the following advantages can be obtained. For example, when performing AF control,
Since it is not known whether the in-focus point is at infinity or at the closest distance, the lens is driven a little in any direction, the increase / decrease of the coefficient is checked, and the lens is driven in the increasing direction.
Direction determination is performed as pre-processing for F control.

【0013】大ボケ状態時は、レンズを多少駆動させて
も高周波側の変換係数の変化量が小さいため、方向判断
時には、図5(A)の斜線部に示すような低周波側の変
換係数を利用し、AF制御時には、同図(B)の斜線部
に示すような高周波側の変換係数を利用することができ
る。これは、図6に示すように、合焦位置から離れた
(無限遠と最至近に近い)状態では、レンズ位置変化に
対する高周波側変換係数の変化は小さいのに対して低周
波側変換係数の変化が比較的大きく、一方、合焦位置近
傍では高周波側の係数変化が大きいことに着眼してい
る。
In the large blur state, the amount of change in the conversion coefficient on the high frequency side is small even if the lens is driven to some extent. Therefore, when determining the direction, the conversion coefficient on the low frequency side as shown by the shaded area in FIG. 5A. In the AF control, the conversion coefficient on the high frequency side as shown by the hatched portion in FIG. As shown in FIG. 6, in the state away from the in-focus position (close to infinity and the closest point), the change in the high frequency side conversion coefficient with respect to the lens position change is small, whereas the change in the low frequency side conversion coefficient is small. The change is relatively large, and on the other hand, it is noted that the coefficient change on the high frequency side is large near the in-focus position.

【0014】本発明に関連する例においては、AF制御
スタート時にAFエリア内のDCT演算を全て行い、変
換係数の分布を調べ、例えば、垂直側の周波数成分が多
く含まれているようであれば、図7の斜線部に示すよう
に、垂直側の変換係数を主にAF制御に利用する等、自
動的に可変させても良い。ここで、ROM等にある程度
の変換係数パターンを記憶させておき、AF制御毎に最
適のパターンを抽出したり、ファジィ理論を利用して変
換係数の値が高いところのみを抽出してAF制御に用い
ることもできる。
In the example related to the present invention, when the AF control is started, all the DCT operations in the AF area are performed, and the distribution of the conversion coefficients is examined. For example, if a large frequency component on the vertical side is included. As shown by the hatched portion in FIG. 7, the conversion coefficient on the vertical side may be automatically changed, such as mainly used for AF control. Here, the conversion coefficient pattern is stored to some extent in the ROM or the like, and the optimum pattern is extracted for each AF control, or only the portion where the conversion coefficient value is high is extracted by using the fuzzy theory for AF control. It can also be used.

【0015】また、ムービー等、長時間にわたってAF
制御させる際には、DC及びAC変換係数の変化から被
写体像に変化があったとき、その都度AF制御に利用す
る係数の領域パターンを最適なものに可変させることも
できる。
Also, for a long time, such as movies, AF
In the control, when the subject image changes due to the change of the DC and AC conversion coefficients, the area pattern of the coefficient used for the AF control can be changed to the optimum one each time.

【0016】図8には、上述AF制御動作と画像情報と
してのDCT係数の記録動作処理手順が示されている。
先ず、AF動作用の1段目のトリガ入力を待ち(ステッ
プS1)、AF制御に必要なDCT係数のみの演算でA
F制御を行なった後(ステップS2)、AF制御が終了
するのを待つ(ステップS3)。次に、記録動作指示用
の2段目トリガ入力を待ち(ステップS4)、全領域の
DCT係数を演算し(ステップS5)、メモリカード等
の記憶媒体に係数を記録して(ステップS6)、終了す
る。これによって、AF時は必要最小限の演算が行われ
るため、記録動作への移行が速やかに行われ、よってシ
ャッターチャンス等を逃す恐れが軽減できる。
FIG. 8 shows the procedure of the AF control operation and the recording operation of the DCT coefficient as image information.
First, the first stage trigger input for AF operation is waited for (step S1), and only the DCT coefficient necessary for AF control is calculated.
After performing the F control (step S2), it waits for the AF control to end (step S3). Next, the second stage trigger input for recording operation instruction is waited (step S4), the DCT coefficient of the entire area is calculated (step S5), and the coefficient is recorded in a storage medium such as a memory card (step S6). finish. As a result, the minimum necessary calculation is performed during AF, so that the transition to the recording operation is performed quickly, and therefore the risk of missing a photo opportunity or the like can be reduced.

【0017】上述DCT処理は、レンズAF演算制御回
路30内でソフトウェア処理されているが、DCT処理
をハードウェア構成することができることは勿論であ
る。
Although the above-mentioned DCT processing is software-processed in the lens AF arithmetic control circuit 30, it goes without saying that the DCT processing can be configured by hardware.

【0018】次に、本発明に関連する他の例としてフリ
ッカによる悪影響を軽減する例を説明する。この影響
は、DCT演算で得られる係数が光源のフリッカにより
影響を受けることに起因する。前述のフリッカによる偽
合焦動作を図9を参照して説明する。同図の破線で示す
曲線がフリッカがないときのレンズ位置と係数値変化と
の関係を示す特性である。また、実線で示す特性曲線
は、フリッカが存在するときの特性を示すが、フリッカ
に起因して、特性曲線は凹凸が激しく正確な合焦位置か
らずれたレンズ位置で偽ピークが生じ、結果的に偽合焦
動作が生じてしまう。
Next, as another example related to the present invention, an example of reducing the adverse effect of flicker will be described. This effect is due to the fact that the coefficient obtained by the DCT calculation is affected by the flicker of the light source. The false focusing operation due to the flicker will be described with reference to FIG. The curve shown by the broken line in the figure is the characteristic showing the relationship between the lens position and the coefficient value change when there is no flicker. The characteristic curve shown by the solid line shows the characteristic when flicker exists, but due to flicker, the characteristic curve is highly uneven and a false peak occurs at the lens position deviated from the accurate focus position, resulting in False focusing operation will occur.

【0019】本例では、光源の変化量をDC変換係数を
利用してフリッカを抑圧させている。つまり、DC変換
係数は明るいと大きく、暗いと小さくなることを利用
し、AF制御をDC係数の変化を反映させた次式で得ら
れる係数xを用いてAF制御を行う。 x=(AF制御に利用するAC変換係数)×(AF制御
スタート時のDC変換係数)/(現フィールドのDC変
換係数) このような係数xを用いたAF制御によれば、図9に点
線で示すようなフリッカのない滑らかな特性曲線が得ら
れ、安定且つ確実なAF制御が可能となる。また、xの
代わりにy=x×βで示す係数yを用いれば、更にフリ
ッカの影響を抑圧できる。ここで、βは下式で定義され
る係数αに基づいて、図10に示す一例としての変換テ
ーブルから求まる。 α={(AF制御スタート時のDC係数)−(現フィー
ルドのDC係数)}/(AF制御スタート時のDC係
数)×100 [%] βは、明るさに応じて変化するDC変換係数の変化に対
応してその比率どおりにAC係数も変化するとは限らな
いので、これを補償するものであり、実験的に求めるこ
とができる。
In this example, the flicker is suppressed by using the DC conversion coefficient for the variation of the light source. That is, the fact that the DC conversion coefficient is large when it is bright and small when it is dark is used to perform AF control by using the coefficient x obtained by the following equation that reflects the change in the DC coefficient. x = (AC conversion coefficient used for AF control) × (DC conversion coefficient at the start of AF control) / (DC conversion coefficient of current field) According to the AF control using such a coefficient x, the dotted line in FIG. A smooth characteristic curve without flicker as shown by is obtained, and stable and reliable AF control is possible. Further, if a coefficient y represented by y = x × β is used instead of x, the influence of flicker can be further suppressed. Here, β is obtained from the conversion table as an example shown in FIG. 10 based on the coefficient α defined by the following equation. α = {(DC coefficient at the start of AF control)-(DC coefficient at the current field)} / (DC coefficient at the start of AF control) × 100 [%] β is a DC conversion coefficient that changes according to brightness. Since the AC coefficient does not always change in accordance with the change in accordance with the change, the AC coefficient is compensated and can be experimentally obtained.

【0020】次に本発明に関連する更に他の例として、
DCTで得られる変換係数を利用して動体追尾や手ぶれ
補正のデータを得る例を説明する。動体追尾方法として
は、特公昭59ー32743号に、追尾エリアの2次元
の映像信号を各々1次元に投影し、各画像毎の相関を調
べ、相関の高い部分に追尾する方法が開示されている。
この方法では、追尾エリアを大きくすると、相関に使用
するデータ量が増大し、そのため相関演算の時間が長く
なり、追尾性が悪化する恐れがあったり、被写体の形が
急激に変化した場合に相関がとれなくなって追尾不可能
となってしまうこともある。
Next, as still another example related to the present invention,
An example of obtaining data for moving object tracking and camera shake correction using a conversion coefficient obtained by DCT will be described. As a moving body tracking method, Japanese Patent Publication No. Sho 59-32743 discloses a method of projecting a two-dimensional video signal of a tracking area into a one-dimensional image, checking the correlation of each image, and tracking to a highly correlated portion. There is.
With this method, if the tracking area is increased, the amount of data used for correlation increases, which increases the time for correlation calculation, which may deteriorate tracking performance, or when the shape of the subject changes rapidly. Sometimes it becomes impossible to track and it becomes impossible to track.

【0021】本例では、図11において、1画面の映像
をDCT演算し、追尾したい被写体に追尾エリアをロッ
クする。次に、DCT係数中の全AC変換係数の絶対値
の総和を各ブロック毎に求め、この総和が予め定めた閾
値(Th)以上の部分を追尾したい被写体とみなす。ま
た、ノイズ抑圧のため、連続する領域のみを抽出する。
その結果、主要な被写体が抽出できる。
In this example, in FIG. 11, the DCT operation is performed on the image of one screen, and the tracking area is locked to the subject to be tracked. Next, the sum of the absolute values of all the AC conversion coefficients in the DCT coefficient is obtained for each block, and a portion where the sum is equal to or greater than a predetermined threshold value (Th) is regarded as a subject to be tracked. In addition, for noise suppression, only continuous areas are extracted.
As a result, the main subject can be extracted.

【0022】図12中の式に示す閾値Thとの関係を満
足するブロックが同図の斜線領域で示されている。これ
ら斜線領域の中で図11で示した追尾エリア内にあるも
のは、部分gであるから、次画面からは、部分gの被写
体を追尾すれば良い。また、gの被写体の大きさが変化
した場合には、その変化に伴い追尾エリアも逐次変化さ
せることもできる。更に、高速化のために全画面DCT
変換せずに、追尾エリアや追尾エリア周辺のみをDCT
演算するようにしても良い。また、上記閾値Thは、任
意の固定値としても良いし、追尾エリア内、外の全AC
変換係数の絶対値の総和の差分量を見て、例えば、ファ
ジィ等に基づく演算により、自動的に求め、逐次可変さ
せても良い。
Blocks that satisfy the relationship with the threshold value Th shown in the equation in FIG. 12 are shown by the shaded areas in FIG. Of these shaded areas, the portion within the tracking area shown in FIG. 11 is the portion g, so that the subject in the portion g may be tracked from the next screen. Further, when the size of the subject g is changed, the tracking area can be sequentially changed along with the change. In addition, full screen DCT for higher speed
DCT only the tracking area and the area around the tracking area without conversion
You may make it calculate. Further, the threshold Th may be an arbitrary fixed value, or all ACs inside and outside the tracking area.
The difference amount of the total sum of the absolute values of the conversion coefficients may be checked, and automatically calculated by, for example, fuzzy calculation or the like, and may be sequentially changed.

【0023】図12の式では、全AC変換係数の絶対値
の総和としているが、各種条件(被写体の絵柄、背景、
被写体輝度、合焦度合等)を加味し、各条件に最適な領
域に係るAC変換係数のみの絶対値の総和としても良
い。また、AF制御時に使用する領域のAC変換係数の
絶対値の総和としても良い。この最適な領域に係るAC
変換係数は、AC変換係数の分布状況により演算で求め
たり、任意の固定係数を利用できる。更に、上述説明で
は、閾値(Th)以上を被写体とみなしたが、条件によ
って(Th)以下を被写体とみなしても良い。また、D
C係数を利用していないが、DC係数の変化のみに着目
して被写体を抽出しても良いし、DC係数とAC係数の
両変化を総合的に判断して被写体を抽出しても良い。
In the formula of FIG. 12, the sum of the absolute values of all AC conversion coefficients is used, but various conditions (picture of subject, background,
The subject brightness, the degree of focus, etc.) may be taken into consideration, and the sum of the absolute values of only the AC conversion coefficients relating to the optimum region for each condition may be used. Further, it may be the sum of absolute values of the AC conversion coefficients in the area used during AF control. AC related to this optimum area
The conversion coefficient can be calculated by the distribution of the AC conversion coefficient or an arbitrary fixed coefficient can be used. Further, in the above description, the threshold value (Th) or more is regarded as the subject, but the condition (Th) or less may be regarded as the subject depending on conditions. Also, D
Although the C coefficient is not used, the subject may be extracted by focusing only on the change of the DC coefficient, or the subject may be extracted by comprehensively judging both the changes of the DC coefficient and the AC coefficient.

【0024】以上のようにして、動体追尾や任意の被写
体の抽出が可能となる。このような被写体抽出を利用し
て、画面のズレ量(例えば、手ぶれ量)を検出すること
もできる。例えば、図13(A)のように、画面の4隅
に適切なエリアi,j,k,lを定めておき、図12の
式により各4隅の被写体を抽出し(同図(B)に示
す)、次画面(図14(A))でも同様な処理を行っ
て、図14(B)のような被写体パターンを得る。次
に、図13(B)と図14(B)の各4隅のパターンマ
ッチング処理を行い画面のズレ量を検出する。
As described above, it is possible to track a moving body and extract an arbitrary subject. By using such subject extraction, it is possible to detect the amount of screen shift (for example, the amount of camera shake). For example, as shown in FIG. 13A, appropriate areas i, j, k, and 1 are defined at the four corners of the screen, and the subject at each of the four corners is extracted by the formula in FIG. 12 (FIG. 14B) and the next screen (FIG. 14A), the same processing is performed to obtain a subject pattern as shown in FIG. 14B. Next, pattern matching processing is performed on each of the four corners of FIGS. 13B and 14B to detect the amount of screen misalignment.

【0025】上述例では、DCT対象エリアとして4隅
を設定したが、画像ズレ量検出のためには、最低1つの
エリアがあれば良いことは明らかであり、また、その数
やDCTを行うブロックのサイズ(本例では、8×8画
素)も任意であり、コストや精度を考慮して設定するこ
とができる。
In the above example, the four corners are set as the DCT target areas, but it is clear that at least one area is enough for detecting the image shift amount, and the number and the block for performing DCT. (8 × 8 pixels in this example) is also arbitrary, and can be set in consideration of cost and accuracy.

【0026】以上本実施例によれば、特別なハードウェ
アを追加することなく、高速且つ正確な合焦制御が可能
となる。本発明は電子スチルカメラは勿論、ムービー用
カメラ等の他のカメラにも適用できることは明らかであ
る。
As described above, according to this embodiment, high-speed and accurate focusing control can be performed without adding special hardware. It is obvious that the present invention can be applied not only to electronic still cameras, but also to other cameras such as movie cameras.

【0027】[0027]

【発明の効果】以上説明したように、本発明によるカメ
ラによれば合焦動作の高速化及び高精度化が図られるだ
けでなく、DCT演算範囲を任意に設定できる。
As described above, according to the camera of the present invention, not only the focusing operation can be speeded up and the accuracy can be improved, but also the DCT calculation range can be arbitrarily set.

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

【図1】本発明に関連するカメラの一例を示す構成ブロ
ック図である。
FIG. 1 is a configuration block diagram showing an example of a camera related to the present invention.

【図2】縦横8画素のブロックデータについてDCT演
算して得られる変換係数を示す図である。
FIG. 2 is a diagram showing transform coefficients obtained by performing a DCT operation on block data of vertical and horizontal 8 pixels.

【図3】DCTにより得られた変換係数に基づくAF制
御を説明するための図である。
FIG. 3 is a diagram for explaining AF control based on a conversion coefficient obtained by DCT.

【図4】本発明の実施例におけるAF制御に利用する係
数領域を固定する例を示す図である。
FIG. 4 is a diagram showing an example of fixing a coefficient region used for AF control in the embodiment of the present invention.

【図5】本発明に関連する例におけるAF制御の際のレ
ンズ駆動方向判断時とAF制御時の利用する変換係数領
域を示す図である。
FIG. 5 is a diagram showing conversion coefficient regions used at the time of determining a lens drive direction and at the time of AF control in AF control in an example related to the present invention.

【図6】レンズ位置と、高周波変換係数及び低周波変換
係数との関係を示す図である。
FIG. 6 is a diagram showing a relationship between a lens position and a high frequency conversion coefficient and a low frequency conversion coefficient.

【図7】本発明に関連する例における変換係数の分布の
一例を示す図である。
FIG. 7 is a diagram showing an example of distribution of transform coefficients in an example related to the present invention.

【図8】本発明に関連する例におけるAF制御動作と画
像情報の記録動作処理手順を示す図である。
FIG. 8 is a diagram showing an AF control operation and an image information recording operation processing procedure in an example related to the present invention.

【図9】フリッカの有無によるAF制御におけるレンズ
位置と変換係数との関係を示す図である。
FIG. 9 is a diagram showing a relationship between a lens position and a conversion coefficient in AF control depending on the presence or absence of flicker.

【図10】本発明に関連する他の例における係数αとβ
との変換テーブルの一例を示す図である。
FIG. 10 shows coefficients α and β in another example related to the present invention.
It is a figure which shows an example of the conversion table with.

【図11】本発明に関連する更に他の例における動作追
尾方法を説明するための図である。
FIG. 11 is a diagram for explaining an operation tracking method in still another example related to the present invention.

【図12】図11に示す例の動作を説明するための図で
ある。
FIG. 12 is a diagram for explaining the operation of the example shown in FIG. 11.

【図13】図11に示す例の動作を説明するための図で
ある。
FIG. 13 is a diagram for explaining the operation of the example shown in FIG. 11.

【図14】図11に示す例の動作を説明するための図で
ある。
FIG. 14 is a diagram for explaining the operation of the example shown in FIG.

【図15】従来のAF制御に基づくカメラの一構成ブロ
ック図である。
FIG. 15 is a configuration block diagram of a conventional camera based on AF control.

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

1 レンズ駆動回路 2 レンズ 3 CCD 4 撮像プロセス回路 5 A/Dコンバータ 6、21 バッファメモリ 7 パルス発生回路 8 DCT回路 9、10 量子化回路 11 遅延回路 12 減算回路 13 ジグザグ走査回路 14、15 符号化回路 16 合成回路 17 記録装置 18 システム制御回路 30、40 レンズAF制御回路 DESCRIPTION OF SYMBOLS 1 lens drive circuit 2 lens 3 CCD 4 imaging process circuit 5 A / D converter 6, 21 buffer memory 7 pulse generation circuit 8 DCT circuit 9, 10 quantization circuit 11 delay circuit 12 subtraction circuit 13 zigzag scanning circuit 14, 15 encoding Circuit 16 Composite circuit 17 Recording device 18 System control circuit 30, 40 Lens AF control circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】撮像素子の出力信号をA/D変換してなる
デジタル映像信号に該映像信号に係る画面を複数ブロッ
クに分割したときのブロック毎にDCT演算を施してD
CT係数を得るためのDCT演算手段と、 上記DCT演算手段によるDCT係数のうち特定の周波
数領域のものに基づいて合焦の程度を認識するための合
焦認識手段と、 上記DCT演算手段による演算実行の範囲を、上記合焦
認識手段で合焦の程度を認識するために適用する特定の
周波数領域のDCT係数の算出のための演算に限定され
た範囲にするか又はこの制限を行わない範囲にするかを
選択切換するための演算範囲切換手段と、 を備えたことを特徴とするカメラ。
1. A digital video signal obtained by A / D converting an output signal of an image pickup device is subjected to a DCT operation for each block when a screen relating to the video signal is divided into a plurality of blocks, and D
DCT calculating means for obtaining a CT coefficient, focus recognizing means for recognizing the degree of focusing on the basis of the DCT coefficient by the DCT calculating means in a specific frequency range, and calculation by the DCT calculating means The range of execution is set to a range limited to the calculation for calculating the DCT coefficient in a specific frequency domain applied for recognizing the degree of focusing by the focus recognizing means, or a range not performing this limitation. A camera, comprising: a calculation range switching means for selectively switching whether or not to set.
JP33097593A 1993-12-27 1993-12-27 camera Expired - Fee Related JP3279417B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33097593A JP3279417B2 (en) 1993-12-27 1993-12-27 camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33097593A JP3279417B2 (en) 1993-12-27 1993-12-27 camera

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP04860493A Division JP3280452B2 (en) 1993-02-15 1993-02-15 camera

Publications (2)

Publication Number Publication Date
JPH06303490A true JPH06303490A (en) 1994-10-28
JP3279417B2 JP3279417B2 (en) 2002-04-30

Family

ID=18238444

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33097593A Expired - Fee Related JP3279417B2 (en) 1993-12-27 1993-12-27 camera

Country Status (1)

Country Link
JP (1) JP3279417B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005040570B4 (en) * 2004-12-09 2009-01-22 Samsung Electro-Mechanics Co., Ltd., Suwon An image compression device and a method of changing the quantization parameters according to the image complexity
US7502523B2 (en) 2004-12-09 2009-03-10 Samsung Electro-Mechanics Co., Ltd. Auto focusing apparatus and method using discrete cosine transform coefficients
US7773828B2 (en) 2005-01-13 2010-08-10 Olympus Imaging Corp. Method and device for stabilizing an image by applying an affine transform based on a weighted average of motion vectors
US7990417B2 (en) 2006-03-16 2011-08-02 Hoya Corporation Targeted object pursuit system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005040570B4 (en) * 2004-12-09 2009-01-22 Samsung Electro-Mechanics Co., Ltd., Suwon An image compression device and a method of changing the quantization parameters according to the image complexity
US7502523B2 (en) 2004-12-09 2009-03-10 Samsung Electro-Mechanics Co., Ltd. Auto focusing apparatus and method using discrete cosine transform coefficients
US7773828B2 (en) 2005-01-13 2010-08-10 Olympus Imaging Corp. Method and device for stabilizing an image by applying an affine transform based on a weighted average of motion vectors
US7990417B2 (en) 2006-03-16 2011-08-02 Hoya Corporation Targeted object pursuit system

Also Published As

Publication number Publication date
JP3279417B2 (en) 2002-04-30

Similar Documents

Publication Publication Date Title
US10027877B2 (en) Image pickup apparatus to perform scanning of focus lens
JP4896852B2 (en) Autofocus control circuit, autofocus control method, and imaging apparatus
KR100893419B1 (en) Imaging apparatus and imaging method
JP4636887B2 (en) Optical equipment
US5926224A (en) Imaging, system, video processing apparatus, encoding apparatus, encoding method, and method of removing random noise
KR20100048856A (en) A device, a method, and a computer-readable storage medium for reducing noise
JP2957800B2 (en) Automatic focusing device
JP3279420B2 (en) camera
JPH06303490A (en) Camera
JPH06245129A (en) Camera
JP3279421B2 (en) camera
US6677994B1 (en) Image processing apparatus method of the same and camera apparatus
JP3504705B2 (en) camera
JP3280452B2 (en) camera
KR20100044073A (en) An image pickup apparatus
JP3279419B2 (en) camera
JPH06245131A (en) Camera
JP2008160189A (en) Motion vector calculation apparatus, method and program, moving image compressiong and recording apparatus, and imaging apparatus
JP3176649B2 (en) Imaging device
JP3121044B2 (en) Imaging device
JPH10155106A (en) Electronic image pickup device
JP3125257B2 (en) Automatic focusing device for imaging device
JP3176650B2 (en) Auto focus method
JP7020387B2 (en) Imaging control device, imaging device and imaging control program
JP2894335B2 (en) Image encoding device, method, and recording medium recording program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020205

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090222

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100222

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120222

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees