JPH11234669A - Image compression processing unit and its method, and digital camera usign the unit - Google Patents

Image compression processing unit and its method, and digital camera usign the unit

Info

Publication number
JPH11234669A
JPH11234669A JP3443498A JP3443498A JPH11234669A JP H11234669 A JPH11234669 A JP H11234669A JP 3443498 A JP3443498 A JP 3443498A JP 3443498 A JP3443498 A JP 3443498A JP H11234669 A JPH11234669 A JP H11234669A
Authority
JP
Japan
Prior art keywords
image
compression
frequency
image compression
quantization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3443498A
Other languages
Japanese (ja)
Inventor
Tomoyuki Kurashige
知行 倉重
Hiroyuki Tarumi
浩幸 垂水
Hiroaki Yoshimi
博章 嘉見
Hiroshi Sakurai
博 桜井
Koji Oi
浩二 大井
Hideto Noguchi
秀人 埜口
Atsuhiro Oono
敦寛 大野
Kazunori Uemura
一徳 植村
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.)
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Ltd
Hitachi Video and Information System Inc
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 Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Ltd
Priority to JP3443498A priority Critical patent/JPH11234669A/en
Publication of JPH11234669A publication Critical patent/JPH11234669A/en
Pending legal-status Critical Current

Links

Landscapes

  • Studio Devices (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent image quality deterioration even at a high compression rate by updating compression parameters for each spatial frequency based on a calculation result of a space frequency distribution in an image so as to attain quantization corresponding to the characteristic of an image compression. SOLUTION: An analog image signal received from an input port 1 is converted into a digital signal by an image A/D converter 2 and an image signal processing circuit 3 applies a general gamma correction processing and a processing such as contour emphasis to the digital signal. A high frequency extraction circuit 6 detects a high frequency component with a high spatial frequency from the signal processed by the image signal processing circuit 3 and gives information to a compression control circuit 5. The compression control circuit 5 adjusts a quantization accuracy to keep a code amount rate within a prescribed range to compress the data so that a buffer in an image compression coder is not saturated. In the case of adjusting the code amount rate, not only a Q scale but also a Q table are changed. Thus, quantization accuracy is changed corresponding to an optical spatial frequency.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像圧縮処理装置
および方法に係り、特に、MPEGなどの方式により画
像圧縮をおこなうデジタルカメラ、DVDプレーヤ、デ
ジタルTV受信機等のデジタル機器に用いて好適な画像
圧縮処理装置および方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image compression processing apparatus and method, and more particularly, to an image compression processing apparatus and method suitable for use in digital equipment such as a digital camera, a DVD player, a digital TV receiver, etc., which performs image compression by a method such as MPEG. The present invention relates to an image compression processing device and method.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータの爆発的
な普及に伴って、インターネット、イントラネットなど
に代表される各種通信メディアに、映像を用いた表現手
段を用いることが一般的になってきた。これは、映像が
単なる鑑賞用にとどまらず、情報データの一つとして扱
われ始めたことを意味する。
2. Description of the Related Art In recent years, with the explosive spread of personal computers, it has become common to use image-based expression means for various communication media such as the Internet and intranets. This means that the video has started to be treated as one of information data, not just for viewing.

【0003】そのような環境において、能率的な情報伝
達のための映像信号の符号化、圧縮処理といった技術が
必要不可欠なものとなっている。特に、高い圧縮率が要
求される動画像の圧縮符号化は、DCT変換、フレーム
間予測、動き補償などといった複数のアルゴリズムの組
み合わせでおこなわれる。これにより、隣接するフレー
ム画像の相関や被写体の動き情報を利用して、動きを含
む被写体に対しても効率よい圧縮符号化を実現してい
る。これらの符号化方式としては、テレビ電話、通信用
の符号化標準規格であるH.261や、動画像蓄積用符
号化方式であるMPEG等が、一般的に知られている。
これらの符号化技術に関しては、テレビジョン学会誌V
ol.45、No7、pp.793〜799(199
1)、および同pp.807〜812等に記載されてい
る。
In such an environment, techniques such as video signal encoding and compression processing for efficient information transmission are indispensable. In particular, compression coding of a moving image requiring a high compression rate is performed by a combination of a plurality of algorithms such as DCT transform, inter-frame prediction, and motion compensation. As a result, efficient compression encoding is realized even for a subject including motion, using the correlation between adjacent frame images and the motion information of the subject. These encoding methods include H.264, which is an encoding standard for videophones and communications. H.261 and MPEG which is a moving image storage encoding method are generally known.
Regarding these encoding techniques, see Journal of the Institute of Television Engineers of Japan, V
ol. 45, No7, pp. 793-799 (199
1), and the same pp. 807-812 and the like.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術に見られ
るデータ圧縮手法のなかで、最も重要な技術の一つに符
号量レートの制御がある。これは、複号器側のバッファ
に破綻を来さないように考慮し、データレートを平均化
する制御のことである。
One of the most important techniques among the data compression techniques found in the above prior art is control of the code rate. This is a control for averaging the data rate in consideration of not causing a failure in the buffer on the decoder side.

【0005】符号量を均一化する制御は、量子化係数を
変えることにより制御される。
The control for equalizing the code amount is controlled by changing the quantization coefficient.

【0006】量子化係数とは、DCT変換などで空間周
波数成分に配列され符号化されたデータを量子化する際
の係数のことである。一般には、量子化回路内に、量子
化テーブル(以下、「Qテーブル」と記す)と呼ばれる
各空間周波数ごとの量子化係数を規定した参照値が用意
され、圧縮後の生成符号量の増減に応じて、量子化テー
ブルの各値を、量子化スケール(以下、「Qスケール」
と記す)と呼ばれる一定値でかけ、量子化係数とすると
いうものである。
The quantization coefficient is a coefficient used when quantizing data arranged and encoded in a spatial frequency component by DCT or the like. In general, a quantization circuit (hereinafter referred to as a “Q table”) is provided with a reference value that defines a quantization coefficient for each spatial frequency in a quantization circuit, and is used to increase or decrease the generated code amount after compression. Accordingly, each value of the quantization table is converted to a quantization scale (hereinafter, “Q scale”).
Is multiplied by a constant value called as a quantization coefficient.

【0007】そして、実際の量子化は、この量子化係数
(=Qスケール×Qテーブル値)で割り算をして、その
余りを丸めることによりおこなわれる。
The actual quantization is performed by dividing by this quantization coefficient (= Q scale × Q table value) and rounding the remainder.

【0008】以下、これを数式を用いてやや詳細に説明
しよう。
Hereinafter, this will be described in some detail using mathematical expressions.

【0009】MPEG規格書であるISO/IEC 11172-2 D
6.3.4項によれば、量子化結果値は、次式で決定され
る。
[0009] MPEG / ISO / IEC 11172-2 D
According to 6.3.4, the quantization result value is determined by the following equation.

【0010】[0010]

【数1】 (Equation 1)

【0011】ここにおいて[u,v]は,圧縮の基本単
位であるDCTブロック内の位置を示す引数で、この数
値が大きくなるほど、空間周波数が高いことを示してい
る。
Here, [u, v] is an argument indicating a position in the DCT block which is a basic unit of compression, and the larger this numerical value, the higher the spatial frequency.

【0012】また、演算記号//は、割算結果を4捨5入
することを意味する。
The operation symbol // means that the division result is rounded off.

【0013】このようにしておこなわれる量子化の結果
に基づいて、実際の符号化がおこなわれる。ここで、量
子化精度を下げる場合、すなわち、生成する符号量を小
さくしたいときには、上記(式1)の分母の量子化係数
を大きくして、量子化結果値の変動を減少させて、量子
化結果値に数多く”0”が出現するようにする。このよ
うにすれば、符号化における圧縮率が向上して、高い圧
縮率が得られ、生成する符号量が減少することになる。
しかしながら、圧縮率を高くして、符号量を減少させる
と、実際の画像データとの誤差が増えるため、画質は低
下する。画質の低下を許容範囲に収めながら、符号量を
減少させると言うのが画像圧縮アルゴリズムの最大の問
題である。
The actual encoding is performed based on the result of the quantization performed as described above. Here, when lowering the quantization precision, that is, when it is desired to reduce the amount of generated code, the quantization coefficient of the denominator of the above (Equation 1) is increased to reduce the variation of the quantization result value, Many “0” s appear in the result value. By doing so, the compression rate in encoding is improved, a high compression rate is obtained, and the amount of generated code is reduced.
However, when the compression rate is increased and the code amount is reduced, an error with the actual image data increases, so that the image quality deteriorates. The biggest problem of the image compression algorithm is to reduce the code amount while keeping the deterioration of the image quality within an allowable range.

【0014】逆に、量子化精度を上げる場合、すなわ
ち、生成する符号量を大きくしたいときには、(式1)
の分母の量子化係数を小さくする。このときには、符号
化における圧縮率が小さくなり、圧縮率が低くなるた
め、生成する符号量が増加する。このときは相対的に
は、画像の質は、向上する。
Conversely, when the quantization precision is to be increased, that is, when it is desired to increase the amount of codes to be generated, (Equation 1)
Reduce the quantization coefficient of the denominator of. At this time, the compression rate in encoding is reduced and the compression rate is reduced, so that the generated code amount increases. At this time, the quality of the image is relatively improved.

【0015】次に、図7に示されるQテーブルの具体例
を用いて量子化について説明しよう。図7は、ISO/IEC
11172-2 2.4.3.2項にも記載されたIntra画像に適用され
るQテーブルの推奨例を示す図である。
Next, quantization will be described using a specific example of the Q table shown in FIG. Figure 7 shows the ISO / IEC
FIG. 11172-2 is a diagram showing a recommended example of a Q table applied to an Intra image described in section 2.4.3.2.

【0016】このテーブルに上記(式1)を当てはめる
と、直流成分([u,v]=[0,0])のQテーブル
値は8であるのに対して、もっとも空間周波数の高い成
分([u,v]=[7,7])のQテーブル値は83で
あり、等量のデータ値があった場合でも、空間周波数が
高くなるに連れ、量子化結果の値は小さくなることを示
している。このように空間周波数に依存した傾きをもつ
テーブルで量子化することの意義は、高い空間周波数に
なるほど人間の視覚的感度が低下することに配慮して、
圧縮率を高めても見た目の画質はさほど変わらないよう
な、より効率的な圧縮を遂行することにある。
When the above (Equation 1) is applied to this table, the Q table value of the DC component ([u, v] = [0, 0]) is 8, while the component having the highest spatial frequency (8) is obtained. The Q table value of [u, v] = [7, 7]) is 83, which indicates that the value of the quantization result decreases as the spatial frequency increases even when there are equal amounts of data values. Is shown. The significance of quantizing with a table having a gradient depending on the spatial frequency in this way is to consider that the higher the spatial frequency, the lower the human visual sensitivity is,
An object of the present invention is to perform more efficient compression such that the apparent image quality does not change so much even when the compression ratio is increased.

【0017】次に、図8を用いて量子化精度と符号量レ
ートの関係について説明しよう。図8は、従来技術の構
成に係るMPEG画像圧縮装置の構成図である。
Next, the relationship between the quantization accuracy and the code rate will be described with reference to FIG. FIG. 8 is a configuration diagram of an MPEG image compression apparatus according to the configuration of the related art.

【0018】入力画像データは、DCT回路501によ
る直行変換がなされ、量子化回502へ送られる。量子
化回路では、量子化処理がおこなわれる。すなわち、
(式1)で示したように全体の符号量を量子化係数で割
り算して、小さな数値で表現することによって符号量を
削減する処理がおこなわれる。また、量子化後の信号
は、動画像圧縮に適した圧縮が実行可能なように、動き
ベクトル補償回路503に送られて帰還される。この動
きベクトル補償とは、画像の時間的な相関を利用して能
率的な圧縮をおこなう機能である。
The input image data is orthogonally transformed by the DCT circuit 501 and sent to the quantization circuit 502. The quantization circuit performs a quantization process. That is,
As shown in (Equation 1), a process of reducing the code amount by dividing the entire code amount by the quantization coefficient and expressing it by a small numerical value is performed. The signal after quantization is sent to the motion vector compensation circuit 503 and fed back so that compression suitable for moving image compression can be performed. The motion vector compensation is a function for performing efficient compression using temporal correlation of images.

【0019】量子化が完了した信号は、符号化回路50
4において、階層構造符号化、あるいは可変長符号化な
どの処理がなされて、送信バッファ505に送出され
る。このバッファに蓄積されるデータが、圧縮後の最終
的なデータ(符号)量である。
The quantized signal is supplied to an encoding circuit 50.
In 4, processing such as hierarchical structure encoding or variable length encoding is performed and transmitted to the transmission buffer 505. The data stored in this buffer is the final amount of data (code) after compression.

【0020】一方、送信バッファに蓄積されたデータ量
は常に監視され、この情報は、量子化回路、場合によっ
ては符号化回路にも伝達され、フィードバックされ、送
られてくる符号の単位時間あたりの量、すなわち、符号
量レートが制御される。
On the other hand, the amount of data accumulated in the transmission buffer is constantly monitored, and this information is also transmitted to a quantization circuit and, in some cases, an encoding circuit, fed back, and transmitted per unit time of the transmitted code. The amount, ie, the code rate, is controlled.

【0021】量子化回路では、許容される符号量レート
よりも多い場合には、(式1)の量子化係数を大きく
し、量子化精度を低くして(すなわち、高圧縮として)
最終的なデータ量を減少させるように働き、逆の場合に
は、(式1)の量子化係数を小さくし、量子化精度を大
きくする。
In the quantization circuit, when the code rate is larger than the allowable code rate, the quantization coefficient of (Equation 1) is increased and the quantization precision is reduced (that is, as high compression).
It works to reduce the final data amount, and in the opposite case, the quantization coefficient of (Equation 1) is reduced, and the quantization precision is increased.

【0022】このようにして、MPEGにより画像圧縮
をおこなう装置では、符号量レートを量子化回路でおこ
なわれる量子化精度を変化させることにより制御するこ
とができる。ところで、一般的に、被写体が有する空間
周波数は当然ながら一様ではなく、たとえば空間周波数
が中低域に集中した被写体もあれば、高域のみに集中し
た被写体も存在する。そのような場合には、量子化に最
適な、すなわちもっとも効果的な圧縮を実現しうるQテ
ーブルも変化する。
As described above, in an apparatus that performs image compression by MPEG, the code rate can be controlled by changing the quantization precision performed by the quantization circuit. By the way, in general, the spatial frequency of a subject is naturally not uniform. For example, there are some subjects whose spatial frequencies are concentrated in the middle and low frequencies, and some subjects are concentrated only in the high frequencies. In such a case, the Q table that is optimal for quantization, that is, that can achieve the most effective compression also changes.

【0023】しかしながら、上記の従来技術に係る一般
的な符号量制御においては、あらかじめ定められたQテ
ーブル上の各係数を、生成符号量の増減に応じて、単純
に一定値(Qスケール)で掛け算して、これを量子化係
数とし、この量子化係数でデータ値を割り算して、量子
化された結果とするというものであった。このため、符
号の周波数の特性に応じた量子化がおこなえず、常に最
適な符号化を維持することが困難であるという問題があ
った。
However, in the general code amount control according to the prior art, each coefficient on a predetermined Q table is simply changed to a constant value (Q scale) according to an increase or decrease of the generated code amount. Multiplication is performed to obtain a quantized coefficient, and the data value is divided by the quantized coefficient to obtain a quantized result. Therefore, quantization according to the frequency characteristics of the code cannot be performed, and there is a problem that it is difficult to always maintain optimal coding.

【0024】本発明は、上記問題点を解決するためにな
されたもので、その目的は、画像の圧縮のための量子化
に際し、画像の周波数の特性に応じた量子化をおこなう
ことを可能とし、高い圧縮率でも画像の質をおとさない
画像圧縮処理装置および方法を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to make it possible to perform quantization in accordance with the frequency characteristics of an image when performing quantization for image compression. Another object of the present invention is to provide an image compression processing apparatus and method which do not deteriorate image quality even at a high compression ratio.

【0025】また、その目的は、この画像圧縮処理方法
を応用したオートフォーカス機能を持つデジタルカメラ
を提供するにことにある。
Another object of the present invention is to provide a digital camera having an autofocus function to which the image compression processing method is applied.

【0026】[0026]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画像圧縮処理装置に係る発明の構成は、画
像をデジタル信号に変換して、圧縮符号化をおこなう画
像圧縮処理装置において、入力信号からデジタル画像信
号を生成する画像信号処理手段と、前記デジタル画像信
号を圧縮符号化する画像圧縮符号化手段と、その画像圧
縮符号化手段に対して画像圧縮に関するパラメータ設定
をおこない、指令を与える圧縮制御手段とを有し、さら
に、前記デジタル信号に含まれる高周波成分を検出する
高周波検出手段を設け、前記圧縮制御手段が、この高周
波検出装置の出力結果に基づいて画面内の空間周波数分
布を計算して、その計算結果に基づいて、前記画像圧縮
符号化手段に対して与えられる圧縮パラメータの更新
を、各空間周波数ごとにおこなうようにしたものであ
る。
In order to achieve the above object, an image compression processing apparatus according to the present invention comprises an image compression processing apparatus for converting an image into a digital signal and performing compression encoding. An image signal processing unit for generating a digital image signal from an input signal, an image compression encoding unit for compressing and encoding the digital image signal, and setting parameters relating to image compression for the image compression encoding unit, And a high-frequency detecting means for detecting a high-frequency component contained in the digital signal, wherein the compression controlling means controls a spatial frequency in a screen based on an output result of the high-frequency detecting device. The distribution is calculated, and based on the calculation result, the update of the compression parameter given to the image compression encoding unit is updated for each spatial frequency. It is obtained as performed in.

【0027】より詳しくは、上記画像圧縮処理装置にお
いて、前記圧縮パラメータが、量子化スケールと量子化
テーブルとであり、各空間周波数ごとに対応する量子化
テーブルの値を変化させることが可能なようにしたもの
である。
More specifically, in the image compression processing apparatus, the compression parameters are a quantization scale and a quantization table, and the value of the corresponding quantization table can be changed for each spatial frequency. It was made.

【0028】また詳しくは、上記画像圧縮処理装置にお
いて、前記デジタル信号の空間周波数のエネルギー分布
の極大値がある場合に、その極大値をとる周波数に対応
する量子化テーブルの値を大きくし、その周波数のデジ
タルデータの量子化精度を小さくして画像圧縮をおこな
うようにしたものである。
More specifically, in the image compression processing apparatus, when there is a maximum value of the spatial frequency energy distribution of the digital signal, the value of the quantization table corresponding to the frequency having the maximum value is increased. The image compression is performed by reducing the quantization precision of the digital data of the frequency.

【0029】上記目的を達成するために、本発明の画像
圧縮処理方法に係る発明の構成は、画像をデジタル信号
に変換して、圧縮符号化をおこなう画像圧縮処理方法に
おいて、それに用いられる画像圧縮処理装置は、入力信
号からデジタル画像信号を生成する画像信号処理手段
と、前記デジタル画像信号を圧縮符号化する画像圧縮符
号化手段と、その画像圧縮符号化手段に対して画像圧縮
に関するパラメータ設定をおこない、指令を与える圧縮
制御手段とを有し、さらに、前記デジタル信号に含まれ
る高周波成分を検出する高周波検出手段を設け、前記圧
縮制御手段が、この高周波検出装置の出力結果に基づい
て画面内の空間周波数分布を計算して、その計算結果に
基づいて、前記画像圧縮符号化手段に対して与えられる
圧縮パラメータの更新を、各空間周波数ごとにおこなう
ようにしたものである。
To achieve the above object, an image compression processing method according to the present invention comprises an image compression processing method for converting an image into a digital signal and performing compression encoding. The processing device includes an image signal processing unit that generates a digital image signal from the input signal, an image compression encoding unit that compresses and encodes the digital image signal, and a parameter setting related to image compression for the image compression encoding unit. And a compression control means for giving a command, and further comprising a high frequency detection means for detecting a high frequency component included in the digital signal, wherein the compression control means , And based on the calculation result, further updates the compression parameters given to the image compression encoding means. The, in which as performed for each spatial frequency.

【0030】より詳しくは、上記画像圧縮処理方法にお
いて、前記圧縮パラメータが、量子化スケールと量子化
テーブルとであり、各空間周波数ごとに対応する量子化
テーブルの値を変化させることが可能なようにしたもの
である。
More specifically, in the above image compression processing method, the compression parameters are a quantization scale and a quantization table, and the value of the corresponding quantization table can be changed for each spatial frequency. It was made.

【0031】また詳しくは、上記画像圧縮処理方法にお
いて、前記デジタル信号の空間周波数のエネルギー分布
の極大値がある場合に、その極大値をとる周波数に対応
する量子化テーブルの値を大きくし、その周波数のデジ
タルデータの量子化精度を小さくして画像圧縮をおこな
うようにしたものである。
More specifically, in the above image compression processing method, when there is a maximum value of the energy distribution of the spatial frequency of the digital signal, the value of the quantization table corresponding to the frequency having the maximum value is increased. The image compression is performed by reducing the quantization precision of the digital data of the frequency.

【0032】上記目的を達成するために、本発明のデジ
タルカメラに係る発明の構成は、被写体をデジタル信号
に変換して、圧縮符号化をおこなって記録する機能を有
するデジタルカメラにおいて、被写体像からデジタル画
像信号を生成する画像信号処理手段と、前記デジタル画
像信号を圧縮符号化する画像圧縮符号化手段と、その画
像圧縮符号化手段に対して画像圧縮に関するパラメータ
設定をおこない、指令を与える圧縮制御手段とを有し、
さらに、レンズと、撮像素子と、自動合焦(オートフォ
ーカス)手段とを備え、この自動合焦手段が、被写体像
に含まれる高周波成分を検出する機能を有し、前記圧縮
制御手段が、前記自動合焦手段が検出した高周波成分検
出の出力結果に基づいて画面内の空間周波数分布を計算
して、その計算結果に基づいて前記画像圧縮符号化手段
に対し、各空間周波数ごとに、圧縮パラメータの更新を
おこなって、圧縮符号化をして被写体像を記録するよう
にしたものである。
In order to achieve the above object, a digital camera according to the present invention comprises a digital camera having a function of converting a subject into a digital signal, performing compression coding, and recording the digital signal. Image signal processing means for generating a digital image signal, image compression / encoding means for compression-encoding the digital image signal, and compression control for setting an image compression parameter for the image compression / encoding means and giving a command. Means,
Furthermore, a lens, an image sensor, and an automatic focusing (autofocus) unit are provided, and the automatic focusing unit has a function of detecting a high-frequency component included in a subject image. The spatial frequency distribution in the screen is calculated based on the output result of the high-frequency component detection detected by the automatic focusing unit. Based on the calculation result, the image compression encoding unit is subjected to a compression parameter for each spatial frequency. Is updated, compression encoding is performed, and a subject image is recorded.

【0033】[0033]

【発明の実施の形態】以下、本発明の各実施形態を、図
1ないし図6を用いて説明する。 〔実施形態1〕以下、本発明の第一の実施形態を、図1
ないし図5を用いて説明する。先ず、図1を用いて本発
明に係る画像圧縮処理装置の構成について説明する。図
1は、本発明に係る画像圧縮処理装置の構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS. [Embodiment 1] Hereinafter, a first embodiment of the present invention will be described with reference to FIG.
This will be described with reference to FIG. First, the configuration of the image compression processing device according to the present invention will be described with reference to FIG. FIG. 1 is a configuration diagram of an image compression processing device according to the present invention.

【0034】本発明に係る画像圧縮処理装置は、MPE
Gなどの方式により静止画や動画像を符号化する場合に
用いられるものであり、デジタルカメラに内蔵させた
り、パソコンのMPEGボードとして具現化される。
The image compression processing apparatus according to the present invention
It is used when encoding a still image or a moving image by a method such as G, and is built in a digital camera or embodied as an MPEG board of a personal computer.

【0035】最初に、入力ポート1からアナログの画像
信号が入力され、画像A/D変換器2でデジタル信号に
変換される。このデジタル信号は、画像信号処理回路3
により、一般的なガンマ補正処理、輪郭強調等々の処理
が施される。画像信号処理回路3は、すなわち、通称で
DSP(Digital Signal Processor)と呼ばれる回路であ
る。
First, an analog image signal is input from the input port 1 and converted into a digital signal by the image A / D converter 2. This digital signal is supplied to the image signal processing circuit 3
Thus, general gamma correction processing, contour emphasis processing, and the like are performed. The image signal processing circuit 3 is a circuit generally called a DSP (Digital Signal Processor).

【0036】画像圧縮符号器4は、DCT変換、量子
化、フレーム予測、動き補償などのアルゴリズムに従っ
て、画像信号の符号化、圧縮処理がおこなわれる。ま
た、画像符号器4では、圧縮されたデータを、MPEG
等の規格に準拠し、諸々の符号化情報を含んだ形でビッ
トストリームを生成し出力ポート7に出力する。
The image compression encoder 4 encodes and compresses an image signal according to algorithms such as DCT transform, quantization, frame prediction, and motion compensation. Further, the image encoder 4 converts the compressed data into MPEG data.
A bit stream is generated in a form including various kinds of coding information in accordance with standards such as

【0037】また、高域抽出回路6では、画像信号処理
回路3により処理を施された信号から空間周波数の高い
高周波成分を検出して、圧縮制御回路5にその情報を伝
える。
The high frequency extraction circuit 6 detects a high frequency component having a high spatial frequency from the signal processed by the image signal processing circuit 3 and transmits the information to the compression control circuit 5.

【0038】圧縮制御回路5では、画像圧縮符号内部の
バッファが飽和しないよう符号量レートを一定範囲に保
つように量子化精度を調整してデータの圧縮をおこな
う。
The compression control circuit 5 compresses the data by adjusting the quantization precision so as to keep the code rate within a certain range so that the buffer inside the image compression code does not become saturated.

【0039】次に、図2ないし図4を用いて本発明の画
像圧縮方法の原理について説明しよう。図2は、従来技
術の量子化精度の調整と本発明の量子化精度の調整の原
理を対比して示した概念図である。ここで、縦軸は量子
化精度を表し、水平方向の軸はDCT変換により得られ
た水平と垂直の空間周波数を示している。図3は、実施
形態で取り上げる画像の一例を示した図である。図4
は、量子化精度の調整により、空間周波数ごとに取り得
るエネルギー分布を従来技術と本発明で対比して示した
グラフである。
Next, the principle of the image compression method of the present invention will be described with reference to FIGS. FIG. 2 is a conceptual diagram showing the principle of the adjustment of the quantization accuracy of the related art and the principle of the adjustment of the quantization accuracy of the present invention in comparison. Here, the vertical axis represents the quantization accuracy, and the horizontal axis represents the horizontal and vertical spatial frequencies obtained by the DCT transform. FIG. 3 is a diagram illustrating an example of an image taken up in the embodiment. FIG.
Is a graph showing the energy distribution that can be taken for each spatial frequency by adjusting the quantization accuracy, in comparison with the prior art and the present invention.

【0040】上記従来の技術の項で説明したように、符
号量レートの制御をおこなうときには、量子化精度を調
節するためにQスケールのみを変化させていた。これを
図2の三次元グラフの原理図で説明すると、あらかじめ
定められた量子化テーブルを、量子化精度の軸に対し平
行移動させるものである。これにより、生成符号量が許
容されている一定量よりも多いために、それを減少させ
たい場合には、量子化精度を下げ、逆に、生成符号量が
許容量よりも少ないために、増加させたい場合には量子
化精度を上げるようにする。このように量子化精度を操
作することにより、符号量レートを均一にすることがで
きる。具体的には、(式1)に示されているように、量
子化精度を上げるとは、Qスケールの値を小さくするこ
とであり、量子化精度を下げるとは、Qスケールの値を
大きくすることである。
As described in the section of the prior art, when controlling the code rate, only the Q scale is changed in order to adjust the quantization precision. This will be described with reference to the principle diagram of the three-dimensional graph in FIG. 2, in which a predetermined quantization table is moved in parallel with respect to an axis of quantization accuracy. As a result, when the generated code amount is larger than the allowed fixed amount and it is desired to decrease the amount, the quantization accuracy is lowered, and conversely, since the generated code amount is smaller than the allowed amount, the quantization accuracy is increased. If it is desired, the quantization accuracy should be increased. By manipulating the quantization precision in this way, the code rate can be made uniform. Specifically, as shown in (Equation 1), increasing the quantization accuracy means reducing the value of the Q scale, and decreasing the quantization accuracy means increasing the value of the Q scale. It is to be.

【0041】これに反し、本発明では、Qスケールのみ
ならず、Qテーブルも変化させて、量子化精度を調節す
ることにした。このようにすれば、図2(b)で示され
ているよう任意の空間周波数に対応して、量子化精度を
変化させることができる。すなわち、図2(a)の従来
技術の原理では、量子化精度の調節は、線形であった
が、本発明では、量子化テーブルの値も変化させ得るの
で、図2(b)のように非線型な調節もおこなうことが
できる。すなわち、具体的に言うと、(式1)の分母に
ある量子化係数(=Qスケール×Qテーブル)を変化さ
せるものであり、量子化精度を上げるときには、量子化
係数の値を小さくし、量子化精度を下げるときには、量
子化係数の値を大きくする。
On the contrary, in the present invention, not only the Q scale but also the Q table is changed to adjust the quantization precision. In this way, the quantization precision can be changed corresponding to an arbitrary spatial frequency as shown in FIG. That is, in the principle of the prior art of FIG. 2A, the adjustment of the quantization precision is linear, but in the present invention, the value of the quantization table can be changed, and as shown in FIG. Non-linear adjustments can also be made. That is, specifically, the quantization coefficient (= Q scale × Q table) in the denominator of (Equation 1) is changed. When the quantization precision is increased, the value of the quantization coefficient is reduced, When lowering the quantization precision, the value of the quantization coefficient is increased.

【0042】この図2(b)の例では、特にある空間周
波数よりも高周波になっている所の量子化精度を下げ
て、符号量レートを小さくしようとしている。
In the example shown in FIG. 2B, the code rate is reduced by lowering the quantization precision, particularly where the spatial frequency is higher than a certain spatial frequency.

【0043】本発明は、このような原理に基づいて、実
際の回路上の実現手段としては、図1に示されるよう
に、高域抽出回路からの情報を受けて、圧縮制御回路5
が、Qスケール、Qテーブルの両方の値を指定できるよ
うにしたものである。
According to the present invention, based on such a principle, as a means for realizing the actual circuit, as shown in FIG.
Is such that both values of the Q scale and the Q table can be designated.

【0044】次に、図3および図4を用いて実際の画像
イメージに基づいて本発明の画像圧縮方法について詳細
に説明しよう。
Next, the image compression method of the present invention will be described in detail based on an actual image with reference to FIGS.

【0045】例えば、図3に示されているように、細か
い縞のシャツを着た人物を撮像した場合を考えよう。こ
の場合には、シャツの縞の部分βが符号量を増大させ、
Qスケールが大きくなる。このために、従来技術で、符
号量を一定に保つように量子化精度を調節すると、あら
ゆる空間周波数における量子化精度が減少して、人物の
顔面部分αに大きなブロック歪みが出現したり、背景と
の境界にモスキートノイズが出現したりする。
For example, consider the case where a person wearing a shirt with fine stripes is imaged as shown in FIG. In this case, the striped portion β of the shirt increases the code amount,
The Q scale increases. For this reason, in the related art, when the quantization precision is adjusted to keep the code amount constant, the quantization precision in all spatial frequencies decreases, and large block distortion appears in the face portion α of the person, Or mosquito noise appears at the boundary with.

【0046】これは、ある被写体のなかに、ある周波数
付近の情報が特異的に多く存在し、そのために符号量が
増大する場合など、従来の量子化スケールの制御だけで
は、すべての空間周波数の量子化精度を均一に落とすこ
とでしか生成符号量を減少させられないからである。
This is because, in a case where information about a certain frequency is specifically present in a certain subject and the code amount is increased due to the information, for example, the control of the conventional quantization scale alone does not cover all spatial frequencies. This is because the generated code amount can be reduced only by uniformly lowering the quantization accuracy.

【0047】一方、本発明の量子化精度の調節では、Q
スケールのみならず、Qテーブルも周波数毎に変化させ
得るものである。
On the other hand, in the adjustment of the quantization precision of the present invention, Q
Not only the scale but also the Q table can be changed for each frequency.

【0048】すなわち、この例では、シャツの縞の部分
βの空間周波数付近に着目し、この周波数に対応する量
子化精度を特に低下させる。こうした場合、シャツの縞
の表現の精度のみが低下することになるが、顔面部分α
などへの影響は緩和される。
That is, in this example, attention is paid to the vicinity of the spatial frequency of the striped portion β of the shirt, and the quantization precision corresponding to this frequency is particularly reduced. In such a case, only the accuracy of the expression of the stripes on the shirt is reduced, but the face portion α
The impact on such as will be reduced.

【0049】これを、図4のグラフ列で具体的に説明し
よう。
This will be specifically described with reference to the graph sequence of FIG.

【0050】図4(a)は、この例のときに、横軸に被
写体の空間周波数、縦軸に符号量を取り、被写体の符号
エネルギー分布を示したものである。顔面部分αに対応
するのは、低周波であり、シャツの縞の部分βに対応す
る部分は、高周波であり、この部分にエネルギー(符号
量)が集中している。すなわち、このシャツの縞の部分
βに対応する部分が突出し、近傍よりも値が大きな極大
値となっている。
FIG. 4A shows the code energy distribution of a subject in this example, taking the spatial frequency of the subject on the horizontal axis and the code amount on the vertical axis. The low frequency corresponds to the face portion α, and the high frequency corresponds to the portion β of the shirt stripe, and energy (code amount) is concentrated in this portion. That is, the portion corresponding to the stripe portion β of the shirt protrudes, and has a local maximum value larger than that of the vicinity.

【0051】図4(b1)は、従来技術に係る周波数成
分毎の量子化テーブルの値であり、一定の勾配を有して
いる。なお、実際は、階段状の離散値を取るが、分かり
やすくするため、連続に変化することにした。
FIG. 4B1 shows the values of the quantization table for each frequency component according to the prior art, which has a constant gradient. Note that, in practice, a discrete value in a step shape is taken, but for the sake of simplicity, the value is changed continuously.

【0052】これに対し、図4(b2)は、本発明の周
波数成分毎の量子化テーブルの値であり、シャツの縞の
部分βに対応する量子化テーブルの値が大きくなってい
る。
On the other hand, FIG. 4B2 shows the values of the quantization table for each frequency component according to the present invention, and the values of the quantization table corresponding to the striped portion β of the shirt are large.

【0053】従来技術に係る量子化精度の調節では、
(式1)で圧縮された符号量は、図4(c1)のように
シャツの縞の部分βに対応する部分が突出することにな
る。本発明では、これに対し、図4(c1)のようにシ
ャツの縞の部分βに対応する部分がなだらかになる。そ
のため、低周波部分の符号量を相対的に多くすることが
でき、顔面部分αに大きなブロック歪みが出現したり、
背景との境界にモスキートノイズが出現したりするのを
防止できる。
In adjusting the quantization precision according to the prior art,
In the code amount compressed by (Equation 1), a portion corresponding to the stripe portion β of the shirt protrudes as shown in FIG. 4C1. In the present invention, on the other hand, the portion corresponding to the striped portion β of the shirt becomes gentle as shown in FIG. Therefore, the code amount of the low frequency portion can be relatively increased, and large block distortion appears in the face portion α,
Mosquito noise can be prevented from appearing at the boundary with the background.

【0054】このように、本発明によれば、被写体状況
に応じて、よりきめの細かい符号化制御をおこなうこと
が可能で、総合的な画質向上を達成することができる。
As described above, according to the present invention, it is possible to perform finer-grained encoding control in accordance with the situation of a subject, and it is possible to achieve an overall improvement in image quality.

【0055】次に、図5を用いて高域抽出回路6の構造
について説明しよう。図5は、本発明の高周波検出回路
の構造を示すブロック図である。
Next, the structure of the high-frequency extraction circuit 6 will be described with reference to FIG. FIG. 5 is a block diagram showing the structure of the high-frequency detection circuit of the present invention.

【0056】ここにおいて高域抽出回路6は、図5に示
すように、複数のハイパスフィルタバンドパスフィルタ
601と、画面内のエリアを指定するエリア指定回路6
02、加算回路603から構成される。最も単純なケー
スでは、エリア指定回路は、画面全体を指定しており、
このエリアの信号はすべて上記フィルタに送出される。
フィルタ出力信号は、加算回路603に蓄積される。加
算回路を一画面の走査が開始する時点でリセットした場
合、加算器には一画面の走査が終了した時点では、その
画面に存在するそれぞれのフィルタを通過した高域ない
し中域成分の総量のデータが収まっており、これらのデ
ータを検証することにより、画像の空間周波数分布を推
定することが可能である。
Here, as shown in FIG. 5, the high-frequency extraction circuit 6 includes a plurality of high-pass filter band-pass filters 601 and an area designating circuit 6 for designating an area in the screen.
02 and an adder circuit 603. In the simplest case, the area specification circuit specifies the entire screen,
All signals in this area are sent to the filter.
The filter output signal is stored in the adding circuit 603. If the adder circuit is reset at the start of one-screen scanning, the adder indicates at the end of one-screen scanning that the total amount of the high- or mid-range components that have passed through the respective filters present on that screen. Since the data is contained, it is possible to estimate the spatial frequency distribution of the image by verifying the data.

【0057】〔実施形態2〕次に、本発明に係る第二の
実施形態を、図6を用いて説明する。図6は、本発明の
画像圧縮処理を利用したデジタルカメラの構造を示すブ
ロック図である。
[Embodiment 2] Next, a second embodiment of the present invention will be described with reference to FIG. FIG. 6 is a block diagram showing the structure of a digital camera using the image compression processing of the present invention.

【0058】このデジタルカメラは、先ず、レンズ30
1で被写体像の光信号をCCD等の撮像素子302上に
結像させる。撮像素子302では、結像した光信号をア
ナログの電気信号に変換した後、画像A/D変換器30
3によりデジタル信号に変換されて、画像信号処理回路
304に入力される。また、輝度信号は分岐されて、高
域抽出回路306に入力される。高域抽出回路は、図5
で示したように、単一あるいは複数のバイパスフィル
タ、バンドパスフィルタなどから構成されており、それ
らのフィルタから得られた信号から、被写体中に存在す
る高域情報を示す画像高域情報308を生成して、自動
合焦制御器308に出力する。
This digital camera first has a lens 30
In step 1, an optical signal of a subject image is formed on an image sensor 302 such as a CCD. The image pickup device 302 converts the formed optical signal into an analog electric signal, and then converts the image A / D converter 30
The signal is converted into a digital signal by 3 and input to the image signal processing circuit 304. The luminance signal is branched and input to the high-frequency extraction circuit 306. The high-frequency extraction circuit is shown in FIG.
As shown in FIG. 5, the image processing apparatus includes a single or a plurality of bypass filters, band-pass filters, and the like. From signals obtained from these filters, image high-frequency information 308 indicating high-frequency information existing in the subject is obtained. It is generated and output to the automatic focusing controller 308.

【0059】自動合焦制御器308は、一般的にはマイ
コンチップ(Micro Controller Chip)で、高域情報に
あわせてフォーカスモータ309を制御する。すなわ
ち、カメラのピントを合うということは、画像が高周波
になるということであり、フォーカスモータ309を制
御して、画像が高周波の方にずれるようにレンズの位置
を調節するのである。
The automatic focusing controller 308 is generally a microcomputer chip (Micro Controller Chip), and controls the focus motor 309 in accordance with high frequency information. In other words, to focus the camera means that the image has a high frequency, and the focus motor 309 is controlled to adjust the position of the lens so that the image is shifted toward the high frequency.

【0060】一方、画像信号処理回路304から出力さ
れた画像情報は、画像圧縮符号化器305においてMP
EG形式などに圧縮符号化される。その符号化において
は、圧縮制御器310からの符号化係数設定命令311
に基づいて圧縮精度が定められる。
On the other hand, the image information output from the image signal processing circuit 304 is
The data is compressed and encoded in the EG format or the like. In the encoding, an encoding coefficient setting instruction 311 from the compression controller 310
The compression accuracy is determined based on

【0061】ここで本発明では、高域抽出回路306で
抽出される画像高域情報307を分岐させて、圧縮制御
器310の方にも入力する。
Here, in the present invention, the image high-frequency information 307 extracted by the high-frequency extraction circuit 306 is branched and input to the compression controller 310 as well.

【0062】圧縮制御器は、入力された画像高域情報3
07を解析して、これに基づいて実施形態1で説明した
本発明の画像圧縮処理の原理に則って、Qスケール、Q
テーブル値のいずれかあるいは両方を更新する命令を画
像圧縮符号化器305に出力する。
The compression controller controls the input image high frequency information 3
07 is analyzed, and based on this, the Q scale and the Q scale are applied in accordance with the principle of the image compression processing of the present invention described in the first embodiment.
An instruction to update one or both of the table values is output to the image compression encoder 305.

【0063】このようにすれば、従来のオートフォーカ
ス機能の回路を利用しつつ、被写体状況に応じて、より
きめの細かい符号化制御をおこなうことのできる本発明
の画像圧縮処理を実現することができる。
In this way, it is possible to realize the image compression processing according to the present invention which can perform finer coding control in accordance with the situation of the subject while utilizing the circuit of the conventional autofocus function. it can.

【0064】[0064]

【発明の効果】本発明によれば、画像の圧縮のための量
子化に際し、画像の周波数の特性に応じた量子化をおこ
なうことを可能とし、高い圧縮率でも画像の質をおとさ
ない画像圧縮処理装置および方法を提供することができ
る。
According to the present invention, it is possible to perform quantization in accordance with the frequency characteristics of an image at the time of quantization for compressing an image, and to perform image compression that does not degrade image quality even at a high compression rate. A processing apparatus and method can be provided.

【0065】また、本発明によれば、この画像圧縮処理
方法を応用したオートフォーカス機能を持つデジタルカ
メラを提供することができる。
Further, according to the present invention, it is possible to provide a digital camera having an autofocus function to which the image compression processing method is applied.

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

【図1】本発明に係る画像圧縮処理装置の構成図であ
る。
FIG. 1 is a configuration diagram of an image compression processing device according to the present invention.

【図2】従来技術の量子化精度の調整と本発明の量子化
精度の調整の原理を対比して示した概念図である。
FIG. 2 is a conceptual diagram showing the principle of adjustment of the quantization accuracy according to the prior art and the principle of the adjustment of the quantization accuracy according to the present invention.

【図3】実施形態で取り上げる画像の一例を示した図で
ある。
FIG. 3 is a diagram illustrating an example of an image taken up in the embodiment.

【図4】量子化精度の調整により、空間周波数ごとに取
り得るエネルギー分布を従来技術と本発明で対比して示
したグラフである。
FIG. 4 is a graph showing the energy distribution that can be obtained for each spatial frequency by adjusting the quantization accuracy, in comparison with the related art and the present invention.

【図5】本発明の高周波検出回路の構造を示すブロック
図である。
FIG. 5 is a block diagram illustrating a structure of a high-frequency detection circuit according to the present invention.

【図6】本発明の画像圧縮処理を利用したデジタルカメ
ラの構造を示すブロック図である。
FIG. 6 is a block diagram showing the structure of a digital camera using the image compression processing of the present invention.

【図7】ISO/IEC 11172-2 2.4.3.2項にも記載されたI
ntra画像に適用されるQテーブルの推奨例を示す図であ
る。
[Fig. 7] ISO / IEC 11172-2 I described in section 2.4.3.2
FIG. 14 is a diagram illustrating a recommended example of a Q table applied to an ntra image.

【図8】従来技術の構成に係るMPEG画像圧縮装置の
構成図である。
FIG. 8 is a configuration diagram of an MPEG image compression device according to a configuration of the related art.

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

1…入力ポート 2…画像A/D変換器 3…画像信号処理回路 4…画像圧縮符号器 5…符号量制御回路 6…画像高域抽出回路 7…出力ポート 301…レンズ 302…撮像素子 303…AD変換器 304…画像信号処理回路 305…画像圧縮符号器 306…高域抽出回路 307…画像高域情報 308…自動合焦(オートフォーカス)制御器 309…フォーカスモータ 310…圧縮制御器 311…符号化係数設定命令 DESCRIPTION OF SYMBOLS 1 ... Input port 2 ... Image A / D converter 3 ... Image signal processing circuit 4 ... Image compression encoder 5 ... Code amount control circuit 6 ... Image high frequency extraction circuit 7 ... Output port 301 ... Lens 302 ... Image sensor 303 ... AD converter 304 image signal processing circuit 305 image compression encoder 306 high-frequency extraction circuit 307 image high-frequency information 308 automatic focusing (autofocus) controller 309 focus motor 310 compression controller 311 code Coefficient setting instruction

───────────────────────────────────────────────────── フロントページの続き (72)発明者 嘉見 博章 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立画像情報システム内 (72)発明者 桜井 博 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立画像情報システム内 (72)発明者 大井 浩二 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立画像情報システム内 (72)発明者 埜口 秀人 茨城県ひたちなか市稲田1410番地 株式会 社日立製作所映像情報メディア事業部内 (72)発明者 大野 敦寛 茨城県ひたちなか市稲田1410番地 株式会 社日立製作所映像情報メディア事業部内 (72)発明者 植村 一徳 茨城県ひたちなか市稲田1410番地 株式会 社日立製作所映像情報メディア事業部内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Hiroaki Kami 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Hitachi Image Information System Co., Ltd. (72) Hiroshi Sakurai 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Hitachi Image Information System Co., Ltd. (72) Koji Ooi, Inventor Koji 292, Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside Company Hitachi Image Information System Co., Ltd. (72) Hideto Noguchi 1410 Inada, Hitachinaka-shi, Ibaraki Stock Association Hitachi, Ltd. Video Information Media Division (72) Inventor Atsuhiro Ono 1410 Inada, Hitachinaka-shi, Ibaraki Prefecture Co., Ltd. Hitachi Ltd. Video Information Media Division (72) Inventor Kazunori Uemura 1410 Inada, Hitachinaka-shi, Ibaraki Hitachi, Ltd. Inside the Visual Information Media Division of Manufacturing

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画像をデジタル信号に変換して、圧縮符
号化をおこなう画像圧縮処理装置において、 入力信号からデジタル画像信号を生成する画像信号処理
手段と、 前記デジタル画像信号を圧縮符号化する画像圧縮符号化
手段と、 その画像圧縮符号化手段に対して画像圧縮に関するパラ
メータ設定をおこない、指令を与える圧縮制御手段とを
有し、 さらに、前記デジタル信号に含まれる高周波成分を検出
する高周波検出手段を設け、 前記圧縮制御手段が、この高周波検出装置の出力結果に
基づいて画面内の空間周波数分布を計算して、 その計算結果に基づいて、前記画像圧縮符号化手段に対
して与えられる圧縮パラメータの更新を、各空間周波数
ごとにおこなうことを特徴とする画像圧縮処理装置。
1. An image compression processing device for converting an image into a digital signal and performing compression encoding, comprising: an image signal processing means for generating a digital image signal from an input signal; and an image for compressing and encoding the digital image signal. Compression encoding means; compression control means for setting parameters relating to image compression to the image compression encoding means and giving a command; and high frequency detection means for detecting a high frequency component contained in the digital signal. The compression control means calculates a spatial frequency distribution in a screen based on the output result of the high-frequency detection device, and, based on the calculation result, a compression parameter given to the image compression encoding means. An image compression processing device for updating the image data for each spatial frequency.
【請求項2】 前記圧縮パラメータが、量子化スケール
と量子化テーブルとであり、 各空間周波数ごとに対応する量子化テーブルの値を変化
させることが可能なことを特徴とする前記請求項1記載
の画像圧縮処理装置。
2. The method according to claim 1, wherein the compression parameters are a quantization scale and a quantization table, and a value of the quantization table corresponding to each spatial frequency can be changed. Image compression processing device.
【請求項3】 前記デジタル信号の空間周波数のエネル
ギー分布の極大値がある場合に、 その極大値をとる周波数に対応する量子化テーブルの値
を大きくし、 その周波数のデジタルデータの量子化精度を小さくして
画像圧縮をおこなうことを特徴とする請求項2記載の画
像圧縮処理装置。
3. When there is a maximum value of the energy distribution of the spatial frequency of the digital signal, the value of the quantization table corresponding to the frequency having the maximum value is increased, and the quantization accuracy of the digital data at that frequency is increased. 3. The image compression processing apparatus according to claim 2, wherein the image compression is performed by reducing the size.
【請求項4】 画像をデジタル信号に変換して、圧縮符
号化をおこなう画像圧縮処理方法において、 それに用いられる画像圧縮処理装置は、 入力信号からデジタル画像信号を生成する画像信号処理
手段と、 前記デジタル画像信号を圧縮符号化する画像圧縮符号化
手段と、 その画像圧縮符号化手段に対して画像圧縮に関するパラ
メータ設定をおこない、指令を与える圧縮制御手段とを
有し、 さらに、前記デジタル信号に含まれる高周波成分を検出
する高周波検出手段を設け、 前記圧縮制御手段が、この高周波検出装置の出力結果に
基づいて画面内の空間周波数分布を計算して、 その計算結果に基づいて、前記画像圧縮符号化手段に対
して与えられる圧縮パラメータの更新を、各空間周波数
ごとにおこなうことを特徴とする画像圧縮処理方法。
4. An image compression processing method for converting an image into a digital signal and performing compression encoding, wherein the image compression processing device used for the method comprises: an image signal processing means for generating a digital image signal from an input signal; Image compression encoding means for compressing and encoding the digital image signal, and compression control means for setting a parameter relating to image compression to the image compression / encoding means and giving a command; further included in the digital signal High-frequency detection means for detecting a high-frequency component to be detected, the compression control means calculates a spatial frequency distribution in a screen based on an output result of the high-frequency detection device, and based on the calculation result, the image compression code Image compression processing method for updating a compression parameter given to a converting means for each spatial frequency
【請求項5】 前記圧縮パラメータが、量子化スケール
と量子化テーブルとであり、 各空間周波数ごとに対応する量子化テーブルの値を変化
させることが可能なことを特徴とする前記請求項4記載
の画像圧縮処理方法。
5. The method according to claim 4, wherein the compression parameters are a quantization scale and a quantization table, and the value of the quantization table corresponding to each spatial frequency can be changed. Image compression processing method.
【請求項6】 前記デジタル信号の空間周波数のエネル
ギー分布の極大値がある場合に、 その極大値をとる周波数に対応する量子化テーブルの値
を大きくし、 その周波数のデジタルデータの量子化精度を小さくして
画像圧縮をおこなうことを特徴とする請求項5記載の画
像圧縮処理方法。
6. When there is a maximum value of the energy distribution of the spatial frequency of the digital signal, the value of the quantization table corresponding to the frequency having the maximum value is increased, and the quantization accuracy of the digital data at that frequency is increased. 6. The image compression processing method according to claim 5, wherein the image compression is performed with the size reduced.
【請求項7】 被写体をデジタル信号に変換して、圧縮
符号化をおこなって記録する機能を有するデジタルカメ
ラにおいて、 被写体像からデジタル画像信号を生成する画像信号処理
手段と、 前記デジタル画像信号を圧縮符号化する画像圧縮符号化
手段と、 その画像圧縮符号化手段に対して画像圧縮に関するパラ
メータ設定をおこない、指令を与える圧縮制御手段とを
有し、 さらに、レンズと、 撮像素子と、 自動合焦(オートフォーカス)手段とを備え、 この自動合焦手段が、被写体像に含まれる高周波成分を
検出する機能を有し、 前記圧縮制御手段が、前記自動合焦手段が検出した高周
波成分検出の出力結果に基づいて画面内の空間周波数分
布を計算して、 その計算結果に基づいて前記画像圧縮符号化手段に対
し、各空間周波数ごとに、圧縮パラメータの更新をおこ
なって、圧縮符号化をして被写体像を記録することを特
徴とするデジタルカメラ。
7. A digital camera having a function of converting a subject into a digital signal, performing compression encoding, and recording the image, an image signal processing unit for generating a digital image signal from a subject image, and compressing the digital image signal. An image compression encoding means for encoding, and a compression control means for setting parameters relating to image compression to the image compression encoding means and giving a command; and further comprising a lens, an image sensor, and an automatic focusing device. (Autofocus) means, wherein the automatic focusing means has a function of detecting high-frequency components contained in the subject image, and the compression control means outputs the high-frequency component detection detected by the automatic focusing means. The spatial frequency distribution in the screen is calculated based on the result, and based on the calculated result, the image compression encoding means is provided for each spatial frequency, Perform the update of the condensation parameters, digital camera and recording the subject image compression coding.
JP3443498A 1998-02-17 1998-02-17 Image compression processing unit and its method, and digital camera usign the unit Pending JPH11234669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3443498A JPH11234669A (en) 1998-02-17 1998-02-17 Image compression processing unit and its method, and digital camera usign the unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3443498A JPH11234669A (en) 1998-02-17 1998-02-17 Image compression processing unit and its method, and digital camera usign the unit

Publications (1)

Publication Number Publication Date
JPH11234669A true JPH11234669A (en) 1999-08-27

Family

ID=12414128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3443498A Pending JPH11234669A (en) 1998-02-17 1998-02-17 Image compression processing unit and its method, and digital camera usign the unit

Country Status (1)

Country Link
JP (1) JPH11234669A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440010B2 (en) 2003-09-30 2008-10-21 Mitsubishi Denki Kabushiki Kaisha Image pickup device and image pickup method
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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440010B2 (en) 2003-09-30 2008-10-21 Mitsubishi Denki Kabushiki Kaisha Image pickup device and image pickup method
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

Similar Documents

Publication Publication Date Title
US8363719B2 (en) Encoding apparatus, method of controlling thereof, and computer program
KR100203710B1 (en) Improved image coding system having functions for controlling generated amount of coded bit stream
US20010017887A1 (en) Video encoding apparatus and method
US20100067574A1 (en) Video decoding method and video encoding method
US7394856B2 (en) Adaptive video prefilter
JP2001510311A (en) Object-based rate control apparatus and method in coding scheme
US7343045B2 (en) Image information compression device
JPH118855A (en) Digital video signal encoding device and its method
JP2002543693A (en) Quantization method and video compression device
JP3703299B2 (en) Video coding method, system and computer program product for optimizing picture center image quality
US20050286628A1 (en) Human visual system (HVS) filter in a discrete cosine transformator (DCT)
US5515105A (en) Video signal coder using variance controlled quantization
JP3493103B2 (en) Quantized value generator
JP2005530423A (en) Method and system for optimizing image sharpness during encoding
KR100229796B1 (en) Image decoding system including compensation at detoriorate image
CN101390389A (en) Method and apparatus for selection of bit budget adjustment in dual pass encoding
JP2007028598A (en) Compression coding apparatus and compression coding method
JP6806466B2 (en) Image coding device and its control method
JP4171934B2 (en) Image processing apparatus and method, and recording medium
JP2002152758A (en) Image coder and image coding method
JPH07203430A (en) Image coding device
JPH11234669A (en) Image compression processing unit and its method, and digital camera usign the unit
JP5656575B2 (en) Image encoding device
JPH10108197A (en) Image coder, image coding control method, and medium storing image coding control program
JP2007020216A (en) Encoding apparatus, encoding method, filtering apparatus and filtering method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060606