JP2810585B2 - Image encoding method and image decoding method - Google Patents

Image encoding method and image decoding method

Info

Publication number
JP2810585B2
JP2810585B2 JP7240392A JP7240392A JP2810585B2 JP 2810585 B2 JP2810585 B2 JP 2810585B2 JP 7240392 A JP7240392 A JP 7240392A JP 7240392 A JP7240392 A JP 7240392A JP 2810585 B2 JP2810585 B2 JP 2810585B2
Authority
JP
Japan
Prior art keywords
image
block group
contour
image data
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.)
Expired - Fee Related
Application number
JP7240392A
Other languages
Japanese (ja)
Other versions
JPH05236285A (en
Inventor
英俊 中西
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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP7240392A priority Critical patent/JP2810585B2/en
Publication of JPH05236285A publication Critical patent/JPH05236285A/en
Application granted granted Critical
Publication of JP2810585B2 publication Critical patent/JP2810585B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像データ処理におけ
る画像符号化処理方法に関し、印刷画像における画質の
劣化を最小限に押さえつつ、画像データ量を削減できる
画像符号化処理方法、および画像復号化処理方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image encoding method in image data processing, and more particularly to an image encoding method capable of reducing the amount of image data while minimizing the deterioration of the image quality of a printed image, and an image decoding method. The present invention relates to a chemical treatment method.

【0002】[0002]

【従来の技術】一般に、印刷分野における画像データ量
は、テレビモニタ上に表示されている静止画像に比べて
膨大であり、たとえば、後者の画像データ量が1MB程
度にあるのに対し、前者はA4サイズの原稿について6
0MB(400line/inch)にも達する。
2. Description of the Related Art Generally, the amount of image data in the printing field is enormous as compared with a still image displayed on a television monitor. For example, the amount of image data in the latter is about 1 MB, whereas the amount of image data in the former is about 1 MB. A4 size manuscript 6
It reaches as much as 0 MB (400 lines / inch).

【0003】このような大量のデータをそのままデータ
ベースとして記憶するには膨大なメモリが必要である
し、またデータ伝送に要する時間も大変長くなってしま
う。
[0003] In order to store such a large amount of data as a database as it is, a huge memory is required, and the time required for data transmission becomes very long.

【0004】これに対処するため、画像の情報量を削減
する符号化技術、すなわち、画像データの圧縮技術が研
究され、従来から、直交変換符号化法もしくはベクトル
量子化法などの圧縮方法が開発されている。このうち特
に直交変換符号化法は自然静止画像の国際標準圧縮方式
にも採用されている。
In order to cope with this, an encoding technique for reducing the amount of information of an image, that is, an image data compression technique has been studied, and a compression method such as an orthogonal transform encoding method or a vector quantization method has been conventionally developed. Have been. Among them, the orthogonal transform coding method is particularly employed in the international standard compression method for natural still images.

【0005】これらの圧縮方法は、いわゆる非可逆な符
号化法であり、高圧縮率が期待できる一方、復元しても
完全に原画データに戻らないという欠点を有する。
[0005] These compression methods are so-called irreversible encoding methods, and although a high compression rate can be expected, they have a drawback that even if they are restored, they do not completely return to the original image data.

【0006】特に商用印刷画像の場合においては、画像
の内容そのものより、画質の品質(たとえば女性の肌の
なめらかさや輪郭のシャープさ等)が要求されることが
多いが、このような商用印刷画像の画像データに直交変
換等の非可逆符号化方式を適用し、高い圧縮率で圧縮す
れば、画質が劣化し画像の商用価値を損なう結果になっ
ていた。
Particularly in the case of a commercial print image, quality of the image quality (for example, smoothness of a woman's skin and sharpness of an outline) is often required rather than the content of the image itself. If an irreversible encoding method such as orthogonal transformation is applied to the image data and the image data is compressed at a high compression rate, the image quality deteriorates and the commercial value of the image is impaired.

【0007】[0007]

【発明が解決しようとする課題】そのため、画像データ
量を削減しながらも、視覚者に必要な情報をなるべく多
く保存し、当該部分の圧縮による画質劣化を最小限に抑
える符号化方式の研究が行なわれているが、有効な画像
処理の方法はなかった。
For this reason, there has been a study on an encoding method which saves as much information as necessary for a viewer while reducing the amount of image data and minimizes image quality deterioration due to compression of the relevant portion. Despite this, there was no effective image processing method.

【0008】本発明の目的は、画像の種類にかかわら
ず、画像データの量を低く押さえながら、与えられた対
象物の画像を鮮明に維持するための画像符号化処理方法
および画像復号化処理方法を提供することを目的とす
る。
An object of the present invention is to provide an image encoding method and an image decoding method for maintaining a clear image of a given object while keeping the amount of image data low irrespective of the type of image. The purpose is to provide.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、本発明の第1の構成の画像符号化処理方法では、 (a) 符号化処理の対象となる画像において対象物の輪郭
を設定して輪郭データを形成する工程と、 (b) 前記符号化処理の対象となる画像を複数の画素ブロ
ックに分割する工程と、 (c) 前記輪郭データに基づき、前記画素ブロックを前記
輪郭の少なくとも一部を含む輪郭ブロック群と、前記輪
郭ブロックによって形成された閉領域内であって対象物
画像を含む対象物ブロック群と、前記全ての画素ブロッ
クから前記輪郭ブロック群および対象物ブロック群を除
いた非対象物ブロック群とに、分類する工程と、 (d) 前記輪郭ブロック群と前記対象物ブロック群に属す
る画素ブロックについてはそれぞれ比較的低い圧縮率が
得られる第1の符号化処理および第2の符号化処理をす
るとともに、前記非対象物ブロック群に属する画素ブロ
ックについては比較的高い圧縮率が得られる第3の符号
化処理をすることによって、前記複数の画素ブロックの
それぞれについて符号化された画像データを得る工程
と、 (e) 前記複数の画素ブロックのそれぞれについて、前記
輪郭ブロック群と対象物ブロック群と前記非対象物ブロ
ック群とのうちのいずれに属するかを表現する属性デー
タを生成して前記符号化された画像データに付随させる
工程と、を備えている。そして、前記(d) の工程における第1の符号化処理の圧
縮率は、第2の符号化処理の圧縮率よりも低く設定され
ている。
In order to achieve the above object, the image encoding method of the first configuration according to the present invention comprises the steps of: (a) setting an outline of an object in an image to be encoded; (B) dividing the image to be encoded into a plurality of pixel blocks; and (c) dividing the pixel block into at least one of the contours based on the contour data. A contour block group including a portion, an object block group including an object image within a closed area formed by the contour block, and the contour block group and the object block group removed from all the pixel blocks. (D) a first code that can obtain a relatively low compression ratio for each of the pixel blocks belonging to the contour block group and the object block group; Processing and a second encoding process, and by performing a third encoding process in which a relatively high compression ratio is obtained for the pixel blocks belonging to the non-target block group, each of the plurality of pixel blocks Obtaining image data coded for: and (e) expressing, for each of the plurality of pixel blocks, which of the outline block group, the object block group, and the non-object block group belongs to Generating attribute data to be attached to the encoded image data. Then, the compression of the first encoding process in the step (d) is performed.
The compression ratio is set lower than the compression ratio of the second encoding process.
ing.

【0010】ただし、「画像データに付随させる」と
は、画像データと概念的にペアにする場合と、画像デー
タの一部として画像データ中に組み込む場合との双方を
含む用語であり、また、「比較的低い圧縮率」とは、圧
縮率が“1”の場合、すなわち符号化処理を全く行なわ
ない場合も含むものとする。
[0010] However, "attached to image data" is a term including both a case where the image data is conceptually paired and a case where the image data is incorporated into the image data as a part of the image data. “Relatively low compression ratio” includes a case where the compression ratio is “1”, that is, a case where no encoding process is performed.

【0011】一方、この発明の復号化処理方法では、
(a) 前記符号化された画像データに付随させた前記属性
データを参照することによって、前記画素ブロックのそ
れぞれが前記輪郭ブロック群と前記対象物ブロック群と
前記非対象物ブロック群とのうちのいずれに属するかを
判定する工程と、(b) 前記符号化された画像データの復
号化を、工程(a) によって前記輪郭ブロック群に属する
と判定された画素ブロックについては前記第1の符号化
処理に対応する第1の復号化処理で、工程(a) によって
前記対象物ブロック群に属すると判定された画素ブロッ
クについては前記第2の符号化処理に対応する第2の復
号化処理で、工程(a) によって前記非対象物ブロック群
に属すると判定された画素ブロックについては前記第3
の符号化処理に対応する第3の復号化処理で、それぞれ
実行することにより、復号化された画像データを得る工
程と、(c) 前記工程(b) によって復号化された各画素
ブロックを合成して、前記画像に対応する復元画像を得
る工程と、を備えることを特徴とする。
On the other hand, in the decoding processing method of the present invention,
(a) By referring to the attribute data attached to the encoded image data, each of the pixel blocks is one of the contour block group, the object block group, and the non-object block group. (B) decoding the encoded image data, and performing the first encoding for the pixel blocks determined to belong to the contour block group in step (a). In a first decoding process corresponding to the process, a pixel block determined to belong to the object block group in step (a) is subjected to a second decoding process corresponding to the second encoding process, For the pixel blocks determined to belong to the non-object block group in step (a), the third
A step of obtaining decoded image data by performing the respective steps in a third decoding process corresponding to the encoding process of (c), and (c) synthesizing each pixel block decoded in the step (b). Obtaining a restored image corresponding to the image.

【0012】[0012]

【作用】まず、画像の対象物を輪郭を設定して輪郭デー
タを作成しておき、画像データを分割した画素ブロック
を前記輪郭データに基づき、当該輪郭を含む輪郭ブロッ
ク群と、その内部を対象物ブロック群と、これらを除い
た非対象物ブロック群とに区別し、輪郭ブロック群と対
象物ブロック群については比較的低い圧縮率によってそ
れぞれ第1、第2の符号化処理を施す。また、非対象物
ブロック群には高圧縮率の圧縮に相当する第3の符号化
処理を施す。このため画像全体のデータ量を少なく押さ
えながら、任意に設定した輪郭内の画質の劣化を最小限
にとどめることができる。また、第1の符号化処理の圧
縮率は、第2の符号化処理の圧縮率よりも低く設定され
ている。このため、復号化されたときの画像において、
輪郭線領域とその内外の領域との境界のうち、視認上で
重要な内側部分での境界で、圧縮率の差に起因する不自
然な画像のズレが少なくなる。
First, contour data is created by setting the contour of the object of the image, and the pixel blocks obtained by dividing the image data are classified based on the contour data into a contour block group including the contour and a target inside the contour block group. The object block group and the non-object block group other than these are distinguished, and the first and second encoding processes are performed on the outline block group and the object block group at a relatively low compression ratio. Further, a third encoding process corresponding to high-compression compression is performed on the non-target block group. For this reason, it is possible to minimize the deterioration of the image quality in the arbitrarily set contour while keeping the data amount of the entire image small. Also, the pressure of the first encoding process
The compression ratio is set lower than the compression ratio of the second encoding process.
ing. Therefore, in the decoded image,
Of the boundaries between the contour area and the area inside and outside,
At the boundary of the important inner part, the
Natural image displacement is reduced.

【0013】画像データの符号化を行なうことによって
得られた符号化画像データは保存される。そしてその符
号化画像データをモニタ等の出力機に表示する場合には
復号化を行なわねばならないが、この復号化に際しては
各画素ブロックがいずれの圧縮率で符号化されたもので
あるかを知ることが必要となる。
The encoded image data obtained by encoding the image data is stored. When the encoded image data is to be displayed on an output device such as a monitor, decoding must be performed. At the time of decoding, it is necessary to know at which compression rate each pixel block has been encoded. It is necessary.

【0014】このため、各画素ブロックについて、輪郭
ブロック群と対象物ブロック群と非対象物ブロック群の
いずれに属するかを表現する属性データを生成して画像
データに付随させておく。
For this reason, for each pixel block, attribute data representing which one of the outline block group, the object block group, and the non-object block group belongs is generated and attached to the image data.

【0015】また、この発明の画像復号化処理方法にお
いては、上記第1の符号化処理方法で符号化された画像
を復号化するために適した方法となっており、上記属性
データに基づいて、符号化された画素ブロックを、輪郭
ブロック群、対象物ブロック群および非対象物ブロック
群に区別し、それぞれの符号化に対応する復合化処理を
行ない、これらの復合化された画素ブロックを合成する
ことにより復元画像を得る。
The image decoding method according to the present invention is a method suitable for decoding an image encoded by the first encoding method, and is based on the attribute data. , The encoded pixel blocks are classified into a contour block group, an object block group, and a non-object block group, and a decoding process corresponding to each encoding is performed, and these decoded pixel blocks are combined. To obtain a restored image.

【0016】[0016]

【実施例】以下、図面を参照して、本発明にかかる画像
符号化処理方法と画像復号化処理方法の実施例を詳細に
説明するが、本発明の技術的範囲がこれにより限定され
るものではないことはもちろんである。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of an image coding method and an image decoding method according to the present invention; Of course not.

【0017】本実施例は、次のような順番で説明され
る。
This embodiment will be described in the following order.

【0018】(I)輪郭データの作成方法 (II)画素ブロック分類方法 (III)画像圧縮方法 (IV) 画像復元方法 (V)本実施例にかかる方法を実施する装置例 (VI)変形例 以下、分説する。 (I)輪郭データの作成方法 本実施例では、説明の便宜上、図7(a)に示すような
簡易な時計の文字盤の画像における画像処理について考
える。
(I) Method of Creating Contour Data (II) Classification Method of Pixel Blocks (III) Image Compression Method (IV) Image Restoration Method (V) Example of Apparatus for Performing Method According to the Present Embodiment (VI) Modification Examples To argue. (I) Method of Creating Contour Data In this embodiment, for the sake of convenience of explanation, image processing on a simple clock face image as shown in FIG. 7A will be considered.

【0019】オペレータが原画20について時計の文字
盤21を対象物として設定したいときは、そのテレビモ
ニタ−に表示された輪郭線21aに対応する画像データ
を全て“1”に設定するとともに、その他の画像データ
を“0”に設定し、これにより図7(b)に示される輪
郭データRを得る。
When the operator wants to set the clock face 21 of the original image 20 as an object, the image data corresponding to the contour 21a displayed on the television monitor is all set to "1", and other data are set. The image data is set to “0”, whereby the contour data R shown in FIG. 7B is obtained.

【0020】このような輪郭データRは、たとえば既知
の輪郭切抜き装置により容易に得ることができる。この
輪郭切抜き装置による輪郭データRの作成は、当該原画
20をテレビモニタ−に表示させ、その画面に重なって
表示されたカーソルを、オペレータが手元のマウスによ
って当該輪郭線21aに沿って移動させる。このカーソ
ルの移動の軌跡は、画素マトリクスにおけるx−y座標
面に変換され、当該輪郭に該当する輪郭データを“1”
に設定し、その他の輪郭データを“0”に設定すること
によって得られるものである。
Such contour data R can be easily obtained by, for example, a known contour cutting device. To create the contour data R by the contour clipping device, the original image 20 is displayed on a television monitor, and the cursor displayed on the screen is moved by the operator along the contour line 21a with the mouse at hand. The locus of this cursor movement is converted into an xy coordinate plane in the pixel matrix, and the outline data corresponding to the outline is changed to “1”.
And the other contour data are set to “0”.

【0021】このようにして“0”、“1”を割り当て
て作成された輪郭データは、ベクトル化により圧縮され
てメモリに保存される。 (II)画素ブロック分類方法 (1)画像データのブロック化 まず、原画20から得られた画像データを、複数の画素
ブロックに分割する。
The contour data created by assigning “0” and “1” in this way is compressed by vectorization and stored in the memory. (II) Pixel Block Classification Method (1) Blocking of Image Data First, image data obtained from the original image 20 is divided into a plurality of pixel blocks.

【0022】図8(a)で模式的に示すように画像デー
タは、(H×V)個の多数の画素Pで構成されていると
ともに、それぞれが複数の画素を有する(M×N)個の
画素ブロックBxyに分割されている。
As schematically shown in FIG. 8A, the image data is composed of a large number of (H × V) pixels P, and each of the (M × N) pixels has a plurality of pixels. Are divided into pixel blocks Bxy.

【0023】図8(b)は、1つの画素ブロックBxyの
構成を示した概念図である。画素ブロックBxyは、(I
×J)個の画素で構成された画素マトリクスとなってお
り、各画素ごとに画像データfijが得られている。
FIG. 8B is a conceptual diagram showing the structure of one pixel block Bxy. The pixel block Bxy has (I
A pixel matrix composed of (.times.J) pixels is obtained, and image data fij is obtained for each pixel.

【0024】なお、図8(b)の例では、1個の画素ブ
ロックBxyは、(8×8)画素で構成されているが、
(4×4)画素や(16×16)画素などで構成しても
よい。
In the example shown in FIG. 8B, one pixel block Bxy is composed of (8 × 8) pixels.
It may be composed of (4 × 4) pixels or (16 × 16) pixels.

【0025】(2)対象物テーブルの作成 次に、(I)の輪郭データの作成方法においてベクトル
化され圧縮保存されている輪郭データを当該ベクトル化
に対応する復号化処理を施して復元する。復元して得ら
れた輪郭データは、上記画像データと同じく(H×V)
個の多数の画素Pに対応しており、上記(1)の画素デ
ータのブロック化と同じようにしてこの輪郭データの画
素平面を(M×N)個のブロックに分割し、画素ブロッ
クBxyに対応する輪郭データブロックDxyを形成する。
(2) Creation of Object Table Next, the contour data that has been vectorized and compressed and stored in the contour data creation method of (I) is restored by performing a decoding process corresponding to the vectorization. The contour data obtained by restoration is the same as the above image data (H × V)
And the pixel plane of this contour data is divided into (M × N) blocks in the same manner as in the above-described block (1) of pixel data. A corresponding contour data block Dxy is formed.

【0026】さらに、この(M×N)個に分割された輪
郭データブロックDxyに対応させて(M×N)個分の領
域を有する輪郭データのコードテーブルCT(x,y)
を用意する。
Further, a code table CT (x, y) of contour data having (M × N) areas corresponding to the (M × N) divided contour data blocks Dxy.
Prepare

【0027】このコードテーブルCT(x,y) の作成
の手順を、図10のフローチャートに基づき説明する。
The procedure for creating the code table CT (x, y) will be described with reference to the flowchart of FIG.

【0028】まず、y=0、x=0として輪郭データブ
ロックD00から処理を始める(ステップS31、S3
2)。
First, the process is started from the outline data block D00 with y = 0 and x = 0 (steps S31 and S3).
2).

【0029】当該輪郭データブロックDxyの中に含まれ
る複数の輪郭データのうち少なくとも1つが“1”であ
るならば、その輪郭データブロックDxy内には、輪郭デ
ータが含まれていると判断できるので、当該輪郭データ
ブロックDxyに対応するコードテーブルCT(x,y)
の値を“1”に設定する(ステップS33、S34)。
If at least one of the plurality of contour data contained in the contour data block Dxy is "1", it can be determined that the contour data block Dxy contains contour data. , The code table CT (x, y) corresponding to the contour data block Dxy
Is set to "1" (steps S33, S34).

【0030】もし輪郭データブロックDxyの中に含まれ
る複数の輪郭データ全てが“0”であれば、その輪郭デ
ータブロックDxyの中には輪郭データが含まれていない
ことになるから、当該輪郭データブロックDxyに対応す
るコードテーブルCT(x,y) の値を“0”に設定す
る(ステップS35)。
If all of the plurality of contour data included in the contour data block Dxy are "0", no contour data is included in the contour data block Dxy. The value of the code table CT (x, y) corresponding to the block Dxy is set to "0" (step S35).

【0031】次に、変数xに“1”をインクイリメント
し、その値がx座標方向の画素ブロック数であるM未満
であれば、当該y行の処理がまだ終了していないので、
ステップS33に戻り、次の輪郭データブロックDxyに
ついて処理を行なう(ステップS36、S37)。
Next, the variable x is incremented by "1", and if the value is less than M, which is the number of pixel blocks in the x coordinate direction, the processing of the y row has not been completed.
Returning to step S33, processing is performed on the next contour data block Dxy (steps S36 and S37).

【0032】もし、ステップS37において変数xがM
以上であれば、当該y行の操作は終了したことになるか
ら、変数yに“1”をインクリメントし、このときの変
数のyの値がy座標方向の画素ブロック数であるN未満
であれば、次の行の輪郭データブロックDxyについて操
作を行なうためステップS32に戻る(ステップS3
8、S39)。もし、変数yの値がN以上であれば処理
を終了する。
If the variable x is M in step S37
If so, the operation on the y-th row has been completed. Therefore, “1” is incremented to the variable y, and if the value of the variable y at this time is smaller than N, which is the number of pixel blocks in the y-coordinate direction. For example, the process returns to step S32 to perform an operation on the contour data block Dxy of the next row (step S3).
8, S39). If the value of the variable y is equal to or greater than N, the process ends.

【0033】このようにして、輪郭データにより、コー
ドテーブルのCT(x,y) に“0”または“1”を設
定していく処理を一番左上の輪郭データブロックD00か
ら一番右下の輪郭データブロックD(M-1)(N-1)まで行な
うことにより、図9(a)に示すような輪郭データRに
対応するコードテーブル31が完成する。
In this manner, the process of setting "0" or "1" to CT (x, y) of the code table by the contour data is performed from the upper leftmost contour data block D00 to the lower rightmost one. By performing the processing up to the outline data block D (M-1) (N-1), the code table 31 corresponding to the outline data R as shown in FIG. 9A is completed.

【0034】次に、この輪郭データのコードテーブル3
1に基づき、分割された画像データの画素ブロックBxy
を、輪郭を含む画素ブロック群と、輪郭ブロック群によ
って形成された閉領域内であって対象物画像を含む画素
ブロック群と、前記輪郭ブロック群と対象物ブロック群
を除いた画素ブロック群(以下、順に、「輪郭ブロック
群」、「対象物ブロック群」、「非対象物ブロック群」
という。)とに分類するための、コードテーブルCT
(x,y) を作成する。
Next, the code table 3 of the contour data
1, the pixel block Bxy of the divided image data
Is defined as a pixel block group including an outline, a pixel block group including an object image in a closed area formed by the outline block group, and a pixel block group excluding the outline block group and the object block group (hereinafter, referred to as , In order, “contour block group”, “object block group”, “non-object block group”
That. ) Code table CT
Create (x, y).

【0035】このコードテーブルの作成は、基本的に
は、輪郭データを含む輪郭ブロック群により形成された
閉領域内の対象物領域について「塗りつぶし」の作業を
行なうことによって達成される。
The creation of the code table is basically achieved by performing a “painting” operation on an object area in a closed area formed by a contour block group including contour data.

【0036】この「塗りつぶし」操作については、画像
処理の分野において種々の方法が考案されており、たと
えば、「電子情報通信ハンドブック 第2分冊電子情報
通信学会編」(オーム社 昭和63年3月30日発行)
の第1868頁に開示されている塗りつぶし方法により
実施することができる。
For the "painting" operation, various methods have been devised in the field of image processing. For example, "Electronic Information and Communication Handbook, 2nd Volume, Electronic Information and Communication Society Edition" (Ohmsha, March 30, 1988) Date)
On page 1868.

【0037】この「塗りつぶし」操作により輪郭ブロッ
ク群内の対象物領域を“2”で置き換えて新たに作成さ
れたコードテーブルが、図9(b)に示すコードテーブ
ル32であり、このコードテーブル32は画像データに
付随する「付随データ」であり、以下対象物テーブルと
呼ぶことにする。
A code table newly created by replacing the object area in the outline block group with “2” by the “painting” operation is the code table 32 shown in FIG. Is "attached data" attached to the image data, and is hereinafter referred to as an object table.

【0038】当該コードテーブル32のCT(x,y)
の値によって、対応する画素ブロックBxyが、輪郭ブロ
ック群か対象物ブロック群か非対象物ブロック群かを判
断することができる。
CT (x, y) of the code table 32
, It can be determined whether the corresponding pixel block Bxy is a contour block group, an object block group, or a non-object block group.

【0039】すなわち、CT(x,y)=1であれば、
それに対応する画素ブロックBxyは輪郭ブロックであ
り、同じくCT(x,y)=2であれば、それに対応す
る画素ブロックBxyは対象物ブロックであり、また、C
T(x,y)=0であれば、それに対応する画素ブロッ
クBxyは非対象物ブロック群であることが分かる。 (III)画像圧縮方法 上記の対象物テーブル32に基づき、各ブロック群ごと
に異なる圧縮率による画像圧縮を行なう。その具体的方
法は以下の通りである。
That is, if CT (x, y) = 1,
The corresponding pixel block Bxy is a contour block. Similarly, if CT (x, y) = 2, the corresponding pixel block Bxy is an object block and C
If T (x, y) = 0, it is understood that the corresponding pixel block Bxy is a non-object block group. (III) Image Compression Method Based on the object table 32, image compression is performed at a different compression ratio for each block group. The specific method is as follows.

【0040】まず、画像データから画素ブロックBxyを
順次呼び出し、対応する対象物テーブル32のCT
(x,y)の値が“1”の場合は、対応する画素ブロッ
クBxyが輪郭ブロックであることを示すから、直交変換
符号化例えば離散コサイン変換等を行いほとんどの周波
数成分のデータを保存した低い圧縮率ra で第1の符号
化処理する(圧縮A)。この場合、低圧縮には、圧縮率
1、すなわち全く圧縮しない場合も含む。
First, the pixel blocks Bxy are sequentially called from the image data, and the CT of the corresponding object table 32 is read.
If the value of (x, y) is "1", it indicates that the corresponding pixel block Bxy is a contour block, and orthogonal transform coding, such as discrete cosine transform, is performed, and data of most frequency components is stored. The first encoding process is performed at a low compression ratio ra (compression A). In this case, the low compression includes a compression ratio of 1, that is, a case where no compression is performed at all.

【0041】また、当該画素ブロックBxyに対応する対
象物テーブル32のCT(x,y)の値が“2”の場合
は、対応する画素ブロックBxyが対象物ブロックである
ことを示すから、上と同じ直交変換符号化法を用いてほ
とんどの周波数成分のデータを保存した低い圧縮率rb
で第2の符号化処理する(圧縮B)。
When the value of CT (x, y) in the object table 32 corresponding to the pixel block Bxy is "2", it indicates that the corresponding pixel block Bxy is the object block. Low compression ratio rb that stores data of most frequency components using the same orthogonal transform coding method as
Performs the second encoding process (compression B).

【0042】この第1の符号化処理における圧縮率ra
と、第2の符号化処理における圧縮率rb は同じであっ
てもよいが、圧縮率ra を圧縮率rb よりより低く設定
しておけば、画像を復元した場合に輪郭線がより明確に
なり、視覚者に一層鮮明なイメージを与えることができ
る。
The compression ratio ra in the first encoding process
And the compression ratio rb in the second encoding process may be the same, but if the compression ratio ra is set lower than the compression ratio rb, the outline becomes clearer when the image is restored. Thus, a sharper image can be given to a viewer.

【0043】当該画素ブロックBxyに対応する対象物テ
ーブル32のCT(x,y)の値が“0”の場合は、対
応する画素ブロックBxyが非対象物ブロックであること
を示すから、当該画像データを直交変換符号化でも低周
波成分のみを保存する高圧縮率rc で符号化処理する
(圧縮C)。
If the value of CT (x, y) in the object table 32 corresponding to the pixel block Bxy is "0", it indicates that the corresponding pixel block Bxy is a non-object block, The data is encoded at a high compression ratio rc that preserves only low frequency components even in orthogonal transform encoding (compression C).

【0044】また、対象物テーブル32も圧縮しておく
ことが好ましい。この場合、対象物テーブル32は、
“0”と“1”と“2”の3値データ(2ビット)なの
で、可逆符号で圧縮処理を行う。例えば対象物テーブル
32はビットプレーン毎にMR(Modified Read )符号
で圧縮すればよい(圧縮D)。もちろん可逆符号であれ
ば他の符号化方法,たとえばランレングス圧縮方法によ
って圧縮しても構わない。
It is preferable that the object table 32 is also compressed. In this case, the object table 32
Since it is ternary data (2 bits) of “0”, “1”, and “2”, compression processing is performed using a lossless code. For example, the object table 32 may be compressed with an MR (Modified Read) code for each bit plane (compression D). Of course, if it is a lossless code, it may be compressed by another coding method, for example, a run-length compression method.

【0045】そして、圧縮された画像データと対象物テ
ーブルはそれぞれ異なるメモリ部に保存されてデータベ
ース化され、もしくは、通信回線を介して伝送される。
Then, the compressed image data and the object table are stored in different memory sections, respectively, are made into databases, or are transmitted via a communication line.

【0046】上述のように、対象物テーブル32に基づ
き領域ごとに異なる符号化処理をすることにより、重要
な対象物画像の画質を維持しながら、最初の輪郭設定に
基づき重要でない部分には高圧縮率をかけることができ
るので、全体として画像データを大幅に削減することが
可能となる。
As described above, by performing a different encoding process for each region based on the object table 32, while maintaining the image quality of the important object image, a high value is applied to the non-important portions based on the initial contour setting. Since a compression ratio can be applied, image data can be largely reduced as a whole.

【0047】(IV) 画像復元方法 このようにして圧縮された画像データを復元するには、
次のような手順による。
(IV) Image Restoration Method To restore image data compressed in this way,
The following procedure is used.

【0048】まず、圧縮された対象物テーブル32を、
上記圧縮Dの逆変換に相当する伸長処理を行い、復元す
る。
First, the compressed object table 32 is
A decompression process corresponding to the inverse conversion of the compression D is performed and restored.

【0049】次に圧縮された画像データをブロックBxy
ごとに呼び出し、復元された対象物テーブル32のCT
(x,y)の値と照らし合わせて、当該CT(x,y)
が“1”ならば、上記圧縮Aの逆変換に相当する伸長を
行い、当該CT(x,y)が“2”ならば、上記圧縮B
の逆変換に相当する伸長処理でこれを伸長し、さらに当
該CT(x,y)が“0”ならば、上記圧縮Cの逆変換
に相当する伸長処理でこれを伸長して復元する。
Next, the compressed image data is stored in a block Bxy
CT of the restored object table 32
In comparison with the value of (x, y), the CT (x, y)
Is "1", decompression corresponding to the inverse conversion of the compression A is performed, and if the CT (x, y) is "2", the compression B
Is decompressed by a decompression process corresponding to the inverse transform of the above, and if the CT (x, y) is "0", it is decompressed and restored by a decompression process corresponding to the inverse transform of the compression C.

【0050】最後にこれらの伸長された画像データを合
成して、最終的に画像全体を復元する。
Finally, these decompressed image data are combined to finally restore the entire image.

【0051】このとき、背景領域の画像について平滑処
理、たとえば3×3平滑化マトリクスを用いて平滑化処
理し、ブロック歪みにより劣化したデータを修正すれ
ば、非対象物領域の画像が滑らかになる。
At this time, if the image of the background area is subjected to smoothing processing, for example, using a 3 × 3 smoothing matrix, and the data deteriorated by the block distortion is corrected, the image of the non-object area becomes smooth. .

【0052】なお、原画像は通常カラー画像の場合が多
いが、このようなカラー画像の場合には、色分解された
イエロー(Y),マゼンダ(M),シアン(C),墨
(K)、もしくは、赤(R),緑(G),青(B)、ま
たは、色座標変換後の色変数、例えば輝度(Ys),色
差(Is,Qs)などの成分についてそれぞれ上記画像
処理を行ったのち最後にこれらを合成して復元すること
になる。 (V)本実施例にかかる方法を実施する装置例 次に、上記画像符号化処理方法および画像復号化処理方
法を実施するための画像処理装置の一例について説明す
る。
The original image is usually a color image in many cases, but in the case of such a color image, the color-separated yellow (Y), magenta (M), cyan (C), black (K) Alternatively, the above image processing is performed on components of red (R), green (G), blue (B) or color variables after color coordinate conversion, for example, luminance (Ys), color difference (Is, Qs), and the like. Finally, these are combined and restored. (V) Example of Apparatus for Implementing Method According to the Present Embodiment Next, an example of an image processing apparatus for implementing the above-described image encoding processing method and image decoding processing method will be described.

【0053】この画像処理装置は、画像データ圧縮装置
と、画像データ復元装置とからなり、両者は一体となっ
て構成されていることもあれば、独立して構成されて異
なる場所に配置されることもある。 (1)画像データ圧縮装置 図1は,画像データ圧縮装置100の構成を示すブロッ
ク図であり、図3は、この画像データ圧縮装置100の
動作を示すフローチャートである。
This image processing device comprises an image data compression device and an image data decompression device, both of which may be configured integrally or may be independently configured and arranged at different locations. Sometimes. (1) Image Data Compressor FIG. 1 is a block diagram showing the configuration of the image data compressor 100, and FIG. 3 is a flowchart showing the operation of the image data compressor 100.

【0054】まず、外部の輪郭作成装置から当該画像に
ついての輪郭データを入手し、この輪郭データに基づき
対象物テーブル作成部3で対象物テーブル32を作成す
る(ステップS1、S2、なお、対象物テーブルの作成
の詳細については、前述(II)の(2)の項参照)。
First, the contour data of the image is obtained from an external contour creating device, and the object table creating unit 3 creates the object table 32 based on the contour data (steps S1, S2, where the object For details of table creation, refer to the above (II) (2)).

【0055】次に、画像メモリ部1に記憶された原画像
20の画像データを、画素ブロック分割部2において複
数の画素ブロックBxyに分割する(ステップS3、画素
ブロック分割方法の詳細については、前述(II)の
(1)の項参照)。
Next, the image data of the original image 20 stored in the image memory unit 1 is divided into a plurality of pixel blocks Bxy in the pixel block dividing unit 2 (step S3, details of the pixel block dividing method are described above. (See (1) of (II)).

【0056】前記対象物テーブル32のデータCT
(x,y)に基づき、画素ブロック判別部4おいては、
まず、一番左上の画素ブロックBooから処理を始め(ス
テップS4,S5)、当該画素ブロックBxyに対応する
CT(x,y)の値が“1”かどうかを判定する(ステ
ップS6)。
Data CT of the object table 32
Based on (x, y), the pixel block determining unit 4
First, the processing is started from the upper left pixel block Boo (steps S4 and S5), and it is determined whether the value of CT (x, y) corresponding to the pixel block Bxy is "1" (step S6).

【0057】画像データ圧縮装置100は、第1から第
4の圧縮部5、6、7、8を備えており、当該画素ブロ
ックBxyに対応するCT(x,y)の値が“1”であれ
ば当該画素ブロックBxyは輪郭ブロックであるから、第
1の圧縮部5に送って低圧縮率ra による符号化処理
(圧縮A)を行い(ステップS7)、“1”でなけれ
ば、次のステップS8に移る。
The image data compression apparatus 100 includes first to fourth compression units 5, 6, 7, and 8, and the value of CT (x, y) corresponding to the pixel block Bxy is "1". If so, the pixel block Bxy is a contour block, so the pixel block Bxy is sent to the first compression unit 5 to perform encoding processing (compression A) with a low compression ratio ra (step S7). Move to step S8.

【0058】ステップS8では、当該画素ブロックBxy
に対応するCT(x,y)の値が“2”かどうかを判定
し、“2”であれば、当該画素ブロックBxyは対象物ブ
ロックであるから、第2の圧縮部6に送って低圧縮率r
b による符号化処理(圧縮B)を行う(ステップS
9)。CT(x,y)の値が“2”でもなければ、当該
画素ブロックBxyは非対象物ブロックであるから第3の
圧縮部7に送って高圧縮率rc による符号化処理(圧縮
C)を行う(ステップS10)。
In step S8, the pixel block Bxy
It is determined whether the value of CT (x, y) corresponding to “2” is “2”. If the value is “2”, the pixel block Bxy is an object block, and is sent to the second compression unit 6 to be low. Compression ratio r
b (compression B) (step S
9). If the value of CT (x, y) is not "2", the pixel block Bxy is a non-object block and is sent to the third compression unit 7 to perform the encoding process (compression C) using the high compression rate rc. Perform (Step S10).

【0059】当該画素ブロックBxyについて、圧縮
A,圧縮Bまたは圧縮Cの処理が終了すると、変数xを
“1”だけインクリメントし、このときの変数xの値が
M未満であれば、ステップS6に戻って、次の画素ブロ
ックBxyについて上記処理を繰り返し(ステップS1
1、S12)、M以上であれば、その行の処理は終了し
たことになるので、変数yを“1”だけインクリメント
して次の行の判定に移り、変数yがNになるまで、同様
な処理を繰り返す。そして変数yがNになれば処理を停
止する(ステップS13、S14)。
When the processing of compression A, compression B or compression C is completed for the pixel block Bxy, the variable x is incremented by "1". If the value of the variable x at this time is smaller than M, the process proceeds to step S6. Then, the above process is repeated for the next pixel block Bxy (step S1).
1, S12) If M is equal to or more than M, the processing of that row has been completed, so the variable y is incremented by "1" and the process proceeds to the determination of the next row. Process is repeated. When the variable y becomes N, the processing is stopped (steps S13 and S14).

【0060】最後に,対象物テーブル32のデータCT
(x,y)を第4の圧縮部8にてMR符号化にて圧縮
(圧縮D)する(ステップS15)。このようにして得
られた圧縮画像データと圧縮対象物テーブルデータは、
磁気ディスクなどで形成された保存部9内の異なるメモ
リ部91、92にその対象物テーブルと色分解された画
像データとが相互に識別可能なデータ状態で保存され
(ステップS16)、画像データの圧縮作業を終了す
る。
Finally, the data CT of the object table 32
(X, y) is compressed (compressed D) by MR encoding in the fourth compression unit 8 (step S15). The compressed image data and the compressed object table data thus obtained are
The object table and the color-separated image data are stored in different memory units 91 and 92 in the storage unit 9 formed of a magnetic disk or the like in a data state that can be distinguished from each other (step S16). End the compression work.

【0061】これらの圧縮画像データと圧縮対象物テー
ブルデータを、以下では「圧縮済データ」と総称する。 (2)画像データ復元装置 図2は、画像データ復元装置200の構成のブロック図
であり、図4はこの画像データ復元装置200における
圧縮データ伸長の動作を示すフローチャートである。
The compressed image data and the compression target table data are hereinafter collectively referred to as “compressed data”. (2) Image Data Decompression Device FIG. 2 is a block diagram of the configuration of the image data decompression device 200, and FIG. 4 is a flowchart showing the operation of decompressing compressed data in the image data decompression device 200.

【0062】この画像データ復元装置200は、圧縮済
データの保存部9aを備えているが、この画像データ復
元装置200が図1の画像データ圧縮装置100と一体
化されるか、もしくは近接して設けられる場合には、こ
の保存部9aは画像データ圧縮装置100の保存部9と
共用されていてもよい。
The image data decompression device 200 has a storage unit 9a for compressed data. The image data decompression device 200 is integrated with the image data compression device 100 of FIG. If provided, the storage unit 9a may be shared with the storage unit 9 of the image data compression device 100.

【0063】この保存部9aから圧縮済データが読出さ
れるが、まず、メモリ部92aから圧縮された対象物テ
ーブル32が第4の伸長部10に与えられ、圧縮Dの逆
変換に相当する伸長処理を施されて復号化されメモリ部
11に保存される(ステップS17)。
The compressed data is read from the storage unit 9a. First, the compressed object table 32 is supplied from the memory unit 92a to the fourth decompression unit 10, and decompression corresponding to the inverse conversion of the compression D is performed. The processed data is decoded and stored in the memory unit 11 (step S17).

【0064】また、圧縮画像データは、メモリ部91a
から読み取られて圧縮画像データ判別部12に与えられ
る。圧縮画像データ判別部12は上記のようにして復元
された対象物テーブル32のCT(x,y)の値に基づ
き、圧縮画像データの各画素ブロックが、輪郭ブロック
であるか対象物ブロックであるか、あるいは非対象物ブ
ロックであるかを判定する。
The compressed image data is stored in the memory 91a.
And is supplied to the compressed image data determination unit 12. Based on the CT (x, y) value of the object table 32 restored as described above, the compressed image data determination unit 12 determines whether each pixel block of the compressed image data is an outline block or an object block. Or whether the block is a non-object block.

【0065】すなわち、まず、画素ブロックBxyのうち
変数x,変数yが共に“0”のものから判断を開始し
(ステップS18,S19)、当該画素ブロックBxyに
対応する対象物テーブルのCT(x,y)の値を参照す
る(ステップS20)。
That is, first, the judgment is started from the pixel block Bxy in which both the variable x and the variable y are “0” (steps S18 and S19), and the CT (x) of the object table corresponding to the pixel block Bxy is started. , Y) is referred to (step S20).

【0066】この対象物テーブルのCT(x,y)の値
が“1”である場合には、その画素ブロックは輪郭ブロ
ックであるから、これを第1の伸長部13に送って圧縮
Aの逆変換に相当する伸長を行い復号化する(伸長A)
(ステップS21)。
If the value of CT (x, y) in this object table is "1", the pixel block is an outline block, and is sent to the first decompression unit 13 to send the compressed A Decompression and expansion corresponding to inverse transformation (decompression A)
(Step S21).

【0067】また、ステップS20において対象物テー
ブルのCT(x,y)の値が“1”でない場合は、ステ
ップS22に移り、CT(x,y)の値が“2”かどう
かを判定する。“2”であればステップS23に移り、
第2の伸張部14にて圧縮Bの逆変換に相当する伸長処
理でこれを伸長して復号化する(伸長B)。
If the value of CT (x, y) in the object table is not "1" in step S20, the flow shifts to step S22 to determine whether the value of CT (x, y) is "2". . If “2”, the process proceeds to step S23,
The second decompression unit 14 decompresses and decodes the data in a decompression process corresponding to the inverse conversion of the compression B (decompression B).

【0068】ステップS22において対象物テーブルの
CT(x,y)の値が“2”でない場合は、当該画素ブ
ロックBxyは、非対象物ブロックであるから、これを第
3の伸長部15に送って圧縮Cの逆変換に相当する伸長
処理でこれを伸長して復号化する(伸長C)(ステップ
S24)。
If the value of CT (x, y) in the object table is not "2" in step S22, the pixel block Bxy is a non-object block and is sent to the third decompression unit 15. This is then decompressed and decoded by decompression processing corresponding to the inverse conversion of compression C (decompression C) (step S24).

【0069】各伸長部13、14、15からは、それぞ
れに与えられた画素ブロックについての復号化処理が終
了したときに、その旨の信号を圧縮画像データ判別部1
2にフィードバックするようになっており、圧縮画像デ
ータ判別部12は、この終了信号を受けて、次の画素ブ
ロックを該当する伸長部に割り当てる。
When the decoding process for each of the given pixel blocks is completed, the decompression unit 13, 14, 15 sends a signal to that effect to the compressed image data discrimination unit 1.
The compressed image data determination unit 12 receives the end signal and allocates the next pixel block to the corresponding decompression unit.

【0070】ここでの復号化処理は、各符号化処理の逆
変換を行うものであって、符号化処理が例えば離散コサ
イン変換の場合には、対応する離散コサイン逆変換を用
いればよい。
The decoding process here is the inverse transform of each encoding process. When the encoding process is, for example, the discrete cosine transform, the corresponding discrete cosine inverse transform may be used.

【0071】その後、変数xが“1”だけインクリメン
トされ、変数xがMになるまで、順次1つ右の画素ブロ
ックBxyについて同じ処理を繰り返す(ステップS2
5、S26)。ステップS26で変数xがMになるとこ
の行の処理が終了したことになるので、変数yに“1”
をインクリメントして(ステップS27)、ステップS
19の戻り、変数yがNになるまでステップS19から
ステップS27までの処理を繰り返し、ステップS28
で変数yがNになれば処理を停止する。
Thereafter, until the variable x is incremented by "1" and the variable x becomes M, the same process is sequentially repeated for the immediately right pixel block Bxy (step S2).
5, S26). When the variable x becomes M in step S26, it means that the processing of this row has been completed.
Is incremented (Step S27), and Step S27
19, the processing from step S19 to step S27 is repeated until the variable y becomes N, and
When the variable y becomes N, the processing is stopped.

【0072】画像データがカラー画像データの場合に
は、以上の処理は各色成分ごとに行なわれる。
When the image data is color image data, the above processing is performed for each color component.

【0073】第1の伸長部13、第2の伸長部14、第
3の伸長部15のそれぞれから出力された復元画像デー
タは、画像面上におけるそれぞれの位置ないしはアドレ
スに対応するタイミングで次段の合成部16に送られ
る。この合成部18では、各画素ブロックの位置ないし
はアドレスを参照しつつ上記対象物と非対象物と輪郭部
とのそれぞれの画素ブロックの復元済画像データを合成
することによって、最終的に原画像に相当する画像を得
る。画像データがカラー画像データの場合には、各色成
分ごとの画像データの合成も行なわれる。
The decompressed image data output from each of the first decompressing unit 13, the second decompressing unit 14, and the third decompressing unit 15 is output to the next stage at a timing corresponding to each position or address on the image plane. To the synthesizing unit 16. The synthesizing unit 18 synthesizes the restored image data of the respective pixel blocks of the object, the non-object, and the contour while referring to the position or address of each pixel block, thereby finally forming the original image. Obtain the corresponding image. When the image data is color image data, synthesis of image data for each color component is also performed.

【0074】また、合成部16には各種の画像処理・編
集機能を持たせておくことが可能であり、たとえば平滑
処理機能を設け、非対象物領域の画像について平滑処
理、たとえば3×3平滑化マトリクスを用いた平滑処理
を施し、ブロック歪みにより劣化したデータを修正する
ことにより原画像に近い非対象物領域を再現することが
できる。この場合には非対象物領域について平滑化処理
を行った後に合成が行なわれる。それは、合成後に平滑
化を行なおうとすると再び対象物ブロックと非対象物ブ
ロックとの識別を行ない、後者のみについて平滑化をす
るというプロセスが必要になってくるからである。
The synthesizing section 16 can be provided with various image processing / editing functions. For example, a smoothing processing function is provided to perform smoothing processing on an image of a non-object area, for example, 3 × 3 smoothing. A non-target area close to the original image can be reproduced by performing a smoothing process using a conversion matrix and correcting data degraded by block distortion. In this case, the synthesis is performed after performing the smoothing process on the non-target object region. This is because if smoothing is to be performed after synthesis, a process of re-identifying the object block and the non-object block again and smoothing only the latter becomes necessary.

【0075】このようにして合成部16で復元された画
像は、カラーディスプレイなどの表示部17にて表示さ
れるとともに、画像記録もしくは、画像編集処理のため
に、復元画像メモリ部18に格納される。 (VI)変形例 本実施例においてはさまざまな変形例が考えられる。
The image restored by the synthesizing unit 16 in this way is displayed on a display unit 17 such as a color display and stored in a restored image memory unit 18 for image recording or image editing processing. You. (VI) Modifications Various modifications are possible in the present embodiment.

【0076】(1) まず、(I)で述べた輪郭データ
の作成方法は、本実施例のように既知の輪郭作成装置を
操作してオペレータが任意の輪郭を作成するほか、微分
演算子等を用いた画像処理により自動的に輪郭データを
得るようにしてもよい。特に、対象物にピントがあって
背景部がぼやけた画像にあっては、その輪郭部は、他の
部分に比べ濃淡の差が大きく、当該画素ブロックの微分
値は特徴的な値を示す。したがって、画素ブロックごと
にその画素データ値の微分値を求めてこの値に基づき輪
郭成分を抽出して輪郭データを作成することも可能であ
る。
(1) First, in the method of creating contour data described in (I), an operator creates an arbitrary contour by operating a known contour creating device as in the present embodiment, and a differential operator or the like. The contour data may be automatically obtained by image processing using. In particular, in an image in which the object is in focus and the background part is blurred, the contour part has a large difference in shading compared to other parts, and the differential value of the pixel block shows a characteristic value. Therefore, it is also possible to obtain the differential value of the pixel data value for each pixel block, extract the outline component based on this value, and create the outline data.

【0077】(2) 本実施例では、画像データ圧縮装
置100において圧縮済データを一旦保存部9に保存
し、このデータを保存部9aに移して画像データ復元装
置200により、画像を復元しているが、画像データ圧
縮装置100、画像データ復元装置200のそれぞれ
に、データ送信部とデータ受信部を設けておき、圧縮済
データを直接通信回線で送受信するようにしてもよい
し、保存部と通信回線の機能を併設させてもよい。
(2) In this embodiment, the compressed data is temporarily stored in the storage unit 9 in the image data compression device 100, and the data is transferred to the storage unit 9a, and the image is restored by the image data restoration device 200. However, each of the image data compression device 100 and the image data decompression device 200 may be provided with a data transmission unit and a data reception unit, and may transmit and receive compressed data directly via a communication line. A communication line function may be provided.

【0078】また、対象物テーブルを作成し、これも圧
縮して圧縮画像データと識別可能にして、別個に保存部
9に保存するようにしているが、必ずしもこのようにす
る必要はない。対象物テーブルのCT(x,y)値は
“0”、“1”、“2”の3値データであるので、この
データを当該画素ブロックBxyの圧縮データの2ビット
に情報としてインプットしておけば、圧縮画像データ判
別部15で読み出すときにその識別データにより、対象
物ブロックか背景ブロックかを判別できる。
Further, the object table is created and compressed so that it can be distinguished from the compressed image data, and is stored separately in the storage unit 9, but this is not always necessary. Since the CT (x, y) value of the object table is ternary data of "0", "1", and "2", this data is input as information to two bits of the compressed data of the pixel block Bxy. In other words, when the compressed image data determination unit 15 reads out, it is possible to determine whether the block is a target block or a background block based on the identification data.

【0079】これにより同様の効果を有しながら、画像
データ圧縮装置100における第4の圧縮部8と画像デ
ータ復元装置200における第4の伸長部10を省略す
ることができ、装置全体の簡略化が図れる。
Thus, while having the same effect, the fourth compression section 8 in the image data compression apparatus 100 and the fourth decompression section 10 in the image data decompression apparatus 200 can be omitted, and the entire apparatus can be simplified. Can be achieved.

【0080】(3) 原画像の輪郭に対してどちら側の
領域を対象物領域と見るかは状況に応じて定まるもので
あるが、例えば、図1に示す画像データ圧縮装置100
の対象物テーブル作成部3に切換スイッチを設けて、対
象物テーブル32におけるデータCT(x,y)の
“0”と“2”の値を置換できるようにしておけば、容
易に対象物ブロック群と非対象物ブロック群を変換する
ことができ、大変操作性がよくなる。
(3) Which side of the contour of the original image is regarded as the target area is determined according to the situation. For example, the image data compression apparatus 100 shown in FIG.
If a changeover switch is provided in the object table creation unit 3 to replace the values “0” and “2” of the data CT (x, y) in the object table 32, the object block can be easily replaced. The group and the non-object block group can be converted, and the operability is greatly improved.

【0081】(4) また、図1の画像データ圧縮装置
100においては、第1から第3の圧縮部5、6、7で
圧縮された圧縮画像データを保存部9の同一メモリ部9
1に格納するように構成しているが、図5に示すように
保存部9内に各圧縮部に対応するメモリ部95,96,
97および圧縮対象物テーブルを格納するためのメモリ
部98を設けて、圧縮済データをそれぞれのメモリ部に
保存するように構成しておけば、図6に示すように画像
データ復元装置200の構造を簡易をすることができ
る。
(4) In the image data compression device 100 of FIG. 1, the compressed image data compressed by the first to third compression units 5, 6, 7 is stored in the same memory unit 9 of the storage unit 9.
1 is stored in the storage unit 9 as shown in FIG.
97 and a memory unit 98 for storing a compression target table, and storing the compressed data in the respective memory units, the structure of the image data restoration apparatus 200 as shown in FIG. Can be simplified.

【0082】すなわち、図5の保存部9に対応する保存
部9aの各メモリ部95a,96a、97aから、それ
ぞれ各圧縮率で圧縮された圧縮画像データを取り出し、
それらの圧縮画像データを第1、第2、第3の伸長部1
3、14、15で直接伸長処理することができるので、
図2における画素ブロック判別部12が不要なばかり
か、各伸長部13、14、15から画素ブロック判別部
12への処理終了信号のフィードバックが不要になっ
て、回路が大変簡易化されるとともに、第1から第3の
伸長部13、14、15が同時に伸長処理を行なうこと
ができ、伸長処理時間を短縮することができる。なお、
図6の画像データ復元装置においては合成部16は、第
4の伸長部10において伸長された対象物テーブルを参
照にして画像を復元しているが、各画素ブロックBxyに
そのアドレス信号を付随させておけば、直接合成部16
のみで直接原画像を合成することができる。
That is, the compressed image data compressed at each compression ratio is taken out from each of the memory units 95a, 96a, 97a of the storage unit 9a corresponding to the storage unit 9 of FIG.
These compressed image data are converted into first, second, and third decompression units 1.
Since it can be directly decompressed at 3, 14, and 15,
Not only is the pixel block discriminating section 12 in FIG. 2 unnecessary, but also the feedback of the processing end signal from each of the decompressing sections 13, 14, 15 to the pixel block discriminating section 12 becomes unnecessary, and the circuit is greatly simplified. The first to third decompression units 13, 14, and 15 can simultaneously perform decompression processing, and the decompression processing time can be reduced. In addition,
In the image data restoring device of FIG. 6, the synthesizing unit 16 restores an image with reference to the object table decompressed by the fourth decompressing unit 10, but adds the address signal to each pixel block Bxy. If this is done, the direct synthesis unit 16
Only the original image can be directly synthesized.

【0083】(5) さらに、画像圧縮部100にテレ
ビモニタ表示部を設けると共に、各圧縮部の圧縮率を自
由に設定できるよう可変回路を設置し、当該テレビモニ
タ表示部を見ながら対象物画像と背景画像の微妙なバラ
ンスをとるようにすることも可能である。
(5) Further, a television monitor display section is provided in the image compression section 100, and a variable circuit is provided so that the compression ratio of each compression section can be freely set. It is also possible to achieve a delicate balance between the image and the background image.

【0084】この場合、画像データ圧縮装置100と画
像データ復元装置200が一体となっている場合には、
画像データ復元装置200の表示部19を、前記テレビ
モニタ表示部として使用することができる。
In this case, when the image data compression device 100 and the image data decompression device 200 are integrated,
The display unit 19 of the image data restoration device 200 can be used as the television monitor display unit.

【0085】(6) また、本実施例では、非対象物ブ
ロック群のそれぞれの画素ブロックについて高い圧縮処
理を施してこれを保存したが、非対象物領域には通常重
要でない画像が多いので、場合によってはそれらのブロ
ック群の平均値のみを保存するようにしてもよい。
(6) In this embodiment, each pixel block of the non-target block group is subjected to high compression processing and stored. However, since the non-target area usually has many insignificant images, In some cases, only the average value of those block groups may be stored.

【0086】(7) 本発明における画像処理において
は、対象となる色数に制限を受けるものではなく、モノ
クロはもちろん、通常の印刷画像における4色(Y,
M,C,K)の構成色素や、RGB、Labなどの表色
系によって形成された画像処理にも採用できる。
(7) In the image processing according to the present invention, the number of target colors is not limited, and not only monochrome but also four colors (Y,
M, C, and K), and image processing formed by a color system such as RGB and Lab.

【0087】また、色空間ごとの処理や、画像の色素ブ
ロックごとに処理が成されてもよく、さらに画像データ
にNTSC方式で用いられているRGB−YIQ変換な
どの色変換を施した後、本発明にかかる画像処理を実施
してもかまわない。
The processing may be performed for each color space or for each dye block of an image. Further, after performing color conversion such as RGB-YIQ conversion used in the NTSC system on the image data, The image processing according to the present invention may be performed.

【0088】[0088]

【発明の効果】本発明の第1の構成にかかる画像符号化
処理方法は、上述のように原画像のデータを画素ブロッ
クに分割し、これを与えられた輪郭データに基づき、輪
郭ブロック群と対象物ブロック群と非対象物ブロック群
に分類して、異なる画像処理を行なうようにしたので、
前二者の画素ブロック群の画像データについては、それ
ぞれ低圧縮率で圧縮し、非対象物ブロック群のものにつ
いては画像データを高圧縮率で圧縮することにより、視
覚者に必要な重要な画像の画質を鮮明に維持できる一
方、従来の画像全体の画質を低圧縮する方法に比べ、画
像データの量を削減することができる。これにより、保
存部のメモリ容量を小さくすることができるとともに、
伝送コストの削減が可能になる。
The image coding method according to the first configuration of the present invention divides the data of the original image into pixel blocks as described above, and, based on the given contour data, creates a group of contour blocks. Since the object block group and the non-object block group are classified and different image processing is performed,
By compressing the image data of the former two pixel block groups at a low compression ratio and compressing the image data of the non-object block group at a high compression ratio, the important image necessary for the viewer Can be maintained sharply, but the amount of image data can be reduced as compared with the conventional method of lowering the image quality of the entire image. As a result, the memory capacity of the storage unit can be reduced, and
Transmission costs can be reduced.

【0089】また、輪郭ブロック群と対象物ブロック群
の圧縮率を異なるようにできるので、たとえば輪郭ブロ
ック群のみに可逆符号化処理を施すようにすることがで
き、画像のエッジを原画そのままで保存することがで
き、商用価値が大変高い画像が得られる。さらに、第1
の符号化処理の圧縮率は、第2の符号化処理の圧縮率よ
りも低く設定されているため、復号化されたときの画像
において、輪郭線領域とその内外の領域との境界のう
ち、視認上で重要な内側部分での境界で、圧縮率の差に
起因する不自然な画像のズレが少なくなる。
Since the compression ratios of the outline block group and the object block group can be made different, for example, only the outline block group can be subjected to the lossless encoding process, and the edges of the image are stored as they are in the original image. And an image having a very high commercial value can be obtained. Furthermore, the first
Is smaller than the compression rate of the second encoding process.
Image is lower than
At the boundary between the contour area and the area inside and outside
The difference between the compression ratios at the boundary at the inner part
The resulting unnatural image shift is reduced.

【0090】さらにこの発明の画像復号化処理方法によ
れば、上記のようにして圧縮された画像を、その圧縮の
態様に応じて適切に復元することが可能である。
Further, according to the image decoding processing method of the present invention, the image compressed as described above can be appropriately restored according to the compression mode.

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

【図1】本発明にかかる画像符号化処理方法を実施する
ための画像データ圧縮装置の一例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an example of an image data compression device for implementing an image encoding processing method according to the present invention.

【図2】本発明にかかる画像復号化処理方法を実施する
ための画像データ復元装置の一例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an example of an image data restoring device for performing an image decoding processing method according to the present invention.

【図3】図1の画像データ圧縮装置の動作を説明するフ
ローチャートである。
FIG. 3 is a flowchart illustrating an operation of the image data compression device of FIG. 1;

【図4】図2の画像データ復元装置における圧縮のデー
タの伸長工程の動作を説明するフローチャートである。
FIG. 4 is a flowchart illustrating an operation of a decompression process of compressed data in the image data restoration device of FIG. 2;

【図5】本発明にかかる画像符号化処理方法を実施する
ための画像データ圧縮装置の別の実施例を示すブロック
図である。
FIG. 5 is a block diagram showing another embodiment of the image data compression apparatus for performing the image encoding processing method according to the present invention.

【図6】本発明にかかる画像復号化処理方法を実施する
ための画像データ復元装置の別の実施例を示すブロック
図である。
FIG. 6 is a block diagram showing another embodiment of the image data restoring apparatus for performing the image decoding processing method according to the present invention.

【図7】原画像の一例およびこれに基づいて作成された
輪郭データを示す図である。
FIG. 7 is a diagram illustrating an example of an original image and contour data created based on the image.

【図8】a図は画像の画素ブロック化を、b図は当該画
素ブロック内の画素配列の状態をそれぞれ示す図であ
る。
FIG. 8A is a diagram showing a pixel block of an image, and FIG. 8B is a diagram showing a state of a pixel array in the pixel block.

【図9】対象物テーブルの作成手続を説明するための図
である。
FIG. 9 is a diagram for explaining a procedure for creating an object table.

【図10】コードテーブルの輪郭データに相当する位置
を“1”にする手順を示すフローチャートである。
FIG. 10 is a flowchart showing a procedure for setting a position corresponding to contour data in a code table to “1”.

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

1 画像メモリ部 2 画素ブロック分割部 3 対象物テーブル作成部 4 画素ブロック判別部 5 第1の圧縮部 6 第2の圧縮部 7 第3の圧縮部 8 第4の圧縮部 9,9a 保存部 10 第4の伸長部 12 圧縮画像データ判別部 13 第1の伸長部 14 第2の伸長部 15 第3の伸長部 16 合成部 17 表示部 18 復元画像メモリ部 Reference Signs List 1 image memory unit 2 pixel block division unit 3 object table creation unit 4 pixel block discrimination unit 5 first compression unit 6 second compression unit 7 third compression unit 8 fourth compression unit 9, 9a storage unit 10 Fourth decompression unit 12 Compressed image data discrimination unit 13 First decompression unit 14 Second decompression unit 15 Third decompression unit 16 Combination unit 17 Display unit 18 Reconstructed image memory unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 1/41 - 1/419 H04N 7/24 - 7/68──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) H04N 1/41-1/419 H04N 7/24-7/68

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 与えられた画像の画像データを圧縮する
ために前記画像データを符号化する方法であって、 (a) 符号化処理の対象となる画像において対象物の輪郭
を設定して輪郭データを形成する工程と、 (b) 前記符号化処理の対象となる画像を複数の画素ブロ
ックに分割する工程と、 (c) 前記輪郭データに基づき、前記画素ブロックを前記
輪郭の少なくとも一部を含む輪郭ブロック群と、 前記輪郭ブロック群によって形成された閉領域内であっ
て対象物画像を含む対象物ブロック群と、 前記全ての画素ブロックから前記輪郭ブロック群および
対象物ブロック群を除いた非対象物ブロック群とに、分
類する工程と、 (d) 前記輪郭ブロック群と前記対象物ブロック群に属す
る画素ブロックについてはそれぞれ比較的低い圧縮率が
得られる第1の符号化処理および第2の符号化処理をす
るとともに、前記非対象物ブロック群に属する画素ブロ
ックについては比較的高い圧縮率が得られる第3の符号
化処理をすることによって、前記複数の画素ブロックの
それぞれについて符号化された画像データを得る工程
と、 (e) 前記複数の画素ブロックのそれぞれについて、前記
輪郭ブロック群と前記対象物ブロック群と前記非対象物
ブロック群のうちのいずれに属するかを表現する属性デ
ータを作成して前記符号化された画像データに付随させ
る工程と、 を備え 前記(d) の工程における前記第1の符号化処理の圧縮率
は、前記第2の符号化処理の圧縮率よりも低いこと を特
徴とする画像符号化処理方法。
1. A method of encoding image data for compressing image data of a given image, comprising: (a) setting a contour of an object in an image to be encoded; Forming data; (b) dividing the image to be subjected to the encoding process into a plurality of pixel blocks; and (c) converting the pixel blocks into at least a part of the contour based on the contour data. A contour block group that includes the contour block group; a target block group that includes a target image in a closed region formed by the contour block group; and a non-block obtained by removing the contour block group and the target block group from all the pixel blocks. (D) a first code that can obtain a relatively low compression ratio for each of the pixel blocks belonging to the contour block group and the object block group; And a second encoding process, and a third encoding process that can obtain a relatively high compression ratio for the pixel blocks belonging to the non-object block group, thereby performing the third encoding process on the plurality of pixel blocks. A step of obtaining coded image data for each, (e) for each of the plurality of pixel blocks, which of the contour block group, the object block group, and the non-object block group and a step of accompanying the encoded image data to create the attribute data representing the compression ratio of the first encoding processing in steps (d)
Is a compression rate lower than the compression rate of the second encoding process.
【請求項2】 請求項1の方法で符号化された画像デー
タを復号化する方法であって、 (a) 前記符号化された画像データに付随させた前記属性
データを参照することによって、前記画素ブロックのそ
れぞれが前記輪郭ブロック群と前記対象物ブロック群と
前記非対象物ブロック群のうちのいずれに属するかを判
定する工程と、 (b) 前記符号化された画像データの復号化を、 工程(a) によって前記輪郭ブロック群に属すると判定さ
れた画素ブロックについては前記第1の符号化処理に対
応する第1の復号化処理で、 工程(a) によって前記対象物ブロック群に属すると判定
された画素ブロックについては前記第2の符号化処理に
対応する第2の復号化処理で、 工程(a) によって前記非対象物ブロック群に属すると判
定された画素ブロックについては前記第3の符号化処理
に対応する第3の復号化処理で、 それぞれ実行することにより、復号化された画像データ
を得る工程と、 (c) 前記工程(b) によって復号化された各画素ブロッ
クを合成して、前記画像に対応する復元画像を得る工程
と、 を備えることを特徴とする画像復号化処理方法。
2. A method for decoding image data encoded by the method of claim 1, wherein: (a) referring to the attribute data attached to the encoded image data, Determining whether each of the pixel blocks belongs to the outline block group, the object block group, and the non-object block group; (b) decoding the encoded image data; Pixel blocks determined to belong to the contour block group in step (a) are subjected to a first decoding process corresponding to the first encoding process, and belong to the target block group in step (a). The determined pixel block is subjected to a second decoding process corresponding to the second encoding process, and the pixel block determined to belong to the non-object block group in step (a) is processed in the previous manner. A third decoding process corresponding to the third encoding process, a step of obtaining decoded image data by executing each of the third decoding processes; and (c) each pixel block decoded by the step (b). Synthesizing an image to obtain a restored image corresponding to the image.
JP7240392A 1992-02-20 1992-02-20 Image encoding method and image decoding method Expired - Fee Related JP2810585B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7240392A JP2810585B2 (en) 1992-02-20 1992-02-20 Image encoding method and image decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7240392A JP2810585B2 (en) 1992-02-20 1992-02-20 Image encoding method and image decoding method

Publications (2)

Publication Number Publication Date
JPH05236285A JPH05236285A (en) 1993-09-10
JP2810585B2 true JP2810585B2 (en) 1998-10-15

Family

ID=13488284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7240392A Expired - Fee Related JP2810585B2 (en) 1992-02-20 1992-02-20 Image encoding method and image decoding method

Country Status (1)

Country Link
JP (1) JP2810585B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100248404B1 (en) 1997-09-04 2000-03-15 정선종 Circulating calculated decreasing method
JP4189883B2 (en) 2004-06-24 2008-12-03 インターナショナル・ビジネス・マシーンズ・コーポレーション Image compression apparatus, image processing system, image compression method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS628658A (en) * 1985-07-04 1987-01-16 Nec Corp Area designating data compressing and extending method and its device
JPH01181280A (en) * 1988-01-13 1989-07-19 Nippon Telegr & Teleph Corp <Ntt> Coding system for picture signal
JPH0284894A (en) * 1988-09-20 1990-03-26 Nippon Telegr & Teleph Corp <Ntt> Picture encoding system
JPH03178286A (en) * 1989-12-06 1991-08-02 Toshiba Corp Adaptive coding system

Also Published As

Publication number Publication date
JPH05236285A (en) 1993-09-10

Similar Documents

Publication Publication Date Title
US5267333A (en) Image compressing apparatus and image coding synthesizing method
JPH06326875A (en) Compressing and restoring equipments for picture data
CA2347383A1 (en) Image coding/decoding method and recordind medium having program for this method recorded thereon
US20050084150A1 (en) Method and apparatus for color image data processing and compression
US11445160B2 (en) Image processing device and method for operating image processing device
US20010012397A1 (en) Image processing apparatus and method
US6738169B1 (en) Image processing apparatus and method
US6404930B2 (en) Signal processing equipment
JPH1188700A (en) Coding method of color image signal, and decoding method and color image processor thereof
JP3462867B2 (en) Image compression method and apparatus, image compression program, and image processing apparatus
US6647143B1 (en) Method and device of compressing digital image data
US6829385B2 (en) Apparatus and method for processing images, and a computer-readable medium
JP2810585B2 (en) Image encoding method and image decoding method
JP2809552B2 (en) Image encoding method and image decoding method
JPH05176173A (en) Picture data compression method
JP2796216B2 (en) Image encoding method and image decoding method
JP2000316174A (en) Color picture compression method and its device
JP2613325B2 (en) Image encoding method and image decoding method
JP3497864B2 (en) Signal processing device
JPH1075426A (en) Image compressor and image expander
JPH07160865A (en) Still picture reproducing device
JP2950134B2 (en) Color image information data and color image information data processing method
JP3323615B2 (en) Image data compression apparatus and method
JP3354076B2 (en) Image compression method, image expansion method, image compression device, and image expansion device
JP2929634B2 (en) Image coding device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080731

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees