JPH10304363A - Image signal processing unit and its method - Google Patents

Image signal processing unit and its method

Info

Publication number
JPH10304363A
JPH10304363A JP11401497A JP11401497A JPH10304363A JP H10304363 A JPH10304363 A JP H10304363A JP 11401497 A JP11401497 A JP 11401497A JP 11401497 A JP11401497 A JP 11401497A JP H10304363 A JPH10304363 A JP H10304363A
Authority
JP
Japan
Prior art keywords
quantization
image signal
rounding
signal processing
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.)
Pending
Application number
JP11401497A
Other languages
Japanese (ja)
Inventor
Shingo Ikeda
信吾 池田
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP11401497A priority Critical patent/JPH10304363A/en
Publication of JPH10304363A publication Critical patent/JPH10304363A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To attain transmission and/or recording of image data with less image quality deterioration due to quantization. SOLUTION: This method employs; a division means 103 that divides a received image signal into a plurality of blocks consisting of a prescribed number of pixels; a transformation means 104 that applies orthogonal transformation to image data of each block division by the division means 103; a quantization means 106 that quantizes the image data orthogonally transformed by the transformation means 104; a coding means 107 that applies variable length coding to the quantized image data; and a means that adjusts the code after quantization and variable length coding to have a code in a range consisting of a prescribed number of blocks. Then the method for rounding an arithmetic operation of the quantization means 106 is made unequal within one block consisting of pixels of a prescribed number so as to attain image compression with high image quality and to reduce a maximum value of a quantization error.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、画像信号処理装置
及び方法に関し、より具体的には、アナログーディジタ
ル変換された画像データを圧縮し、これを伝送媒体や記
録媒体を介した後で伸長するとともに、ディジタルーア
ナログ変換して画像信号を出力する画像信号処理装置及
び方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal processing apparatus and method, and more particularly, to a method for compressing analog-to-digital converted image data, decompressing the same after passing through a transmission medium or a recording medium. The present invention also relates to an image signal processing apparatus and method for outputting an image signal by performing digital-to-analog conversion.

【0002】[0002]

【従来の技術】画像信号を複数の画素から成るブロック
に分割するとともに、そのデータを直交変換し、複数の
ブロックで、ある範囲の符号量となるように、前記直交
変換したデータを量子化および可変長符号化し、これを
伝送または記録する画像信号処理装置が考えられてい
る。以下、従来の画像信号処理装置の一例を簡単に説明
する。
2. Description of the Related Art An image signal is divided into blocks each composed of a plurality of pixels, and the data is subjected to an orthogonal transformation. An image signal processing device that performs variable-length encoding and transmits or records the encoded data has been considered. Hereinafter, an example of a conventional image signal processing device will be briefly described.

【0003】図4は、従来例の画像信号処理装置の構成
図を示している。図4において、201は、インターレ
ースされたアナログ画像信号の入力信号、202は、ア
ナログ画像信号をディジタル画像信号に変換するアナロ
グーディジタル変換部、203は、前記ディジタル画像
信号を直交変換するブロック(例えば、縦8画素×横8
画素)に分割するブロック分割処理部である。
FIG. 4 shows a configuration diagram of a conventional image signal processing apparatus. In FIG. 4, reference numeral 201 denotes an input signal of an interlaced analog image signal, 202 denotes an analog-to-digital converter for converting an analog image signal into a digital image signal, and 203 denotes a block (for example, a quadrature transform of the digital image signal). , 8 pixels vertical x 8 horizontal
Block dividing unit for dividing the image into pixels.

【0004】204は、ブロック分割されたディジタル
画像信号を直交変換するDCT処理部である。205
は、直交変換を行ったブロックを複数個(例えば30
個)集めて量子化するとともに可変長符号化した場合
に、所定の符号量となるように量子化特性を見積もる符
号量見積り部である。
[0004] Reference numeral 204 denotes a DCT processing unit for orthogonally transforming a block-divided digital image signal. 205
Means that a plurality of blocks (for example, 30
This is a code amount estimating unit for estimating a quantization characteristic so as to obtain a predetermined code amount when collectively quantizing and performing variable length coding.

【0005】206は、DCT処理部204で直交変換
されたデータを、符号量見積り部205で見積もられた
量子化特性で量子化する量子化部であり、207は、量
子化部206で量子化されたデータを可変長符号化する
可変長符号化部である。208は、可変長符号化部で符
号化された画像信号を伝送または記録するためのデータ
処理部であり、伝送または記録する信号209を出力す
る。
[0005] Reference numeral 206 denotes a quantization unit which quantizes the data orthogonally transformed by the DCT processing unit 204 by using the quantization characteristic estimated by the code amount estimation unit 205. A variable-length coding unit that performs variable-length coding on the converted data. A data processing unit 208 transmits or records an image signal encoded by the variable length encoding unit, and outputs a signal 209 to be transmitted or recorded.

【0006】図5(a)及び図5(b)は、X軸に量子
化ブロックの入力、Y軸に量子化ブロックの出力を示し
ていて、量子化特性はY=X÷Nである。図5(a)
は、演算で切り捨てを行った場合を示し、図5(b)は
演算で四捨五入を行った場合を示している。
FIGS. 5A and 5B show the input of a quantization block on the X-axis and the output of the quantization block on the Y-axis, and the quantization characteristic is Y = X ÷ N. FIG. 5 (a)
5 shows a case where truncation is performed by calculation, and FIG. 5B shows a case where rounding is performed by calculation.

【0007】図5(a)及び図5(b)において、破線
はY=X÷Nの演算結果を表していて、実線は丸めを行
った結果であり、従来の量子化部206の演算では、切
り捨てや四捨五入等の丸めが行われていた。
In FIG. 5A and FIG. 5B, the broken lines indicate the calculation result of Y = X ÷ N, and the solid line indicates the result of rounding. , Rounding such as truncation and rounding was performed.

【0008】[0008]

【発明が解決しようとする課題】従来の画像信号処理装
置では、同じ量子化特性で同じデータを量子化する場合
に、切り捨てを行った場合は四捨五入を行った場合に比
べて、(イ)出力データのゼロが多くなる。また、
(ロ)データの値が小さくなることから、可変長符号化
部207の出力データの圧縮効率が良くなることがあっ
た。
In the conventional image signal processing apparatus, when the same data is quantized with the same quantization characteristics, the output is (a) smaller when rounding down than when rounding off. More zeros in the data. Also,
(B) Since the data value is reduced, the compression efficiency of the output data of the variable length coding unit 207 may be improved.

【0009】したがって、切り捨てを行った場合は、四
捨五入を行った場合に比べて、量子化特性Y=X÷Nに
おいて、前記Nをより小さくすることができるので、量
子化ステップが小さくなることにより、高画質な画像圧
縮が行える利点があった。
Therefore, when the truncation is performed, the N can be made smaller in the quantization characteristic Y = X ÷ N than when the rounding is performed, so that the quantization step becomes smaller. There is an advantage that high-quality image compression can be performed.

【0010】しかし、切り捨てを行うと、量子化誤差の
最大値が大きくなるというデメリットもある。以上のこ
とから、従来より行われていた量子化の演算での丸めの
方法には、一長一短があり、一種類の丸めの方法を採用
したのでは高画質な画像圧縮ができないという問題点が
あつた。
[0010] However, there is a demerit that the maximum value of the quantization error increases when truncation is performed. As described above, the conventional rounding method in the quantization operation has advantages and disadvantages, and there is a problem that high-quality image compression cannot be performed by using one kind of rounding method. Was.

【0011】本発明は前述の問題点にかんがみ、高画質
な画像圧縮を行うことができるとともに、画質劣化が少
ない量子化を行うことができるようにすることを目的と
する。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to perform high-quality image compression and to perform quantization with little image quality deterioration.

【0012】[0012]

【課題を解決するための手段】本発明の画像信号処理装
置は、入力された画像信号を所定数の画素から成る複数
のブロックに分割する分割手段と、前記分割手段によっ
て分割した各ブロックの画像データを直交変換する変換
手段と、前記変換手段によって直交変換した画像データ
を量子化する量子化手段と、前記量子化した画像データ
を可変長符号化する符号化手段と、前記量子化及び可変
長符号化した符号が所定数のブロックである範囲の符号
量となるようにする手段とを有する画像信号処理装置に
おいて、前記量子化手段により行う演算の丸めの方法
を、前記所定数の画素から成る1個のブロック内で異な
らせることを特徴としている。
According to the present invention, there is provided an image signal processing apparatus comprising: a dividing means for dividing an input image signal into a plurality of blocks each having a predetermined number of pixels; and an image of each block divided by the dividing means. Transforming means for orthogonally transforming data, quantizing means for quantizing image data orthogonally transformed by the transforming means, encoding means for variable-length encoding the quantized image data, and the quantization and variable length Means for making the encoded code have a code amount within a range of a predetermined number of blocks, wherein the method of rounding the operation performed by the quantization means comprises the predetermined number of pixels. It is characterized in that it differs within one block.

【0013】また、本発明の他の特徴とするところは、
前記量子化手段は、前記1個のブロック内で演算の丸め
の方法を異ならせるに際し、演算の丸めの誤差が、前記
直交変換された画像データの周波数成分の低い方は高い
方よりも少なくなるようにすることを特徴としている。
Another feature of the present invention is that
The quantization means, when making the rounding method of the operation different in the one block, the error of the rounding of the operation is smaller in the lower frequency component of the orthogonally transformed image data than in the higher frequency component. It is characterized by doing so.

【0014】また、本発明のその他の特徴とするところ
は、前記量子化手段は、前記直交変換された画像データ
を、周波数成分の低い方では量子化の演算で四捨五入の
丸めを行い、その反対に周波数成分の高い方では量子化
の演算で切り捨ての丸めを行うことを特徴としている。
According to another feature of the present invention, the quantizing means rounds the orthogonally transformed image data to a lower frequency component by a quantization operation, and vice versa. In addition, the method is characterized in that rounding of truncation is performed by quantization operation on the higher frequency component.

【0015】また、本発明のその他の特徴とするところ
は、前記符号化手段は、前記直交変換されたデータの周
波数成分の低いものから並べ替えを行い、データのゼロ
の連続個数と、ゼロでないデータを組み合わせてハフマ
ン符号化を行うことを特徴としている。
According to another feature of the present invention, the encoding means rearranges the orthogonally-transformed data from low frequency components, so that the number of continuous zeros of the data and the non-zero number of zeros are determined. Huffman coding is performed by combining data.

【0016】また、本発明の画像信号処理方法は、入力
された画像信号を所定数の画素から成る複数のブロック
に分割する分割処理と、前記分割処理によって分割され
た各ブロックの画像データを直交変換する変換処理と、
前記直交変換した画像データを量子化する量子化処理
と、前記量子化した画像データを可変長符号化する符号
化処理と、前記量子化及び可変長符号化した符号が所定
数のブロックである範囲の符号量となるようにする処理
とを行う画像信号処理方法において、前記量子化処理で
行う演算の丸めの方法を、前記所定数の画素から成る1
個のブロック内で異ならせることを特徴としている。
Further, according to the image signal processing method of the present invention, a dividing process of dividing an input image signal into a plurality of blocks each composed of a predetermined number of pixels, and an image data of each block divided by the dividing process are orthogonalized. A conversion process for converting;
A quantization process for quantizing the orthogonally transformed image data, an encoding process for performing variable length encoding on the quantized image data, and a range in which the quantized and variable length encoded code is a predetermined number of blocks. In the image signal processing method for performing the process of setting the code amount of
It is characterized in that it is different in each block.

【0017】また、本発明の他の特徴とするところは、
前記量子化処理は、前記1個のブロック内で丸めの方法
を異ならせるに際し、演算の丸めの誤差が、前記直交変
換された画像データの周波数成分の低い方は高い方より
も少なくなるようにすることを特徴としている。
Another feature of the present invention is that
In the quantization process, when differentiating the rounding method within the one block, the rounding error of the operation is such that the lower one of the frequency components of the orthogonally transformed image data is smaller than the higher one. It is characterized by doing.

【0018】また、本発明のその他の特徴とするところ
は、前記量子化処理は、前記直交変換された画像データ
を、周波数成分の低い方では量子化の演算で四捨五入の
丸めを行い、その反対に周波数成分の高い方では量子化
の演算で切り捨ての丸めを行うことを特徴としている。
According to another feature of the present invention, in the quantization process, the orthogonally transformed image data is rounded to a lower frequency component by a rounding operation using a quantization operation. In addition, the method is characterized in that rounding of truncation is performed by quantization operation on the higher frequency component.

【0019】また、本発明のその他の特徴とするところ
は、前記符号化処理は、前記直交変換されたデータの周
波数成分の低いものから並べ替えを行い、データのゼロ
の連続個数と、ゼロでないデータを組み合わせてハフマ
ン符号化を行うことを特徴としている。
According to another feature of the present invention, in the encoding process, the orthogonally transformed data is rearranged from the one having a low frequency component, and the number of consecutive zeros of the data and the non-zero data are determined. Huffman coding is performed by combining data.

【0020】本発明は前記技術手段よりなるので、量子
化を行う演算での丸めの方法が、直交変換されたデータ
の周波数成分によって選択されるので、圧縮効率を向上
させることができるとともに、量子化による画質劣化を
少なくすることができる。
Since the present invention comprises the above technical means, the rounding method in the operation for performing quantization is selected according to the frequency component of the orthogonally transformed data, so that the compression efficiency can be improved and the quantization efficiency can be improved. Image quality deterioration due to image formation can be reduced.

【0021】[0021]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第1の実施形態)以下、本発明の画像信号処理装置及
び方法の実施形態を図面を参照して説明する。図1は、
本実施形態の画像信号処理装置の構成を示すブロック図
である。図1において、101は、インターレースされ
たアナログ画像信号の入力信号、102は、入力された
アナログ画像信号をディジタル画像信号に変換するアナ
ログ‐ディジタル変換部である。
(First Embodiment) An embodiment of an image signal processing apparatus and method according to the present invention will be described below with reference to the drawings. FIG.
FIG. 2 is a block diagram illustrating a configuration of an image signal processing device according to the present embodiment. In FIG. 1, reference numeral 101 denotes an input signal of an interlaced analog image signal, and reference numeral 102 denotes an analog-digital converter for converting the input analog image signal into a digital image signal.

【0022】103は、ディジタル画像信号を直交変換
するブロック(例えば、縦8画素×横8画素)に分割す
るブロック分割処理部、104は、ブロック分割された
ディジタル画像信号を直交変換するDCT処理部、10
5は、直交変換されたブロックを複数個(例えば30
個)集めて量子化及び可変長符号化した場合に、所定の
符号量になるような量子化特性を見積もる符号量見積り
部である。
Reference numeral 103 denotes a block division processing unit that divides the digital image signal into blocks (for example, 8 pixels vertically × 8 pixels horizontally) that are orthogonally transformed. 104 denotes a DCT processing unit that orthogonally transforms the divided digital image signal. , 10
5 denotes a plurality of orthogonally transformed blocks (for example, 30
This is a code amount estimating unit for estimating a quantization characteristic such that a predetermined code amount is obtained when the data is collected and quantized and subjected to variable-length coding.

【0023】106は、DCT処理部104で直交変換
された画像データを、符号量見積り部105で見積もら
れた量子化特性で量子化する量子化部である。110
は、量子化部106の量子化特性を制御する量子化制御
部、107は、量子化された画像データを可変長符号化
する可変長符号化部、108は、符号化された画像デー
タを伝送または記録するためのデータ処理部であり、伝
送または記録する出力信号109を出力する。
Reference numeral 106 denotes a quantization unit that quantizes the image data orthogonally transformed by the DCT processing unit 104 with the quantization characteristics estimated by the code amount estimation unit 105. 110
Is a quantization control unit that controls the quantization characteristics of the quantization unit 106, 107 is a variable length coding unit that performs variable length coding on the quantized image data, and 108 is a unit that transmits the coded image data. Alternatively, it is a data processing unit for recording, and outputs an output signal 109 to be transmitted or recorded.

【0024】可変長符号化部107では、直交変換され
たデータの周波数成分の低いものから並べ替え、データ
のゼロの連続個数と、ゼロでないデータを組み合わせて
ハフマン符号化を行っている。
The variable-length coding unit 107 performs the Huffman coding by rearranging the orthogonally transformed data in ascending order of frequency components and combining the continuous number of zeros of data with non-zero data.

【0025】このときハフマン符号化は、データのゼロ
が多いほど、またはデータの値が小さいほどデータ量は
高圧縮化される傾向にある。量子化部106では、量子
化の演算で切り捨てと四捨五入の丸めを、量子化制御部
110により選択して行う。
At this time, in the Huffman coding, the data amount tends to be highly compressed as the number of zeros of the data increases or as the value of the data decreases. In the quantization unit 106, the rounding of rounding down and rounding is selected and performed by the quantization control unit 110 in the quantization operation.

【0026】例えば、図2に示すように、直交変換した
データを周波数成分の低い方をA領域とし、高い方をB
領域とする。そして、A領域では量子化の演算で四捨五
入の丸めを行い、B領域では切り捨ての丸めを行うよう
に動作させる。
For example, as shown in FIG. 2, the orthogonally transformed data has a lower frequency component as an A region and a higher frequency component as a B region.
Area. Then, the operation is performed so that the rounding of rounding is performed in the A region by the quantization operation, and the rounding of the truncation is performed in the B region.

【0027】このようにする理由は、(イ)A領域(低
域)は、B領域(高域)に比べて、量子化することでゼ
ロになる頻度は低い。したがって、切り捨てをしてもゼ
ロにならず、ハフマン符号化での高圧縮化が期待できな
いため、より量子化誤差の少ない四捨五入を行う。ま
た、(ロ)A領域(低域)は、B領域(高域)に比べて
画質に影響を与えやすいため、より量子化誤差の少ない
四捨五入を行うようにした方が有利であるからである。
The reason for this is as follows: (a) The frequency of the A region (low band) becomes zero by quantization as compared with the B region (high band). Therefore, even if the data is truncated, it does not become zero, and high compression in Huffman coding cannot be expected. Therefore, rounding with less quantization error is performed. Also, (b) the A region (low band) is more likely to affect the image quality than the B region (high band), so it is more advantageous to perform rounding with less quantization error. .

【0028】一方、(ハ)B領域(高域)はA領域(低
域)に比べて、量子化することでゼロになる頻度は高
い。したがって、切り捨てを行うことで、ハフマン符号
化での高圧縮化が期待できるため、切り捨ての丸めを行
うようにしている。
On the other hand, (c) the frequency of the B area (high frequency) becomes zero by quantizing more frequently than the A area (low frequency). Therefore, by performing the truncation, high compression in the Huffman coding can be expected. Therefore, the truncation is rounded.

【0029】(第2の実施形態)前述した第1の実施形
態においては、量子化部106での量子化の演算の丸め
を、図2に示すA領域、B領域の2つの領域に分けて行
ったが、本実施形態においては、図3に示すように周波
数成分によってC領域、D領域、E領域の3つの領域と
し、C領域では量子化の演算で四捨五入の丸めを行い、
D領域では七捨八入の丸めを行う。また、E領域では切
り捨ての丸めを行うように動作させるようにしている。
(Second Embodiment) In the first embodiment described above, the rounding of the quantization operation in the quantization unit 106 is divided into two regions, an A region and a B region shown in FIG. However, in the present embodiment, as shown in FIG. 3, the frequency components are divided into three regions, a C region, a D region, and an E region.
In the D area, rounding is performed to the nearest whole number. Further, in the E region, the operation is performed so as to perform rounding.

【0030】ここで、分割領域の数、領域の境界は前述
した実施形態に示した限りではない。また、量子化の演
算での丸めの方法も、実施形態に示した切り捨てまたは
四捨五入及び七捨八入に限ったことではない。
Here, the number of divided areas and the boundaries of the areas are not limited to those described in the above embodiment. Further, the rounding method in the quantization operation is not limited to the truncation or the rounding and the rounding described in the embodiment.

【0031】(本発明の他の実施形態)本発明は複数の
機器(例えば、ホストコンピュータ、インタフェース機
器、リーダ、プリンタ等)から構成されるシステムに適
用しても1つの機器(例えば、複写機、ファクシミリ装
置)からなる装置に適用しても良い。
(Other Embodiments of the Present Invention) The present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), and is applied to one device (for example, a copying machine). , A facsimile machine).

【0032】また、前述した実施形態の機能を実現する
ように各種のデバイスを動作させるように、前記各種デ
バイスと接続された装置あるいはシステム内のコンピュ
ータに対し、前記実施形態の機能を実現するためのソフ
トウェアのプログラムコードを供給し、そのシステムあ
るいは装置のコンピュータ(CPUあるいはMPU)に
格納されたプログラムに従って前記各種デバイスを動作
させることによって実施したものも、本発明の範疇に含
まれる。
Further, in order to realize the functions of the above-described embodiment, a device connected to the above-described various devices or a computer in a system is operated so as to operate various devices so as to realize the functions of the above-described embodiment. The present invention also includes a program that is implemented by supplying the program code of the software described above and operating the various devices according to a program stored in a computer (CPU or MPU) of the system or apparatus.

【0033】また、この場合、前記ソフトウェアのプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコード自体、およびそのプ
ログラムコードをコンピュータに供給するための手段、
例えばかかるプログラムコードを格納した記憶媒体は本
発明を構成する。かかるプログラムコードを記憶する記
憶媒体としては、例えばフロッピーディスク、ハードデ
ィスク、光ディスク、光磁気ディスク、CD−ROM、
磁気テープ、不揮発性のメモリカード、ROM等を用い
ることができる。
In this case, the program code of the software implements the functions of the above-described embodiment, and the program code itself and means for supplying the program code to the computer are provided.
For example, a storage medium storing such a program code constitutes the present invention. As a storage medium for storing such a program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM,
A magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0034】また、コンピュータが供給されたプログラ
ムコードを実行することにより、前述の実施形態の機能
が実現されるだけでなく、そのプログラムコードがコン
ピュータにおいて稼働しているOS(オペレーティング
システム)あるいは他のアプリケーションソフト等の共
同して前述の実施形態の機能が実現される場合にもかか
るプログラムコードは本発明の実施形態に含まれること
は言うまでもない。
When the computer executes the supplied program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) or other operating system running on the computer. Needless to say, the program code is also included in the embodiment of the present invention when the functions of the above-described embodiment are realized in cooperation with application software or the like.

【0035】さらに、供給されたプログラムコードがコ
ンピュータの機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに格納された後、そ
のプログラムコードの指示に基づいてその機能拡張ボー
ドや機能拡張ユニットに備わるCPU等が実際の処理の
一部または全部を行い、その処理によって前述した実施
形態の機能が実現される場合にも本発明に含まれること
は言うまでもない。
Further, after the supplied program code is stored in a memory provided in a function expansion board of a computer or a function expansion unit connected to the computer, the function expansion board or the function expansion unit is specified based on the instruction of the program code. It is needless to say that the present invention also includes a case where a CPU or the like provided in the first embodiment performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0036】[0036]

【発明の効果】本発明は前述したように、量子化を行う
演算での丸めの方法を、直交変換されたデータの周波数
成分によって選択するようにしたので、データの周波数
成分に応じて圧縮率を良くしたり、あるいは量子化によ
る画質劣化を少なくしたりすることができ、画質劣化が
少なくて高品位な画像の伝送及び/または記録が可能と
なる。
As described above, according to the present invention, the rounding method in the operation for performing the quantization is selected according to the frequency component of the orthogonally transformed data. Or image quality degradation due to quantization can be reduced, and high-quality image transmission and / or recording with little image quality degradation can be performed.

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

【図1】本発明の第1の実施形態を示す画像信号処理装
置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an image signal processing device according to a first embodiment of the present invention.

【図2】第1の実施形態における直交変換されたデータ
の領域を示した図である。
FIG. 2 is a diagram illustrating an area of orthogonally transformed data according to the first embodiment.

【図3】第2の実施形態における直交変換されたデータ
の領域を示した図である。
FIG. 3 is a diagram illustrating an area of orthogonally transformed data in a second embodiment.

【図4】従来の画像信号処理装置例を示すブロック図で
ある。
FIG. 4 is a block diagram showing an example of a conventional image signal processing device.

【図5】量子化を行う演算での丸めの様子を示す図であ
る。
FIG. 5 is a diagram showing a state of rounding in an operation for performing quantization.

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

101 アナログ画像信号の入力信号 102 アナログ‐ディジタル変換部 103 ブロック分割処理部 104 DCT処理部 105 符号量見積り部 106 量子化制御部 107 可変長符号化部 108 データ処理都 109 出力信号 110 量子化制御部 Reference Signs List 101 input signal of analog image signal 102 analog-digital conversion unit 103 block division processing unit 104 DCT processing unit 105 code amount estimation unit 106 quantization control unit 107 variable length coding unit 108 data processing unit 109 output signal 110 quantization control unit

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像信号を所定数の画素から
成る複数のブロックに分割する分割手段と、前記分割手
段によって分割した各ブロックの画像データを直交変換
する変換手段と、前記変換手段によって直交変換した画
像データを量子化する量子化手段と、前記量子化した画
像データを可変長符号化する符号化手段と、前記量子化
及び可変長符号化した符号が所定数のブロックである範
囲の符号量となるようにする手段とを有する画像信号処
理装置において、 前記量子化手段により行う演算の丸めの方法を、前記所
定数の画素から成る1個のブロック内で異ならせること
を特徴とする画像信号処理装置。
A dividing unit that divides an input image signal into a plurality of blocks each including a predetermined number of pixels; a transforming unit that orthogonally transforms image data of each block divided by the dividing unit; A quantizing unit for quantizing the orthogonally transformed image data; an encoding unit for performing variable-length encoding on the quantized image data; and a range in which the quantized and variable-length encoded code is a predetermined number of blocks. An image signal processing apparatus having means for obtaining a code amount, wherein a method of rounding an operation performed by the quantization means is made different within one block composed of the predetermined number of pixels. Image signal processing device.
【請求項2】 前記量子化手段は、前記1個のブロック
内で演算の丸めの方法を異ならせるに際し、演算の丸め
の誤差が、前記直交変換された画像データの周波数成分
の低い方は高い方よりも少なくなるようにすることを特
徴とする請求項1に記載の画像信号処理装置。
2. The method according to claim 1, wherein the quantizing means is configured such that, when differentiating a rounding method in the one block, a rounding error of the operation is higher when the frequency component of the orthogonally transformed image data is lower. 2. The image signal processing device according to claim 1, wherein the number of the image signal processing devices is smaller than that of the image signal processing device.
【請求項3】 前記量子化手段は、前記直交変換された
画像データを、周波数成分の低い方では量子化の演算で
四捨五入の丸めを行い、その反対に周波数成分の高い方
では量子化の演算で切り捨ての丸めを行うことを特徴と
する請求項1または2の何れか1項に記載の画像信号処
理装置。
3. The quantization means rounds off the orthogonally transformed image data by a quantization operation in a lower frequency component, and conversely, a quantization operation in a higher frequency component. The image signal processing apparatus according to claim 1, wherein rounding of truncation is performed by:
【請求項4】 前記符号化手段は、前記直交変換された
データの周波数成分の低いものから並べ替えを行い、デ
ータのゼロの連続個数と、ゼロでないデータを組み合わ
せてハフマン符号化を行うことを特徴とする請求項1〜
3の何れか1項に記載の画像信号処理装置。
4. The encoding means according to claim 1, wherein said orthogonally transformed data is rearranged in descending order of frequency components, and Huffman encoding is performed by combining a continuous number of zeros of data and non-zero data. Claim 1 to claim
4. The image signal processing device according to claim 3.
【請求項5】 入力された画像信号を所定数の画素から
成る複数のブロックに分割する分割処理と、前記分割処
理によって分割された各ブロックの画像データを直交変
換する変換処理と、前記直交変換した画像データを量子
化する量子化処理と、前記量子化した画像データを可変
長符号化する符号化処理と、前記量子化及び可変長符号
化した符号が所定数のブロックである範囲の符号量とな
るようにする処理とを行う画像信号処理方法において、 前記量子化処理で行う演算の丸めの方法を、前記所定数
の画素から成る1個のブロック内で異ならせることを特
徴とする画像信号処理方法。
5. A division process for dividing an input image signal into a plurality of blocks each including a predetermined number of pixels; a transformation process for orthogonally transforming image data of each block divided by the division process; Quantization processing for quantizing the quantized image data, encoding processing for variable-length encoding the quantized image data, and a code amount in a range where the quantized and variable-length encoded code is a predetermined number of blocks. An image signal processing method for performing the following processing, wherein the method of rounding the operation performed in the quantization processing is made different within one block composed of the predetermined number of pixels. Processing method.
【請求項6】 前記量子化処理は、前記1個のブロック
内で丸めの方法を異ならせるに際し、演算の丸めの誤差
が、前記直交変換された画像データの周波数成分の低い
方は高い方よりも少なくなるようにすることを特徴とす
る請求項5に記載の画像信号処理方法。
6. In the quantization process, when a rounding method is made different in the one block, a rounding error of an operation is such that a lower frequency component of the orthogonally transformed image data has a higher frequency component than a higher frequency component. 6. The image signal processing method according to claim 5, wherein the image signal is reduced.
【請求項7】 前記量子化処理は、前記直交変換された
画像データを、周波数成分の低い方では量子化の演算で
四捨五入の丸めを行い、その反対に周波数成分の高い方
では量子化の演算で切り捨ての丸めを行うことを特徴と
する請求項5または6の何れか1項に記載の画像信号処
理方法。
7. The quantization processing includes performing the rounding of the orthogonally transformed image data by a quantization operation in a lower frequency component and a quantization operation in a higher frequency component. 7. The image signal processing method according to claim 5, wherein the rounding is performed by truncation.
【請求項8】 前記符号化処理は、前記直交変換された
データの周波数成分の低いものから並べ替えを行い、デ
ータのゼロの連続個数と、ゼロでないデータを組み合わ
せてハフマン符号化を行うことを特徴とする請求項5〜
7の何れか1項に記載の画像信号処理方法。
8. The encoding process according to claim 1, wherein the Huffman encoding is performed by rearranging the orthogonally-transformed data in ascending order of frequency components and combining a continuous number of zeros of data with non-zero data. Claim 5
8. The image signal processing method according to claim 7.
JP11401497A 1997-05-01 1997-05-01 Image signal processing unit and its method Pending JPH10304363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11401497A JPH10304363A (en) 1997-05-01 1997-05-01 Image signal processing unit and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11401497A JPH10304363A (en) 1997-05-01 1997-05-01 Image signal processing unit and its method

Publications (1)

Publication Number Publication Date
JPH10304363A true JPH10304363A (en) 1998-11-13

Family

ID=14626900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11401497A Pending JPH10304363A (en) 1997-05-01 1997-05-01 Image signal processing unit and its method

Country Status (1)

Country Link
JP (1) JPH10304363A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260315B2 (en) 2001-11-27 2007-08-21 Sony Corporation Signal processing apparatus
CN100349466C (en) * 2004-08-06 2007-11-14 浙江大学 Method and device for qrasi-energy convervation change in vide frequency image cornpression
JP2011223607A (en) * 2004-06-18 2011-11-04 Thomson Licensing Method and device for video codec quantization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7260315B2 (en) 2001-11-27 2007-08-21 Sony Corporation Signal processing apparatus
JP2011223607A (en) * 2004-06-18 2011-11-04 Thomson Licensing Method and device for video codec quantization
CN100349466C (en) * 2004-08-06 2007-11-14 浙江大学 Method and device for qrasi-energy convervation change in vide frequency image cornpression

Similar Documents

Publication Publication Date Title
US6233359B1 (en) File size bounded JPEG transcoder (FSBJT)
JP4365957B2 (en) Image processing method and apparatus and storage medium
US7505631B2 (en) Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
JP2005039854A (en) Image decoding method
JPH08242378A (en) Method for efficiently and repeatedly decompressing standardadct compressed image
JPH10294872A (en) Image coding method, device, image decoding method and device
JPH10304362A (en) Image signal processing unit and its method
JPH08181987A (en) Coder
JP2007300389A (en) Image encoding apparatus and image encoding program
JPH10304363A (en) Image signal processing unit and its method
JP3835273B2 (en) Image encoding / decoding device
JPH0723385A (en) Highly efficient encoding device
JP2768260B2 (en) Image coding control method
JP2001313943A (en) Image encoder, its method and storage medium
JPH07162859A (en) Image encoder and image decoder
JP3368186B2 (en) Image processing apparatus and method
JP5501014B2 (en) Information processing apparatus, information processing method, program, and storage medium
JPH0879537A (en) Picture information encoding processor and picture information communication equipment
JPH06164941A (en) Picture data coding method and device
JP3200082B2 (en) Image processing method
JP2993212B2 (en) How to combine images
JP2762712B2 (en) Encoding device and decoding device
JP3015112B2 (en) Image processing method
JPH0575867A (en) Image data coder
JP3866539B2 (en) Encoding method, decoding method, encoding device, decoding device, encoding program, decoding program, and program recording medium thereof

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040713

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041207