JPH0884257A - Image processing unit and its method - Google Patents

Image processing unit and its method

Info

Publication number
JPH0884257A
JPH0884257A JP6220401A JP22040194A JPH0884257A JP H0884257 A JPH0884257 A JP H0884257A JP 6220401 A JP6220401 A JP 6220401A JP 22040194 A JP22040194 A JP 22040194A JP H0884257 A JPH0884257 A JP H0884257A
Authority
JP
Japan
Prior art keywords
color
image data
representative
encoding
image
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.)
Granted
Application number
JP6220401A
Other languages
Japanese (ja)
Other versions
JP3347488B2 (en
Inventor
Mitsuru Maeda
充 前田
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 JP22040194A priority Critical patent/JP3347488B2/en
Publication of JPH0884257A publication Critical patent/JPH0884257A/en
Application granted granted Critical
Publication of JP3347488B2 publication Critical patent/JP3347488B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE: To obtain an image processing unit and its method for improving the coding efficiency by eliminating noise in a color image so as to make an edge clear. CONSTITUTION: The user designates the number of colors to be extracted as 17 representative color by a representative color number designation device 4, and a representative color extract device 5 extracts the number of representative colors designated from image data stored in a frame memory 2 and a background color extract device 3 extracts a background color from the image data respectively. The extracted representative color and background color are coded by a color coder 10 and the image data stored in the frame memory 2 are converted by a color converter 6 and coded based on the representative color and background color.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は画像処理装置およびその
方法に関し、例えば、カラー画像を符号化し復号する画
像処理装置およびその方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus and method thereof, and more particularly to an image processing apparatus and method for encoding and decoding color images.

【0002】[0002]

【従来の技術】近年、符号化したカラー画像を蓄積した
り、伝送する機会が増えている。カラー画像の符号化方
式としてはJPEG方式が標準化されて、一般に広く使用さ
れている。JPEG方式は自然画像などを、ブロックに分割
して離散コサイン変換(以下「DCT」という)を施し、
その係数を量子化し符号化する手法である。詳細は「マ
ルチメディア符号化の国際標準」(安田浩編著 丸善出
版)などで紹介されているので説明は省略する。
2. Description of the Related Art In recent years, there are increasing opportunities to store and transmit coded color images. As a color image encoding method, the JPEG method has been standardized and is widely used in general. The JPEG method divides a natural image into blocks and performs discrete cosine transform (hereinafter referred to as "DCT").
This is a method of quantizing and coding the coefficient. Details are introduced in "International Standards for Multimedia Coding" (edited by Hiroshi Yasuda and published by Maruzen Publishing Co., Ltd.), so explanations are omitted.

【0003】図1はJPEG方式の符号化を行う画像処理装
置の符号化部の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an encoding unit of an image processing apparatus which performs JPEG encoding.

【0004】同図において、1001は画像入力装置で、カ
ラー画像データを入力するスキャナや画像データを蓄積
した記憶装置などである。1002はフレームメモリで、一
画面分のカラー画像データを蓄積する。1003はDCTを施
すDCT器、1004はDCT係数を量子化する量子化器である。
そして、1005は符号化器で、量子化結果に符号を割当て
たり、種々の識別コードを生成したりする。また、1006
は出力装置で、生成された符号データを通信回路へ出力
したり、記憶したりするものである。
In FIG. 1, an image input device 1001 is a scanner for inputting color image data, a storage device for storing image data, or the like. 1002 is a frame memory that stores color image data for one screen. Reference numeral 1003 is a DCT device that performs DCT, and 1004 is a quantizer that quantizes DCT coefficients.
An encoder 1005 assigns a code to the quantization result or generates various identification codes. Also, 1006
Is an output device that outputs or stores the generated code data to the communication circuit.

【0005】画像入力装置1001から入力された画像デー
タは、フレームメモリ1002に蓄積された後、所定サイズ
のブロックに分割されてDCT器1003へ入力される。DCT器
1003から出力されたDCT係数は、量子化器1004に入力さ
れて所定の量子化幅で量子化される。そして、符号化器
1005で符号が割当てられて、符号データが生成される。
生成された符号データは出力装置1006へ送られる。
Image data input from the image input device 1001 is stored in a frame memory 1002, divided into blocks of a predetermined size, and input to a DCT device 1003. DCT device
The DCT coefficient output from 1003 is input to the quantizer 1004 and quantized with a predetermined quantization width. And the encoder
A code is assigned at 1005, and code data is generated.
The generated code data is sent to the output device 1006.

【0006】図2は画像処理装置の復号部の構成を示す
ブロック図である。
FIG. 2 is a block diagram showing the structure of the decoding unit of the image processing apparatus.

【0007】同図において、1011は入力装置で、通信回
路や記憶装置などから符号データを入力する。1012は復
号器で、種々の識別コードや符号データを復号して量子
化データを出力する。1013は逆量子化によってDCT係数
再生する逆量子化器、1014は逆DCTを施すIDCT器であ
る。そして、1015はフレームメモリで、一画面分の再生
された画像データを蓄積する。また、1016は画像出力装
置で、画像データを出力するプリンタや記憶装置などで
ある。
In the figure, reference numeral 1011 denotes an input device for inputting code data from a communication circuit or a storage device. Decoder 1012 decodes various identification codes and code data and outputs quantized data. Reference numeral 1013 is an inverse quantizer that reproduces DCT coefficients by inverse quantization, and 1014 is an IDCT device that performs inverse DCT. A frame memory 1015 stores reproduced image data for one screen. An image output device 1016 is a printer or a storage device that outputs image data.

【0008】入力装置1011から入力された符号データ
は、復号器1012で復号され、逆量子化器1013で所定の量
子化幅で逆量子化されて、DCT係数が再生される。再生
された係数はIDCT器1014で変換されて、画像データが再
生されて、フレームメモリ1015に蓄積される。再生され
た画像データは画像出力装置1016によってプリントアウ
トされたり、記憶されたりする。
The coded data input from the input device 1011 is decoded by the decoder 1012, inversely quantized by the inverse quantizer 1013 with a predetermined quantization width, and the DCT coefficient is reproduced. The reproduced coefficient is converted by the IDCT device 1014, and the image data is reproduced and stored in the frame memory 1015. The reproduced image data is printed out or stored by the image output device 1016.

【0009】[0009]

【発明が解決しようとする課題】しかし、上記従来例に
おいては、次のような問題点があった。
However, the above-mentioned conventional example has the following problems.

【0010】JPEGなどのカラー画像符号化方式では、高
周波成分が損なわれて、画像のエッジが鈍り画質が大き
く低下する傾向がある。具体的には、画像のエッジ周辺
において特有の折返し歪み(一般にモスキートノイズと
呼ばれる)が生じるものである。これは、符号化効率を
向上するために、変換係数の高周波成分に対して量子化
幅を大きくする変換符号化特有の問題である。従って、
本来は均一濃度(または輝度)であるはずの部分にモス
キートノイズが重畳されて、濃度(または輝度)の均一
性が損なわれる画質劣化が生じる。
In a color image coding system such as JPEG, the high frequency components are impaired, the edges of the image are blunted, and the image quality tends to be greatly deteriorated. Specifically, a peculiar folding distortion (generally called mosquito noise) occurs around the edge of the image. This is a problem peculiar to transform coding in which the quantization width is increased for high-frequency components of transform coefficients in order to improve coding efficiency. Therefore,
Mosquito noise is superimposed on a portion that should have a uniform density (or brightness), resulting in deterioration of image quality that impairs uniformity of density (or brightness).

【0011】本発明は、上述の問題を解決するためのも
のであり、カラー原稿は限られた数の色で表現されてい
る場合が多いことを利用して、カラー画像中のノイズを
除去しエッジを明確にすることにより、符号化効率を改
善する画像処理装置およびその方法を提供することを目
的とする。
The present invention is intended to solve the above-mentioned problem, and eliminates noise in a color image by utilizing the fact that a color original is often expressed by a limited number of colors. An object of the present invention is to provide an image processing device and method for improving coding efficiency by clarifying edges.

【0012】[0012]

【課題を解決するための手段】および[Means for Solving the Problems] and

【作用】本発明は、前記の目的を達成する一手段とし
て、以下の構成を備える。
The present invention has the following structure as one means for achieving the above object.

【0013】本発明にかかる画像処理装置は、入力され
た画像データを符号化する画像処理装置であって、色数
を指定する指定手段と、前記指定手段によって指定され
た数の代表的な色を前記画像データから抽出する抽出手
段と、前記抽出手段によって抽出された代表色の情報を
符号化する第一の符号化手段と、前記代表色に基づいて
前記画像データを変換する変換手段と、前記変換手段に
よって変換された画像データを符号化する第二の符号化
手段とを有することを特徴とする。
An image processing apparatus according to the present invention is an image processing apparatus which encodes input image data, and comprises designation means for designating the number of colors and representative colors of the number designated by the designation means. Extracting means for extracting from the image data, first encoding means for encoding information of the representative color extracted by the extracting means, and converting means for converting the image data based on the representative color, A second encoding means for encoding the image data converted by the converting means.

【0014】また、入力された画像データを符号化する
画像処理装置であって、前記画像データから任意の数の
代表的な色を抽出する抽出手段と、前記抽出手段によっ
て抽出された代表色の情報を符号化する第一の符号化手
段と、前記代表色に基づいて前記画像データを変換する
変換手段と、前記変換手段によって変換された画像デー
タを符号化する第二の符号化手段とを有することを特徴
とする。
Further, in the image processing apparatus for encoding the input image data, the extracting means for extracting an arbitrary number of representative colors from the image data, and the representative color extracted by the extracting means. A first encoding means for encoding information, a converting means for converting the image data based on the representative color, and a second encoding means for encoding the image data converted by the converting means. It is characterized by having.

【0015】また、符号化された画像データを復号する
画像処理装置であって、前記符号データに含まれる代表
色の情報を復号する第一の復号手段と、前記符号データ
に含まれる画像データを復号する第二の復号手段と、前
記第一の復号手段によって復号された代表色に基づいて
前記第二の復号手段によって復号された画像データを変
換する変換手段とを有することを特徴とする。
An image processing apparatus for decoding encoded image data, comprising: a first decoding means for decoding information of a representative color included in the encoded data; and image data included in the encoded data. It is characterized by having a second decoding means for decoding and a conversion means for converting the image data decoded by the second decoding means based on the representative color decoded by the first decoding means.

【0016】本発明にかかる画像処理方法は、画像デー
タを符号化する画像処理方法であって、色数を指定する
指定ステップと、前記指定ステップで指定した数の代表
的な色を前記画像データから抽出する抽出ステップと、
前記抽出ステップで抽出した代表色の情報を符号化する
第一の符号化ステップと、前記代表色に基づいて前記画
像データを変換する変換ステップと、前記変換ステップ
で変換した画像データを符号化する第二の符号化ステッ
プとを有することを特徴とする。
An image processing method according to the present invention is an image processing method for encoding image data, wherein a designation step for designating the number of colors and a representative number of representative colors designated in the designation step are applied to the image data. An extraction step to extract from
A first encoding step of encoding the information of the representative color extracted in the extracting step, a converting step of converting the image data based on the representative color, and encoding the image data converted in the converting step. And a second encoding step.

【0017】また、画像データを符号化する画像処理方
法であって、前記画像データから任意の数の代表的な色
を抽出する抽出ステップと、前記抽出ステップで抽出し
た代表色の情報を符号化する第一の符号化ステップと、
前記代表色に基づいて前記画像データを変換する変換ス
テップと、前記変換ステップで変換した画像データを符
号化する第二の符号化ステップとを有することを特徴と
する。
An image processing method for encoding image data, comprising an extracting step of extracting an arbitrary number of representative colors from the image data, and encoding the information of the representative colors extracted in the extracting step. A first encoding step to
It is characterized by including a conversion step of converting the image data based on the representative color and a second encoding step of encoding the image data converted in the conversion step.

【0018】また、符号化された画像データを復号する
画像処理方法であって、前記符号データに含まれる代表
色の情報を復号する第一の復号ステップと、前記符号デ
ータに含まれる画像データを復号する第二の復号ステッ
プと、前記第一の復号ステップで復号された代表色に基
づいて前記第二の復号ステップで復号された画像データ
を変換する変換ステップとを有することを特徴とする。
Further, in the image processing method for decoding the coded image data, the first decoding step of decoding the information of the representative color included in the code data, and the image data included in the code data are performed. It is characterized by including a second decoding step of decoding and a conversion step of converting the image data decoded in the second decoding step based on the representative color decoded in the first decoding step.

【0019】[0019]

【実施例】以下、本発明にかかる一実施例の画像処理装
置を図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An image processing apparatus according to an embodiment of the present invention will be described in detail below with reference to the drawings.

【0020】[0020]

【第1実施例】図3は本発明にかかる画像処理装置の符号
化部の構成例を示すブロック図である。
[First Embodiment] FIG. 3 is a block diagram showing a configuration example of an encoding unit of an image processing apparatus according to the present invention.

【0021】同図において、1は画像入力装置で、カラ
ー画像データを入力するスキャナや画像データを蓄積し
た記憶装置などである。2はフレームメモリで、一画面
分のカラー画像データを蓄積する。3は背景色抽出器
で、入力された画像データの背景色を抽出する。4は代
表色数指定器で、入力された画像データを表現する代表
色の数を指定するためのものである。5は代表色抽出器
で、入力された画像データから代表色を抽出する。6色
置換器で、抽出された背景色と代表色で入力された画像
データを置換する。7はDCTを施すDCT器、8はDCT係数を
量子化する量子化器である。9は符号化器で、量子化結
果に符号を割当てたり、種々の識別コードを生成したり
する。10は色符号化器で、背景色と代表色を符号化す
る。11は出力装置で、生成された符号データを通信回路
へ出力したり、記憶したりするものである。
In FIG. 1, reference numeral 1 denotes an image input device, such as a scanner for inputting color image data and a storage device for accumulating image data. A frame memory 2 stores color image data for one screen. A background color extractor 3 extracts the background color of the input image data. A representative color number designator 4 is for designating the number of representative colors representing the input image data. A representative color extractor 5 extracts a representative color from the input image data. The 6-color replacer replaces the image data input with the extracted background color and representative color. Reference numeral 7 is a DCT device that performs DCT, and 8 is a quantizer that quantizes DCT coefficients. The encoder 9 assigns a code to the quantization result and generates various identification codes. A color encoder 10 encodes the background color and the representative color. An output device 11 outputs or stores the generated code data to the communication circuit.

【0022】画像入力装置1から入力された画像データ
は、フレームメモリ2に蓄積された後、背景色抽出器3に
入力される。背景色抽出器3は、入力された画像データ
のヒストグラムから、最大頻度の画像データ値を算出す
る。そして、この算出された画像データ値を背景色にす
る。ユーザは、代表色数指定器4によって、入力された
画像を表現するのに必要な色数を指定する。
The image data input from the image input device 1 is stored in the frame memory 2 and then input to the background color extractor 3. The background color extractor 3 calculates the maximum frequency image data value from the histogram of the input image data. Then, the calculated image data value is used as the background color. The user designates the number of colors required to represent the input image using the representative color number designator 4.

【0023】代表色抽出器5は、背景色抽出器3から背景
色を、代表色数指定器4から代表色数をそれぞれ入力し
た後、フレームメモリ2から画像データを入力する。な
お、入力した背景色や画像データはCIE1976のL*a*b*色
空間データに変換する。そして、入力した背景色と画像
データとの色差を求め、予め設定された閾値Th1と比較
して、その色差が閾値Th1より大きい画像データについ
てヒストグラムを作成する。このヒストグラムは代表色
を選択するのに用いるもので、まず、最も出現頻度の高
い色を最初の代表色として選択する。続いて、代表色抽
出器5は、選択した代表色と、代表色との色差が予め設
定された閾値Th2以下の色の頻度を零にする。以下、最
も出現頻度の高い色を代表色に選択して、その近傍の色
の頻度を零にする作業を繰返して、指定数の代表色を選
択する。
The representative color extractor 5 inputs the background color from the background color extractor 3 and the representative color number from the representative color number designating unit 4, respectively, and then inputs the image data from the frame memory 2. The input background color and image data are converted to CIE1976 L * a * b * color space data. Then, the color difference between the input background color and the image data is obtained, compared with a preset threshold Th1, and a histogram is created for image data whose color difference is larger than the threshold Th1. This histogram is used to select a representative color. First, the color with the highest appearance frequency is selected as the first representative color. Subsequently, the representative color extractor 5 sets the frequency of the colors whose color difference between the selected representative color and the representative color is equal to or less than a preset threshold Th2 to zero. Hereinafter, the color having the highest appearance frequency is selected as the representative color, and the operation of setting the frequency of the colors in the vicinity to zero is repeated to select the designated number of representative colors.

【0024】このようにして代表色が抽出された後、ま
ず背景色抽出器3から背景色が色符号化器10へ入力され
る。色符号化器10は、最初に代表色符号データの始まり
を表す代表色スタートコードを生成して出力装置11へ出
力した後、背景色のL*a*b*色空間データを出力装置11へ
出力する。続いて、代表色数指定器4から代表色数を入
力し、代表色抽出器5から各代表色のL*a*b*色空間デー
タを入力して、それらを出力装置11へ出力する。その
後、JPEG符号データの始まりを表すJPEGスタートコード
を生成して、出力装置11へ出力する。なお、スタートコ
ードにはJPEG符号化で発生しないユニークなコードを用
いる。
After the representative color is extracted in this way, the background color is first input from the background color extractor 3 to the color encoder 10. The color encoder 10 first generates a representative color start code indicating the start of the representative color code data and outputs the representative color start code to the output device 11, and then the L * a * b * color space data of the background color to the output device 11. Output. Subsequently, the number of representative colors is input from the representative color number designator 4, the L * a * b * color space data of each representative color is input from the representative color extractor 5, and these are output to the output device 11. After that, a JPEG start code indicating the start of the JPEG code data is generated and output to the output device 11. A unique code that does not occur in JPEG coding is used as the start code.

【0025】続いて、符号化器9がJPEGで規定されたヘ
ッダデータを出力装置11へ出力し、画像データの符号化
が開始される。色変換器6は、まず背景色と各代表色のL
*a*b*色空間データを入力し、次にフレームメモリ2から
所定サイズのブロックを形成する画素を順次読出す。入
力した画素データをL*a*b*色空間データに変換した後、
背景色や各代表色との色差を求めて、最も色差が小さい
背景色または代表色に置換する。そして、ブロックのす
べての画素データの置換が終了すると、そのブロックの
データをDCT器7へ出力する。
Then, the encoder 9 outputs the header data defined by JPEG to the output device 11, and the encoding of the image data is started. The color converter 6 first sets the background color and each representative color L
The * a * b * color space data is input, and then the pixels forming a block of a predetermined size are sequentially read from the frame memory 2. After converting the input pixel data to L * a * b * color space data,
The color difference from the background color or each representative color is obtained, and the background color or the representative color with the smallest color difference is substituted. Then, when the replacement of all pixel data of the block is completed, the data of the block is output to the DCT unit 7.

【0026】DCT器7は入力されたブロックにDCTを施
し、量子化器8はそのDCT係数を所定の量子化幅で量子化
し、符号化器9はその量子化結果に符号を割当てる。そ
して、出力装置11は、生成した符号データを通信回線へ
出力したり記憶したりする。このようにして、フレーム
メモリ2に格納された画像データのすべてが符号化され
ると符号化は終了する。
The DCT unit 7 performs DCT on the input block, the quantizer 8 quantizes the DCT coefficient with a predetermined quantization width, and the encoder 9 assigns a code to the quantized result. Then, the output device 11 outputs or stores the generated code data to the communication line. In this way, when all the image data stored in the frame memory 2 has been encoded, the encoding ends.

【0027】図4は本発明にかかる画像処理装置の復号
部の構成例を示すブロック図である。
FIG. 4 is a block diagram showing a configuration example of the decoding unit of the image processing apparatus according to the present invention.

【0028】同図において、21は入力装置で、通信回路
や記憶装置などから符号データを入力する。22はスター
トコード検出器で、入力されたスタートコードを解析す
る。23は色復号器で、背景色や代表色の数やL*a*b*画像
データを復号する。24は復号器で、識別コードや符号デ
ータを復号して量子化データを出力する。25は逆量子化
によってDCT係数再生する逆量子化器、26は逆DCTを施す
IDCT器である。28は色変換器で、セレクタ27を介して入
力された画像データを、復号された背景色または代表色
に変換する。30はフレームメモリで、セレクタ29を介し
て入力された再生画像データを一画面分蓄積する。31は
画像出力装置で、画像データを出力するプリンタや記憶
装置などである。
In the figure, reference numeral 21 is an input device for inputting code data from a communication circuit or a storage device. A start code detector 22 analyzes the input start code. A color decoder 23 decodes the number of background colors, representative colors, and L * a * b * image data. A decoder 24 decodes the identification code and the coded data and outputs the quantized data. 25 is an inverse quantizer which reproduces DCT coefficients by inverse quantization, and 26 is inverse DCT
It is an IDCT device. A color converter 28 converts the image data input via the selector 27 into a decoded background color or representative color. Reference numeral 30 denotes a frame memory, which stores the reproduced image data input via the selector 29 for one screen. An image output device 31 is a printer or a storage device that outputs image data.

【0029】入力装置21から入力された符号データは、
スタートコード検出器22に入力されて、スターとコード
が検出される。スタートコード検出器22は、最初のスタ
ートコードが代表色スタートコードであった場合、符号
化モードフラグを代表色モードにする。また、最初のス
タートコードがJPEGスタートコードであった場合、符号
化モードフラグをJPEGモードにする。この符号化モード
フラグはセレクタ27および29へ入力される。
The code data input from the input device 21 is
It is input to the start code detector 22 and the star and the code are detected. The start code detector 22 sets the coding mode flag to the representative color mode when the first start code is the representative color start code. If the first start code is the JPEG start code, the coding mode flag is set to the JPEG mode. This coding mode flag is input to the selectors 27 and 29.

【0030】まず、符号化モードが代表色モードである
場合について説明する。続いてスタートコード検出器22
へ入力された符号データは色復号器23へ送られる。色復
号器23は、背景色のL*a*b*色空間データを復号した後、
代表色の数を復号して、その数分のL*a*b*色空間データ
(代表色)を復号する。復号された各データは色変換器
28へ入力されて設定される。また、スタートコード検出
器22は、JPEGスタートコードを検出すると、続いて入力
される符号データを復号器24へ送る。そして、復号され
た量子化係数は逆量子化器25へ入力されて所定の量子化
幅で逆量子化される。逆量子化されたDCT係数はIDCT器2
6へ入力されて画像データが再生される。このとき、セ
レクタ27および29には代表色モードがセットされている
ので、再生された画像データは色変換器28で処理される
ことになる。
First, the case where the encoding mode is the representative color mode will be described. Then start code detector 22
The code data input to is sent to the color decoder 23. Color decoder 23, after decoding the L * a * b * color space data of the background color,
The number of representative colors is decoded, and the L * a * b * color space data (representative color) for that number is decoded. Each decoded data is a color converter
Input to 28 and set. When the start code detector 22 detects a JPEG start code, the start code detector 22 sends the code data to be input subsequently to the decoder 24. Then, the decoded quantized coefficient is input to the inverse quantizer 25 and inversely quantized with a predetermined quantization width. The dequantized DCT coefficient is the IDCT unit 2
Input to 6 and image data is reproduced. At this time, since the representative color mode is set in the selectors 27 and 29, the reproduced image data is processed by the color converter 28.

【0031】色変換器28は、IDCT器26から順次出力され
たブロックを形成する画素データを入力して、L*a*b*色
空間データに変換した後、そのデータと背景色および各
代表色との色差を求める。そして、画素データを最も色
差の小さい背景色または代表色に置換した後、入力され
たときのデータ形式(例えばRGB)に変換して出力す
る。色変換器28から出力された画像データは、セレクタ
29を介してフレームメモリ30に蓄積され、画像出力装置
31はこのデータをプリンタアウトしたり記憶したりす
る。
The color converter 28 inputs the pixel data forming the block sequentially output from the IDCT device 26, converts the pixel data into L * a * b * color space data, and then the data, the background color and each representative. Find the color difference from the color. Then, after replacing the pixel data with the background color or the representative color having the smallest color difference, the pixel data is converted into the input data format (for example, RGB) and output. The image data output from the color converter 28 is the selector.
The image output device is stored in the frame memory 30 via 29.
31 prints out or stores this data.

【0032】次に、符号化モードがJPEGモードである場
合について説明する。続いてスタートコード検出器22へ
入力された符号データは復号器24へ送られる。そして、
代表色モードのときと同様に、画像データが再生され
る。このとき、セレクタ27および29にはJPEGモードがセ
ットされているので、再生された画像データは、色変換
器28を経由することなく、フレームメモリ30に蓄積さ
れ、画像出力装置31はこのデータをプリンタアウトした
り記憶したりする。
Next, the case where the encoding mode is the JPEG mode will be described. Subsequently, the code data input to the start code detector 22 is sent to the decoder 24. And
The image data is reproduced as in the representative color mode. At this time, since the JPEG mode is set in the selectors 27 and 29, the reproduced image data is stored in the frame memory 30 without passing through the color converter 28, and the image output device 31 stores this data. Print out or memorize.

【0033】このように、本実施例によれば、背景色お
よび指定された数の代表色を抽出して、その背景色およ
び代表色を符号化するとともに、入力された画像データ
を近似する背景色または代表色で置換した後、符号化す
る。また、背景色および代表色に関する情報を復号し
て、復号された画像データを近似する背景色または代表
色に置換して出力する。従って、元々限られた色数しか
ないカラー原稿の画像データを、背景色または代表色の
データに置換することによって、画像中のノイズを除去
しエッジを明確にすることができ、冗長度を削減して符
号化効率を向上するとともに、復号された画像のモスキ
ートノイズを除去して画質劣化を防ぐことができる。
As described above, according to this embodiment, the background color and the designated number of representative colors are extracted, the background color and the representative color are encoded, and the background which approximates the input image data is extracted. Encode after replacing with a color or a representative color. Also, the information about the background color and the representative color is decoded, and the decoded image data is replaced with the approximate background color or representative color and output. Therefore, by replacing the image data of a color original, which originally has a limited number of colors, with the data of the background color or the representative color, noise in the image can be removed and edges can be made clear, thus reducing redundancy. As a result, the coding efficiency can be improved, and the mosquito noise of the decoded image can be removed to prevent the deterioration of the image quality.

【0034】さらに、本実施例によって生成した符号デ
ータは、JPEGなどの標準的な符号化方式に準拠した復号
装置においても、そのまま復号することが可能である。
Further, the coded data generated in this embodiment can be decoded as it is even in a decoding device conforming to a standard coding system such as JPEG.

【0035】[0035]

【第2実施例】以下、本発明にかかる第2実施例の画像処
理装置を説明する。なお、第2実施例において、第1実施
例と略同様の構成については、同一符号を付して、その
詳細説明を省略する。
Second Embodiment An image processing apparatus according to the second embodiment of the present invention will be described below. It should be noted that in the second embodiment, substantially the same configurations as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.

【0036】図5は本発明にかかる第2実施例の符号化部
の構成例を示すブロック図であるが、図3に示した符号
化部と異なる構成について説明する。101は無彩色抽出
器で、入力された画像データが無彩色か有彩色かに応じ
て、その出力先を変更する。102は代表色抽出器で、入
力された画像データからLBG法により代表色を抽出す
る。なお、LBG法はベクトル量子化においてコードブッ
クを生成するのに一般的に利用される方法である。105
は代表無彩色抽出器で、入力された画像データから無彩
色の代表色を抽出する。103は色変換器で、抽出された
背景色,代表色および代表無彩色によって、入力された
画像データを変換する。104は色符号化器で、背景色,
代表色および代表無彩色を符号化する。
FIG. 5 is a block diagram showing an example of the configuration of the encoding unit of the second embodiment according to the present invention, but a configuration different from the encoding unit shown in FIG. 3 will be described. Reference numeral 101 denotes an achromatic color extractor, which changes the output destination depending on whether the input image data is an achromatic color or a chromatic color. A representative color extractor 102 extracts a representative color from the input image data by the LBG method. The LBG method is a method generally used for generating a codebook in vector quantization. 105
Is a representative achromatic color extractor, which extracts an achromatic representative color from the input image data. A color converter 103 converts the input image data according to the extracted background color, representative color and representative achromatic color. 104 is a color encoder for the background color,
The representative color and the representative achromatic color are encoded.

【0037】代表色抽出器102は、背景色抽出器3から背
景色を代表色数指定器4から代表色数を入力した上で、
フレームメモリ2からが像データを無彩色抽出器101に入
力する。
The representative color extractor 102 inputs the background color from the background color extractor 3 and the representative color number from the representative color number designator 4,
Image data from the frame memory 2 is input to the achromatic color extractor 101.

【0038】無彩色抽出器101は、まず背景色抽出器3か
ら入力した背景色をL*a*b*色空間画像データに変換し
(このデータをLb,ab,bbとする)、続いて、フレームメ
モり2から入力された入力された画像データをL*a*b*色
空間データに変換し(このデータをL,a,bとする)て、
式(1)および式(2)を満足する場合に、画像データを代表
色抽出器102へ出力する。また、式(1)のみを満足する場
合は、画像データを代表無彩色抽出器105へ出力する。
なお、式(1)を満足しない場合は何も出力しない。 √{(Lb-L)^2+(ab-a)^2+(bb-b)^2} ≧ Th4 …(1) √{a^2+b^2} ≧ Th5 …(2) ただし、x^2はxの二乗を表わす
The achromatic color extractor 101 first converts the background color input from the background color extractor 3 into L * a * b * color space image data (this data is referred to as Lb, ab, bb), and then, , Convert the input image data input from frame memory 2 to L * a * b * color space data (let this data be L, a, b),
When the expressions (1) and (2) are satisfied, the image data is output to the representative color extractor 102. If only the equation (1) is satisfied, the image data is output to the representative achromatic color extractor 105.
If expression (1) is not satisfied, nothing is output. √ {(Lb-L) ^ 2 + (ab-a) ^ 2 + (bb-b) ^ 2} ≧ Th4… (1) √ {a ^ 2 + b ^ 2} ≧ Th5… (2) where x ^ 2 represents the square of x

【0039】代表色抽出器102は、入力された有彩色の
画像データをからヒストグラムを作成して、第1実施例
と同様にヒストグラムから指定数の代表色候補を選択し
た後、LBG法を用いて代表色を決定する。LBG法は、代表
色候補を中心とする空間の分割を行い、分割された空間
の重心点を新たな代表色候補とする方法である。そし
て、空間分割と重心点の移動を繰返して、重心点移動距
離が所定の閾値以下になれば収束したとして、そのとき
の重心点を代表色にする。
The representative color extractor 102 creates a histogram from the input chromatic color image data, selects a designated number of representative color candidates from the histogram as in the first embodiment, and then uses the LBG method. To determine the representative color. The LBG method is a method in which a space centering on a representative color candidate is divided and the centroid of the divided space is set as a new representative color candidate. Then, the space division and the movement of the center of gravity point are repeated, and if the distance of movement of the center of gravity point becomes equal to or less than a predetermined threshold value, it is assumed that the distance has converged, and the center point of gravity at that time is set as the representative color.

【0040】同様に、代表無彩色抽出器105は、入力さ
れた無彩色の画像データから明度L*データのヒストグラ
ムを作成して、出現頻度の高い順に四つの代表無彩色候
補を選択する。そして、代表無彩色候補についてもLBG
法を施す。代表無彩色の距離が予め設定された閾値Th6
よりも小さいものは、分割空間の大きい方に統合され
る。その結果、無彩色の代表数と代表無彩色とが決定さ
れる。
Similarly, the representative achromatic color extractor 105 creates a histogram of the lightness L * data from the input achromatic color image data and selects four representative achromatic color candidates in descending order of appearance frequency. And LBG is also the representative achromatic candidate
Give the law. The threshold value Th6 in which the distance of the representative achromatic color is set in advance
Those smaller than are merged into the larger of the split spaces. As a result, the number of representative achromatic colors and the representative achromatic color are determined.

【0041】このようにして代表色と代表無彩色が抽出
された後、まず背景色抽出器3から背景色が色符号化器1
04へ入力される。色符号化器104は、最初に代表色符号
データの始まりを表す代表色スタートコードを生成して
出力装置11へ出力した後、背景色のL*a*b*色空間データ
を出力装置11へ出力する。次に、代表無彩色抽出器105
から代表色数と各代表無彩色のL*データを入力して、そ
れらを出力装置11へ出力する。次に、代表色数指定器4
から代表色数を入力し、代表色抽出器5から各代表色のL
*a*b*色空間データを入力して、それらを差分符号化し
て出力装置11へ出力する。その後、JPEG符号データの始
まりを表すJPEGスタートコードを生成して、出力装置11
へ出力する。
After the representative color and the representative achromatic color have been extracted in this way, the background color is first extracted from the background color extractor 3 by the color encoder 1.
Input to 04. The color encoder 104 first generates a representative color start code indicating the beginning of the representative color code data and outputs the representative color start code to the output device 11, and then outputs the L * a * b * color space data of the background color to the output device 11. Output. Next, the representative achromatic color extractor 105
The number of representative colors and L * data of each representative achromatic color are input from and output to the output device 11. Next, the representative color number designator 4
Enter the number of representative colors from the representative color extractor 5
The * a * b * color space data is input, differential encoding is performed on them, and output to the output device 11. After that, a JPEG start code indicating the start of the JPEG code data is generated, and the output device 11
Output to.

【0042】続いて、符号化器9がJPEGで規定されたヘ
ッダデータを出力装置11へ出力し、画像データの符号化
が開始される。色変換器6は、まず背景色,各代表色のL
*a*b*色空間データおよび代表無彩色のL*データを入力
し、次にフレームメモリ2から所定サイズのブロックを
形成する画素を順次読出す。入力した画素データをL*a*
b*色空間データに変換した後、式(1)および(2)を満足す
る場合、画素データと各代表色との色差を比較して、最
も色差が小さい代表色に置換する。また、式(1)のみを
満足する場合は、画素データのa*とb*の値を零にし、L*
と代表無彩色との距離を計算して、最も近い代表無彩色
に置換する。そして、ブロックのすべての画素データの
置換が終了すると、そのブロックのデータをDCT器7へ出
力する。
Subsequently, the encoder 9 outputs the header data defined by JPEG to the output device 11, and the encoding of the image data is started. The color converter 6 first sets the background color and L of each representative color.
The * a * b * color space data and the representative achromatic L * data are input, and then the pixels forming a block of a predetermined size are sequentially read from the frame memory 2. Input pixel data to L * a *
After the conversion into the b * color space data, when the expressions (1) and (2) are satisfied, the color difference between the pixel data and each representative color is compared, and the representative color having the smallest color difference is replaced. If only equation (1) is satisfied, the a * and b * values of the pixel data are set to zero and L *
And the representative achromatic color are calculated and replaced with the nearest representative achromatic color. Then, when the replacement of all pixel data of the block is completed, the data of the block is output to the DCT unit 7.

【0043】一方、復号部の構成は図4と同じである
が、色復号器23と色変換器28の処理が異なる。
On the other hand, the configuration of the decoding unit is the same as that of FIG. 4, but the processes of the color decoder 23 and the color converter 28 are different.

【0044】まず、符号化モードが代表色モードである
場合について説明する。色復号器23は、背景色のL*a*b*
色空間データを復号した後、代表無彩色の数を復号して
その数分のL*データ(代表無彩色)を復号し、次に、代
表色の数を復号してその数分のL*a*b*色空間データ(代
表色)を復号する。復号された各データは色変換器28へ
入力されて設定される。
First, the case where the encoding mode is the representative color mode will be described. The color decoder 23 uses the background color L * a * b *
After decoding the color space data, the number of representative achromatic colors is decoded and the number of L * data (representative achromatic color) of that number is decoded, and then the number of representative colors is decoded and the number of L * of that number is decoded. Decode a * b * color space data (representative color). Each decoded data is input to the color converter 28 and set.

【0045】そして、色変換器28は、IDCT器26から順次
出力されたブロックを形成する画素データを入力して、
L*a*b*色空間データに変換した後、その画素データが式
(1)および(2)を満足する場合に、画素データと各代表色
との色差を比較し、最も色差が小さい代表色に置換す
る。また、式(1)のみを満足する場合はa*およびb*の値
を零にし、L*と代表無彩色との距離を計算して、最も近
い代表無彩色に置換する。そして、式(1)を満足しない
場合は背景色に置換する。
Then, the color converter 28 inputs the pixel data forming the blocks sequentially output from the IDCT device 26,
After converting to L * a * b * color space data, the pixel data
When (1) and (2) are satisfied, the color difference between the pixel data and each representative color is compared, and the representative color having the smallest color difference is replaced. When only equation (1) is satisfied, the values of a * and b * are set to zero, the distance between L * and the representative achromatic color is calculated, and the nearest representative achromatic color is replaced. If the expression (1) is not satisfied, the background color is replaced.

【0046】なお、符号化モードがJPEGモードである場
合は、第1実施例で述べたとおりである。
When the encoding mode is the JPEG mode, it is as described in the first embodiment.

【0047】このように、本実施例によれば、第1実施
例と同様の効果が期待できるほか、無彩色についても代
表色を設定するので、無彩色を含むカラー画像や無彩色
に近いカラー画像などに対しても効果的な処理が施せ
る。
As described above, according to this embodiment, the same effect as that of the first embodiment can be expected, and since the representative color is set for the achromatic color as well, the color image including the achromatic color or the color close to the achromatic color is obtained. Effective processing can be applied to images as well.

【0048】[0048]

【第3実施例】以下、本発明にかかる第3実施例の画像処
理装置を説明する。なお、第3実施例において、第1実施
例と略同様の構成については、同一符号を付して、その
詳細説明を省略する。
Third Embodiment An image processing apparatus according to the third embodiment of the present invention will be described below. In addition, in the third embodiment, substantially the same configurations as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.

【0049】図6は本発明にかかる第3実施例の符号化部
の構成例を示すブロック図であるが、図3に示した符号
化部と異なる構成について説明する。301は画像処理部
で、フレームメモリ2に格納された画像およびポインテ
ィングデバイス305のカーソルをディスプレイ302に表示
する。303は背景色を格納する背景色バッファ、304は代
表色を格納する代表色バッファ、306は指定された代表
色の数を計数するカウンタである。なお、ポインティン
グデバイス305には、マウス,トラックボールやタッチ
パネルなどである。
FIG. 6 is a block diagram showing an example of the configuration of the encoding unit of the third embodiment according to the present invention, but a configuration different from the encoding unit shown in FIG. 3 will be described. An image processing unit 301 displays the image stored in the frame memory 2 and the cursor of the pointing device 305 on the display 302. Reference numeral 303 is a background color buffer that stores background colors, 304 is a representative color buffer that stores representative colors, and 306 is a counter that counts the number of designated representative colors. The pointing device 305 is a mouse, a trackball, a touch panel, or the like.

【0050】画像処理部301は、画像データがフレーム
メモリ2に格納されると、その画像をディスプレイ302に
表示する。図7はこの表示状態を示している。図7の領域
320にはフレームメモり2に格納された画像とポインティ
ングデバイス305のカーソル321が表示される。また、背
景色を表示する背景色パネル322、代表色を表示する代
表色パネル323および代表色指定の終了を入力するため
の「終了」ボタン324が表示される。
When the image data is stored in the frame memory 2, the image processing section 301 displays the image on the display 302. FIG. 7 shows this display state. Area of Figure 7
At 320, the image stored in the frame memory 2 and the cursor 321 of the pointing device 305 are displayed. Further, a background color panel 322 displaying a background color, a representative color panel 323 displaying a representative color, and an “end” button 324 for inputting the end of the representative color designation are displayed.

【0051】ユーザは、図7の表示に基づいて、背景色
パネル322を指定して、領域320に表示された画像から背
景色を選択する。なお、これらの指定や選択はポインテ
ィングデバイス305によって行われるのはいうまでもな
い。画像処理部301は、フレームメモリ2から選択された
背景色の画像データを読出して、背景色バッファ303に
格納するとともに、背景色パネル322に表示する。ユー
ザが代表色パネル323を指定すると、画像処理部301は、
カウンタ306をクリアして、ユーザが代表色を選択する
のを待つ。そして、ユーザが代表色を選択するとその画
像データをフレームメモリ2から読出して、代表色バッ
ファ304に格納するとともに、背景色パネル323に表示
し、カウンタ306をインクリメントする。
The user specifies the background color panel 322 based on the display of FIG. 7 to select the background color from the image displayed in the area 320. Needless to say, these designations and selections are performed by the pointing device 305. The image processing unit 301 reads out the image data of the selected background color from the frame memory 2, stores it in the background color buffer 303, and displays it on the background color panel 322. When the user specifies the representative color panel 323, the image processing unit 301
The counter 306 is cleared and waits for the user to select the representative color. When the user selects the representative color, the image data is read from the frame memory 2, stored in the representative color buffer 304, displayed on the background color panel 323, and the counter 306 is incremented.

【0052】必要な代表色を指定し終えたユーザが「終
了」ボタン324を選択すると、背景色および代表色が確
定される。以降は、背景色抽出器3に代わって背景色バ
ッファ303から背景色が、代表色抽出器5に代わって代表
色バッファ304から代表色が色符号化器10に入力される
点が第1実施例と異なるだけである。
When the user who has designated the necessary representative colors has selected the "End" button 324, the background color and the representative colors are fixed. After that, the first implementation is that the background color is input from the background color buffer 303 instead of the background color extractor 3 and the representative color is input from the representative color buffer 304 instead of the representative color extractor 5 to the color encoder 10. Only different from the example.

【0053】このように、本実施例によれば、第1実施
例と同様の効果が期待できるほか、ユーザが背景色や代
表色を任意に選ぶことができる。
As described above, according to this embodiment, the same effect as that of the first embodiment can be expected, and the user can arbitrarily select the background color and the representative color.

【0054】[0054]

【変形例】上述した各実施例においては、均等色空間で
の色差を用いて色の置換を行う例を説明したが、本発明
はこれに限定されるものではなく、その他の変換によっ
て距離を求めてもよい。
[Modifications] In each of the above-described embodiments, an example in which color replacement is performed using color differences in a uniform color space has been described, but the present invention is not limited to this, and distance conversion is performed by other conversions. You may ask.

【0055】また、符号化の例としてJPEG符号化をとり
あげたが、本発明はこれに限定されるものではなく、他
の符号化を採用することもできる。例えば、アダマール
変換とベクトル量子化を組合わせた符号化であってもか
まわない。
Although JPEG coding has been taken as an example of coding, the present invention is not limited to this, and other coding can be adopted. For example, the coding may be a combination of Hadamard transform and vector quantization.

【0056】さらに、符号化や処理の単位も上述に限定
されず、例えば、所定数のライン単位で処理を分割する
こともできる。
Furthermore, the unit of encoding and processing is not limited to the above, and for example, the processing can be divided in units of a predetermined number of lines.

【0057】なお、本発明は、複数の機器から構成され
るシステムに適用しても、一つの機器からなる装置に適
用してもよい。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device.

【0058】また、本発明は、システムあるいは装置に
プログラムを供給することによって達成される場合にも
適用できることはいうまでもない。
Needless to say, the present invention can also be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0059】[0059]

【発明の効果】以上説明したように、本発明によれば、
カラー原稿は限られた数の色で表現されている場合が多
いことを利用して、カラー画像中のノイズを除去しエッ
ジを明確にすることにより、符号化効率を改善する画像
処理装置およびその方法を提供することができる。
As described above, according to the present invention,
Taking advantage of the fact that color originals are often expressed with a limited number of colors, an image processing apparatus that improves coding efficiency by removing noise from a color image and clarifying edges A method can be provided.

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

【図1】JPEG方式の符号化を行う画像処理装置の符号化
部の構成を示すブロック図、
FIG. 1 is a block diagram showing the configuration of an encoding unit of an image processing apparatus that performs JPEG encoding.

【図2】JPEG方式の符号化を行う画像処理装置の復号部
の構成を示すブロック図、
FIG. 2 is a block diagram showing the configuration of a decoding unit of an image processing apparatus that performs JPEG encoding.

【図3】本発明にかかる画像処理装置の符号化部の構成
例を示すブロック図、
FIG. 3 is a block diagram showing a configuration example of an encoding unit of the image processing apparatus according to the present invention,

【図4】本発明にかかる画像処理装置の復号部の構成例
を示すブロック図、
FIG. 4 is a block diagram showing a configuration example of a decoding unit of the image processing apparatus according to the present invention,

【図5】本発明にかかる第2実施例の符号化部の構成例
を示すブロック図、
FIG. 5 is a block diagram showing a configuration example of an encoding unit according to a second embodiment of the present invention,

【図6】本発明にかかる第3実施例の符号化部の構成例
を示すブロック図である。
[Fig. 6] Fig. 6 is a block diagram illustrating a configuration example of an encoding unit according to a third embodiment of the present invention.

【図7】ディスプレイの表示状態例を示す図である。FIG. 7 is a diagram showing an example of a display state of a display.

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

3 背景色抽出器 4 代表色数指定器 5 代表色抽出器 6 色変換器 10 色符号化器 22 スタートコード検出器 23 色復号器 28 色変換器 101 無彩色抽出器 102 代表色抽出器 103 色変換器 104 色符号化器 105 代表無彩色抽出器 301 画像処理部 303 背景色バッファ 304 代表色バッファ 306 カウンタ 3 Background color extractor 4 Representative color number designator 5 Representative color extractor 6 Color converter 10 Color encoder 22 Start code detector 23 Color decoder 28 Color converter 101 Achromatic color extractor 102 Representative color extractor 103 colors Converter 104 Color encoder 105 Representative achromatic color extractor 301 Image processing unit 303 Background color buffer 304 Representative color buffer 306 Counter

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 入力された画像データを符号化する画像
処理装置であって、 色数を指定する指定手段と、 前記指定手段によって指定された数の代表的な色を前記
画像データから抽出する抽出手段と、 前記抽出手段によって抽出された代表色の情報を符号化
する第一の符号化手段と、 前記代表色に基づいて前記画像データを変換する変換手
段と、 前記変換手段によって変換された画像データを符号化す
る第二の符号化手段とを有することを特徴とする画像処
理装置。
1. An image processing apparatus for encoding input image data, comprising: designating means for designating the number of colors; and extracting from the image data representative colors of the number designated by the designating means. Extraction means, first encoding means for encoding the information of the representative color extracted by the extraction means, conversion means for converting the image data based on the representative color, and conversion by the conversion means An image processing apparatus comprising: a second encoding unit that encodes image data.
【請求項2】 入力された画像データを符号化する画像
処理装置であって、 前記画像データから任意の数の代表的な色を抽出する抽
出手段と、 前記抽出手段によって抽出された代表色の情報を符号化
する第一の符号化手段と、 前記代表色に基づいて前記画像データを変換する変換手
段と、 前記変換手段によって変換された画像データを符号化す
る第二の符号化手段とを有することを特徴とする画像処
理装置。
2. An image processing apparatus for encoding input image data, comprising: extracting means for extracting an arbitrary number of representative colors from the image data; and a representative color of the representative colors extracted by the extracting means. A first encoding means for encoding information, a converting means for converting the image data based on the representative color, and a second encoding means for encoding the image data converted by the converting means. An image processing apparatus having.
【請求項3】 前記変換手段は前記画像データの色数を
前記代表色の数に低減することを特徴とする請求項1ま
たは請求項2に記載の画像処理装置。
3. The image processing apparatus according to claim 1, wherein the conversion unit reduces the number of colors of the image data to the number of the representative colors.
【請求項4】 前記変換手段は、前記画像データを均等
色空間に変換して、その画像データの各画素を該色空間
上で最も近い代表色に置換することを特徴とする請求項
1または請求項2に記載の画像処理装置。
4. The converting means converts the image data into a uniform color space and replaces each pixel of the image data with a closest representative color in the color space.
The image processing apparatus according to claim 1 or claim 2.
【請求項5】 符号化された画像データを復号する画像
処理装置であって、 前記符号データに含まれる代表色の情報を復号する第一
の復号手段と、 前記符号データに含まれる画像データを復号する第二の
復号手段と、 前記第一の復号手段によって復号された代表色に基づい
て前記第二の復号手段によって復号された画像データを
変換する変換手段とを有することを特徴とする画像処理
装置。
5. An image processing apparatus for decoding coded image data, comprising: first decoding means for decoding information of a representative color included in the code data; and image data included in the code data. An image characterized by having a second decoding means for decoding and a conversion means for converting the image data decoded by the second decoding means based on the representative color decoded by the first decoding means Processing equipment.
【請求項6】 画像データを符号化する画像処理方法で
あって、 色数を指定する指定ステップと、 前記指定ステップで指定した数の代表的な色を前記画像
データから抽出する抽出ステップと、 前記抽出ステップで抽出した代表色の情報を符号化する
第一の符号化ステップと、 前記代表色に基づいて前記画像データを変換する変換ス
テップと、 前記変換ステップで変換した画像データを符号化する第
二の符号化ステップとを有することを特徴とする画像処
理方法。
6. An image processing method for encoding image data, comprising a designating step of designating the number of colors, and an extracting step of extracting from the image data the number of representative colors designated in the designating step. A first encoding step of encoding the information of the representative color extracted in the extracting step, a converting step of converting the image data based on the representative color, and encoding the image data converted in the converting step. An image processing method comprising: a second encoding step.
【請求項7】 画像データを符号化する画像処理方法で
あって、 前記画像データから任意の数の代表的な色を抽出する抽
出ステップと、 前記抽出ステップで抽出した代表色の情報を符号化する
第一の符号化ステップと、 前記代表色に基づいて前記画像データを変換する変換ス
テップと、 前記変換ステップで変換した画像データを符号化する第
二の符号化ステップとを有することを特徴とする画像処
理方法。
7. An image processing method for encoding image data, comprising: an extracting step of extracting an arbitrary number of representative colors from the image data; and encoding information of the representative colors extracted in the extracting step. A first encoding step, a conversion step of converting the image data based on the representative color, and a second encoding step of encoding the image data converted in the conversion step, Image processing method.
【請求項8】 符号化された画像データを復号する画像
処理方法であって、 前記符号データに含まれる代表色の情報を復号する第一
の復号ステップと、 前記符号データに含まれる画像データを復号する第二の
復号ステップと、 前記第一の復号ステップで復号された代表色に基づいて
前記第二の復号ステップで復号された画像データを変換
する変換ステップとを有することを特徴とする画像処理
方法。
8. An image processing method for decoding encoded image data, comprising: a first decoding step of decoding information of a representative color included in the encoded data; and an image data included in the encoded data. An image characterized by comprising a second decoding step of decoding, and a conversion step of converting the image data decoded in the second decoding step based on the representative color decoded in the first decoding step. Processing method.
JP22040194A 1994-09-14 1994-09-14 Image processing apparatus and method Expired - Fee Related JP3347488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22040194A JP3347488B2 (en) 1994-09-14 1994-09-14 Image processing apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22040194A JP3347488B2 (en) 1994-09-14 1994-09-14 Image processing apparatus and method

Publications (2)

Publication Number Publication Date
JPH0884257A true JPH0884257A (en) 1996-03-26
JP3347488B2 JP3347488B2 (en) 2002-11-20

Family

ID=16750543

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22040194A Expired - Fee Related JP3347488B2 (en) 1994-09-14 1994-09-14 Image processing apparatus and method

Country Status (1)

Country Link
JP (1) JP3347488B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030026683A (en) * 2001-09-26 2003-04-03 한국전자통신연구원 The Apparatus and Method for Manufacturing Animation-Image Using Digital-Image
JP2006311193A (en) * 2005-04-28 2006-11-09 Matsushita Electric Ind Co Ltd Image processor, image reader provided with the same and image processing method
JP2008227817A (en) * 2007-03-12 2008-09-25 Seiko Epson Corp Image data encoder, image data decoder, image processor, and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030026683A (en) * 2001-09-26 2003-04-03 한국전자통신연구원 The Apparatus and Method for Manufacturing Animation-Image Using Digital-Image
JP2006311193A (en) * 2005-04-28 2006-11-09 Matsushita Electric Ind Co Ltd Image processor, image reader provided with the same and image processing method
JP4648073B2 (en) * 2005-04-28 2011-03-09 パナソニック株式会社 Image processing apparatus, image reading apparatus including the same, and image processing method
JP2008227817A (en) * 2007-03-12 2008-09-25 Seiko Epson Corp Image data encoder, image data decoder, image processor, and electronic equipment

Also Published As

Publication number Publication date
JP3347488B2 (en) 2002-11-20

Similar Documents

Publication Publication Date Title
EP0685963B1 (en) Image processing apparatus and method
JP2002057905A (en) Image document compression method and data structure for compression document description
US5854857A (en) Using encoding cost data for segmentation and background suppression in JPEG-compressed images
CN100576195C (en) With the system and method for lossless manner to digital picture and voice data decoding
JP4808928B2 (en) Transform factor compression using multiple scans
US20100118947A1 (en) Decoder for selectively decoding predetermined data units from a coded bit stream
JPH10191074A (en) Color correction method for compressed image
EP0696873A2 (en) Method and apparatus for conversion of compressed bit stream representation of video signal
JPH11252563A (en) Image coder, image decoder, image processing unit, image coding method, image decoding method and image processing method
CA2347383A1 (en) Image coding/decoding method and recordind medium having program for this method recorded thereon
WO2023020560A1 (en) Video coding and decoding method and apparatus, electronic device and storage medium
US8982426B2 (en) Image processing apparatus, printing apparatus and image processing method
US7577302B2 (en) Compressed image data enhancement
JPH11187401A (en) Video signal encoder
JPH10215379A (en) Image coder and image decoder
JP3347488B2 (en) Image processing apparatus and method
JPH0487460A (en) Picture processor
JP3952116B2 (en) Image compression apparatus and method
EP1734738A2 (en) Image encoding and decoding method and apparatus, and computer-readable recording medium storing program for executing the method
JP2002369010A (en) Image coder and image decoder
US6256421B1 (en) Method and apparatus for simulating JPEG compression
JP2791410B2 (en) Compressed image data extraction device
JP3327684B2 (en) Color image processing method and apparatus
KR20030063850A (en) Document segmentation compression, reconstruction system and method
JP2002051221A (en) Device, system and method for encoding and decoding image and storage medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020812

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

Free format text: PAYMENT UNTIL: 20080906

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090906

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090906

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100906

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110906

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110906

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120906

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120906

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130906

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees