JPH05205044A - Image color compressing method - Google Patents

Image color compressing method

Info

Publication number
JPH05205044A
JPH05205044A JP4011102A JP1110292A JPH05205044A JP H05205044 A JPH05205044 A JP H05205044A JP 4011102 A JP4011102 A JP 4011102A JP 1110292 A JP1110292 A JP 1110292A JP H05205044 A JPH05205044 A JP H05205044A
Authority
JP
Japan
Prior art keywords
color
image
color data
data
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4011102A
Other languages
Japanese (ja)
Inventor
Toshiyuki Oda
稔之 織田
Hajime Fujitani
元 藤谷
Tamotsu Ito
保 伊藤
Takashi Takeuchi
崇 竹内
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.)
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Advanced Digital Inc
Original Assignee
Hitachi Image Information Systems Inc
Hitachi Ltd
Hitachi Video and Information System 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 Hitachi Image Information Systems Inc, Hitachi Ltd, Hitachi Video and Information System Inc filed Critical Hitachi Image Information Systems Inc
Priority to JP4011102A priority Critical patent/JPH05205044A/en
Publication of JPH05205044A publication Critical patent/JPH05205044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To reduce the labor required for compression of an image color and at the same time to shorten the image color compression by automating the visual decision of the picture quality that is hitherto carried out in an image color compressing process. CONSTITUTION:An original image is quantized and a color emerging frequency distribution is decided in a three-dimensional color space. Then plural key color data are decided with preference given to the colors of higher emerging frequency and the color data on each picture element of the original image are replaced with the key color data. Then the color compressed image data are divided into blocks and compared with the original image data for each block. Thus the degree of deterioration of the picture quality is decided, and the picture quality is decided based on the decided degree of deterioration. Then each block is weighted in accordance with the degree of deterioration of the picture quality. These weighted blocks are added to the color emerging frequency distribution and a key color is selected again.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタルカラー画像
の画像データの圧縮を行う画像色圧縮方法に係り、特
に、カラールックアップテーブルを有する表示装置にお
いて、自然画等の連続階調のカラー画像を近似表示する
のに好適な画像色圧縮方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image color compression method for compressing image data of a digital color image, and more particularly to a continuous tone color image such as a natural image in a display device having a color lookup table. The present invention relates to an image color compression method suitable for approximately displaying.

【0002】[0002]

【従来の技術】従来の画像色圧縮方法としては、特開昭
61−129693号公報に開示された手法が挙げられ
る。この先願公報中に記載されている技術では、RGB
3次元色空間内における原画像の各画素の色データ出現
頻度数分布を求め、出現頻度の多い色データを抽出して
特定個数の代表色データを決定し、原画像の各画素の色
データを、代表色データの代表色番号に置き換えて得る
画像コードデータを作成する画像色圧縮方法において、
上記代表色データと上記画像コードデータから成る色圧
縮画像を作成し、図5に示すように、画質劣化のある部
分あるいは注目点を目視で評価し、その領域をカーソル
501によって指定して重み付けを行い、再度原画像を
色圧縮するようにしている。
2. Description of the Related Art As a conventional image color compression method, there is a method disclosed in Japanese Patent Laid-Open No. 61-129693. In the technology described in this prior application, RGB is used.
The color data appearance frequency distribution of each pixel of the original image in the three-dimensional color space is obtained, the color data with a high appearance frequency is extracted to determine a specific number of representative color data, and the color data of each pixel of the original image is calculated. In the image color compression method for creating image code data obtained by replacing the representative color number of the representative color data,
A color compressed image composed of the representative color data and the image code data is created, and as shown in FIG. 5, a portion having a deterioration in image quality or a point of interest is visually evaluated, and the area is designated by a cursor 501 and weighted. Then, the original image is color-compressed again.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記従
来技術のように目視で画質劣化の評価を行った場合、多
数の画像を色圧縮するのには非常に労力を要することに
なり、また、かなりの時間を要することとなる。
However, when the image quality deterioration is visually evaluated as in the above-mentioned prior art, it takes a great deal of effort to color-compress a large number of images, and it is considerably difficult. It will take time.

【0004】本発明は上記の点に鑑みなされたもので、
その目的とするところは、従来目視で行っていた画質評
価を自動化することにより画像色圧縮にかかる労力を軽
減し、同時に、画像色圧縮に必要とする時間を短縮化す
ることにある。
The present invention has been made in view of the above points,
The purpose thereof is to reduce the labor required for image color compression by automating the image quality evaluation which has been conventionally performed visually, and at the same time to shorten the time required for image color compression.

【0005】[0005]

【課題を解決するための手段】上記目的は、色圧縮した
画像データをブロック分割し、原画像と比較して各々の
ブロック毎に画質劣化の度合を求め、劣化の度合に応じ
て各ブロックに重みを付けて、再び原画像データを色圧
縮することにより達成される。
The above-mentioned object is to divide color-compressed image data into blocks, obtain the degree of image quality deterioration for each block by comparing with the original image, and determine the degree of image deterioration in each block according to the degree of deterioration. This is achieved by weighting and color-compressing the original image data again.

【0006】[0006]

【作用】色圧縮した画像全面をブロック分割して、各ブ
ロック毎に画質の劣化の程度を求めることにより、色圧
縮画像の劣化している位置(ブロック)を判別し、例え
ば、劣化の大きいブロックに対して大きい重みを付けて
色圧縮を行う。そして例えば、各ブロック毎の画質評価
と重み付けとを、所望の画質劣化に収束するまで繰り返
し行うことにより、劣化部分の画質の補正が可能とな
る。
The entire surface of the color-compressed image is divided into blocks, and the degree of deterioration of the image quality is obtained for each block to determine the position (block) in which the color-compressed image is deteriorated. The color is compressed with a large weight. Then, for example, the image quality evaluation and weighting of each block are repeatedly performed until the desired image quality deterioration is converged, whereby the image quality of the deteriorated portion can be corrected.

【0007】[0007]

【実施例】以下、本発明の実施例を図1〜図4によって
説明する。図1は、本発明の1実施例による画像色圧縮
方法を説明するためのフローチャートである。先ず、図
1の各ステップを簡単に説明する。 ステップST101:原画像の各画素の色データを量子
化するステップで、この後ステップST102へ進む。 ステップST102:色データの出現頻度を求めるステ
ップで、この後ステップST103へ進む。 ステップST103:代表色の決定を行うステップで、
この後ステップST104へ進む。 ステップST104:原画像の各画素の色データを代表
色へ置き換えるステップで、この後ステップST105
へ進む。 ステップST105:各ブロック毎に色圧縮画像データ
の画質劣化を求めるステップで、この後ステップST1
06へ進む。 ステップST106:画質判定を行うステップである。
判定結果、所望の画質劣化に収束していればこの一連の
処理を終了し、そうでなければステップST107に進
む。 ステップST107:各ブロック毎に、色データの出現
頻度分布へ重み付けを行うステップで、この後上記ステ
ップST103に戻る。
Embodiments of the present invention will be described below with reference to FIGS. FIG. 1 is a flowchart illustrating an image color compression method according to an exemplary embodiment of the present invention. First, each step of FIG. 1 will be briefly described. Step ST101: a step of quantizing the color data of each pixel of the original image, after which the process proceeds to step ST102. Step ST102: a step of obtaining the appearance frequency of color data, after which the process proceeds to step ST103. Step ST103: a step of determining a representative color,
After this, the process proceeds to step ST104. Step ST104: a step of replacing the color data of each pixel of the original image with a representative color, and then step ST105
Go to. Step ST105: a step of obtaining the image quality deterioration of the color compressed image data for each block, and then step ST1
Proceed to 06. Step ST106: This is a step of performing image quality determination.
If the result of the determination is that the desired image quality deterioration has been reached, this series of processing is terminated, and if not, the operation proceeds to step ST107. Step ST107: a step of weighting the appearance frequency distribution of the color data for each block, after which the process returns to step ST103.

【0008】図2は前記ステップST101〜104に
よる画像色圧縮方法で圧縮した場合の原画像と色圧縮画
像の1例を示す図である。同図は山、海岸、ヨットから
なる画像の例であり、図2の(a)はR,G,B各8ビ
ットの原画像の絵柄を示していて、図2の(b)は25
6色の色圧縮画像を示している。
FIG. 2 is a diagram showing an example of an original image and a color compressed image when compressed by the image color compression method in steps ST101 to 104. This figure is an example of an image consisting of mountains, coasts, and yachts. (A) of FIG. 2 shows a pattern of an original image of 8 bits for each of R, G, B, and (b) of FIG.
6 shows a color-compressed image of 6 colors.

【0009】以下、各ステップごとに色圧縮方法の詳細
を説明する。まず、前記ステップST101では、原画
像の各画素の色データを、R,G,B各5ビット(32
階調)に量子化する。これは、後のステップST103
で類似色ばかりが選ばれるのを避けることと、色空間を
小さくして演算に必要となるメモリ容量を抑えることを
目的として行う。
The details of the color compression method will be described below for each step. First, in step ST101, the color data of each pixel of the original image is converted into R, G, B 5 bits (32 bits).
Quantization). This is a later step ST103.
The purpose is to avoid selecting only similar colors and to reduce the memory space required for calculation by reducing the color space.

【0010】次の前記ステップST102では、量子化
した原画像の色データの出現回数を求め、R,G,B各
5ビットで3次元色空間の色出現頻度分布を作成する。
そして、前記ステップST103では、3次元色空間の
色出現頻度分布中で出現頻度の多い色から256個の代
表色を選び出す。この後、前記ステップST104で
は、原画像の各画素の色データを、ステップST103
で選んだ256色中で最も近い代表色の代表色番号に置
き換える。
In the next step ST102, the number of appearances of the quantized color data of the original image is obtained, and a color appearance frequency distribution in a three-dimensional color space is created with R, G, and B 5 bits each.
Then, in step ST103, 256 representative colors are selected from the colors having a high appearance frequency in the color appearance frequency distribution of the three-dimensional color space. After that, in step ST104, the color data of each pixel of the original image is calculated in step ST103.
Replace with the representative color number of the closest representative color among the 256 colors selected in.

【0011】この様にして、原画像を256色の代表色
で置き換えた色圧縮画像が得られる。この色圧縮画像
は、ステップST104でもっとも近い代表色に置換す
る際に画質の劣化を引き起こしている。図2の例では、
海の一部分で画質劣化による偽輪郭201が現れてい
て、本発明はこのような画質劣化を取り除くことを目的
としている。
In this way, a color compressed image in which the original image is replaced with 256 representative colors is obtained. This color-compressed image causes deterioration in image quality when it is replaced with the closest representative color in step ST104. In the example of FIG.
The false contour 201 due to image quality deterioration appears in a part of the sea, and the present invention aims to eliminate such image quality deterioration.

【0012】図3は、前記ステップST101〜ステッ
プST104で作成した色圧縮画像の画質を評価し、著
しく画質が劣化した部分を除去する手法を説明するため
の図である。以下、同図を用いて海の部分に現れた画質
劣化(偽輪郭201)を除去する手法について、前記し
たステップST105〜ステップST107に従って説
明する。
FIG. 3 is a diagram for explaining a method of evaluating the image quality of the color-compressed image created in steps ST101 to ST104 and removing a portion where the image quality is significantly deteriorated. Hereinafter, a method for removing the image quality deterioration (false contour 201) appearing in the sea part will be described with reference to FIG.

【0013】前記ステップST105では、色圧縮画像
を例えば横6ブロック×縦4ブロックの合計24ブロッ
クに分割する。そして原画像と比較して劣化の度合を各
ブロックごとに求める。図3の301はその内の1ブロ
ックで、海の部分に画質の劣化が起き、原画像にはない
偽輪郭が現れている。斯様な画質劣化の度合を求めるパ
ラメータとしては、標準偏差や不連続性評価値が挙げら
れるが、この他のパラメータを用いても構わないし、こ
れらを適宜組み合わせて用いても構わない。
In step ST105, the color-compressed image is divided into a total of 24 blocks, for example, 6 horizontal blocks × 4 vertical blocks. Then, the degree of deterioration is calculated for each block in comparison with the original image. Reference numeral 301 in FIG. 3 is one of the blocks, in which the image quality is deteriorated in the sea part, and a false contour which is not present in the original image appears. Examples of the parameter for determining the degree of such image quality deterioration include a standard deviation and a discontinuity evaluation value, but other parameters may be used or these may be used in combination as appropriate.

【0014】例えば標準偏差は、次の数1によって求め
られる。但し、数1において、 D……… 標準偏差 Δr…… 赤色成分の原画像からの輝度の差 Δg…… 緑色成分の原画像からの輝度の差 Δb…… 青色成分の原画像からの輝度の差 n……… 1ブロック内の画素数 である。
For example, the standard deviation is obtained by the following equation 1. However, in equation 1, D ......... standard deviation Δr ... difference in luminance from the original image of red component Δg ... difference in luminance from the original image of green component Δb ... of luminance from the original image of blue component Difference n ... The number of pixels in one block.

【0015】[0015]

【数1】 [Equation 1]

【0016】また、不連続性評価値を用いる場合、次の
数2に従ってその値を求める(Σは、原画像で隣接画像
の輝度の差が0または±1の時だけ計算する)。但し、
数2において、 E……… 不連続性表価値 dr…… 圧縮画像での隣接画素の赤色成分の輝度の差 dg…… 圧縮画像での隣接画素の緑色成分の輝度の差 db…… 圧縮画像での隣接画素の青色成分の輝度の差 m……… 1ブロック内の該当画素(計算の対象とした
画素)の数 である。
When the discontinuity evaluation value is used, the value is obtained according to the following equation 2 (Σ is calculated only when the difference in luminance between adjacent images in the original image is 0 or ± 1). However,
In Equation 2, E ...... Discontinuity value dr ... Difference in luminance of red component of adjacent pixel in compressed image dg ... Difference in luminance of green component of adjacent pixel in compressed image db ... Compressed image The difference in the brightness of the blue component between the adjacent pixels in m ... The number of corresponding pixels (pixels to be calculated) in one block.

【0017】[0017]

【数2】 [Equation 2]

【0018】この後、前記ステップST106で各ブロ
ックの画質の劣化の程度が判定される。このステップで
は、例えば画質判定のしきい値をあらかじめ決めてお
き、全ブロックについてパラメータがしきい値以内であ
るか判定し、全ブロックにおいて満足しているのであれ
ば処理を終了し、1つでも満足していないブロックがあ
れば、処理を続行する。例えば図3には、前記ステップ
ST105の処理に標準偏差を用いて、画質の劣化判定
しきい値を8.0と定めた際の各ブロックの標準偏差D
の値が、各ブロック毎に1つの例として示されている。
同図においては、ブロック301のみがこの値(8.
0)を超えているので、処理は続行される。
Thereafter, in step ST106, the degree of deterioration of the image quality of each block is determined. In this step, for example, a threshold value for image quality determination is determined in advance, it is determined whether or not the parameters are within the threshold value for all blocks, and if all the blocks are satisfied, the process is terminated and even one If there are blocks that are not satisfied, the process continues. For example, in FIG. 3, the standard deviation D of each block when the image quality deterioration determination threshold value is set to 8.0 by using the standard deviation in the process of step ST105.
The value of is shown as an example for each block.
In the figure, only the block 301 has this value (8.
0) is exceeded, the process continues.

【0019】そして次の前記ステップST107では、
各ブロックの画質劣化の度合に応じて(各標準偏差Dの
大きさに応じて)、ステップST101で求めた量子化
した原画像へ重み付けを行い、同時に、ステップST1
02で求めた色出現頻度分布の加算を行う。しかる後、
ステップST103に戻って、補正演算された色出現頻
度分布に基づき、再度代表色が選定されて、この後、前
記と同様の処理が実行される。
Then, in the next step ST107,
The quantized original image obtained in step ST101 is weighted according to the degree of image quality deterioration of each block (depending on the size of each standard deviation D), and at the same time, step ST1
The color appearance frequency distribution obtained in 02 is added. After that,
Returning to step ST103, the representative color is selected again based on the corrected color appearance frequency distribution, and thereafter, the same processing as described above is executed.

【0020】以下、ブロック毎の画質の評価とこれに応
じた重み付けを伴う色圧縮処理(ステップST103〜
ステップST107)を、ステップST106において
全ブロックについてパラメータがしきい値以内であると
判定されるまで繰り返すわけであるが、所望の画質に収
束しない場合も考えられるので、繰り返し回数を所定回
数に制限するようにしてもよい。
In the following, the color compression processing with the evaluation of the image quality for each block and the weighting according to the evaluation (steps ST103-STEP).
Step ST107) is repeated until the parameters are determined to be within the threshold values for all blocks in step ST106. However, the number of repetitions is limited to a predetermined number because it may occur that the image quality does not converge to a desired image quality. You may do it.

【0021】なお本実施例では、全てのブロックを対象
に、標準偏差Dに応じてブロック毎の重み付けを行って
いるが、もともと画質劣化判定しきい値8.0以下の比
較的高画質のブロックに対しても重み付けをする必要は
必ずしもない。従って、しきい値8.0を超えたブロッ
クに対してのみ、そのブロックの標準偏差Dからしきい
値を減じた値に応じた重み付けをすると、より効果的で
ある。この場合、画質の劣化したブロックに重みを付け
て再度色圧縮を繰り返すと、元々しきい値以下であった
ブロックの画質劣化が予想できるので、予め重み付けを
行う場合に減じるしきい値を8.0よりも小さい値(例
えば7.0)にすることが望ましい。
In this embodiment, all blocks are weighted for each block according to the standard deviation D. However, blocks of relatively high image quality whose image quality deterioration determination threshold value is 8.0 or less are originally set. Also, it is not always necessary to weight. Therefore, it is more effective to perform weighting only on the blocks exceeding the threshold value 8.0 according to the value obtained by subtracting the threshold value from the standard deviation D of the block. In this case, if the blocks whose image quality is deteriorated are weighted and the color compression is repeated again, the deterioration of the image quality of the blocks originally below the threshold value can be expected. Therefore, the threshold value to be reduced when the weighting is performed in advance is set to 8. A value smaller than 0 (for example, 7.0) is desirable.

【0022】この方法による画像色圧縮手順を図4にフ
ローチャートとして示す。なお、図4におけるステップ
ST401〜ステップST405は、前記ステップST
101〜ステップST105と同じ処理であるので、こ
こでの説明を省略する。
An image color compression procedure according to this method is shown as a flowchart in FIG. In addition, the steps ST401 to ST405 in FIG.
Since the processing is the same as that of 101 to step ST105, description thereof will be omitted here.

【0023】ステップST406では、全てのブロック
の画質劣化パラメータDがしきい値T1 以下であるかど
うかを判定する。もしそうであれば、所望の画質が得ら
れたと見なし、一連の画像色圧縮処理を終了する。ま
た、一つでもしきい値T1 を超えるブロックがあれば次
のステップST407へ進み、処理を続ける。ここでは
前記の例と同様に、画質劣化パラメータDとして標準偏
差を、しきい値T1 として8.0を用いている。
In step ST406, it is determined whether the image quality deterioration parameter D of all blocks is equal to or less than the threshold value T 1 . If so, it is considered that the desired image quality has been obtained, and the series of image color compression processing ends. If at least one block exceeds the threshold value T 1 , the process proceeds to the next step ST407 and the process is continued. Here, as in the above example, the standard deviation is used as the image quality deterioration parameter D and 8.0 is used as the threshold value T 1 .

【0024】ステップST407では、しきい値T1
りも小さい重み付きしきい値T2 (例えば7.0)を超
えるブロックを検索し、このT2 を超えるブロックのみ
を対象として、そのブロックの画質劣化パラメータDか
ら重み付きしきい値T2 を減じた値を元に、色データの
出現頻度を加算する。そして、ステップST403へ戻
り、色圧縮処理を繰り返す。
In step ST407, a block exceeding a weighted threshold value T 2 (for example, 7.0) smaller than the threshold value T 1 is searched, and only the block exceeding this T 2 is targeted, and the image quality of the block is searched. The appearance frequency of the color data is added based on the value obtained by subtracting the weighted threshold value T 2 from the deterioration parameter D. Then, the process returns to step ST403 and the color compression process is repeated.

【0025】ここで以上の各実施例では、画質劣化の度
合を求めるパラメータとして標準偏差や不連続性評価値
を挙げたが、この他にも肌色データの含有率をパラメー
タとすることができる。人間が画質を判断する場合に
は、社会生活で最も見なれている肌色の評価が大きく影
響する。従って、肌色データの劣化が画像の一部分に遍
在して現れる偽輪郭は、色圧縮画像の画質評価を大きく
落とす原因であり、一定画素数以上の肌色データを含有
するブロックに対して重み付けを行うことで目につく偽
輪郭を除去できる。
In each of the above embodiments, the standard deviation and the discontinuity evaluation value are given as parameters for obtaining the degree of image quality deterioration, but the content rate of skin color data may be used as a parameter. When humans judge image quality, the evaluation of skin color, which is most regarded in social life, has a great influence. Therefore, the false contour in which the deterioration of the skin color data appears ubiquitously in a part of the image causes the image quality evaluation of the color compressed image to be greatly deteriorated, and the block including the skin color data of a certain number of pixels or more is weighted. This makes it possible to remove the false contours that are noticeable.

【0026】なお、以上の各実施例において、原画像を
R,G,B各8ビットとして説明したが、このビット数
は8ビット以外の場合でも本発明が適用できることは自
明であり、また、代表色も256色に限定されるもので
はない。さらに、前記各実施例ではRGB空間について
説明したが、各画素について色情報を持つ空間であれ
ば、YUV空間やHLS空間などで表現される原画像に
対しても本発明による色圧縮を行うことができる。
In each of the above embodiments, the original image is described as 8 bits for each of R, G, and B, but it is obvious that the present invention can be applied even when the number of bits is other than 8 bits. The representative color is not limited to 256 colors. Furthermore, although the RGB space has been described in each of the above-described embodiments, the color compression according to the present invention may be performed on an original image represented in a YUV space or an HLS space as long as the space has color information for each pixel. You can

【0027】[0027]

【発明の効果】以上のように本発明によれば、画像の一
部分に遍在する偽輪郭の評価及び除去を自動的に行うこ
とができ、画像色圧縮に必要とする時間が短縮される。
As described above, according to the present invention, it is possible to automatically evaluate and remove false contours existing in a part of an image, and reduce the time required for image color compression.

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

【図1】本発明の1実施例による画像色圧縮方法の処理
手順を示すフローチャート図である。
FIG. 1 is a flowchart showing a processing procedure of an image color compression method according to an embodiment of the present invention.

【図2】原画像とその色圧縮画像の1例を示す説明図で
ある。
FIG. 2 is an explanatory diagram showing an example of an original image and its color-compressed image.

【図3】本発明の1実施例による色圧縮画像のブロック
分割例と各ブロックの画質評価データ例とを示す説明図
である。
FIG. 3 is an explanatory diagram showing an example of block division of a color compressed image and an example of image quality evaluation data of each block according to an embodiment of the present invention.

【図4】本発明の他の実施例による画像色圧縮方法の処
理手順を示すフローチャート図である。
FIG. 4 is a flowchart showing a processing procedure of an image color compression method according to another embodiment of the present invention.

【図5】従来の画質評価手法を示す説明図である。FIG. 5 is an explanatory diagram showing a conventional image quality evaluation method.

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

201 色圧縮画像に現れた偽輪郭 301 偽輪郭を含むブロック 501 偽輪郭を指定するカーソル 201 False contour appearing in color compressed image 301 Block including false contour 501 Cursor for designating false contour

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G09G 5/06 9175−5G 5/36 9177−5G H04N 1/40 D 9068−5C 1/46 9068−5C (72)発明者 伊藤 保 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所映像メディア研究所内 (72)発明者 竹内 崇 神奈川県横浜市戸塚区吉田町292番地 株 式会社日立製作所映像メディア研究所内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI Technical display location G09G 5/06 9175-5G 5/36 9177-5G H04N 1/40 D 9068-5C 1/46 9068 -5C (72) Inventor, Ho Ho Ito, 292 Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Pref., Institute of Visual Media, Hitachi, Ltd. (72) Inventor, Takashi Takeuchi, 292, Yoshida-cho, Totsuka-ku, Yokohama, Kanagawa Prefecture Hitachi, Ltd. Visual Media Research Center

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 3次元色空間内における原画像の各画素
の色データ出現頻度数分布を求め、出現頻度の多い色デ
ータを抽出して特定個数の代表色データを決定し、前記
原画像の各画素の色データを、前記代表色データの代表
色番号に置き換えて得る画像コードデータを作成する画
像色圧縮方法において、 前記代表色データと前記画像コードデータから成る色圧
縮画像を作成して、該色圧縮画像データを複数のブロッ
クに分割し、 該各ブロックにおいて前記原画像と前記色圧縮画像の色
データを比較して画質の劣化の程度を求め、 各ブロックに対し画質劣化の程度に応じて色データの出
現頻度数に重み付けを行って、再度前記代表色データを
決定し、 前記した各ブロック毎の画質評価と重み付けとを、所望
の画質劣化に収束するまでもしくは予め定められた所定
回数だけ繰り返し、前記原画像の色圧縮を行うことを特
徴とする画像色圧縮方法。
1. A color data appearance frequency distribution of each pixel of an original image in a three-dimensional color space is obtained, color data having a high appearance frequency is extracted to determine a specific number of representative color data, and the original image of the original image is extracted. In the image color compression method for creating the image code data obtained by replacing the color data of each pixel with the representative color number of the representative color data, creating a color compressed image composed of the representative color data and the image code data, The color compressed image data is divided into a plurality of blocks, the color data of the original image and the color data of the color compressed image are compared in each block to obtain the degree of image quality deterioration, and the degree of image quality deterioration is determined for each block. The appearance frequency number of the color data is weighted, the representative color data is determined again, and the image quality evaluation and weighting for each block described above are performed until convergence to a desired image quality deterioration or Repeating a predetermined number of times that is determined because the image color compression method, which comprises carrying out color compression of the original image.
【請求項2】 請求項1記載において、前記各ブロック
における前記原画像と前記色圧縮画像の色データを比較
し、画質劣化の大きいブロックに対しては色データの出
現頻度数に大きい重みを付け、画質劣化の小さいブロッ
クに対しては色データの出現頻度数に小さい重みを付け
ることを特徴とする画像色圧縮方法。
2. The color data according to claim 1, wherein the color data of the original image and the color data of the color compressed image in each block are compared, and the frequency of appearance of the color data is heavily weighted for a block having a large image quality deterioration. An image color compression method characterized by assigning a small weight to the frequency of appearance of color data for blocks with little image quality deterioration.
【請求項3】 請求項1記載において、前記各ブロック
における前記原画像と前記色圧縮画像の色データを比較
し、特定のしきい値を超えるブロックに対してのみ、色
データの出現頻度数に重み付けを行うことを特徴とする
画像色圧縮方法。
3. The color data according to claim 1, wherein the color data of the original image and the color data of the color compressed image in each of the blocks are compared, and the frequency of appearance of the color data is set only for a block exceeding a specific threshold value. An image color compression method characterized by weighting.
【請求項4】 請求項1記載において、前記各ブロック
における画質劣化の程度を求める過程で、ブロック内に
占める肌色の画素数が特定の個数を超える場合には、該
ブロックの色データの出現頻度数に重み付けを行うこと
を特徴とする画像色圧縮方法。
4. The frequency of appearance of color data of a block according to claim 1, when the number of pixels of skin color in a block exceeds a specific number in the process of obtaining the degree of image quality deterioration in each block. An image color compression method characterized by weighting numbers.
JP4011102A 1992-01-24 1992-01-24 Image color compressing method Pending JPH05205044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4011102A JPH05205044A (en) 1992-01-24 1992-01-24 Image color compressing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4011102A JPH05205044A (en) 1992-01-24 1992-01-24 Image color compressing method

Publications (1)

Publication Number Publication Date
JPH05205044A true JPH05205044A (en) 1993-08-13

Family

ID=11768652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4011102A Pending JPH05205044A (en) 1992-01-24 1992-01-24 Image color compressing method

Country Status (1)

Country Link
JP (1) JPH05205044A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011077580A (en) * 2009-09-29 2011-04-14 Konica Minolta Business Technologies Inc Image processor, image processing method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011077580A (en) * 2009-09-29 2011-04-14 Konica Minolta Business Technologies Inc Image processor, image processing method, and program

Similar Documents

Publication Publication Date Title
US7812993B2 (en) Lossy method for compressing images and video
US5905579A (en) Image processing method and apparatus which separates an input image into character and non-character areas
US5093872A (en) Electronic image compression method and apparatus using interlocking digitate geometric sub-areas to improve the quality of reconstructed images
US6836564B2 (en) Image data compressing method and apparatus which compress image data separately by modifying color
JP3095804B2 (en) Image data transmission apparatus and image data transmission method
JP3915272B2 (en) Quantization method and recording medium recording quantization program
US5237397A (en) Color video data processing
JP5151708B2 (en) Image processing apparatus and image processing program
US7164499B1 (en) Block quantization method for color halftoning
JPH0630308A (en) Picture data processing unit
JPH05205044A (en) Image color compressing method
JPH0722343B2 (en) Image data compression device
CN113347437B (en) Encoding method, encoder, decoder and storage medium based on string prediction
JPH05176173A (en) Picture data compression method
JPH11331615A (en) Image compression device
JPH05176179A (en) Method and device for estimating picture data subject to compression/expansion processing
JP2005080289A (en) Chrominance smoothing
JPH06149990A (en) Image compressing method and image processing device
JPH0537775A (en) Pseudo intermediate tone processing method and its device
JP2559726B2 (en) Color image processor
JPH10243227A (en) Dot area detecting method
JP2777378B2 (en) Halftone area detection method
JP3004244B2 (en) Area separation device
JP3501151B2 (en) Image processing apparatus, image processing method, medium recording image processing control program
JP2972171B2 (en) Halftone area detection method