JPS63164574A - Decoding system - Google Patents

Decoding system

Info

Publication number
JPS63164574A
JPS63164574A JP61308368A JP30836886A JPS63164574A JP S63164574 A JPS63164574 A JP S63164574A JP 61308368 A JP61308368 A JP 61308368A JP 30836886 A JP30836886 A JP 30836886A JP S63164574 A JPS63164574 A JP S63164574A
Authority
JP
Japan
Prior art keywords
information
color
color information
image data
decoded
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
JP61308368A
Other languages
Japanese (ja)
Inventor
Naoto Kawamura
尚登 河村
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 JP61308368A priority Critical patent/JPS63164574A/en
Publication of JPS63164574A publication Critical patent/JPS63164574A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decode encoded image data without deteriorating picture quality by decoding the encoded image data to compressed color information and the original information and smoothing the decoded information. CONSTITUTION:When the compressed encoded code is inputted, color information C1, C2 are decoded 24-bit color information by decoding part 104 and area information 102 is decoded into 16-bit area information. The decoded image data are temporarily stored in a line memory 105 and sent to a smoothing circuit 106 for smoothing the decoded information in the unit of 3X3 picture element matrix. A decoding part 3 has a look-up table LUT for decoding and the LUT decodes the color information C1, C2 each of which consists of 12 bits to 24-bit color information constituted of red, blue and green components each of which consists of 8 bits. The 12-bit area information is also decoded to 16-bit area information and two color information C1, C2 decoded based on the area information are selected and sent to the line memory 105.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は2色の色情報と領域情報に圧縮して符号化した
画像データを復号する復号化方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a decoding method for decoding image data compressed and encoded into two color information and area information.

[従来の技術] 従来、カラー画像データを圧縮する方法の1つとして、
mxmの画像データブロックを2色のブロック符号で記
述する方式が提案されている。これは、例えば4×4の
16個の画素の色情報(r+ 、gI、b+ )(i=
1〜16)を代表的な2つの色情報(71,g1.b1
 :γ2゜g2’、b2)に置き換え、この2色の情報
及びその領域の情報を別々に取り扱い、更に各々予測符
号化、MR符号化等により符号化して伝送する方式のも
のである。
[Prior Art] Conventionally, one of the methods for compressing color image data is
A method has been proposed in which mxm image data blocks are described using two-color block codes. This is, for example, the color information (r+, gI, b+) of 16 pixels of 4×4 (i=
1 to 16) to two representative color information (71, g1.b1)
: γ2°g2', b2), the information on these two colors and the information on the area are treated separately, and each is encoded and transmitted using predictive encoding, MR encoding, etc.

しかしながら、このような画像データの圧縮により画像
メモリを減少させ、その画像メモリ上で画像編集を行な
うような場合、前述の予測符号化法及びMR符号化方式
は可変長コードを用いているため、画像内における任意
のアドレスのデータ検索やデータネ可等の編集操作の効
率が極めて悪くなり実用的でない。
However, when the image memory is reduced by such image data compression and image editing is performed on the image memory, since the aforementioned predictive encoding method and MR encoding method use variable length codes, The efficiency of editing operations such as searching for data at an arbitrary address within an image and editing data, etc., becomes extremely low, making it impractical.

[発明が解決しようとする問題点] 本発明は上記従来例に鑑みてなされたもので、高い圧縮
率を得ると同時に、画像の編集が効率良くできる様に符
号化された画像データを画質劣化することなく復号する
復号化方式を提供することを目的とする。
[Problems to be Solved by the Invention] The present invention has been made in view of the above-mentioned conventional examples, and at the same time achieves a high compression rate and reduces the quality of encoded image data so that image editing can be performed efficiently. The purpose of the present invention is to provide a decoding method that allows decoding without decoding.

[問題点を解決するための手段] 上記目的を達成するために本発明の画像データの圧縮方
式は以下の様な構成からなる。即ち、カラー画像データ
の所定の画素マトリクスを最大2つの色情報に分割し、
前記色情報に基づいて色領域を決定して前記色情報と前
記色領域とを各々圧縮して符号化した画像データの復号
化方式であって、圧縮された前記色情報と前記色領域を
元の情報に復元する復元手段と、復元された情報を平滑
化する平滑手段とを備える。
[Means for Solving the Problems] In order to achieve the above object, the image data compression method of the present invention has the following configuration. That is, a predetermined pixel matrix of color image data is divided into two pieces of color information at most,
A decoding method for image data in which a color region is determined based on the color information, and the color information and the color region are respectively compressed and encoded, and the method is based on the compressed color information and the color region. and a smoothing means for smoothing the restored information.

[作用] 以上の構成において、圧縮された色情報と色領域を元の
情報に復元するとともに、平滑手段により復元された情
報を平滑化する様に動作する。
[Operation] In the above configuration, the compressed color information and color area are restored to the original information, and the smoothing means operates to smooth the restored information.

[実施例] 以下、添付図面を参照して本発明の実施例を詳細に説明
する。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[色情報に関する説明 〔第6図〜第8図〕まず画像デ
ータの圧縮について説明する。
[Explanation regarding color information [Figs. 6 to 8] First, compression of image data will be described.

第6図(A)〜(C)は本実施例における符号化方式の
説明図で、第6図(A)はmXmの画像領域60に2つ
の色C,,C2がまたがっている状態を示す。同図(B
)は画像領域60を2つの色情報C,,C2に分けた状
態を示している。同図(c)は同図(B)の領域をmx
mの2値化データで表した図である。原画像が徐々に変
化している場合に関しては、後述する如く変化の程度に
応じて代表的色情報CI、C2と領域情報を抽出する。
6(A) to 6(C) are explanatory diagrams of the encoding method in this embodiment, and FIG. 6(A) shows a state in which two colors C, , C2 straddle an m×m image area 60. . The same figure (B
) shows a state in which the image area 60 is divided into two pieces of color information C, , C2. Figure (c) shows the area of figure (B) in mx
It is a figure expressed by the binary data of m. When the original image changes gradually, representative color information CI, C2 and area information are extracted according to the degree of change, as described later.

抽出された2つの色情報CI、C2は、例えば3色のr
、g、bの値で示される。即ち、Cs = 、(r+ 
、gr 、b+ )C2=(r2 r 82 + b2
 )いま、各r+g+ bがそれぞれ8ビツトで表わさ
れているとすると、1色を表わすには24ピット必要と
なる。しかし、実際には24ビツトも必要ではなく、我
々の実験では12〜16ビツトあれば画質の低下なく画
像が再現できる事が判った。これは人間の視覚特性によ
り、色識別が可能な領域外の色C士画質に影響を与えな
いためである。
The extracted two color information CI and C2 are, for example, r of three colors.
, g, and b values. That is, Cs = , (r+
, gr , b+ )C2=(r2 r 82 + b2
) Now, assuming that each r+g+b is represented by 8 bits, 24 pits are required to represent one color. However, in reality, even 24 bits are not necessary, and our experiments have shown that images can be reproduced with 12 to 16 bits without degrading image quality. This is because color C outside the area where colors can be identified does not affect the image quality due to human visual characteristics.

第7図は画像データの圧縮を行うルックアップテーブル
(LUT)を示す図で、ここでは3色のr、g、bで表
わされる24ビツトの色情報(r+ 、gI、b+ )
がROM等で構成されたしUT70のアドレス信号とし
て入力され、12〜16ビツトの色情報(r’+ 、 
  ’+ 、b’t )が変換色情報として読出される
FIG. 7 is a diagram showing a lookup table (LUT) for compressing image data. Here, 24-bit color information (r+, gI, b+) represented by three colors r, g, and b is shown.
is composed of a ROM, etc., and is input as an address signal of the UT70, and 12 to 16 bit color information (r'+,
'+, b't) is read out as converted color information.

この縮小により、色情報は等色差空間を識別分解能の大
きさで均等に区切った時に出来る小区画立体内の色座標
に縮退され、全部の色の数はこの小立体の数で決まる。
Through this reduction, color information is reduced to color coordinates within small solids created when the isochromatic space is equally divided by the discrimination resolution size, and the total number of colors is determined by the number of small solids.

更にこの表現する色の領域は、用いる画像が何で表現さ
れるかで異なる。例えばCRTを用いるならば、NTS
Cで定義されている色度座標範囲(これは蛍光体の特性
から求まる三角形)内を識別分解能の範囲で区切ればよ
いし、プリンタ等の印刷に用いるだけであれば、印刷再
現で封る色度範囲のみでよい。
Furthermore, the color range to be expressed differs depending on what the image used is expressed with. For example, if a CRT is used, the NTS
It is sufficient to divide the chromaticity coordinate range defined by C (this is a triangle determined from the characteristics of the phosphor) into the range of identification resolution, and if it is only used for printing with a printer, etc., it can be sealed with printing reproduction. Only the chromaticity range is required.

一方、第6図(C)に示された領域情報はベクトル量子
化により更に圧縮される。このベクトル量子化法は、例
えば4×4の場合16ビツトの領域情報(216の状態
)を歪の量が最小となるようなにビットの領域状態(2
kの状態)へ変換する方式で、216の位相空間上のベ
クトルを2にの位相空間上のベクトルへ変換する。かか
るベクトル量子化器の符号化に際しては、入力ベクトル
に対して最も最短距離にある(最小歪となる)出力ベク
トルがコードテーブルとして予め与えられているものと
する。
On the other hand, the area information shown in FIG. 6(C) is further compressed by vector quantization. For example, in the case of 4x4, this vector quantization method converts 16 bits of area information (216 states) into bits of area states (216 states) such that the amount of distortion is minimized.
A vector on the phase space of 216 is converted into a vector on the phase space of 2 using the method of converting to the state of k). When encoding such a vector quantizer, it is assumed that the output vector that is the shortest distance from the input vector (resulting in the least distortion) is given in advance as a code table.

このコードテーブルは予め画像データを分析・解析して
統計的な手法で作られる。4×4の2値データの場合、
216の状態数が存在するが、実存する画像データはそ
う多くはなく212位あれば十分である事が判った。従
ってに=12となり、領域情報も約3 / 4 (12
/16)に圧縮される。
This code table is created by analyzing image data in advance using a statistical method. In the case of 4×4 binary data,
Although there are 216 states, it was found that there is not so much existing image data and that 212 states is sufficient. Therefore, = 12, and the area information is also approximately 3/4 (12
/16).

以上の様にして、第6図(A)の60で示された4×4
のカラー画像情報は第8図に示される様に、それぞれ1
2ビツトの色情報C’r、C2と12ビツトの領域情報
とからなる合計36ビツトのコード情報に変換される。
As described above, the 4×4 shown by 60 in FIG. 6(A)
As shown in Figure 8, the color image information of
The code information is converted into a total of 36 bits of code information consisting of 2 bits of color information C'r and C2 and 12 bits of area information.

この時の圧縮率ηは、 となる。The compression ratio η at this time is becomes.

[画像データが緩やかに変化する時の色及び領域決定の
説明  (第9図、第10図)]mXmの画素の色デー
タを(X Ill Y IJIZ IJ)  (i、j
−1〜m)とする。ここで(X IJIY IJI  
Z IJ)は色度座標を表わすもので、γ。
[Explanation of color and area determination when image data changes slowly (Figures 9 and 10)] Color data of mXm pixels (X Ill Y IJIZ IJ) (i, j
−1 to m). Here (X IJIY IJI
Z IJ) represents the chromaticity coordinate, γ.

g、b系、X、Y、Z系、U、V、W系、Uw。g, b series, X, Y, Z series, U, V, W series, Uw.

v” 、w”系、L’、u”、V”系、Ll。v", w" series, L', u", V" series, Ll.

a”、b”系等の表色系を用いる事ができる。ここては
簡単のためγ、g、b系で表わすものとする。
Color systems such as a" and b" systems can be used. Here, for simplicity, it will be expressed as a γ, g, b system.

2つの色情報及び領域情報の決定は以下のアルゴリズム
による。
The two color information and area information are determined by the following algorithm.

(1)mXm内の全画素内での平均(11g。(1) Average within all pixels within mXm (11g.

b)及び分散(σ1.2.σb)を求める。即σ ち、 σ、=Σ (XIj−γ)2/N ■ at −E”(Y+j g)” /N J QB = X” (Xl」b ) 2/ N■ 但し、N=m’である。b) and variance (σ1.2.σb). Immediate σ Chi, σ, = Σ (XIj-γ)2/N ■ at −E”(Y+j g)”/N J QB = X” (Xl”b) 2/N■ However, N=m'.

(2)次に、σ1.1.σbを比較して、分散σ 値が最も大きい値となる色を選ぶ。(2) Next, σ1.1. By comparing σb, the variance σ Select the color with the highest value.

(3)その時の色の平均値を閾値として、mxmの画素
を平均値より大か小かで2値化して領域情報とする。
(3) Using the average value of the color at that time as a threshold, mxm pixels are binarized depending on whether they are larger or smaller than the average value and used as area information.

(4)(3)で求まった2つの領域に対して各々の平均
データを求め2つの色情報とする。
(4) Find the average data for each of the two regions found in (3) and use them as two pieces of color information.

以上のステップを第9図、第10図を用いて説明する。The above steps will be explained using FIGS. 9 and 10.

第9図に4×4の各色(x、y、z)の画像データ90
〜92と平均値及び分散値σの大小を示す。分散値σが
最大となる色はXであるため、Xのデータの平均値“’
45.6°°で、画像データ90の2値化を行う。これ
により第10図の93で示す領域情報が得られる。
Figure 9 shows 4x4 image data 90 of each color (x, y, z).
~92, indicating the magnitude of the average value and variance value σ. Since the color with the maximum variance value σ is X, the average value of the data of
The image data 90 is binarized at 45.6°. As a result, area information indicated by 93 in FIG. 10 is obtained.

第10図におけるC1のXI + y+ l z+の値
は各x、y、zの各成分の領域93内での各色x、y、
zの画素の平均値を、C2におけるX2 + y2+ 
Z2は領域94での各色x、y、zの画素の平均値を示
している。
The values of XI + y + l z+ of C1 in FIG. 10 are the values of each color x, y, and
The average value of pixels of z is defined as X2 + y2+ in C2
Z2 indicates the average value of pixels of each color x, y, and z in the region 94.

この様にして領域情報とC,、C2の2つの色情報が求
められ、ベクトル量子化及びLUT70により更に圧縮
されることにより、第8図に示すコード(36ビツト)
に変換される。
In this way, the area information and the two color information C, C2 are obtained, and further compressed by vector quantization and LUT 70, resulting in the code (36 bits) shown in FIG.
is converted to

このような圧縮形態はNxN画素から成る一枚の画像を
mXmの小区画で切り、このm X mを1つのにビッ
トの固定長のコードに変換するため、圧縮された画像デ
ータとしては、 のアドレス空間で深さ方向ににビットから成るメモリ構
成をとる。従って、画像のアドレス情報が保持されてお
り、通常のMH,MMH,MR,MR,MMR等の可変
符号長の圧縮方式に比べて任意位置の画像検索、書込み
等のランダムアクセス性能が良く、編集作業等に最適で
あると言える。
In this type of compression, a single image consisting of N x N pixels is cut into m x m small sections, and this m x m is converted into a fixed length code of 1 bit, so the compressed image data is as follows. The memory structure consists of bits in the depth direction of the address space. Therefore, image address information is retained, and random access performance such as image search and writing at arbitrary positions is better than normal variable code length compression methods such as MH, MMH, MR, MR, MMR, etc., and editing It can be said that it is ideal for work etc.

尚、本実施例において2色で記憶する理由は、カラーの
線画、文字等の最適表現を与えようとす1す るもので、即ち文字・線画は文字線画の色及びバックグ
ランドの色の2色で表わされる。従って、かかる圧縮法
は解像力情報を良好に再現し、一様な色の領域に対して
はこの2色C,,C2が近い色の値となり、極限的には
C,=C2となる。
The reason for storing in two colors in this embodiment is to provide optimal expression for color line drawings, characters, etc. In other words, characters and line drawings are stored in two colors: the color of the character line drawing and the color of the background. It is expressed as Therefore, such a compression method reproduces resolution information well, and for a uniform color area, these two colors C, , C2 have close color values, and in the limit, C, = C2.

(これはmxmの全画素が全て同じ値の時)この状態は
第8図の一極限状態とみなせるため、第8図のコードを
用いれば一般的なものとして処理できる。
(This is when all pixels of mxm have the same value) Since this state can be regarded as one of the extreme states shown in FIG. 8, it can be processed as a general state using the code shown in FIG.

以上説明した圧縮法を用いた時、復元化された画像デー
タを例えば2倍、3倍に拡大してプリントアウトした場
合、4×4(一般的にはmxm)のテキスチャ構造が表
われ画質劣化が生じる事が判明した。これは4×4(一
般的にはmxm)内の画像情報を2色で近似したため、
4×4内ではぬり絵的に2つの色で区切られている事と
、他の隣接した4×4の領域と色相的に連続にならない
ためである。
When using the compression method described above, if the restored image data is enlarged by a factor of 2 or 3 and printed out, a 4x4 (generally mxm) texture structure will appear and the image quality will deteriorate. It was found that this occurs. This is because the image information in 4x4 (generally mxm) is approximated with two colors,
This is because the 4x4 area is divided into two colors in the coloring picture, and the hue is not continuous with other adjacent 4x4 areas.

即ち、2色の決定が注目した4×4画素内の情報のみで
行われるため、隣接した他の4×4の領域との間で色が
不連続になり、更に注目した4×4画素内で2つの色が
ぬり絵的に表わされているためであると考えられる。そ
の結果、複合された画像が拡大された場合に、この4×
4の境界及びテキスチャ構造(モアレ)が目立つ事にな
る。
In other words, since the two colors are determined using only the information within the 4x4 pixel of interest, the colors become discontinuous with other adjacent 4x4 areas, and even within the 4x4 pixel of interest. This is thought to be because the two colors are represented in a coloring book style. As a result, when the composite image is enlarged, this 4×
4 boundaries and texture structure (moiré) become noticeable.

[復号化回路の説明 (第1図)] 第1図は本実施例の復号化回路103の機能ブロック図
である。
[Description of Decoding Circuit (FIG. 1)] FIG. 1 is a functional block diagram of the decoding circuit 103 of this embodiment.

例えば第8図に示す圧縮された符号化コードが入力され
ると、復元部104により色情報c1゜C2は24ビツ
トの色情報に、領域情報102は16ビツトの領域情報
に復元される。105は復元された画像データを格納す
るラインメモリである。106は例1久ば3×3の画素
マトリックス単位で平滑を行う平滑回路である。
For example, when the compressed encoded code shown in FIG. 8 is input, the restoring section 104 restores the color information c1-c2 to 24-bit color information and the area information 102 to 16-bit area information. 105 is a line memory that stores restored image data. 106 is a smoothing circuit that performs smoothing in units of a 3×3 pixel matrix in Example 1.

[復元部の説明 (第2図)コ 第2図は復元部104の構成を示すブロック図で、第1
図と共通部分は同一記号で示している。
[Description of Restoration Unit (Fig. 2) Fig. 2 is a block diagram showing the configuration of the restoration unit 104.
Parts common to the figures are indicated by the same symbols.

20〜22は復元用のルックアップテーブル(LUT)
で、LUT20は12ビツトの色情報C1を24ビツト
のCI (rl、g++ b、)に、LUT21は12
ビツトの色情報C2を24ビツトのC2(rl、g2.
b2)にそれぞれ復元する(但し、ここでrl +  
rl r gl + g2 +t)+、b2はそれぞれ
8ビツトの色成分データである)。LtJT22は12
ビツトの領域情報102を元の4X4(16ビツト)の
領域情報に復元する。24はパラレルシリアル変換器(
psc)で、16ビツトの領域情報を4×4のマトリク
スの画素順にシリアルデータに変換し出力する。
20 to 22 are lookup tables (LUT) for restoration
Then, LUT 20 converts the 12-bit color information C1 into 24-bit CI (rl, g++ b,), and LUT 21 converts the 12-bit color information C1 into 24-bit CI (rl, g++ b,).
The bit color information C2 is converted to 24 bits C2 (rl, g2.
b2) respectively (however, here rl +
rl r gl + g2 +t)+, b2 are each 8-bit color component data). LtJT22 is 12
The bit area information 102 is restored to the original 4×4 (16 bits) area information. 24 is a parallel serial converter (
psc) converts the 16-bit area information into serial data in pixel order in a 4×4 matrix and outputs it.

23はセレクタで、PSC24よりのシリアルデータ2
7を入力してデータ27が1゛のときはLUT20の出
力25を選択し、データ27が0°゛のときはLUT2
1の出力26を選択して出力する。105は本実施例の
如く4×4の圧縮データが入力される場合は、最低8ラ
イン×3色分のメモリ容量を備えたラインメモリで、第
8図の符号化コードが入力されると、覆合された画素順
に8ライン分の画像データが格納される。
23 is a selector, and serial data 2 from PSC24
7 and when the data 27 is 1゛, select the output 25 of LUT20, and when the data 27 is 0゛, select the output 25 of LUT20.
1 output 26 is selected and output. 105 is a line memory having a memory capacity for at least 8 lines x 3 colors when 4×4 compressed data is input as in this embodiment, and when the encoded code shown in FIG. 8 is input, Eight lines of image data are stored in the order of the overlapping pixels.

[平滑回路の説明 (第3図〜第5図)]第3図と第5
図は復元された画像データを平滑する平滑回路のブロッ
ク図である。
[Description of smoothing circuit (Figures 3 to 5)] Figures 3 and 5
The figure is a block diagram of a smoothing circuit that smoothes restored image data.

ラインメモリ105より8ライン分の画像デーりが読み
出されセレクタ30によって3ラインが選択される。こ
のセレクタ30は常に連続した3ラインを選択する様に
、不図示のライン同期信号等に同期してラインを選択し
ている。31は1画素遅延回路で、a x iの信号取
出し用タップにより3×3の連続した小区画の画素デー
タを取出す構成になっている。
Eight lines of image data are read out from the line memory 105 and three lines are selected by the selector 30. This selector 30 selects a line in synchronization with a line synchronization signal (not shown) or the like so that three consecutive lines are always selected. Reference numeral 31 denotes a one-pixel delay circuit, which is configured to take out pixel data of 3×3 continuous small sections using axi signal take-out taps.

第4図(A)、(B)は平滑化用の空間フィルタの1例
を示す図で、第4図(A)は中心部に重みを置いたもの
、第4図(B)は全て同一の重み付けを行うフィルタを
示す。一般に中心部に重みを置くやり方の方がハードウ
ェアは複雑になるが画質は良くなる傾向にある。
Figures 4(A) and 4(B) are diagrams showing examples of spatial filters for smoothing. Figure 4(A) is the one with weight placed in the center, and Figure 4(B) is the same. A filter that performs weighting is shown below. In general, placing more weight on the center requires more complicated hardware, but tends to result in better image quality.

第5図は第4図(A)の空間フィルタを用いて畳み込み
演算を行う場合の構成図を示したものである。
FIG. 5 shows a configuration diagram when a convolution operation is performed using the spatial filter of FIG. 4(A).

50.51.54は加算器、52.53は係数器である
50, 51, and 54 are adders, and 52.53 are coefficient multipliers.

係数器52の出力は0.3x (a+c+g+i)、係
数器53の出力は0.5X (b+d+f+h)となり
、加算器54で係数器52.53の出力と中心画素(e
)が加算される。これにより下式で示される演算が実行
されたことになる。
The output of the coefficient unit 52 is 0.3x (a+c+g+i), the output of the coefficient unit 53 is 0.5X (b+d+f+h), and the adder 54 combines the output of the coefficient unit 52.53 with the center pixel (e
) is added. This means that the calculation shown by the following formula has been executed.

ノーマライズ係数回路55は加算器54の出力を画素マ
トリックの画素数(本実施例では9個)で割る回路であ
る。このようにして平滑化出力56が得られ、この平滑
化処理はr、g、bの各色に対して個々に実施される。
The normalization coefficient circuit 55 is a circuit that divides the output of the adder 54 by the number of pixels in the pixel matrix (nine in this embodiment). A smoothed output 56 is thus obtained, and this smoothing process is performed individually for each of the r, g, and b colors.

以上の平滑化処理により以下の効果がある。The above smoothing process has the following effects.

(1)4X4画素内で2色の情報からぬり絵的になって
いたものが、連続的に変化する様になる。
(1) What used to be a coloring picture based on two-color information within a 4x4 pixel now changes continuously.

(2)平滑化の場合のマトリクスサイズを符号化の場合
と異ならせることにより、隣接する4×4画素とまたが
って平滑化されるため4X4画素毎の境界が無くなる。
(2) By making the matrix size for smoothing different from that for encoding, smoothing is performed across adjacent 4×4 pixels, eliminating boundaries between each 4×4 pixel.

従って、画像を拡大してもテキスチャ構造の見えない画
像出力が得られる。
Therefore, even if the image is enlarged, an image output in which the texture structure is not visible can be obtained.

尚、本実施例に於ける空間フィルタのサイズは大きい程
平滑化作用が大きく効果が上がるが、逆に解像度が低下
するため、使用目的に応じて(例えば、文字のある場合
や無い場合等に応じて)サイズを選択する事が好ましい
Note that the larger the size of the spatial filter in this embodiment, the greater the smoothing effect and the better the effect, but on the other hand, the resolution decreases. It is preferable to select the size accordingly.

[発明の効果] 以上述べた如く本発明によれば、高い圧縮率が得られる
と同時に画像の編集が効率良くできる様に符号化された
画像データを、画質劣化なく復号できるという効果があ
る。
[Effects of the Invention] As described above, according to the present invention, there is an effect that image data encoded in such a manner that a high compression ratio can be obtained and at the same time efficient image editing can be decoded without deterioration in image quality.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本実施例の機能ブロック図、 第2図は復元部のブロック図、 第3図は3×3画素を取り出す回路図、第4図(A)、
(B)は空間フィルタの1例を示す図、 第5図は画素データを入力して加減算を行う回路図、 第6図(A)〜(C)は画像データを色情報と領域情報
とに分ける処理の概念図、 第7図は画像データ圧縮部の構成を示す図、第8図は本
実施例により符号化されたコードを示す図、 第9図は画像データと画素の平均値及び分散値の大小を
示す図、 第10図は領域情報と2色情報の計算結果の1例を示す
図である。 図中、20〜22.70・・・ルックアップテーブル(
LUT) 、23.30・・・セレクタ、24・・・パ
ラレルシリアル変換回路(PSC)、31・・・1画素
遅延回路、50,51.54・・・加算器、52゜53
・・・係数器、55・・・ノーマライズ係数回路、60
.90.92・・・画像データ、102・・・領域情報
、103・・・復号化回路、104・・・復元部、10
5・・・ラインメモリ、106・・・平滑回路である。 7゜ 第7図
Figure 1 is a functional block diagram of this embodiment, Figure 2 is a block diagram of the restoration section, Figure 3 is a circuit diagram for extracting 3x3 pixels, Figure 4 (A),
(B) is a diagram showing an example of a spatial filter. Figure 5 is a circuit diagram for inputting pixel data and performing addition and subtraction. Figures 6 (A) to (C) are image data converted into color information and area information. A conceptual diagram of the dividing process. Figure 7 is a diagram showing the configuration of the image data compression unit. Figure 8 is a diagram showing the code encoded by this embodiment. Figure 9 is the average value and variance of image data and pixels. FIG. 10 is a diagram showing an example of calculation results for area information and two-color information. In the figure, 20 to 22.70... lookup table (
LUT), 23.30...Selector, 24...Parallel-serial conversion circuit (PSC), 31...1 pixel delay circuit, 50,51.54...Adder, 52゜53
... Coefficient unit, 55 ... Normalization coefficient circuit, 60
.. 90.92... Image data, 102... Area information, 103... Decoding circuit, 104... Restoration unit, 10
5... Line memory, 106... Smoothing circuit. 7゜Figure 7

Claims (2)

【特許請求の範囲】[Claims] (1)カラー画像データの所定の画素マトリクスを最大
2つの色情報に分割し、前記色情報に基づいて色領域を
決定して前記色情報と前記色領域とを各々圧縮して符号
化した画像データの復号化方式であつて、圧縮された前
記色情報と前記色領域を元の情報に復元する復元手段と
、復元された情報を平滑化する平滑手段とを備えること
を特徴とする復号化方式。
(1) An image obtained by dividing a predetermined pixel matrix of color image data into two pieces of color information at most, determining a color region based on the color information, compressing and encoding each of the color information and the color region. A data decoding method, comprising a restoring means for restoring the compressed color information and the color region to the original information, and a smoothing means for smoothing the restored information. method.
(2)平滑手段は符号化した画素マトリックスのサイズ
と異なるマトリクスサイズで平滑化することを特徴とす
る特許請求の範囲第1項記載の復号化方式。
(2) The decoding method according to claim 1, wherein the smoothing means smoothes with a matrix size different from the size of the encoded pixel matrix.
JP61308368A 1986-12-26 1986-12-26 Decoding system Pending JPS63164574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61308368A JPS63164574A (en) 1986-12-26 1986-12-26 Decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61308368A JPS63164574A (en) 1986-12-26 1986-12-26 Decoding system

Publications (1)

Publication Number Publication Date
JPS63164574A true JPS63164574A (en) 1988-07-07

Family

ID=17980224

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61308368A Pending JPS63164574A (en) 1986-12-26 1986-12-26 Decoding system

Country Status (1)

Country Link
JP (1) JPS63164574A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5583656A (en) * 1992-12-31 1996-12-10 Eastman Kodak Company Methods and apparatus for attaching compressed look-up table (LUT) representations of N to M-dimensional transforms to image data and for processing image data utilizing the attached compressed LUTs

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5583656A (en) * 1992-12-31 1996-12-10 Eastman Kodak Company Methods and apparatus for attaching compressed look-up table (LUT) representations of N to M-dimensional transforms to image data and for processing image data utilizing the attached compressed LUTs

Similar Documents

Publication Publication Date Title
JP3089363B2 (en) Method and apparatus for compressing digital video color data
EP1034505B1 (en) System and method for fixed-rate block-based image compression with inferred pixel values
US5363219A (en) Image processing method and apparatus
US8385639B2 (en) Compressive coding device and visual display control device
JP2000196907A (en) Method for selecting color to be assigned to pixel and method for encoding and storing picture
EP0924925A1 (en) Method and apparatus for reversible color conversion
WO1994000949A1 (en) Video compression and decompression using block selection and subdivision
US7248735B2 (en) Compression and decompression method of image data
JPH01311786A (en) Expanding system for compressed color picture
US5917956A (en) Image processing apparatus capable of removing an edge portion from a multi-level color signal based on a binary color signal
US6501851B1 (en) Image encoding/decoding by eliminating color components in pixels
JPH05328142A (en) Picture data compression method and picture display device
US11677932B2 (en) Image processing device
US20110002553A1 (en) Compressive coding device and decoding device
JPS63164574A (en) Decoding system
JPH11331615A (en) Image compression device
JP4777447B2 (en) Image processing apparatus, image processing method, computer program, and recording medium
JP4622762B2 (en) Image data compression / decompression method
JP2002540685A (en) Image compression and decompression
US6751355B1 (en) Wavelet image compression using quantization based on frequency ranges and absolute values in wavelet image compression
JPS63164573A (en) Compression system for image data
JP2810585B2 (en) Image encoding method and image decoding method
TWI502550B (en) Differential layered image compression method
JPH0342968A (en) Color picture information encoding system
TWI795480B (en) Image processing device for performing data decompression and image processing device for performing data compression