[go: up one dir, main page]

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

Image signal processing unit and its method

Info

Publication number
JPH10304362A
JPH10304362A JP11401397A JP11401397A JPH10304362A JP H10304362 A JPH10304362 A JP H10304362A JP 11401397 A JP11401397 A JP 11401397A JP 11401397 A JP11401397 A JP 11401397A JP H10304362 A JPH10304362 A JP H10304362A
Authority
JP
Japan
Prior art keywords
quantization
rounding
image signal
data
value
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
JP11401397A
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 JP11401397A priority Critical patent/JPH10304362A/en
Publication of JPH10304362A publication Critical patent/JPH10304362A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce image deterioration caused by rounding of arithmetic operations conducted in a quantization means as much as possible and to attain high compression processing. 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 selected based on the received data and a quantization characteristic of the quantization means 106 in order to conduct image compression with less image quality deterioration 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 quantization step becomes smaller because the N can be made smaller in the quantization characteristic Y = X ÷ N, as compared with the case where the rounding is performed. 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]

【課題を解決するための手段】本発明の画像信号処理装
置は、入力されれた画像信号を所定数の画素から成る複
数のブロックに分割する分割手段と、前記分割手段によ
って分割された各ブロックの画像データを直交変換する
変換手段と、前記変換手段によって直交変換された画像
データを量子化する量子化手段と、前記量子化された画
像データを可変長符号化する符号化手段と、前記量子化
及び可変長符号化した符号が所定数のブロックである範
囲の符号量となるようにする手段とを有する画像信号処
理装置において、前記量子化手段により行う演算の丸め
の方法を、前記量子化手段に入力されたデータ値と前記
量子化手段の量子化特性に応じて切り替えることを特徴
としている。
According to the present invention, there is provided an image signal processing apparatus comprising: dividing means for dividing an input image signal into a plurality of blocks each having a predetermined number of pixels; and each of the blocks divided by the dividing means. Transforming means for orthogonally transforming the image data, quantizing means for quantizing the image data orthogonally transformed by the transforming means, encoding means for performing variable-length encoding on the quantized image data, Means for ensuring that the number of encoded and variable-length-encoded codes is within a range of a predetermined number of blocks. Switching is performed according to the data value input to the means and the quantization characteristic of the quantization means.

【0013】また、本発明の他の特徴とするところは、
前記量子化手段は、入力されたデータ値が所定値未満の
場合は量子化の演算で切り捨ての丸めを行い、入力され
たデータ値が所定値以上の場合は量子化の演算で四捨五
入の丸めを行うことを特徴としている。
Another feature of the present invention is that
The quantization means performs rounding of truncation by a quantization operation when the input data value is less than a predetermined value, and rounds off by rounding by a quantization operation when the input data value is a predetermined value or more. It is characterized by performing.

【0014】また、本発明のその他の特徴とするところ
は、前記量子化手段は、入力されたデータ値が第1の所
定値未満の場合は量子化の演算で切り捨ての丸めを行
い、入力されたデータ値が第1の所定値以上で第2の所
定値未満の場合は量子化の演算で四捨五入の丸めを行
い、入力されたデータ値が第3の所定値以上の場合は量
子化の演算で七捨八入の丸めを行うことを特徴としてい
る。
According to another feature of the present invention, when the input data value is less than a first predetermined value, the quantization means performs rounding of truncation by a quantization operation and receives the input data value. If the input data value is greater than or equal to the first predetermined value and less than the second predetermined value, rounding by rounding is performed by a quantization operation, and if the input data value is equal to or more than a third predetermined value, a quantization operation is performed. It is characterized by rounding to seven rounds.

【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】また、本発明の画像信号処理方法は、入力
された画像信号を所定数の画素から成る複数のブロック
に分割する分割処理と、前記分割処理によって分割され
た各ブロックの画像データを直交変換する変換処理と、
前記変換処理によって直交変換された画像データを量子
化する量子化処理と、前記量子化された画像データを可
変長符号化する符号化処理と、前記量子化及び可変長符
号化した符号が所定数のブロックである範囲の符号量と
なるようにする処理とを行う画像信号処理方法におい
て、前記量子化処理で行う演算の丸めの方法を、前記入
力されたデータ値と前記量子化処理における量子化特性
に応じて切り替えることを特徴としている。
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 image data orthogonally transformed by the conversion process, an encoding process for variable-length encoding the quantized image data, and a predetermined number of the quantized and variable-length encoded codes. In the image signal processing method of performing a process of obtaining a code amount in a range of a block, wherein a method of rounding the operation performed in the quantization process is performed by using the input data value and the quantization in the quantization process. Switching is performed according to characteristics.

【0017】また、本発明のその他の特徴とするところ
は、前記量子化処理は、入力されたデータ値が所定値未
満の場合は量子化の演算で切り捨ての丸めを行い、入力
されたデータ値が所定値以上の場合は量子化の演算で四
捨五入の丸めを行うことを特徴としている。
According to another feature of the present invention, in the quantization process, when the input data value is less than a predetermined value, rounding of truncation is performed by a quantization operation, and the input data value is rounded. Is greater than or equal to a predetermined value, a rounding operation is performed by a quantization operation.

【0018】また、本発明のその他の特徴とするところ
は、前記量子化処理は、入力されたデータ値が第1の所
定値未満の場合は量子化の演算で切り捨ての丸めを行
い、入力されたデータ値が第1の所定値以上で第2の所
定値未満の場合は量子化の演算で四捨五入の丸めを行
い、入力されたデータ値が第3の所定値以上の場合は量
子化の演算で七捨八入の丸めを行うことを特徴としてい
る。
According to another feature of the present invention, in the quantization process, when the input data value is smaller than a first predetermined value, the data is rounded by truncation by a quantization operation, and the input data value is input. If the input data value is greater than or equal to the first predetermined value and less than the second predetermined value, rounding by rounding is performed by a quantization operation, and if the input data value is equal to or more than a third predetermined value, a quantization operation is performed. It is characterized by rounding to seven rounds.

【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 the quantization is selected according to the orthogonally transformed data value, so that the compression efficiency can be reduced according to the input data value. It is possible to improve the image quality and reduce the image quality deterioration due to the quantization.

【0021】[0021]

【発明の実施の形態】 (第1の実施形態)以下、本発明の画像信号処理装置及
び方法の実施形態を図面を参照して説明する。図1は、
本実施形態の画像信号処理装置の構成を示すブロック図
である。図1において、101は、インターレースされ
たアナログ画像信号の入力信号、102は、入力された
アナログ画像信号をディジタル画像信号に変換するアナ
ログ‐ディジタル変換部である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS (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. The quantization unit 106 selects and performs rounding of rounding down and rounding off in the calculation of quantization under the control of the quantization control unit 110.

【0026】図2に示すように、例えば、量子化特性が
Y=X÷Nとすると、量子化部106の入力がN未満の
場合に量子化の演算で切り捨てを行い、量子化部106
の入力がN以上の場合に四捨五入の丸めを行うように動
作させる。
As shown in FIG. 2, for example, when the quantization characteristic is Y = X ÷ N, if the input to the quantization unit 106 is less than N, the quantization operation is truncated.
Is operated to perform rounding when the input of is greater than or equal to N.

【0027】その理由は、(イ)量子化部106の入力
がN未満の場合は、切り捨てを行うことでゼロになるた
め、ハフマン符号化での高圧縮が期待できる。また、
(ロ)量子化部106の入力がN以上の場合は、切り捨
てを行ってもゼロにならず、ハフマン符号化での高圧縮
が期待できないため、より量子化誤差の少ない四捨五入
を行うようにした方が有利であるからである。
The reason is as follows: (a) When the input of the quantization unit 106 is smaller than N, the value is reduced to zero by truncation, so that high compression in Huffman coding can be expected. Also,
(B) When the input of the quantization unit 106 is N or more, even if truncation is performed, the value does not become zero, and high compression in Huffman coding cannot be expected. Therefore, rounding with less quantization error is performed. This is because it is more advantageous.

【0028】(第2の実施形態)前述した第1の実施形
態においては、量子化部106での量子化の演算の丸め
を、図2に示した量子化特性に応じて行ったが、本実施
形態においては、図3に示すように量子化部106の入
力がN未満の場合に量子化の演算で切り捨てを行い、量
子化部106の入力がN以上で2N未満の場合は量子化
の演算で七捨八入を行い、量子化部106の入力が2N
以上の場合は量子化の演算で四捨五入を行うように動作
させるようにしている。
(Second Embodiment) In the first embodiment described above, the rounding of the quantization operation in the quantization unit 106 is performed in accordance with the quantization characteristics shown in FIG. In the embodiment, as shown in FIG. 3, when the input of the quantization unit 106 is smaller than N, the truncation is performed by the quantization operation, and when the input of the quantization unit 106 is equal to or larger than N and smaller than 2N, the quantization is performed. The operation is performed by rounding off to seven, and the input of the quantization unit 106 is 2N.
In the above case, the operation is performed so as to round off in the quantization operation.

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

【0030】(本発明の他の実施形態)本発明は複数の
機器(例えば、ホストコンピュータ、インタフェース機
器、リーダ、プリンタ等)から構成されるシステムに適
用しても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).

【0031】また、前述した実施形態の機能を実現する
ように各種のデバイスを動作させるように、前記各種デ
バイスと接続された装置あるいはシステム内のコンピュ
ータに対し、前記実施形態の機能を実現するためのソフ
トウェアのプログラムコードを供給し、そのシステムあ
るいは装置のコンピュータ(CPUあるいはMPU)に
格納されたプログラムに従って前記各種デバイスを動作
させることによって実施したものも、本発明の範疇に含
まれる。
Further, in order to realize various functions so as to realize the functions of the above-described embodiments, the functions of the above-described embodiments are realized by a device connected to the various devices or a computer in a system. 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.

【0032】また、この場合、前記ソフトウェアのプロ
グラムコード自体が前述した実施形態の機能を実現する
ことになり、そのプログラムコード自体、およびそのプ
ログラムコードをコンピュータに供給するための手段、
例えばかかるプログラムコードを格納した記憶媒体は本
発明を構成する。かかるプログラムコードを記憶する記
憶媒体としては、例えばフロッピーディスク、ハードデ
ィスク、光ディスク、光磁気ディスク、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,
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.

【0033】また、コンピュータが供給されたプログラ
ムコードを実行することにより、前述の実施形態の機能
が実現されるだけでなく、そのプログラムコードがコン
ピュータにおいて稼働している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.

【0034】さらに、供給されたプログラムコードがコ
ンピュータの機能拡張ボードやコンピュータに接続され
た機能拡張ユニットに備わるメモリに格納された後、そ
のプログラムコードの指示に基づいてその機能拡張ボー
ドや機能拡張ユニットに備わる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.

【0035】[0035]

【発明の効果】本発明は前述したように、量子化を行う
寅算での丸めの方法を、直交変換されデータの値に応じ
て選択されるようにしたので、入力されたデータ値に応
じて圧縮率を良くしたり、量子化による画質劣化を少な
くしたりすることができ、画質劣化が少なくて高品位な
画像の伝送及び/または記録が可能となる。
As described above, according to the present invention, the rounding method in the tracing operation for performing the quantization is selected according to the value of the orthogonally transformed data. As a result, the compression ratio can be improved, and the 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 a state of rounding in an operation for performing quantization in the first embodiment.

【図3】第2の実施形態における量子化を行う演算での
丸めの様子を示す図である。
FIG. 3 is a diagram illustrating a state of rounding in an operation for performing quantization in a second embodiment.

【図4】従来の画像信号処理装置の一例を示すブロック
図である。
FIG. 4 is a block diagram illustrating 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】 入力されれた画像信号を所定数の画素か
ら成る複数のブロックに分割する分割手段と、前記分割
手段によって分割された各ブロックの画像データを直交
変換する変換手段と、前記変換手段によって直交変換さ
れた画像データを量子化する量子化手段と、前記量子化
された画像データを可変長符号化する符号化手段と、前
記量子化及び可変長符号化した符号が所定数のブロック
である範囲の符号量となるようにする手段とを有する画
像信号処理装置において、 前記量子化手段により行う演算の丸めの方法を、前記量
子化手段に入力されたデータ値と前記量子化手段の量子
化特性に応じて切り替えることを特徴とする画像信号処
理装置。
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; Quantization means for quantizing the image data orthogonally transformed by the means, coding means for performing variable-length coding on the quantized image data, and a block having a predetermined number of blocks obtained by performing the quantization and variable-length coding. An image signal processing apparatus having a code amount in a range of: a method of rounding an operation performed by the quantization means, wherein a data value input to the quantization means and a value of the quantization means An image signal processing apparatus characterized in that switching is performed according to quantization characteristics.
【請求項2】 前記量子化手段は、入力されたデータ値
が所定値未満の場合は量子化の演算で切り捨ての丸めを
行い、入力されたデータ値が所定値以上の場合は量子化
の演算で四捨五入の丸めを行うことを特徴とする請求項
1に記載の画像信号処理装置。
2. The quantization means according to claim 1, wherein said input data value is smaller than a predetermined value, and said operation means performs rounding of truncation by a quantization operation. 2. The image signal processing apparatus according to claim 1, wherein rounding is performed by rounding.
【請求項3】 前記量子化手段は、入力されたデータ値
が第1の所定値未満の場合は量子化の演算で切り捨ての
丸めを行い、入力されたデータ値が第1の所定値以上で
第2の所定値未満の場合は量子化の演算で四捨五入の丸
めを行い、入力されたデータ値が第3の所定値以上の場
合は量子化の演算で七捨八入の丸めを行うことを特徴と
する請求項1または2の何れか1項に記載の画像信号処
理装置。
3. The quantization means performs rounding of truncation by a quantization operation when an input data value is less than a first predetermined value, and when the input data value is equal to or more than a first predetermined value. When the data value is less than the second predetermined value, rounding by rounding is performed by a quantization operation, and when the input data value is equal to or more than the third predetermined value, rounding by rounding off by a quantization operation is performed. The image signal processing device according to claim 1, wherein:
【請求項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】 入力された画像信号を所定数の画素から
成る複数のブロックに分割する分割処理と、前記分割処
理によって分割された各ブロックの画像データを直交変
換する変換処理と、前記変換処理によって直交変換され
た画像データを量子化する量子化処理と、前記量子化さ
れた画像データを可変長符号化する符号化処理と、前記
量子化及び可変長符号化した符号が所定数のブロックで
ある範囲の符号量となるようにする処理とを行う画像信
号処理方法において、 前記量子化処理で行う演算の丸めの方法を、前記入力さ
れたデータ値と前記量子化処理における量子化特性に応
じて切り替えることを特徴とする画像信号処理方法。
5. A division process for dividing an input image signal into a plurality of blocks each including a predetermined number of pixels; a conversion process for orthogonally transforming image data of each block divided by the division process; A quantizing process of quantizing the image data orthogonally transformed by the above, an encoding process of performing variable length coding on the quantized image data, and a code having the quantized and variable length coded in a predetermined number of blocks. An image signal processing method for performing a process of providing a code amount within a certain range, wherein a method of rounding an operation performed in the quantization process is determined according to the input data value and a quantization characteristic in the quantization process. An image signal processing method characterized in that the image signal is switched by switching.
【請求項6】 前記量子化処理は、入力されたデータ値
が所定値未満の場合は量子化の演算で切り捨ての丸めを
行い、入力されたデータ値が所定値以上の場合は量子化
の演算で四捨五入の丸めを行うことを特徴とする請求項
5に記載の画像信号処理方法。
6. The quantization process according to claim 1, wherein when the input data value is less than a predetermined value, rounding down is performed by a quantization operation, and when the input data value is not less than a predetermined value, the quantization operation is performed. The image signal processing method according to claim 5, wherein the rounding is performed.
【請求項7】 前記量子化処理は、入力されたデータ値
が第1の所定値未満の場合は量子化の演算で切り捨ての
丸めを行い、入力されたデータ値が第1の所定値以上で
第2の所定値未満の場合は量子化の演算で四捨五入の丸
めを行い、入力されたデータ値が第3の所定値以上の場
合は量子化の演算で七捨八入の丸めを行うことを特徴と
する請求項5または6の何れか1項に記載の画像信号処
理方法。
7. The quantization process according to claim 1, wherein when the input data value is less than a first predetermined value, rounding down is performed by a quantization operation, and when the input data value is not less than a first predetermined value. When the data value is less than the second predetermined value, rounding by rounding is performed by a quantization operation, and when the input data value is equal to or more than the third predetermined value, rounding by rounding off by a quantization operation is performed. The image signal processing method according to claim 5, wherein:
【請求項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.
JP11401397A 1997-05-01 1997-05-01 Image signal processing unit and its method Pending JPH10304362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11401397A JPH10304362A (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
JP11401397A JPH10304362A (en) 1997-05-01 1997-05-01 Image signal processing unit and its method

Publications (1)

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

Family

ID=14626878

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH10304362A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003071A1 (en) * 1999-06-30 2001-01-11 Intel Corporation 3d image coding
WO2002080573A1 (en) * 2001-03-28 2002-10-10 Sony Corporation Quantization apparatus, quantization method, quantization program, and recording medium
JP2003051748A (en) * 2001-08-08 2003-02-21 Sony Corp Information processing unit and information processing method, recording medium, and program
US7260315B2 (en) 2001-11-27 2007-08-21 Sony Corporation Signal processing apparatus
JP2011024085A (en) * 2009-07-17 2011-02-03 Fujitsu Ltd Coding apparatus, coding method, and coding program
JP2011223607A (en) * 2004-06-18 2011-11-04 Thomson Licensing Method and device for video codec quantization

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001003071A1 (en) * 1999-06-30 2001-01-11 Intel Corporation 3d image coding
WO2002080573A1 (en) * 2001-03-28 2002-10-10 Sony Corporation Quantization apparatus, quantization method, quantization program, and recording medium
US7286715B2 (en) 2001-03-28 2007-10-23 Sony Corporation Quantization apparatus, quantization method, quantization program, and recording medium
JP2003051748A (en) * 2001-08-08 2003-02-21 Sony Corp Information processing unit and information processing method, recording medium, and program
JP4569056B2 (en) * 2001-08-08 2010-10-27 ソニー株式会社 Information processing apparatus, information processing method, recording medium, and program
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
JP2011024085A (en) * 2009-07-17 2011-02-03 Fujitsu Ltd Coding apparatus, coding method, and coding program

Similar Documents

Publication Publication Date Title
US6445827B2 (en) Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
US7505631B2 (en) Image coding and decoding methods, image coding and decoding apparatuses, and recording media for image coding and decoding programs
JP2000069292A (en) Image processing unit, its method and storage medium
JPH10304362A (en) Image signal processing unit and its method
EP0470851B1 (en) Image data processing method and apparatus
JPH08181987A (en) Coder
JP3835273B2 (en) Image encoding / decoding device
JPH10304363A (en) Image signal processing unit and its method
JP2762712B2 (en) Encoding device and decoding device
JP3368186B2 (en) Image processing apparatus and method
JP5501014B2 (en) Information processing apparatus, information processing method, program, and storage medium
JPH0575867A (en) Image data coder
JP3199786B2 (en) Image processing device
JP3866539B2 (en) Encoding method, decoding method, encoding device, decoding device, encoding program, decoding program, and program recording medium thereof
JPH0575837A (en) Synthesizing method for picture
JP3191462B2 (en) High efficiency coding device
JP2891751B2 (en) Image signal compression encoding method and apparatus
JPH09214968A (en) Image coding method and apparatus
JPH0385871A (en) Image data encoding method and device
JP2003309848A (en) Image encoding apparatus and control method thereof
JPH03285460A (en) Picture data compressing and encoding system
JPH1188884A (en) Image conversion encoding device
JPH03124124A (en) Interframe/intraframe adaptive coding method
JPH0583564A (en) Image processor
JPH06284408A (en) Picture coder

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