JPH03243066A - Image coding system - Google Patents
Image coding systemInfo
- Publication number
- JPH03243066A JPH03243066A JP2038447A JP3844790A JPH03243066A JP H03243066 A JPH03243066 A JP H03243066A JP 2038447 A JP2038447 A JP 2038447A JP 3844790 A JP3844790 A JP 3844790A JP H03243066 A JPH03243066 A JP H03243066A
- Authority
- JP
- Japan
- Prior art keywords
- image
- blocks
- divided
- block
- distortion
- 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
Links
- 238000000034 method Methods 0.000 claims description 23
- 238000013139 quantization Methods 0.000 abstract description 6
- 238000006243 chemical reaction Methods 0.000 abstract description 4
- 230000006866 deterioration Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 8
- 230000009466 transformation Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000009978 visual deterioration Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、電子ファイリングシステム等における画像圧
縮・復元装置あるいはファクシミリ伝送、TV電話、電
子出版システムなどに適用される画像符号化方式に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image encoding method applied to an image compression/decompression device in an electronic filing system or the like, facsimile transmission, a video telephone, an electronic publishing system, and the like.
画像符号化の方式の一つに変換符号化がある。 One of the image encoding methods is transform encoding.
変換符号化では適当な数の画素をブロックとして画面を
分け、このブロック毎に、標本値からなる数値列を直交
変換する。この結果画像の統計的性質から特定の成分に
電力が集中する。そこで電力の大きな成分に多くの符号
量を割り当て、低電力の成分は少ないビット数で量子化
する。In transform encoding, a screen is divided into blocks of an appropriate number of pixels, and a numerical string consisting of sample values is orthogonally transformed for each block. As a result, power is concentrated on specific components due to the statistical properties of the image. Therefore, a large amount of code is assigned to components with high power, and components with low power are quantized with a small number of bits.
このような変換符号化の一つとして離散コサイン変換(
DCT)が良く知られている。Discrete cosine transform (
DCT) is well known.
従来、これらのブロック分割を行う符号化では第5図に
示すように8×8などの正方形ブロックに分割されてい
た。しかしこれらのブロックではブロックの境界が目立
つという問題があった。そこでこれを解決するためにブ
ロックの境界を凹凸にする方法が既に提案されている(
特開平1−225293号公報)。Conventionally, in coding that performs these block divisions, the blocks are divided into square blocks such as 8×8 as shown in FIG. However, these blocks had a problem in that the boundaries between the blocks were conspicuous. To solve this problem, a method has already been proposed to make the boundaries of blocks uneven (
JP-A-1-225293).
しかしながら上記従来技術においては、水平方向の境界
が直線になり、境界が目立つという問題があった。However, in the above-mentioned prior art, there is a problem that the boundary in the horizontal direction is a straight line and the boundary is conspicuous.
また、−船釣に先に示した変換符号化はプロッりに分割
して符号化を行うので、低ビツトレートの符号化を行う
とき、受信側で発生ずるブロック歪みが画像劣化の最大
の要因となっている。In addition, since the transform encoding shown earlier in the above-mentioned process divides the data into plots and performs encoding, when encoding at a low bit rate, the block distortion that occurs on the receiving side is the biggest cause of image deterioration. It has become.
本発明の目的は、ブロック歪みが目立たず、画像劣化を
抑えることができる画像符号化方式を提供することにあ
る。An object of the present invention is to provide an image encoding method in which block distortion is not noticeable and image deterioration can be suppressed.
上記目的は、画像入力装置より入力された画像データを
適当なブロックに分割し、そのブロック単位で符号化す
る画像符号化方式において、人力された画像データを非
正方形ブロックに分割することにより達成される。The above objective is achieved by dividing manually input image data into non-square blocks in an image encoding method that divides image data input from an image input device into appropriate blocks and encodes each block. Ru.
また、−に記非正方形ブロックは互いに位相を変えたも
のとすることによっても達成される。Furthermore, this can also be achieved by making the non-square blocks described in - to have mutually different phases.
第1の方式によれば、分割するブロックを非正方形にす
ることにより、ブロックの境界を斜め方向にし、視覚的
に歪みを目立たないようにする。According to the first method, the blocks to be divided are made into non-square shapes, so that the boundaries of the blocks are diagonal, so that the distortion is not visually noticeable.
また第2の方式によれば、上記に加えて斜めブロックの
傾き方向を交互にすることにより、さらに視覚的に符号
化歪みを目立たないようにしている。According to the second method, in addition to the above, by alternating the inclination directions of the diagonal blocks, encoding distortion is further made less noticeable visually.
以下、本発明の実施例を図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
第1図は本発明に係る画像符号化方式が実施されるブロ
ック回路図であって、1は入力画像を記憶する画像メモ
リ、2は画像をブロックに分割する分割回路、3は分割
されたブロック画像をコサイン変換する変換回路、4は
変換されたコサイン係数をデータ量削減のために量子化
する量子化回路、5は量子化された画像データを記憶す
る記憶装置を示す。FIG. 1 is a block circuit diagram in which the image encoding method according to the present invention is implemented, in which 1 is an image memory that stores an input image, 2 is a dividing circuit that divides the image into blocks, and 3 is a divided block. A conversion circuit that cosine transforms an image, 4 a quantization circuit that quantizes the converted cosine coefficients to reduce the amount of data, and 5 a storage device that stores quantized image data.
ここで本発明に適用したコサイン変換符号化方式につい
て述べる。コサイン変換符号化方式では、まず画像をN
XNのブロックに分割し、各ブロック毎に逐次2次元D
CT変換を施し、変換された係数を量子化することによ
り、情報の圧縮をするものである。Here, the cosine transform encoding method applied to the present invention will be described. In the cosine transform encoding method, first the image is N
Divide into XN blocks, and sequentially create two-dimensional D for each block.
Information is compressed by performing CT transformation and quantizing the transformed coefficients.
(1)変換
入力した画像信号は、NXN画素ずつブロック化され、
2次元DCT変換により直交変換される。(1) The input image signal is converted into blocks of NXN pixels,
Orthogonal transformation is performed by two-dimensional DCT transformation.
画像信号X;J(i、j=o〜N−1)の2次元DCT
変換は次式で定義される。Two-dimensional DCT of image signal X; J (i, j = o to N-1)
The conversion is defined by the following equation.
2・N
u、 v=o、t、 −−−−−、N−1c (
w) −1;w=o、 1. 2.−N(2)線形
量子化
直交変換で求められた係数は、各々量子化される。この
時、各係数のビット割り当ては、各成分の分散値より決
められる。各係数の分散値は、K
K
但しKはブロックの総数であり、各係数に割り当てられ
るビット数は、
で与えられる。この時、Mは1ブロツクについて割り当
てられるビット数を示す。このように分散の大きな係数
は多くのビット数で、小さな係数は少ない係数で量子化
することにより全体としてのビット数を低減しても再生
したときに視覚的に劣化の少ない画像が得られる。符号
化したデータを復元するには、符号化と逆の処理を行え
ばよい。2・N u, v=o, t, -----, N-1c (
w) −1; w=o, 1. 2. -N(2) Linear quantization The coefficients obtained by orthogonal transformation are each quantized. At this time, bit allocation for each coefficient is determined based on the variance value of each component. The variance value of each coefficient is K
K where K is the total number of blocks, and the number of bits allocated to each coefficient is given by: At this time, M indicates the number of bits allocated for one block. In this way, by quantizing coefficients with large variance with a large number of bits and quantizing small coefficients with a small number of coefficients, an image with less visual deterioration when reproduced can be obtained even if the overall number of bits is reduced. To restore encoded data, it is sufficient to perform the reverse process of encoding.
即ち、逆量子化で係数を求め、2次元DCT逆変換を行
い画像を再生する。That is, coefficients are obtained by inverse quantization, and two-dimensional DCT inverse transformation is performed to reproduce the image.
以上の符号化の手順のフローチャートを第2図に示す。A flowchart of the above encoding procedure is shown in FIG.
まずNXNのデータを逐次読み込み(101)、2次元
DCT変換を行い(102) 、各係数の分散値を求め
(103)、各係数のビット割り当てを決定する(10
4)。次に再度NXNデータを逐次読み込み(105)
、2次元DCT変換を行い(106) 、その係数を係
数のビット割り当て(104)で求めたビット割当を元
に量子化を行う(107)。First, NXN data is sequentially read (101), two-dimensional DCT transformation is performed (102), the variance value of each coefficient is determined (103), and the bit allocation of each coefficient is determined (10
4). Next, read the NXN data sequentially again (105)
, two-dimensional DCT transformation is performed (106), and the coefficients are quantized based on the bit allocation obtained in the coefficient bit allocation (104) (107).
第3図は第1の実施例に係る符号化方式による画像分割
を示す説明図であって、画像メモリ1に入力された画像
データをこの図に示すように非正方形ブロックに分割す
る。FIG. 3 is an explanatory diagram showing image division using the encoding method according to the first embodiment, in which image data input to the image memory 1 is divided into non-square blocks as shown in this diagram.
そしてこの分割化されたブロックを一つの画像として変
換回路3でコサイン変換し、その係数を量子化回路4で
量子化し、記憶装置5に記憶する。Then, the divided blocks are treated as one image and cosine-transformed by the transformation circuit 3, and the coefficients thereof are quantized by the quantization circuit 4 and stored in the storage device 5.
第4図は第2の実施例に係る符号化方式による画像分割
を示す説明図であって、画像データを非正方形ブロック
に分割するのは第1の実施例と同しであるが、この実施
例では第4図に示すように、さらにブロックの傾き方向
を交互に変えたものとしている。その後の処理は第1の
実施例と同じである。FIG. 4 is an explanatory diagram showing image division using the encoding method according to the second embodiment. The division of image data into non-square blocks is the same as in the first embodiment, but this embodiment In the example, as shown in FIG. 4, the inclination directions of the blocks are further alternated. The subsequent processing is the same as in the first embodiment.
以上説明したように、請求項1記載の発明によれば、符
号化のため分割するブロックを非正方形にすることによ
り、ブロックの境界を斜め方向にし、視覚的に符号化歪
みを目立たないようにすることができる。As explained above, according to the invention described in claim 1, the blocks to be divided for encoding are made non-square, so that the boundaries of the blocks are diagonal, so that encoding distortion is not visually noticeable. can do.
また請求項2記載の発明によれば、上記に加えて、ブロ
ックの傾き方向を交互にすることにより、視覚的にさら
に符号化歪みを目立たなくすることができる。Further, according to the second aspect of the invention, in addition to the above, by alternating the inclination directions of the blocks, it is possible to make encoding distortion even more visually inconspicuous.
第1図は本発明に係る画像符号化方式が実施されるブロ
ック回路図、第2図は符号化の手順を示すフローチャー
ト、第3図は第1の実施例に係る符号化方式による画像
分割を示す説明図、第4図は第2の実施例に係る符号化
方式による画像分割を示す説明図、第5図は従来例に係
る符号化方式による画像分割を示す説明図である。
■・・・画像メモリ、2・・・分割回路、3・・・変換
回路、4・・・量子化回路、5・・・記憶装置。
第2図
第
3
図
第
図FIG. 1 is a block circuit diagram in which the image encoding method according to the present invention is implemented, FIG. 2 is a flowchart showing the encoding procedure, and FIG. 3 is a diagram showing image division using the encoding method according to the first embodiment. FIG. 4 is an explanatory diagram showing image division by the encoding method according to the second embodiment, and FIG. 5 is an explanatory diagram showing image division by the encoding method according to the conventional example. ■...Image memory, 2...Dividing circuit, 3...Conversion circuit, 4...Quantization circuit, 5...Storage device. Figure 2 Figure 3 Figure
Claims (2)
ブロックに分割し、そのブロック単位で符号化する画像
符号化方式において、入力された画像データを非正方形
ブロックに分割することを特徴とする画像符号化方式。(1) An image encoding method that divides image data input from an image input device into appropriate blocks and encodes each block, characterized by dividing the input image data into non-square blocks. Image encoding method.
互いに位相を変えたものであることを特徴とする画像符
号化方式。(2) The image encoding method according to claim 1, wherein the non-square blocks have mutually different phases.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2038447A JPH03243066A (en) | 1990-02-21 | 1990-02-21 | Image coding system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2038447A JPH03243066A (en) | 1990-02-21 | 1990-02-21 | Image coding system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03243066A true JPH03243066A (en) | 1991-10-30 |
Family
ID=12525546
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2038447A Pending JPH03243066A (en) | 1990-02-21 | 1990-02-21 | Image coding system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03243066A (en) |
-
1990
- 1990-02-21 JP JP2038447A patent/JPH03243066A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20010041015A1 (en) | System and method for encoding a video sequence using spatial and temporal transforms | |
US9510005B2 (en) | Method and device for encoding blocks of values | |
US5719961A (en) | Adaptive technique for encoder and decoder signal transformation | |
JPH05219385A (en) | Picture compression expansion method and device | |
JP2723867B2 (en) | Image signal decoding device | |
JPH0495469A (en) | Method and device for restoring image data | |
JPH06292184A (en) | Coding system | |
JPH02122767A (en) | Encoding/decoding system for picture signal | |
JPH03243066A (en) | Image coding system | |
JPS61123280A (en) | Image data compressing device | |
JPH04220081A (en) | Method and device for picture data decoding | |
JP2887843B2 (en) | Image data restoration method and apparatus | |
JP2862022B2 (en) | Image coding method | |
JP3230336B2 (en) | Recompression device and recompression system | |
JP3392949B2 (en) | Image compression device and image decompression device | |
JPH0310486A (en) | Moving picture encoder | |
JP3032281B2 (en) | Image encoding method and image decoding method | |
JPS61149126A (en) | Medical image data compression and expansion system | |
JPH1188183A (en) | Wavelet converter, its method, wavelet inverse converter, its method, image coder, its method, image decoder and its method | |
JP2710135B2 (en) | Adaptive coding between frames / intra-frame | |
JPH04271664A (en) | Picture data compressor and picture data decoder | |
JPH04215385A (en) | Method and device for encoding/decoding image data | |
JP2887842B2 (en) | Image data restoration method and apparatus | |
JP2521359B2 (en) | Image coding device | |
JP3016805B2 (en) | Image data compression method |