JP3279421B2 - camera - Google Patents

camera

Info

Publication number
JP3279421B2
JP3279421B2 JP33098193A JP33098193A JP3279421B2 JP 3279421 B2 JP3279421 B2 JP 3279421B2 JP 33098193 A JP33098193 A JP 33098193A JP 33098193 A JP33098193 A JP 33098193A JP 3279421 B2 JP3279421 B2 JP 3279421B2
Authority
JP
Japan
Prior art keywords
dct
coefficient
control
coefficients
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.)
Expired - Fee Related
Application number
JP33098193A
Other languages
Japanese (ja)
Other versions
JPH06245138A (en
Inventor
一也 小林
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 Optic 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 Optic Co Ltd filed Critical Olympus Optic Co Ltd
Priority to JP33098193A priority Critical patent/JP3279421B2/en
Publication of JPH06245138A publication Critical patent/JPH06245138A/en
Application granted granted Critical
Publication of JP3279421B2 publication Critical patent/JP3279421B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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, and contrast information is detected from the electric signal so that the detected contrast information value is maximized. There is one that performs feedback control of the position of an optical system. Autofocus control by such a method is used for a video camera or 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を制御するための
水平、垂直同期信号等の各種パルスを生成する。
FIG. 15 shows a configuration of a conventional still video camera.
Is shown in The position of the lens 2 is driven and controlled by a lens driving circuit 1, and a subject image is captured by a CCD as an image sensor.
3 is imaged. The image signal converted into an electric signal by the CCD 3 is subjected to processing such as γ correction and color separation in an imaging process circuit 4, and is converted into digital data by an A / D converter (ADC) 5. Will be recorded. As is well known, block data of N pixels (for example, 8 pixels) is read from the buffer memory 6 and subjected to orthogonal transform processing in a DCT (discrete cosine transform) circuit 8. The DC transform coefficient obtained by the orthogonal transform by the DCT circuit 8 is supplied to the quantization circuit 9 and the lens AF control circuit 40, while the AC transform coefficient is converted to 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 is maximized. Focus control. The pulse generation (SSG) circuit 7 includes a CCD 3,
Various pulses such as horizontal and vertical synchronization 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 a delay circuit 11 and a subtraction circuit 12, and a prediction error is obtained as an output of the subtraction circuit 12. This prediction error is encoded by the encoding circuit 14 and output to the synthesizing circuit 16. On the other hand, the AC transform coefficients quantized by the quantization circuit 10 are subjected to coefficient rearrangement processing by a so-called zigzag scanning circuit 13, then encoded by an encoding circuit 15, and output to a synthesis circuit 16. D synthesized by the synthesis circuit 16
The prediction error of the C conversion coefficient and the AC conversion coefficient are stored in the recording device 1
7 recorded. The entire sequence of these components is controlled by the system control circuit 18. The DCT circuit 8 is often used at the time of image encoding, and if contrast information is detected by the DCT circuit,
Since the DCT circuit can be shared, the configuration is simplified and the cost is reduced.

【0005】[0005]

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

【0006】そこで、本発明の目的は、簡易な構成を維
持するも高速且つ高精度な合焦を可能とするだけでなく
手ぶれを認識するカメラを提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a camera which not only enables high-speed and high-precision focusing while maintaining a simple structure, but also recognizes camera shake.

【0007】[0007]

【課題を解決するための手段】前述の課題を解決するた
め、本発明によるカメラは、撮像素子の出力信号をA/
D変換してなるデジタル映像信号に該映像信号に係る画
面を複数ブロックに分割したときのブロック毎にDCT
演算を施してDCT係数を得るためのDCT演算手段
と、上記DCT演算手段により得たDCT係数について
交流域に対応する全係数の総和を上記ブロック毎に算出
するための交流係数総和演算手段と、上記交流係数総和
演算手段による交流係数の総和が所定の閾値を越える上
記ブロック乃至その集合であって上記画面内に設定され
た複数の特定領域内に在るもののパターンを特定パター
ンとして認識するための特定パターン認識手段と、上記
特定パターン認識手段によって認識される特定パターン
に関する時系列でのパターンマッチングによって手ぶれ
の状況如何を認識する手ぶれ認識手段と、を備えて構成
される。
In order to solve the above-mentioned problems, a camera according to the present invention uses an output signal of an image pickup device for A / A.
When a screen related to the video signal is divided into a plurality of blocks, a DCT
DCT calculating means for performing a calculation to obtain a DCT coefficient; AC coefficient sum calculating means for calculating, for each block, a sum of all coefficients corresponding to an AC region with respect to the DCT coefficient obtained by the DCT calculating means; A block for recognizing, as a specific pattern, a pattern of the blocks or a set of the blocks whose total sum of the AC coefficients exceeds a predetermined threshold value by the AC coefficient sum calculating means and which is in a plurality of specific areas set in the screen. It is provided with a specific pattern recognizing means, and a camera shake recognizing means for recognizing whether or not a camera shake is to occur by performing time-series pattern matching on the specific pattern recognized by the specific pattern recognizing means.

【0008】[0008]

【作用】本発明では、DCT演算手段により得たDCT
係数について交流域に対応する全係数の総和を画面のブ
ロック毎に算出し、交流係数の総和が所定の閾値を越え
るブロックについての特定パターンを認識し、特定パタ
ーンに関する時系列でのパターンマッチングによって手
ぶれの状況如何を認識する手ぶれ認識機能を有する。
According to the present invention, the DCT obtained by the DCT operation means is used.
The sum of all coefficients corresponding to the AC area is calculated for each block on the screen, the specific pattern is recognized for blocks where the sum of the AC coefficients exceeds a predetermined threshold, and camera shake is performed by time-series pattern matching for the specific pattern. Camera shake recognition function for recognizing the situation of

【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変換係数と呼ぶ。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a configuration block diagram illustrating an example of a camera related to the present invention. In FIG. 1, FIG.
The components denoted by the same reference numerals indicate components having the same function. In the present example, the entire screen or the inside of the AF area, for example, 8
The pixel block data is supplied to the lens AF calculation control circuit 30. The operation 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 a transform coefficient Cuv obtained by performing a DCT operation on block data composed of pixels. In FIG. 2, as u increases, the horizontal frequency component becomes higher, and as v increases, the vertical frequency component becomes higher. Therefore, C00 indicates the magnitude of the DC component (DC conversion coefficient), and higher high frequency components in the horizontal direction toward the right direction (u: 0 to 7) are also lower than C00 (from v: 0). Higher high frequency components in the vertical direction towards 7) will be shown. Here, the remaining transform coefficients excluding the DC transform coefficients are referred to as AC transform coefficients.

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

【0011】このように変換係数値の増減変化を利用し
てAF制御が行われるが、AF制御に利用する係数の領
域を固定して、利用する部分のみのAC変換係数をDC
T演算により求めれば合焦速度を向上させることができ
る。例えば、図4のように、斜線部領域(周波数領域を
示す)の変換係数だけをAF制御に利用するようにすれ
ば、斜線部のみのDCT演算で済むので、全領域DCT
演算する場合と比較して約4倍高速化できる。
As described above, AF control is performed using the increase / decrease change of the conversion coefficient value. The area of the coefficient used for AF control is fixed, and the AC conversion coefficient of only the part to be used is converted to DC.
The focusing speed can be improved if it is obtained by T calculation. For example, as shown in FIG. 4, if only the transform coefficients in the shaded area (indicating the frequency domain) are used for the AF control, only the shaded area needs to be subjected to the DCT operation.
The speed can be increased about four times as compared with the case where the calculation is performed.

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

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

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

【0015】また、ムービー等、長時間にわたってAF
制御させる際には、DC及びAC変換係数の変化から被
写体像に変化があったとき、その都度AF制御に利用す
る係数の領域パターンを最適なものに可変させることも
できる。
For a long time, such as a movie,
At the time of control, when there is a change in the subject image due to a change in the DC and AC conversion coefficients, the area pattern of the coefficient used for AF control can be changed to an 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 a procedure of the above-described AF control operation and a recording operation processing of a DCT coefficient as image information.
First, a trigger input of the first stage for the AF operation is waited (step S1), and A is calculated by calculating only the DCT coefficient necessary for the AF control.
After performing the F control (step S2), it waits for the AF control to end (step S3). Next, a second-step trigger input for recording operation instruction is waited (step S4), DCT coefficients of all areas are calculated (step S5), and the coefficients are recorded on a storage medium such as a memory card (step S6). finish. As a result, since the minimum necessary calculation is performed during AF, the transition to the recording operation is performed promptly, and the risk of missing a photo opportunity or the like can be reduced.

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

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

【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 embodiment, flicker is suppressed by using a DC conversion coefficient for the amount of change of the light source. That is, taking advantage of the fact that the DC conversion coefficient is large when it is bright and small when it is dark, the AF control is performed 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 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. As a result, a smooth characteristic curve free from flicker is obtained, and stable and reliable AF control becomes possible. If the coefficient y represented by y = x × β is used instead of x, the influence of flicker can be further suppressed. Here, β is obtained from a conversion table as an example shown in FIG. 10 based on a coefficient α defined by the following equation. α = {(DC coefficient at start of AF control) − (DC coefficient of current field)} / (DC coefficient at 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 for and can be obtained experimentally.

【0020】次に本発明に関連して、DCTで得られる
変換係数を利用して動体追尾や手ぶれ補正のデータを得
る例を説明する。動体追尾方法としては、特公昭59ー
32743号に、追尾エリアの2次元の映像信号を各々
1次元に投影し、各画像毎の相関を調べ、相関の高い部
分に追尾する方法が開示されている。この方法では、追
尾エリアを大きくすると、相関に使用するデータ量が増
大し、そのため相関演算の時間が長くなり、追尾性が悪
化する恐れがあったり、被写体の形が急激に変化した場
合に相関がとれなくなって追尾不可能となってしまうこ
ともある。
Next, in connection with the present invention, an example of obtaining data for moving object tracking and camera shake correction using a transform coefficient obtained by DCT will be described. As a moving object tracking method, Japanese Patent Publication No. 59-32743 discloses a method of projecting a two-dimensional video signal of a tracking area one-dimensionally, checking a correlation of each image, and tracking a portion having a high correlation. I have. In this method, when the tracking area is enlarged, the amount of data used for correlation increases, and therefore, the time required for the correlation calculation increases, and tracking performance may be degraded. In some cases, tracking becomes impossible due to loss of tracking.

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

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

【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 the AC conversion coefficients is used.
Considering the subject brightness, the degree of focusing, etc.), the sum of the absolute values of only the AC conversion coefficients related to the area optimal for each condition may be used. Alternatively, the sum of the absolute values of the AC conversion coefficients in the area used during the AF control may be used. AC for this optimal region
The conversion coefficient can be obtained by calculation according to the distribution state of the AC conversion coefficient, or an arbitrary fixed coefficient can be used. Further, in the above description, the subject is regarded as being equal to or greater than the threshold (Th), but may be regarded as being subject according to 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 changes of the DC coefficient and the AC coefficient. As described above, tracking of a moving object and extraction of an arbitrary subject can be performed.

【0024】次に、このような被写体抽出を利用して、
画面のズレ量(例えば、手ぶれ量)を検出する本発明の
実施例について説明する。例えば、図13(A)のよう
に、画面の4隅に適切なエリアi,j,k,lを定めて
おき、図12の式により各4隅の被写体を抽出し(同図
(B)に示す)、次画面(図14(A))でも同様な処
理を行って、図14(B)のような被写体パターンを得
る。次に、図13(B)と図14(B)の各4隅のパタ
ーンマッチング処理を行い画面のズレ量を検出する。
Next, utilizing such subject extraction,
An embodiment of the present invention for detecting a screen shift amount (for example, a camera shake amount) will be described. For example, as shown in FIG. 13A, appropriate areas i, j, k, and l are defined in four corners of the screen, and subjects at each of the four corners are extracted by the equation in FIG. 12 (FIG. 13B). The same process is performed on the next screen (FIG. 14A) to obtain a subject pattern as shown in FIG. 14B. Next, a pattern matching process is performed on each of the four corners in FIGS. 13B and 14B to detect the amount of screen shift.

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

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

【0027】[0027]

【発明の効果】以上説明したように、本発明によるカメ
ラによれば合焦動作の高速化及び高精度化が図られるだ
けでなく手ぶれを認識することもできる。
As described above, according to the camera of the present invention, not only the focusing operation can be performed at high speed and high precision, but also the camera shake can be recognized.

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

【図1】本発明に関連するカメラの一例を示す構成ブロ
ック図である。
FIG. 1 is a configuration block diagram illustrating 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 8 pixels in length and width.

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

【図4】AF制御に利用する係数領域を固定する例を示
す図である。
FIG. 4 is a diagram illustrating an example in which a coefficient area used for AF control is fixed.

【図5】AF制御の際のレンズ駆動方向判断時とAF制
御時の利用する変換係数領域を示す図である。
FIG. 5 is a diagram illustrating a conversion coefficient area used when determining a lens driving direction during AF control and during AF control.

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

【図7】変換係数の分布の一例を示す図である。FIG. 7 is a diagram illustrating an example of a distribution of conversion coefficients.

【図8】AF制御動作と画像情報の記録動作処理手順を
示す図である。
FIG. 8 is a diagram showing an AF control operation and an image information recording operation processing procedure.

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

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

【図11】本発明に関する動作追尾方法を説明するため
の図である。
FIG. 11 is a diagram for explaining an operation tracking method according to the present invention.

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

【図13】本発明の実施例の動作を説明するための図で
ある。
FIG. 13 is a diagram for explaining the operation of the embodiment of the present invention.

【図14】本発明の実施例の動作を説明するための図で
ある。
FIG. 14 is a diagram for explaining the operation of the embodiment of the present invention.

【図15】従来のAF制御に基づくカメラの一構成ブロ
ック図である。
FIG. 15 is a block diagram of one configuration of a camera based on conventional 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制御回路 REFERENCE SIGNS LIST 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 Synthesis circuit 17 Recording device 18 System control circuit 30, 40 Lens AF control circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】撮像素子の出力信号をA/D変換してなる
デジタル映像信号に該映像信号に係る画面を複数ブロッ
クに分割したときのブロック毎にDCT演算を施してD
CT係数を得るためのDCT演算手段と、 上記DCT演算手段により得たDCT係数について交流
域に対応する全係数の総和を上記ブロック毎に算出する
ための交流係数総和演算手段と、 上記交流係数総和演算手段による交流係数の総和が所定
の閾値を越える上記ブロック乃至その集合であって上記
画面内に設定された複数の特定領域内に在るもののパタ
ーンを特定パターンとして認識するための特定パターン
認識手段と、 上記特定パターン認識手段によって認識される特定パタ
ーンに関する時系列でのパターンマッチングによって手
ぶれの状況如何を認識する手ぶれ認識手段と、 を備えたことを特徴とするカメラ。
1. A digital video signal obtained by A / D conversion of an output signal of an image sensor is subjected to a DCT operation for each block when a screen related to the video signal is divided into a plurality of blocks.
DCT calculating means for obtaining CT coefficients; AC coefficient sum calculating means for calculating, for each block, a sum of all coefficients corresponding to an AC region for the DCT coefficients obtained by the DCT calculating means; A specific pattern recognizing means for recognizing, as a specific pattern, a pattern of a block or a set thereof, in which the sum of the AC coefficients exceeds a predetermined threshold value, and which is present in a plurality of specific areas set in the screen; And a camera shake recognizing means for recognizing whether or not a camera shake is caused by time-series pattern matching of the specific pattern recognized by the specific pattern recognizing means.
JP33098193A 1993-12-27 1993-12-27 camera Expired - Fee Related JP3279421B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33098193A JP3279421B2 (en) 1993-12-27 1993-12-27 camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33098193A JP3279421B2 (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
JPH06245138A JPH06245138A (en) 1994-09-02
JP3279421B2 true JP3279421B2 (en) 2002-04-30

Family

ID=18238507

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP3279421B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3424440B2 (en) * 1996-06-11 2003-07-07 ミノルタ株式会社 Camera with image stabilization function
KR100938423B1 (en) * 2003-07-23 2010-01-22 엘지전자 주식회사 Method for correcting a camera phone's shaking
KR100974685B1 (en) * 2003-07-29 2010-08-06 엘지전자 주식회사 Hand quake correction method for camera of mobile communication terminal
KR100924581B1 (en) * 2007-12-28 2009-10-30 (주)네스테크놀로지 Apparatus for image signal motion detection

Also Published As

Publication number Publication date
JPH06245138A (en) 1994-09-02

Similar Documents

Publication Publication Date Title
US7755664B2 (en) Image pickup apparatus
US6738197B2 (en) Autofocusing apparatus
US20090009651A1 (en) Imaging Apparatus And Automatic Focus Control Method
KR101579736B1 (en) A device a method and a computer-readable storage medium for reducing noise
JP4636887B2 (en) Optical equipment
JP3683358B2 (en) Camcorder motion vector detection apparatus and motion vector detection method
JP3279420B2 (en) camera
JP2957800B2 (en) Automatic focusing device
JP3279421B2 (en) camera
JP3279417B2 (en) camera
JP3279418B2 (en) camera
JP4898151B2 (en) Imaging apparatus and imaging method
JP3280452B2 (en) camera
JP3279419B2 (en) camera
JP3504705B2 (en) camera
JP4969349B2 (en) Imaging apparatus and imaging method
JP4871664B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JPH06245131A (en) Camera
JP2002330335A (en) Still picture image pickup device
JPH10155106A (en) Electronic image pickup device
US11012609B2 (en) Image pickup apparatus and its control method, and storage medium
JP7020387B2 (en) Imaging control device, imaging device and imaging control program
JP3263061B2 (en) Focus adjustment device
JP3176650B2 (en) Auto focus method
JP2004325833A (en) Camera and focusing method

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