JPH06162207A - Color image display method - Google Patents

Color image display method

Info

Publication number
JPH06162207A
JPH06162207A JP4318690A JP31869092A JPH06162207A JP H06162207 A JPH06162207 A JP H06162207A JP 4318690 A JP4318690 A JP 4318690A JP 31869092 A JP31869092 A JP 31869092A JP H06162207 A JPH06162207 A JP H06162207A
Authority
JP
Japan
Prior art keywords
face
color
area
image
face area
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
JP4318690A
Other languages
Japanese (ja)
Inventor
Shigeru Fukunaga
茂 福永
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP4318690A priority Critical patent/JPH06162207A/en
Publication of JPH06162207A publication Critical patent/JPH06162207A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress deterioration of the picture quality of a face by displaying the respective areas in color by referring to a look-up table generated by determining a ratio of the number of colors allocated to a face area and an area except a face, extracted from an original image. CONSTITUTION:A face area extracting means 6 extracts a face area of a person from an original image, and a color number distributing means 7 calculates the number of colors allocated to a face area and other area. A face area limited color display means 8 allocates this distributed number of colors to face area data, prepares a look-up table (LUT) of the face area, and also, converts picture element data to color number data. An other area limited color display means 9 allocates the distributed number of colors to the area except a face, prepares an LUT of the whole image by adding color registration to face area LUT data and supplies it to the LUT 3. Subsequently, by an image synthesizing means 10, the data is converted by the LUT 3 to an RGB signal corresponding to a color number synthesized with regard to the face area and the area except the face, and after the D/A conversion, the corresponding color is displayed by a CRT 5.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ルックアップテ−ブル
を用いたカラ−画像表示方法、特に人物の顔を含むカラ
−画像を表示する方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color image display method using a look-up table, and more particularly to a method for displaying a color image including a human face.

【0002】[0002]

【従来の技術】近年、多くの分野で画像処理技術が用い
られ、パ−ソナルコンピュ−タやワ−クステ−ション上
でカラ−画像を表示する技術が重要になってきている。
通常の自然画像は数万から数千万色の色を有している
が、これらの色を全て表示するには多くのフレ−ムバッ
ファを必要とし、パ−ソナルコンピュ−タやワ−クステ
−ション等の装置の規模が大きくなる。従って、一般の
ワ−クステ−ション等は、フレ−ムバッファのメモリ容
量の制限から、表示できる色数を8〜256色程度に限
定しているが、ルックアップテ−ブル(LUT)方式を
用いることによって、表示色の選択に自由度を与えてい
る。LUT方式では、原画像の色と限定された表示色の
対応を登録したLUTに従って画像を表示する。そこ
で、どのような表示色をLUTに登録するかが、色調再
現の鍵となるが、このLUT作成のアルゴリズムを限定
色表示手法という。
2. Description of the Related Art In recent years, image processing technology has been used in many fields, and technology for displaying a color image on a personal computer or a workstation has become important.
A normal natural image has tens of thousands to tens of millions of colors, but a large number of frame buffers are required to display all these colors, and a personal computer or a work station is required. The size of the device such as an option increases. Therefore, in general workstations and the like, the number of colors that can be displayed is limited to about 8 to 256 colors due to the limitation of the memory capacity of the frame buffer, but the look-up table (LUT) method is used. As a result, the degree of freedom in selecting the display color is given. In the LUT method, the image is displayed according to the LUT in which the correspondence between the original image color and the limited display color is registered. Therefore, what kind of display color is registered in the LUT is the key to color tone reproduction, and the algorithm for creating this LUT is called the limited color display method.

【0003】限定色表示手法については、「画像解析ハ
ンドブック」(東京大学出版会、第505頁〜516頁
1991年1月17日、初版、監修 高木幹雄、下田
陽久)に記載されている通り、従来からポピュラリティ
アルゴリズム(Popularity Algorithm)法やメディアン
カットアルゴリズム(median cut algorithm)法などさ
まざまな手法がある。これらの手法では、原画像の色分
布統計量を計算し、その統計に基づいてLUTを作成し
画像を表示している。
The limited color display method is as described in "Image Analysis Handbook" (The University of Tokyo Press, pp. 505 to 516, January 17, 1991, first edition, supervised by Mikio Takagi, Yohisa Shimoda). Conventionally, there are various methods such as the popularity algorithm (Popularity Algorithm) method and the median cut algorithm method. In these methods, the color distribution statistics of the original image are calculated, the LUT is created based on the statistics, and the image is displayed.

【0004】図2は従来手法によるカラ−画像表示シス
テムの一例であり、図中11は限定色表示手段、12は
フレ−ムバッファ、13はルックアップテ−ブル、14
a,14b,14cはそれぞれR(赤色),G(緑
色),B(青色)のD/A(ディジタル/アナログ)変
換器、15はCRTディスプレイを示す。限定色表示手
段11では、入力されたR,G,B各8ビット、計24
ビットの画像デ−タを3〜8ビットの色番号デ−タに変
換し、フレ−ムバッファ12に供給する。また、各色番
号と表示色(RGB)の対応したLUTデ−タを作成
し、LUT13に供給する。各画素デ−タはLUT13
によってR,G,B信号に変換され、それぞれD/A変
換器14でアナログ信号に変換された後、CRT15へ
供給され対応する色を表示する。
FIG. 2 shows an example of a conventional color image display system. In the figure, 11 is a limited color display means, 12 is a frame buffer, 13 is a lookup table, and 14 is a look-up table.
Reference numerals a, 14b and 14c denote R (red), G (green) and B (blue) D / A (digital / analog) converters, and 15 denotes a CRT display. The limited color display means 11 has 8 bits for each of R, G, and B, which is 24 in total.
The bit image data is converted into color number data of 3 to 8 bits and supplied to the frame buffer 12. Also, LUT data corresponding to each color number and display color (RGB) is created and supplied to the LUT 13. Each pixel data is LUT13
Are converted into R, G and B signals by the D / A converter 14 and converted into analog signals by the D / A converter 14, and then supplied to the CRT 15 to display corresponding colors.

【0005】[0005]

【発明が解決しようとする課題】従来の限定色表示方法
では画像全体の色分布統計から限定色を選定するので、
全体的に見た色調再現はかなり良いが、頻度の低い色は
原画像とかなり異なる色で表示されることが多いので、
細部での色調がうまく再現されない。一般の画像では、
このことによる画質劣化はあまり目立たないが、人物の
顔を含む画像の場合、顔色がきれいに見えないと、他の
部分がうまく再現されていても画像全体から受ける印象
はかなり低いものとなる。特に、唇の色などは統計頻度
がわずかであるので、従来の手法では最適な色を割り当
てることは少ない。
In the conventional limited color display method, the limited color is selected from the color distribution statistics of the entire image.
The overall tone reproduction is quite good, but infrequent colors are often displayed in colors that are quite different from the original image, so
The color tones in the details are not reproduced well. In the general image,
Although the image quality deterioration due to this is not so conspicuous, in the case of an image including a person's face, if the complexion does not look beautiful, even if other parts are reproduced well, the impression received from the entire image is quite low. In particular, since the frequency of statistics such as the color of the lips is small, the conventional method rarely allocates the optimum color.

【0006】本発明は、画像中の人物の顔の領域と顔以
外の領域に割り当てる色数の割合を当を決め、さらに人
物の顔に多くの色を割り当てることにより、顔の画質劣
化を最小限に抑えたカラ−画像表示システムを提供する
ことを目的とする。
The present invention determines the ratio of the number of colors to be allocated to the human face area and the non-face area in the image, and further allocates many colors to the human face to minimize deterioration of the image quality of the face. It is an object of the present invention to provide a color image display system which is suppressed to the limit.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明のカラ−画像表示方法は、ルックアップテ−
ブルを参照しカラ−画像を表示する方法において、原画
像から人物の顔の領域を抽出し、抽出した顔領域と顔以
外の領域に割り当てる色数の割合を決定し、割り当てた
色数に限定し顔領域と顔以外の領域のルックアップテ−
ブルを作成し、該ルックアップテ−ブルを参照し、顔領
域と顔以外の領域の画像をカラ−表示している。さら
に、人物の顔領域に顔以外の領域よりも多くの色を割り
当てている。
In order to achieve the above object, the color image display method of the present invention comprises a lookup table.
In the method of displaying a color image with reference to a bull, the area of the human face is extracted from the original image, the ratio of the number of colors to be allocated to the extracted face area and the area other than the face is determined, and the number of colors is limited Look-up table for face area and non-face area
The look-up table is referred to, and the images of the face area and the area other than the face are color-displayed. Further, more colors are assigned to the face area of the person than the areas other than the face.

【0008】[0008]

【作用】本発明によれば、以上のようにカラ−画像表示
方法を構成したので、顔の画質劣化を最小限に抑えたカ
ラ−画像が得られる。従って前記課題を解決できるので
ある。
According to the present invention, since the color image display method is configured as described above, it is possible to obtain a color image in which deterioration of the image quality of the face is minimized. Therefore, the above problem can be solved.

【0009】[0009]

【実施例】図1は本発明のカラ−画像表示方法の一実施
例を示すフロ−チャ−トである。図1において、まず、
画像デ−タを入力し(S1)、人物画像かどうかを調べ
る(S2)。人物画像の場合は、画像から顔領域を抽出
し(S3)、抽出領域の大きさに従って顔領域に配分す
る色数を決定する(S4)。次に顔領域に対してS4で
配分された色数に対応したLUTを作成し(S5)、さ
らに顔以外の領域に対し残りの色数に対応したLUTを
作成する(S6)。S2において、人物画像でない場合
はS3〜S5の処理を行わずに、画像の全領域に対して
LUTを作成する(S6)。次に、LUTに従って入力
画像デ−タをRGB信号に変換し(S7)、さらに各R
GB信号をアナログ信号へ変換した後(S8)、ディス
プレイへ表示する(S9)。
1 is a flow chart showing an embodiment of a color image display method of the present invention. In FIG. 1, first,
Image data is input (S1), and it is checked whether it is a person image (S2). In the case of a person image, a face area is extracted from the image (S3), and the number of colors to be distributed to the face area is determined according to the size of the extracted area (S4). Next, an LUT corresponding to the number of colors distributed in S4 is created for the face area (S5), and an LUT corresponding to the remaining number of colors is created for the area other than the face (S6). If the image is not a person image in S2, the LUT is created for the entire area of the image without performing the processes of S3 to S5 (S6). Next, the input image data is converted into RGB signals according to the LUT (S7), and each R
After converting the GB signal into an analog signal (S8), it is displayed on the display (S9).

【0010】図3は本発明に係るカラ−画像表示システ
ムの一実施例を示す図である。図3中において、1は人
物顔重視限定色表示手段、2はフレ−ムバッファ、3は
ルックアップテ−ブル、4a,4b,4cはそれぞれR
GBのD/A(ディジタル/アナログ)変換器、5はC
RT、6は顔領域抽出手段、7は色数配分手段、8は顔
領域限定色表示手段、9は他領域限定色表示手段、10
は画像合成手段である。人物顔重視限定色表示手段1は
人物の顔に多くの色を割り当てる限定色手段であり、顔
領域抽出手段6は、原画像から人物の顔領域の抽出を行
う手段である。顔領域の抽出は、例えば、エッジ抽出手
法やSNAKE法などにより実現できる。また、顔領域
の位置座標と大きさを入力したり、CRT画面上でマウ
ス等を用いて領域指定をする簡単な方法でも実現可能で
ある。顔領域抽出手段6では、顔領域抽出後、画像デ−
タを顔領域のデ−タと他の領域のデ−タに分割し、それ
ぞれ、顔領域限定色表示手段8、他領域限定色表示手段
9へ供給する。また、原画像と顔領域の位置デ−タを画
像合成手段10へ供給する。
FIG. 3 is a diagram showing an embodiment of a color image display system according to the present invention. In FIG. 3, 1 is a face color limited color display means, 2 is a frame buffer, 3 is a lookup table, 4a, 4b and 4c are R respectively.
GB D / A (digital / analog) converter, 5 is C
RT, 6 is a face area extraction means, 7 is a color number distribution means, 8 is a face area limited color display means, 9 is another area limited color display means, 10
Is an image synthesizing means. The person-face-oriented limited color display means 1 is a limited color means that assigns many colors to a person's face, and the face area extraction means 6 is means for extracting a person's face area from an original image. The face area can be extracted by, for example, an edge extraction method or a SNAKE method. It can also be realized by a simple method of inputting the position coordinates and size of the face area, or specifying the area using a mouse or the like on the CRT screen. The face area extracting means 6 extracts the image data after extracting the face area.
The data is divided into the data of the face area and the data of the other area, and supplied to the face area limited color display means 8 and the other area limited color display means 9, respectively. Further, the position data of the original image and the face area are supplied to the image synthesizing means 10.

【0011】色数配分手段7は、該顔領域抽出手段6に
よって供給された原画像と顔領域の大きさのデ−タか
ら、顔領域とその他の領域に何色ずつ色を割り当てるか
を算出する手段である。色数配分は、例えば、次式
(1)に示すように、原画像と抽出画像の面積の割合い
に比例して色数を配分するという簡単な方法でも実現可
能である。算出した色数デ−タは顔領域限定色表示手段
8、他領域限定色表示手段9へそれぞれ供給する。
The color number allocating means 7 calculates how many colors are to be allocated to the face area and other areas from the data of the original image and the size of the face area supplied by the face area extracting means 6. Is a means to do. The distribution of the number of colors can also be realized by a simple method of distributing the number of colors in proportion to the ratio of the area of the original image to the area of the extracted image, as shown in the following expression (1). The calculated color number data is supplied to the face area limited color display means 8 and the other area limited color display means 9, respectively.

【0012】[0012]

【数1】 [Equation 1]

【0013】顔領域限定色表示手段8は、該顔領域抽出
手段6によって供給された顔領域デ−タに対して、該色
数配分手段7によって配分された色数を割り当て、顔領
域のLUTを作成する。作成された顔領域LUTデ−タ
は他領域限定色表示手段9へ供給する。また、画素デ−
タはLUTに登録された色番号デ−タに変換し、画像合
成手段10へ供給する。他領域限定色表示手段9は、該
顔領域抽出手段6によって供給された顔以外の領域に対
して、該色数配分手段7によって配分された色数を割り
当て、該顔領域限定色表示手段8によって作成された顔
領域LUTデ−タに色登録を付加して画像全体のLUT
を作成する。作成されたLUTデ−タは図3中のLUT
3へ供給する。また、画素デ−タはLUTに登録された
色番号デ−タに変換し、画像合成手段10へ供給する。
画像合成手段10は該顔領域限定色表示手段8と該他領
域限定色表示手段9から供給された色番号デ−タを、該
顔領域抽出素段6によって供給された顔領域位置デ−タ
に従って合成する手段である。合成された画像の色番号
デ−タは図3中のフレ−ムバッファ2へ供給される。
The face area limited color display means 8 allocates the number of colors distributed by the color number distribution means 7 to the face area data supplied by the face area extraction means 6, and the face area LUT. To create. The created face area LUT data is supplied to the other area limited color display means 9. Also, the pixel data
The data is converted into color number data registered in the LUT and supplied to the image synthesizing means 10. The other area limited color display means 9 allocates the number of colors distributed by the color number distribution means 7 to the area other than the face supplied by the face area extraction means 6, and the face area limited color display means 8 LUT for the entire image by adding color registration to the face area LUT data created by
To create. The created LUT data is the LUT in FIG.
Supply to 3. Further, the pixel data is converted into color number data registered in the LUT and supplied to the image synthesizing means 10.
The image composition means 10 uses the color number data supplied from the face area limited color display means 8 and the other area limited color display means 9 as the face area position data supplied by the face area extraction element stage 6. It is a means of synthesizing according to. The color number data of the combined image is supplied to the frame buffer 2 in FIG.

【0014】以上述べた人物顔領域重視限定色表示手段
1により、入力された24ビットの画像デ−タは、3〜
8ビットの色番号デ−タに変換され、フレ−ムバッファ
2に供給される。次に、LUT3において色番号に対応
するRGB信号に変換され、それぞれD/A変換器4で
アナログ信号に変換された後、CRT5へ供給され対応
する色を表示する。
The 24-bit image data input by the human face area-emphasized limited color display means 1 described above is 3 to
It is converted into 8-bit color number data and supplied to the frame buffer 2. Next, it is converted into RGB signals corresponding to the color numbers in the LUT 3, converted into analog signals in the D / A converter 4, and then supplied to the CRT 5 to display the corresponding colors.

【0015】入力画像に顔が含まれていない場合、該顔
画像抽出手段6によって顔領域抽出時に人物画像ではな
いと判断し、該色数配分手段7に顔領域の大きさが0と
いうデ−タを供給し、全画像デ−タを他領域デ−タとし
て他領域限定色表示手段9へ供給する。次に、該色数配
分手段7によって顔領域の色配分を0とし、全限定色数
を他領域へ割り当てることで、全画像が従来の手法と同
様に均一に色割当される。
When the input image does not include a face, the face image extraction means 6 determines that the face area is not a human image and the color number distribution means 7 determines that the size of the face area is 0. All image data is supplied to the other area limited color display means 9 as the other area data. Next, the color number allocating means 7 sets the color distribution of the face area to 0 and allocates all the limited number of colors to other areas, so that the entire image is uniformly color-allocated as in the conventional method.

【0016】[0016]

【発明の効果】本発明によれば、入力画像が人物画像の
場合は、顔に多くの色を割り当てているので、顔の画質
劣化が最小限に抑えられ、色調再現が向上する。原画像
と限定色画像のSN比を顔領域で比較してみると、従来
手法(メディアンカットアルゴリズム)の場合、約20
〜25dBであるが、本発明を用いると約35〜40d
Bとなり、色調再現が向上する。
According to the present invention, when the input image is a human image, many colors are assigned to the face, so that the deterioration of the image quality of the face is minimized and the color tone reproduction is improved. When comparing the SN ratios of the original image and the limited color image in the face area, it is about 20 in the case of the conventional method (median cut algorithm).
~ 25 dB, but with the present invention about 35-40 d
B, the color reproduction is improved.

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

【図1】本発明のカラ−画像表示方法の一実施例を示す
図である。
FIG. 1 is a diagram showing an embodiment of a color image display method of the present invention.

【図2】従来のカラ−画像表示方法を示す図である。FIG. 2 is a diagram showing a conventional color image display method.

【図3】本発明のカラ−画像表示方法の一実施例を示す
システム構成図である。
FIG. 3 is a system configuration diagram showing an embodiment of a color image display method of the present invention.

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

S1 画像デ−タ入力 S2 画像の判別 S3 顔領域抽出 S4 顔領域の色数決定 S5 顔領域のLUT作成 S6 全領域のLUT作成 S7 RGB信号作成 S1 Image data input S2 Image discrimination S3 Face area extraction S4 Face area color number determination S5 Face area LUT creation S6 Whole area LUT creation S7 RGB signal creation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 色デ−タを格納したルックアップテ−ブ
ルを参照しカラ−画像を表示する方法において、 原画像から該原画像中の人物の顔の領域を抽出し、 該抽出した顔領域と顔以外の領域に割り当てる色数の割
合を決定し、 該割り当てた色数に限定し前記顔領域と顔以外の領域の
ルックアップテ−ブルを作成し、 該ルックアップテ−ブルを参照し、顔領域と顔以外の領
域の画像をカラー表示することを特徴とするカラー画像
表示方法。
1. A method of displaying a color image by referring to a lookup table storing color data, wherein a face area of a person in the original image is extracted from the original image, and the extracted face is extracted. The ratio of the number of colors assigned to the area other than the area and the face is determined, the look-up table of the face area and the area other than the face is created by limiting the assigned number of colors, and the look-up table is referred to. Then, the color image display method is characterized in that the image of the face region and the image of the region other than the face are displayed in color.
【請求項2】 色デ−タを格納したルックアップテーブ
ルを参照しカラ−画像を表示する方法において、 人物の顔領域に顔以外の領域よりも多くの色を割り当て
ることを特徴とする請求項1記載のカラ−画像表示方
法。
2. A method of displaying a color image by referring to a look-up table storing color data, wherein more colors are assigned to a human face area than to a non-face area. The color image display method described in 1.
JP4318690A 1992-11-27 1992-11-27 Color image display method Pending JPH06162207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4318690A JPH06162207A (en) 1992-11-27 1992-11-27 Color image display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4318690A JPH06162207A (en) 1992-11-27 1992-11-27 Color image display method

Publications (1)

Publication Number Publication Date
JPH06162207A true JPH06162207A (en) 1994-06-10

Family

ID=18101930

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4318690A Pending JPH06162207A (en) 1992-11-27 1992-11-27 Color image display method

Country Status (1)

Country Link
JP (1) JPH06162207A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243628A (en) * 2006-03-09 2007-09-20 Seiko Epson Corp Correction of color in image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007243628A (en) * 2006-03-09 2007-09-20 Seiko Epson Corp Correction of color in image data

Similar Documents

Publication Publication Date Title
US5124688A (en) Method and apparatus for converting digital YUV video signals to RGB video signals
US5204665A (en) Color editing with simple encoded images
US6343147B2 (en) Print preview and setting background color in accordance with a gamma value, color temperature and illumination types
WO1993013489A1 (en) An anti-aliasing method for polynomial curves using integer arithmetics
JPH06282640A (en) Operating method of personal computer system and personal computer system
JPH06333039A (en) Method and device for airbrushing
US5889527A (en) Image-processing apparatus for displaying overlapped images and an image-processing method therein
US6259439B1 (en) Color lookup table blending
JPH08147453A (en) Method and device for look-up table generation
JPH06162207A (en) Color image display method
JPH04190466A (en) Limited color representation device for color image
EP1036375B1 (en) Video processing in pc uses statistically tuned color cube
JP2000310987A (en) Picture display device
US20060114352A1 (en) Picture output apparatus and picture output method
JPH1074248A (en) Color reduction device and color reduction method
JPH0571099B2 (en)
JPH0778237A (en) Color image display method
JP3215156B2 (en) Color image processing method
JPH09204171A (en) Graphic data generating method and graphic controller
JPH08331373A (en) Color image reduction device and color image reduction method
JPH0887258A (en) Color image display method
JP2981292B2 (en) Image display method and apparatus
JPH06180573A (en) Image forming method
JPH05290133A (en) Color image processor
JP2605736B2 (en) Color data compression method