[go: up one dir, main page]

JP2004070226A - Image pickup device - Google Patents

Image pickup device Download PDF

Info

Publication number
JP2004070226A
JP2004070226A JP2002232864A JP2002232864A JP2004070226A JP 2004070226 A JP2004070226 A JP 2004070226A JP 2002232864 A JP2002232864 A JP 2002232864A JP 2002232864 A JP2002232864 A JP 2002232864A JP 2004070226 A JP2004070226 A JP 2004070226A
Authority
JP
Japan
Prior art keywords
image data
unit
processing
dct
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2002232864A
Other languages
Japanese (ja)
Inventor
Akira Sawamura
沢村 陽
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.)
Rohm Co Ltd
Original Assignee
Rohm 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 Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2002232864A priority Critical patent/JP2004070226A/en
Publication of JP2004070226A publication Critical patent/JP2004070226A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Focusing (AREA)
  • Automatic Focus Adjustment (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To simplify the constitution for AF processing by using the result of DCT processing in small block units (8×8) for AF processing and to improve AF accuracy by appropriately evaluating a high frequency component in accordance with the frequency thereof. <P>SOLUTION: Image data are DCT-processed in a two-dimensional DCT part for every specified block, quantized according to a quantization modulus and outputted as compressed image data. In an image pickup device having such a data compressing part, evaluation processing decided corresponding to the frequency component of the data is performed to the converted image data obtained by the two-dimensional DCT part, the converted image data processed to be evaluated are integrated, and an AF control signal is formed on the basis of an integrated value. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタルスチルカメラ等の撮像装置に関し、特にそのカメラの焦点を自動的に合焦(オートフォーカス;AF)させるためのAF制御部を有する撮像装置に関する。
【0002】
【従来の技術】
ディジタルスチルカメラ等では、その焦点を自動的に位置合わせするために、赤外線や超音波を用いるアクティブ形式のAF方式や、特別な測距部品を必要としないパッシブ形式のAF方式としてイメージセンサからの画像入力の隣接する画素間の差分を求め、その差分値が最大になるように調節するAF方式が用いられている。
【0003】
また、パッシブ形式のAF方式として、特開2000−165734号公報に示されるように、レンズ位置において撮像して得られる画像データに対して、DCT(ディスクリート・コサイン変換:Discrete Cosine Transform)を行って、その変換結果によりAF制御を行うことが行われるようになってきている。
【0004】
この従来のDCTを用いたAF制御は、初期焦点レンズ位置において撮像して得られる画像データに対してDCT処理を施し、変換された画像のDCT係数の平均値を波数毎に求めて波数昇順に整列し、その平均値列から局所最小値を持つ波数を探索し、探索された波数をデフォーカスパラメータとしてAF位置をワンショットで決定している。また、このAF位置に対して画像の高周波成分による山登り法を利用して、AF位置を更に細かく決定するようにしている。
【0005】
【発明が解決しようとする課題】
従来のDCTを用いたAF制御は、上述のような処理を行うために、AF時にかなり大きなAFエリア(256×256画素分)についてDCT処理を行う必要がある。また、DCT処理を行ったデータの高周波成分を単に積算しているのみであるから、高周波成分の評価が適切に行われない。
【0006】
そこで、本発明は、撮影された画像データに対してMPEG、JPEGなどのデータ圧縮処理に用いられる小さいブロック単位(8×8画素分)でのDCT処理部からの信号をAF処理に利用することによりAF処理のための構成を簡略化するとともに、高周波成分の評価をその周波数に応じて適切に行うことによりAF精度を向上するようにしたAF制御部を有する撮像装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
請求項1記載の撮像装置は、レンズ及びその駆動部を持つレンズ系と、
このレンズ系からの光によって被写体像を結像するイメージセンサと、
このイメージセンサからの被写体像に応じた画像データを出力するフロントエンド部と、
このフロントエンド部からの画像データを所定のブロック毎にDCT部でDCT処理を行って周波数成分毎に区分された変換画像データを得、この変換画像データに量子化部にてその周波数区分に対応して設定されている量子化係数に従って量子化処理を施し、圧縮画像データとして出力するデータ圧縮部とを有する撮像装置において、
さらに、前記DCT部で得られる変換画像データに基づいて、AF制御信号を作成し、前記レンズ系に供給するAF制御部を有し、
このAF制御部は、前記変換画像データにその周波数成分に対応して決定されている評価処理を施し、その評価処理された変換画像データを積算して、その積算値に基づいて前記AF制御信号を形成することを特徴とする。
【0008】
本発明の撮像装置によれば、撮影された画像データに対してMPEG、JPEGなどの圧縮処理のために行われる小さいブロック単位(例えば、8×8画素分)でのDCT処理結果である変換画像データをAF処理に利用することにより、AF処理のための構成を簡略化できる。また、変換画像データの評価をその周波数成分に対応して決定されている評価処理基準に基づいて、高周波成分毎の評価を適切に行うことによりAF精度を向上することができる。
【0009】
また、上述のように、圧縮処理の際のDCT処理結果をAF制御に利用するから、AFのために新たな構成を付加することがないとともに、画像エリア内の小さなブロック単位で焦点調節、即ちスポットフォーカスを行うことが、可能である。
【0010】
【発明の実施の形態】
以下、図面を参照して本発明のAF制御部を有する撮像装置の実施の形態について、説明する。
【0011】
図1は本発明の第1の実施の形態に係る撮像装置の構成を示す図である。図2は、2次元DCT処理を施す小ブロック(8×8画素)の構成を示す図であり、図3は、2次元DCT処理が施された小ブロック内の変換値を周波数成分毎に順次読み出す読み出し例を示す図である。また、図4は、重み値テーブルの例を示す図である。
【0012】
図1において、レンズ10は、撮像レンズと焦点レンズとを備えており、被写体からの光を収束し、イメージセンサ20に被写体像を結像させる。その被写体像がイメージセンサ上で合焦するように、レンズ駆動部60によりレンズ10の位置が移動・調整される。
【0013】
イメージセンサ20は、CCD(Charge Coupled Device)等の撮像素子を有し、結像された被写体像を電気信号のアナログ画像データに変換してフロントエンド30に供給する。
【0014】
フロントエンド30は、イメージセンサ20からのアナログ画像データに対して、まず、信号処理器32によりそのノイズ除去やゲイン調整などの信号処理を行い、次いで、A/D変換器34によりアナログ画像データをディジタル画像データ(以下、元画像データ)に変換する。この元画像データ(例えば、1280×1024の画素分)が、データ圧縮部40に供給される。
【0015】
データ圧縮部40は、2次元DCT部42と、量子化部44とから構成され、2次元の画像データを、縦横所定数の画素の小ブロック(例えば8×8の、64画素)d(i、j)に区分し、このブロック毎にデータ圧縮処理を行い、圧縮画像データF(i,j)を出力する。この小ブロックの大きさは、変換効率の飽和傾向や装置規模の増大を考慮して、通常、8×8や、16×16程度の大きさに設定される。
【0016】
このDCT部42では、バタフライ演算により、加算、減算、及びCOS係数を用いた乗算が行われる。また、量子化部44では、DCT処理された変換画像データに、その各周波数成分をそれぞれ適当な量子化係数で除算して、画像データを量子化する。この量子化に用いる係数を変えることによって、データの圧縮の度合いを変更する。
【0017】
まず、図2のように構成される、ある小ブロック中の画素d(i、j)について、縦方向(ロー方向)にカラム毎に順次一次元DCT処理を行い、処理されたデータが周波数成分毎に区分され、その結果が順次バッファに蓄積される。次に、バッファに蓄積されている縦方向に処理されているデータを、横方向(カラム方向)にロー毎に順次一次元DCT処理を行い、この方向についても更に周波数成分毎に区分される。このように、縦方向、横方向の2次元にDCT処理され、周波数成分毎に区分された変換画像データf(i,j)が、図3に示されるように、得られる。
【0018】
この変換画像データf(i,j)が、図3に矢印線で示されるように、低周波数側から高周波数側に向けて順次読み出され、量子化部44に供給される。量子化部44により、変換画像データf(i,j)がその周波数区分に対応して設定されている量子化係数にしたがって量子化される。
【0019】
このようにして、元画像データが、小ブロック毎にデータ圧縮されて、圧縮画像データF(i,j)が、データ記憶装置に記憶されたり、通信先にデータ伝送される。
【0020】
本発明では、AF制御部50を設け、データ圧縮の途中における変換画像データf(i,j)に基づいて、AF制御信号を作成し、合焦するようにレンズ10を移動させる。
【0021】
AF制御部50は、変換画像データf(i,j)が図3で矢印線により示されるような順序で重み値乗算部52に入力され、またこれと同期して、変換画像データf(i,j)に対応して設定されている重み付け値kが供給される。
【0022】
図4はこの重み付け値の例を示す図であり、水平周波数i・垂直周波数jの高低に応じて、重み付け値kが高周波数側になるほど大きくなるように設定されている。この例では、周波数が低い側では重み付け値kは0であり、周波数が高くなるにしたがって1〜6の重み付け値kが設定されている。なお、この重み付け値kは例示であり、括弧内(1〜3)に記載しているように他の値に設定してもよい。
【0023】
重み値乗算部52からは、変換画像データf(i,j)と重み付け値kとの乗算された結果k・f(i,j)が順次出力される。この乗算結果が積算部56で積算され、その積算値Σk・f(i,j)が焦点調整部58に供給される。
【0024】
この積算部56での積算は、小ブロックを複数集合させて行ってもよく、或いは小ブロックを複数箇所に分散させて行ってもよい。また、スポットフォーカスとするために、単一の小ブロックのみについて行ってもよい。
【0025】
さて、このように構成される図1の撮像装置のAF制御について、図5のフロー図をも参照して、説明する。
【0026】
まず、AF制御を開始すると(ステップS101)、レンズ10を初期位置に移動する(ステップS102)。初期位置としては、最至近端や、最遠端が想定されるが、ここでは最至近端として以下説明する。
【0027】
この初期位置での画像データを取り込む(ステップS103)。次に、AF制御に利用する小ブロックを切り出し(ステップS104)、切り出した小ブロック内の画像データd(i,j)に対して2次元DCT処理を施す(ステップS105)。
【0028】
次に、DCT処理された変換画像データf(i,j)からDCT係数の高域成分を抽出する(ステップS106)。このステップS106の高域成分の抽出は、図1の重み値乗算部52、重み値テーブル54、積算部56での処理、即ち、積算値Σk・f(i,j)の取得に相当する。
【0029】
次に、抽出された高域成分が、前回より大きいか否かを判定し(ステップS107)、大きい場合(Yes)にはレンズ10の位置を遠端側に1ステップ移動させ、ステップS103に戻って、その位置での画像データを取り込む。以下、これらの処理を、ステップS107での判断結果が「前回より大きくない(No)」になるまで繰り返す。
【0030】
ステップS107での判断結果が「前回より大きくない(No)」になると、抽出された高域成分がピークを過ぎたことになるので、レンズ10の位置を近端側に1ステップ戻す(ステップS109)。これにより、レンズ10の位置は高域成分の最も多い合焦位置に設定されたことになるので、撮像装置のAF制御を終了する(ステップS110)。このステップS109の処理は、必ずしも行う必要はなく、省略することができる。
【0031】
なお、ステップS102を行うことなく、現在のレンズ位置からAF制御を行うことも可能である。この場合、最初の2回のDCT係数の高域成分処理で抽出された高域成分の相互の大きさ比較に基づいて方向性を定めて、その後高域成分のピーク点を探索することになる。
【0032】
この第1の実施の形態によれば、撮影された画像データに対してMPEG、JPEGなどの圧縮処理のために行われる、8×8画素分の小さいブロック単位でのDCT処理結果である変換画像データf(i,j)をAF処理に利用するから、AF処理のための構成を簡略化できる。
【0033】
また、変換画像データf(i,j)の評価を、水平周波数i・垂直周波数jの高低に応じて、高周波数側になるほど大きくなるように設定されている重み付け値kを用いて行う。この周波数に応じた重み付け値kを評価処理基準として用いることにより、高周波成分毎の評価を適切に行い、AF精度を向上することができる。
【0034】
また、MPEGやJPEG等の圧縮処理に用いられる小さいブロック単位でのDCT処理結果をAF制御に利用するから、AFのために新たな構成を付加することなく、画像エリア内の一領域もしくは複数の領域のデータを用いて焦点調節、即ちスポットフォーカスを行うことが可能である。なお、その領域としては、例えば、画像エリア中央部の一DCT処理領域や、画像エリアの複数箇所に分散されたDCT処理領域や、画像エリアの中央部にある複数のDCT処理領域等、撮影画像の特性に応じて種々に設定できる。
【0035】
図6は本発明の第2の実施の形態にかかる撮像装置、特にAF制御部50の構成を示す図である。
【0036】
この図6においては、重み値乗算部52に供給する重み値kを選択できるようにしており、第1の重み値テーブル54と第2の重み値テーブル55とを設けて、どちらのテーブルの重み値を用いるかを、選択できるようにしている。その選択は、選択信号CSによって切替器57をいずれかの重み値テーブル54、55側に切り替えることにより行っている。その他の構成は、図1の第1の実施の形態と同じである。
【0037】
重み値テーブル54、55の重み値kは、図4に示されるように、同じ領域に重み値を設定し、その大きさを異ならせ(0〜6、0〜3)る。また、重み値を設定する領域を異ならせた重み値テーブルを設けてもよい。なお、その重み値テーブル数は2以上の任意の数でよい。
【0038】
この図6の第2の実施の形態にかかる撮像装置では、重み値の異なる重み値テーブルを複数設けているから、撮影される画像データに応じて、それらを切り替えて利用することにより、良好なAF制御が行える。
【0039】
図7は本発明の第3の実施の形態にかかる撮像装置、特にAF制御部50の構成を示す図である。
【0040】
この図7においては、図1の第1の実施の形態と比較して、図1の重み値乗算部52に代えて選択部51を設け、また図1の重み値テーブル54に代えて選択ビットテーブル53を設けている。その他の構成は、図1の第1の実施の形態と同じである。
【0041】
選択ビットテーブル53は、図8に示されるように、水平周波数i・垂直周波数jの高低に応じて、低周波数側は選択しないように選択ビットを0にし、高周波数側の所定の領域を選択するように選択ビットを1に設定している。また、選択部51は、順次入力される変換画像データf(i,j)を、対応する選択ビットk(0または1)によって開または閉に制御されるゲート回路に入力することにより、対応する選択ビットが1である変換画像データf(i,j)、即ち高周波数側の変換画像データf(i,j)のみが通過する。この通過した変換画像データf(i,j)が積算部58で積算され、焦点調節部58に供給される。
【0042】
この図7の第3の実施の形態にかかる撮像装置では、選択部51は選択ビットの0または1に応じて開または閉されるゲートで構成できるから、AF制御部50の構成が簡単になる。
【0043】
【発明の効果】
本発明の撮像装置によれば、撮影された画像データに対してMPEG、JPEGなどの圧縮処理のために行われる小さいブロック単位(例えば、8×8画素分)でのDCT処理結果である変換画像データをAF処理に利用することにより、AF処理のための構成を簡略化できる。また、変換画像データの評価をその周波数成分に対応して決定されている評価処理基準に基づいて、高周波成分毎の評価を適切に行うことによりAF精度を向上することができる。
【0044】
また、MPEG、JPEGなどの圧縮処理に用いられる小さいブロック単位でのDCT処理の処理結果をAF制御に利用するから、AFのために新たな構成を付加することなく、画像エリア内の一の小領域や複数の小領域のデータを用いて焦点調節、即ちスポットフォーカスを行うことが、可能である。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態にかかる撮像装置の構成を示す図。
【図2】2次元DCT処理を施す小ブロック(8×8画素)の構成を示す図。
【図3】小ブロックの周波数成分を順次読み出す読み出し例を示す図。
【図4】重み値テーブルの例を示す図。
【図5】図1の撮像装置のAF制御のフロー図。
【図6】本発明の第2の実施の形態にかかる、AF制御部の構成を示す図。
【図7】本発明の第3の実施の形態にかかる、AF制御部の構成を示す図。
【図8】図7の選択ビットテーブルの構成を示す図。
【符号の説明】
10 レンズ
20 イメージセンサ
30 フロントエンド
32 信号処理器
34 A/D変換器
40 データ圧縮部
42 2次元DCT部
44 量子化部
50 AF制御部
51 選択部
52 重み値乗算部
53 選択ビットテーブル
54、55 重み値テーブル
56 積算部
57 切替器
58 焦点調整部
60 レンズ駆動部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an imaging apparatus such as a digital still camera, and more particularly to an imaging apparatus having an AF control unit for automatically focusing the camera (autofocus; AF).
[0002]
[Prior art]
In digital still cameras, etc., in order to automatically align the focal point, an active AF method using infrared rays or ultrasonic waves, or a passive AF method that does not require a special distance measuring component, is used as an AF method from an image sensor. An AF method is used in which a difference between adjacent pixels of an image input is obtained, and the difference is adjusted so that the difference value becomes maximum.
[0003]
As a passive AF method, as shown in JP-A-2000-165734, DCT (Discrete Cosine Transform) is performed on image data obtained by imaging at a lens position. The AF control is being performed based on the conversion result.
[0004]
In this conventional AF control using DCT, DCT processing is performed on image data obtained by imaging at an initial focus lens position, an average value of DCT coefficients of a converted image is obtained for each wave number, and the wave number is ascending. The wave numbers having the local minimum value are searched from the average value sequence, and the AF position is determined by one shot using the searched wave number as a defocus parameter. Further, the AF position is determined more finely by using a hill-climbing method based on a high-frequency component of the image with respect to the AF position.
[0005]
[Problems to be solved by the invention]
In the conventional AF control using DCT, it is necessary to perform DCT processing on a fairly large AF area (256 × 256 pixels) during AF in order to perform the above-described processing. In addition, since the high-frequency components of the data subjected to the DCT processing are simply integrated, the evaluation of the high-frequency components is not properly performed.
[0006]
Therefore, the present invention uses a signal from a DCT processing unit in a small block unit (8 × 8 pixels) used for data compression processing such as MPEG or JPEG on photographed image data for AF processing. It is an object of the present invention to provide an imaging apparatus having an AF control unit which simplifies the configuration for AF processing and improves the AF accuracy by appropriately evaluating a high-frequency component according to the frequency. I do.
[0007]
[Means for Solving the Problems]
An image pickup apparatus according to claim 1, wherein the lens system includes a lens and a driving unit thereof,
An image sensor that forms a subject image with light from the lens system,
A front end unit that outputs image data corresponding to a subject image from the image sensor,
The DCT unit performs DCT processing on the image data from the front end unit for each predetermined block to obtain converted image data divided for each frequency component, and the converted image data corresponds to the frequency division by the quantization unit. In the imaging device having a data compression unit that performs a quantization process according to the quantization coefficient that is set as the data and outputs the data as compressed image data,
Further, the image processing apparatus further includes an AF control unit that creates an AF control signal based on the converted image data obtained by the DCT unit and supplies the AF control signal to the lens system.
The AF control unit performs an evaluation process determined corresponding to the frequency component on the converted image data, integrates the converted image data subjected to the evaluation process, and generates the AF control signal based on the integrated value. Is formed.
[0008]
According to the imaging apparatus of the present invention, a converted image that is a DCT processing result in small block units (for example, for 8 × 8 pixels) performed for compression processing such as MPEG or JPEG on captured image data By using the data for the AF processing, the configuration for the AF processing can be simplified. Further, the AF accuracy can be improved by appropriately evaluating each converted high-frequency component based on the evaluation processing criterion determined for the converted image data corresponding to the frequency component.
[0009]
Further, as described above, since the result of the DCT processing at the time of the compression processing is used for AF control, no new configuration is added for AF, and focus adjustment is performed in small block units within the image area, that is, It is possible to perform spot focus.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of an imaging device having an AF control unit according to the present invention will be described with reference to the drawings.
[0011]
FIG. 1 is a diagram illustrating a configuration of an imaging device according to a first embodiment of the present invention. FIG. 2 is a diagram showing the configuration of a small block (8 × 8 pixels) to be subjected to two-dimensional DCT processing. FIG. 3 is a diagram showing the converted values in the small block subjected to two-dimensional DCT processing for each frequency component. It is a figure showing the example of reading which reads. FIG. 4 is a diagram illustrating an example of a weight value table.
[0012]
In FIG. 1, a lens 10 includes an imaging lens and a focus lens, converges light from a subject, and causes an image sensor 20 to form a subject image. The lens drive unit 60 moves and adjusts the position of the lens 10 so that the subject image is focused on the image sensor.
[0013]
The image sensor 20 has an image sensor such as a charge coupled device (CCD) or the like, converts the formed subject image into analog image data of an electric signal, and supplies the analog image data to the front end 30.
[0014]
The front end 30 first performs signal processing such as noise removal and gain adjustment by the signal processor 32 on the analog image data from the image sensor 20, and then converts the analog image data by the A / D converter 34. It is converted into digital image data (hereinafter, original image data). The original image data (for example, 1280 × 1024 pixels) is supplied to the data compression unit 40.
[0015]
The data compression unit 40 includes a two-dimensional DCT unit 42 and a quantization unit 44, and converts the two-dimensional image data into a small block of a predetermined number of vertical and horizontal pixels (for example, 8 × 8, 64 pixels) d (i , J), perform data compression processing for each block, and output compressed image data F (i, j). The size of the small block is usually set to about 8 × 8 or 16 × 16 in consideration of the saturation tendency of the conversion efficiency and the increase in the device scale.
[0016]
In the DCT unit 42, addition, subtraction, and multiplication using COS coefficients are performed by butterfly operation. Further, the quantization unit 44 quantizes the image data by dividing each frequency component of the DCT-processed transformed image data by an appropriate quantization coefficient. By changing the coefficient used for the quantization, the degree of data compression is changed.
[0017]
First, one-dimensional DCT processing is sequentially performed for each pixel in the vertical direction (row direction) for a pixel d (i, j) in a certain small block configured as shown in FIG. The results are sequentially stored in a buffer. Next, the data processed in the vertical direction stored in the buffer is sequentially subjected to one-dimensional DCT processing for each row in the horizontal direction (column direction), and this direction is further divided for each frequency component. In this way, the transformed image data f (i, j) that has been subjected to DCT processing in two dimensions in the vertical and horizontal directions and divided for each frequency component is obtained as shown in FIG.
[0018]
The converted image data f (i, j) is sequentially read from the low frequency side to the high frequency side as shown by the arrow in FIG. The quantization unit 44 quantizes the transformed image data f (i, j) according to a quantization coefficient set corresponding to the frequency division.
[0019]
In this way, the original image data is compressed for each small block, and the compressed image data F (i, j) is stored in the data storage device or transmitted to the communication destination.
[0020]
In the present invention, the AF control unit 50 is provided, and based on the converted image data f (i, j) in the middle of data compression, an AF control signal is created, and the lens 10 is moved so as to focus.
[0021]
The AF control unit 50 inputs the converted image data f (i, j) to the weight value multiplying unit 52 in the order shown by the arrow in FIG. 3, and synchronizes with the converted image data f (i, j). , J) are supplied.
[0022]
FIG. 4 is a diagram showing an example of this weighting value. In accordance with the level of the horizontal frequency i and the vertical frequency j, the weighting value k is set to increase as the frequency increases. In this example, the weight value k is 0 on the low frequency side, and the weight values k of 1 to 6 are set as the frequency increases. This weighting value k is an example, and may be set to another value as described in parentheses (1 to 3).
[0023]
From the weight value multiplying unit 52, a result k · f (i, j) obtained by multiplying the converted image data f (i, j) by the weight value k is sequentially output. The result of the multiplication is integrated by the integration unit 56, and the integrated value Σk · f (i, j) is supplied to the focus adjustment unit 58.
[0024]
The integration in the integrating unit 56 may be performed by collecting a plurality of small blocks, or may be performed by distributing the small blocks to a plurality of locations. Further, in order to perform spot focus, it may be performed only for a single small block.
[0025]
Now, the AF control of the image pickup apparatus of FIG. 1 configured as described above will be described with reference to the flowchart of FIG.
[0026]
First, when the AF control is started (Step S101), the lens 10 is moved to an initial position (Step S102). As the initial position, the closest end or the farthest end is assumed. Here, the closest end will be described below.
[0027]
The image data at this initial position is captured (step S103). Next, a small block used for AF control is cut out (step S104), and two-dimensional DCT processing is performed on the image data d (i, j) in the cut out small block (step S105).
[0028]
Next, a high-frequency component of a DCT coefficient is extracted from the DCT-processed transformed image data f (i, j) (step S106). The extraction of the high frequency component in step S106 corresponds to the processing in the weight value multiplication unit 52, the weight value table 54, and the integration unit 56 in FIG. 1, that is, the acquisition of the integration value Σk · f (i, j).
[0029]
Next, it is determined whether or not the extracted high frequency component is larger than the previous one (step S107). If it is larger (Yes), the position of the lens 10 is moved to the far end by one step, and the process returns to step S103. To capture the image data at that position. Hereinafter, these processes are repeated until the determination result in step S107 becomes “not larger than the previous time (No)”.
[0030]
If the result of the determination in step S107 is “not greater than previous time (No)”, it means that the extracted high frequency component has passed the peak, so the position of the lens 10 is returned to the near end by one step (step S109). ). Thereby, the position of the lens 10 is set to the in-focus position where the high-frequency component is the largest, so that the AF control of the imaging device ends (step S110). The processing in step S109 is not necessarily performed, and can be omitted.
[0031]
Note that it is also possible to perform AF control from the current lens position without performing step S102. In this case, the directivity is determined based on the mutual magnitude comparison of the high-frequency components extracted in the first two high-frequency component processings of the DCT coefficients, and then the peak point of the high-frequency components is searched. .
[0032]
According to the first embodiment, a converted image that is a DCT processing result in units of small blocks of 8 × 8 pixels, which is performed for compression processing such as MPEG or JPEG on captured image data. Since the data f (i, j) is used for the AF processing, the configuration for the AF processing can be simplified.
[0033]
In addition, the evaluation of the converted image data f (i, j) is performed using the weight value k set so as to become larger toward the higher frequency side according to the level of the horizontal frequency i and the vertical frequency j. By using the weighting value k corresponding to the frequency as the evaluation processing reference, it is possible to appropriately evaluate each high-frequency component and improve the AF accuracy.
[0034]
In addition, since the DCT processing result in small block units used for compression processing such as MPEG or JPEG is used for AF control, one area or a plurality of areas in the image area can be used without adding a new configuration for AF. Focus adjustment, that is, spot focus can be performed using the data of the area. Examples of the region include a DCT processing region in a central portion of the image area, a DCT processing region dispersed in a plurality of portions of the image area, and a plurality of DCT processing regions in the central portion of the image area. Can be set variously according to the characteristics of
[0035]
FIG. 6 is a diagram illustrating a configuration of an imaging apparatus according to the second embodiment of the present invention, in particular, an AF control unit 50.
[0036]
In FIG. 6, a weight value k to be supplied to the weight value multiplying unit 52 can be selected. A first weight value table 54 and a second weight value table 55 are provided, and the weight value of either table is determined. You can select whether to use a value. The selection is performed by switching the switch 57 to one of the weight value tables 54 and 55 by the selection signal CS. Other configurations are the same as those of the first embodiment in FIG.
[0037]
As shown in FIG. 4, the weight values k of the weight value tables 54 and 55 are set in the same area and have different sizes (0 to 6, 0 to 3). Further, a weight value table in which regions for setting weight values are different may be provided. The number of weight value tables may be an arbitrary number of 2 or more.
[0038]
In the imaging apparatus according to the second embodiment shown in FIG. 6, a plurality of weight value tables having different weight values are provided. AF control can be performed.
[0039]
FIG. 7 is a diagram illustrating a configuration of an imaging device, particularly, an AF control unit 50 according to a third embodiment of the present invention.
[0040]
In FIG. 7, as compared with the first embodiment of FIG. 1, a selection unit 51 is provided instead of weight value multiplication unit 52 of FIG. 1, and a selection bit is provided instead of weight value table 54 of FIG. A table 53 is provided. Other configurations are the same as those of the first embodiment in FIG.
[0041]
As shown in FIG. 8, the selection bit table 53 sets the selection bit to 0 so as not to select the low frequency side and selects a predetermined area on the high frequency side according to the level of the horizontal frequency i and the vertical frequency j. The selection bit is set to "1". Further, the selection unit 51 responds by inputting the sequentially input converted image data f (i, j) to a gate circuit controlled to be opened or closed by a corresponding selection bit k (0 or 1). Only the converted image data f (i, j) whose selection bit is 1, that is, the converted image data f (i, j) on the high frequency side passes. The passed converted image data f (i, j) is integrated by the integration unit 58 and supplied to the focus adjustment unit 58.
[0042]
In the imaging apparatus according to the third embodiment of FIG. 7, the selection unit 51 can be configured by a gate that is opened or closed according to the selection bit 0 or 1, so that the configuration of the AF control unit 50 is simplified. .
[0043]
【The invention's effect】
According to the imaging apparatus of the present invention, a converted image that is a DCT processing result in small block units (for example, 8 × 8 pixels) performed for compression processing such as MPEG or JPEG on captured image data By using the data for the AF processing, the configuration for the AF processing can be simplified. Further, the AF accuracy can be improved by appropriately evaluating each converted high-frequency component based on the evaluation processing criterion determined for the converted image data corresponding to the frequency component.
[0044]
In addition, since the processing result of DCT processing in small blocks used for compression processing such as MPEG and JPEG is used for AF control, one small image in the image area can be added without adding a new configuration for AF. It is possible to perform focus adjustment, that is, spot focus, using data of an area or a plurality of small areas.
[Brief description of the drawings]
FIG. 1 is a diagram showing a configuration of an imaging device according to a first embodiment of the present invention.
FIG. 2 is a diagram showing a configuration of a small block (8 × 8 pixels) on which two-dimensional DCT processing is performed.
FIG. 3 is a diagram showing a read example in which frequency components of small blocks are sequentially read.
FIG. 4 is a diagram showing an example of a weight value table.
FIG. 5 is a flowchart of AF control of the imaging apparatus in FIG. 1;
FIG. 6 is a diagram showing a configuration of an AF control unit according to a second embodiment of the present invention.
FIG. 7 is a diagram showing a configuration of an AF control unit according to a third embodiment of the present invention.
FIG. 8 is a diagram showing a configuration of a selection bit table of FIG. 7;
[Explanation of symbols]
Reference Signs List 10 lens 20 image sensor 30 front end 32 signal processor 34 A / D converter 40 data compression unit 42 two-dimensional DCT unit 44 quantization unit 50 AF control unit 51 selection unit 52 weight value multiplication unit 53 selection bit tables 54, 55 Weight value table 56 Integrator 57 Switch 58 Focus adjuster 60 Lens driver

Claims (1)

レンズ及びその駆動部を持つレンズ系と、
このレンズ系からの光によって被写体像を結像するイメージセンサと、
このイメージセンサからの被写体像に応じた画像データを出力するフロントエンド部と、
このフロントエンド部からの画像データを所定のブロック毎にDCT部でDCT処理を行って周波数成分毎に区分された変換画像データを得、この変換画像データに量子化部にてその周波数区分に対応して設定されている量子化係数に従って量子化処理を施し、圧縮画像データとして出力するデータ圧縮部とを有する撮像装置において、
さらに、前記DCT部で得られる変換画像データに基づいて、AF制御信号を作成し、前記レンズ系に供給するAF制御部を有し、
このAF制御部は、前記変換画像データにその周波数成分に対応して決定されている評価処理を施し、その評価処理された変換画像データを積算して、その積算値に基づいて前記AF制御信号を形成することを特徴とする、撮像装置。
A lens system having a lens and a driving unit thereof,
An image sensor that forms a subject image with light from the lens system,
A front end unit that outputs image data corresponding to a subject image from the image sensor,
The DCT unit performs DCT processing on the image data from the front end unit for each predetermined block to obtain converted image data divided for each frequency component, and the converted image data corresponds to the frequency division by the quantization unit. In the imaging device having a data compression unit that performs a quantization process according to the quantization coefficient that is set as the data and outputs the data as compressed image data,
Further, the image processing apparatus further includes an AF control unit that creates an AF control signal based on the converted image data obtained by the DCT unit and supplies the AF control signal to the lens system.
The AF control unit performs an evaluation process determined corresponding to the frequency component on the converted image data, integrates the converted image data subjected to the evaluation process, and generates the AF control signal based on the integrated value. An imaging device characterized by forming:
JP2002232864A 2002-08-09 2002-08-09 Image pickup device Withdrawn JP2004070226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002232864A JP2004070226A (en) 2002-08-09 2002-08-09 Image pickup device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002232864A JP2004070226A (en) 2002-08-09 2002-08-09 Image pickup device

Publications (1)

Publication Number Publication Date
JP2004070226A true JP2004070226A (en) 2004-03-04

Family

ID=32018140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002232864A Withdrawn JP2004070226A (en) 2002-08-09 2002-08-09 Image pickup device

Country Status (1)

Country Link
JP (1) JP2004070226A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092555A (en) * 2004-09-23 2006-04-06 Fuji Xerox Co Ltd Area detection method and area detection program
GB2421131A (en) * 2004-12-09 2006-06-14 Samsung Electro Mech Auto focusing apparatus using discrete cosine transform coefficients
JP2009109564A (en) * 2007-10-26 2009-05-21 Nec Electronics Corp Autofocus control circuit, autofocus control method and imaging apparatus
JP2014029357A (en) * 2012-07-31 2014-02-13 Mega Chips Corp Imaging device, imaging adjustment method and program
JP2017107219A (en) * 2017-01-23 2017-06-15 株式会社メガチップス Imaging apparatus, imaging adjustment method, and program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006092555A (en) * 2004-09-23 2006-04-06 Fuji Xerox Co Ltd Area detection method and area detection program
GB2421131A (en) * 2004-12-09 2006-06-14 Samsung Electro Mech Auto focusing apparatus using discrete cosine transform coefficients
KR100645636B1 (en) * 2004-12-09 2006-11-15 삼성전기주식회사 Camera Auto Focusing Device Using DCT Coefficient and Its Method
GB2421131B (en) * 2004-12-09 2006-12-20 Samsung Electro Mech Auto focusing apparatus and method using discrete cosine transform coefficients
US7502523B2 (en) 2004-12-09 2009-03-10 Samsung Electro-Mechanics Co., Ltd. Auto focusing apparatus and method using discrete cosine transform coefficients
JP2009109564A (en) * 2007-10-26 2009-05-21 Nec Electronics Corp Autofocus control circuit, autofocus control method and imaging apparatus
US8054372B2 (en) 2007-10-26 2011-11-08 Renesas Electronics Corporation Autofocus control circuit, autofocus control method and image pickup apparatus
US8508653B2 (en) 2007-10-26 2013-08-13 Renesas Electronics Corporation Autofocus control circuit, autofocus control method, and image pickup apparatus
JP2014029357A (en) * 2012-07-31 2014-02-13 Mega Chips Corp Imaging device, imaging adjustment method and program
JP2017107219A (en) * 2017-01-23 2017-06-15 株式会社メガチップス Imaging apparatus, imaging adjustment method, and program

Similar Documents

Publication Publication Date Title
KR101278241B1 (en) Photographing apparatus and photographing method
JP4674471B2 (en) Digital camera
JP4665718B2 (en) Imaging device
CN101088104A (en) Electronic device and method in an electronic device for processing image data
CN102804751B (en) Image Restoration Device, Camera Device, and Image Restoration Method
JP2004361484A (en) Auto focus camera
KR100645636B1 (en) Camera Auto Focusing Device Using DCT Coefficient and Its Method
JP3964315B2 (en) Digital camera
Peddigari et al. Real-time implementation issues in passive automatic focusing for digital still cameras
CN101095341A (en) Digital imaging with autofocus
JP4434345B2 (en) Automatic focusing apparatus and method
JP2000155257A (en) Method and device for autofocusing
JP2004070226A (en) Image pickup device
JP5318863B2 (en) Imaging device, imaging method, and integrated circuit
KR20120070489A (en) Image taking device and method
US8520133B2 (en) Imaging apparatus and method
CN101750715A (en) Automatic focusing apparatus, automatic focusing method, and image pickup apparatus
JP3715722B2 (en) Automatic focusing apparatus and method
JP2002277730A (en) Electronic camera automatic focus control method, apparatus and program
JP4271648B2 (en) Image composition apparatus, imaging means, and program
JPH09214988A (en) Still image pickup device
JPH09298681A (en) Image input device
JP2001056429A (en) Automatic focus control method
JP3121045B2 (en) Imaging device
KR100819807B1 (en) Image pickup apparatus and method of picking up images

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041025

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070406

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070419

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20090122