JPH0918727A - Color reproducing processor - Google Patents

Color reproducing processor

Info

Publication number
JPH0918727A
JPH0918727A JP7160682A JP16068295A JPH0918727A JP H0918727 A JPH0918727 A JP H0918727A JP 7160682 A JP7160682 A JP 7160682A JP 16068295 A JP16068295 A JP 16068295A JP H0918727 A JPH0918727 A JP H0918727A
Authority
JP
Japan
Prior art keywords
color
input
color reproduction
lightness
saturation
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
JP7160682A
Other languages
Japanese (ja)
Inventor
Koichi Narahara
孝一 楢原
Toshio Shirasawa
寿夫 白沢
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP7160682A priority Critical patent/JPH0918727A/en
Publication of JPH0918727A publication Critical patent/JPH0918727A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Ink Jet (AREA)
  • Color, Gradation (AREA)
  • Fax Reproducing Arrangements (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE: To form an output image where a color change is unremarkable from an image including a high saturation color and to generate an output image in which deformed gradation or skipped gradation is not caused. CONSTITUTION: After color image information in a frame memory 1 is received by a CPU 4 via an external interface 3, conversion circuits 5, 6 convert an RGB signal into an LCH (brightness, saturation, hue) signal. The LCH signal is converted into an LCH signal within a color reproducing range of an output system with a color conversion processing circuit 7 and then converted into a CMY signal for a printer.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、入力装置の色再現範囲
と出力装置の色再現範囲が異なる場合に、入力系カラー
画像情報を出力系の色再現範囲内のカラー画像情報に写
像する色再現処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a color for mapping input system color image information to color image information within the output system color reproduction range when the input device color reproduction range and the output device color reproduction range are different. The present invention relates to a reproduction processing device.

【0002】[0002]

【従来の技術】入力系の装置としてカラーCRT、出力
系の装置としてカラーインクジェットプリンタを用いる
場合を例にして、従来の色再現処理方法を説明する。
2. Description of the Related Art A conventional color reproduction processing method will be described by taking a case where a color CRT is used as an input system device and a color inkjet printer is used as an output system device as an example.

【0003】一般にこれらの入出力装置は、入力系の色
再現範囲と出力系の色再現範囲は異なり、これを図14
で説明する。図14は、各入出力装置において、色相が
赤色のときの色再現範囲を示したものであり、縦軸は明
度、横軸は彩度を表す。図14の明度軸と折線に囲まれ
る領域はカラーCRTの色再現範囲であり、点線折線に
囲まれる領域はインクジェットの色再現範囲である。
Generally, these input / output devices are different in the color reproduction range of the input system and the color reproduction range of the output system.
Will be described. FIG. 14 shows the color reproduction range when the hue is red in each input / output device, in which the vertical axis represents lightness and the horizontal axis represents saturation. The area surrounded by the lightness axis and the broken line in FIG. 14 is the color reproduction range of the color CRT, and the area surrounded by the broken line is the inkjet color reproduction range.

【0004】このように、カラーCRTの色再現域がイ
ンクジェットの色再現域よりも広いため、カラーCRT
上で表示可能な色であってもインクジェットでは出力で
きない色がある。そこで、カラーCRTの画像に対して
色再現処理を行い、インクジェットの色再現範囲内の色
に変換した後に、インクジェットで出力する方法が従来
から採られている。
As described above, since the color reproduction range of the color CRT is wider than that of the ink jet, the color CRT is
There are some colors that cannot be output by inkjet even if they are colors that can be displayed above. Therefore, conventionally, a method of performing color reproduction processing on a color CRT image, converting the color into a color within a color reproduction range of an inkjet, and then outputting with an inkjet has been adopted.

【0005】従来の色再現処理の技術としては、例え
ば、インクジェットで再現できない色を再現範囲内の色
に色変換を行う際に、写像方向の目標点を入力色の明度
に応じて切り替える色彩補正方式(第1の技術、特開昭
63−195777号公報を参照)、写像方向の目標点
を入力色の色相に応じて切り替える色補正処理装置(第
2の技術、特開平4−101566号公報を参照)、入
力色を出力系の色再現範囲内で最も色差の少ない色に写
像するカラー画像処理装置(第3の技術、特開平4−1
86969号公報を参照)が挙げられる。
As a conventional color reproduction technique, for example, when a color that cannot be reproduced by ink jet is converted into a color within a reproduction range, a color correction for switching a target point in the mapping direction according to the brightness of an input color. Method (first technique, see Japanese Patent Laid-Open No. 63-195777), a color correction processing device that switches the target point in the mapping direction according to the hue of the input color (second technique, Japanese Laid-Open Patent Publication No. 4-101566) Color image processing apparatus for mapping the input color to the color having the smallest color difference within the color reproduction range of the output system (third technique, Japanese Patent Laid-Open No. 4-1).
89669).

【0006】[0006]

【発明が解決しようとする課題】上記した第1、第2の
技術は、色再現処理における色変換写像の方向(目標
点)が、入力色の色相、明度に応じて切り替えられ、何
れの方式も明度方向の色変わりが比較的少ないという特
徴を持っている。
The first and second techniques described above are performed by either method in which the direction (target point) of the color conversion map in the color reproduction processing is switched according to the hue and lightness of the input color. Also has the characteristic that there is relatively little color change in the brightness direction.

【0007】しかしながら、上記した方式では、彩度方
向の色変わりが大きくなるため、コンピュータグラフィ
ック画像のような彩度の高い色を多く含んだ画像に対し
ては色変わりが目立つという問題がある。
However, in the above-mentioned method, the color change in the saturation direction becomes large, so that there is a problem that the color change is conspicuous for an image including many highly saturated colors such as a computer graphic image.

【0008】上記した第3の技術は、色再現処理におけ
る色変換写像が色再現範囲の形状に応じて最も色差の少
ない方向に写像方向が切り替わり、色再現処理前後の色
変わりが少ないという特徴を持っている。しかしなが
ら、この方式では、写像方向が出力系の色再現範囲の形
状に依存していて、写像方向の連続性が保たれない場合
が生じる。このような場合には、連続的に変化する入力
色が、色再現処理によって不連続な写像方向先の色に写
像されるため、階調の潰れや飛びといった画質の劣化を
生じる。
The above-mentioned third technique has a feature that the color conversion mapping in the color reproduction processing is switched to a direction having the smallest color difference according to the shape of the color reproduction range, and the color change before and after the color reproduction processing is small. ing. However, in this method, the mapping direction depends on the shape of the color reproduction range of the output system, and the continuity of the mapping direction may not be maintained. In such a case, the continuously changing input color is mapped to the color of the discontinuous mapping direction destination by the color reproduction processing, so that the deterioration of the image quality such as the gradation collapse and the jump occurs.

【0009】このように、従来の第1、第2の技術で
は、彩度方向の色変わりが大きいという欠点があり、第
3の技術では、階調の潰れや階調の飛びが生じるという
欠点がある。
As described above, the conventional first and second techniques have a drawback that the color change in the saturation direction is large, and the third technique has a drawback that the gradation is distorted or the gradation is skipped. is there.

【0010】本発明の目的は、高彩度の色を含んだ画像
に対して、色変わりの目立たない出力画像を生成すると
ともに、階調の潰れや階調の飛びが生じない出力画像を
生成する色再現処理装置を提供することにある。
It is an object of the present invention to produce an output image in which the color change is inconspicuous with respect to an image containing a highly saturated color, and to produce an output image in which the gradation is not collapsed or the gradation is not skipped. It is to provide a processing device.

【0011】[0011]

【課題を解決するための手段】前記目的を達成するため
に、請求項1記載の発明では、入力系カラー画像の色再
現範囲に対して出力系カラー画像の色再現範囲が異な
り、入力系カラー画像情報を出力系の色再現範囲内のカ
ラー画像情報に写像する色再現処理装置において、入力
色の内の少なくとも彩度を基に写像方向を決定する手段
と、該入力色を該決定された写像方向にある出力系の色
再現範囲内の色に変換する手段を備えたことを特徴とし
ている。
In order to achieve the above object, according to the invention of claim 1, the color gamut of the output color image is different from the color gamut of the input color image, and the input color In a color reproduction processing device for mapping image information onto color image information within a color reproduction range of an output system, means for determining a mapping direction based on at least saturation of input colors, and the input color being determined. It is characterized in that a means for converting into a color within the color reproduction range of the output system in the mapping direction is provided.

【0012】請求項2記載の発明では、前記写像方向
は、目標点で表すことを特徴としている。
According to a second aspect of the present invention, the mapping direction is represented by a target point.

【0013】請求項3記載の発明では、前記目標点の彩
度は、入力色の彩度に対して単調増加の関係にあること
を特徴としている。
According to a third aspect of the present invention, the saturation of the target point has a monotonically increasing relationship with the saturation of the input color.

【0014】請求項4記載の発明では、前記入力色の彩
度が入力系の色再現範囲の最大彩度であるとき、前記目
標点の彩度は出力系の色再現範囲の最大彩度であること
を特徴としている。
According to a fourth aspect of the invention, when the saturation of the input color is the maximum saturation of the color reproduction range of the input system, the saturation of the target point is the maximum saturation of the color reproduction range of the output system. It is characterized by being.

【0015】請求項5記載の発明では、前記目標点の明
度は、入力色の色相における出力系の色再現範囲の最大
彩度点の明度と等しいことを特徴としている。
According to a fifth aspect of the invention, the lightness of the target point is equal to the lightness of the maximum saturation point in the color reproduction range of the output system in the hue of the input color.

【0016】請求項6記載の発明では、前記目標点の明
度は、入力色の明度に対して単調増加の関係にあること
を特徴としている。
According to a sixth aspect of the invention, the lightness of the target point has a monotonically increasing relationship with the lightness of the input color.

【0017】請求項7記載の発明では、前記入力色の明
度が入力系の色再現範囲の最大明度であるとき、前記目
標点の明度は出力系の色再現範囲の最大明度であること
を特徴としている。
According to a seventh aspect of the invention, when the lightness of the input color is the maximum lightness of the color reproduction range of the input system, the lightness of the target point is the maximum lightness of the color reproduction range of the output system. I am trying.

【0018】請求項8記載の発明では、前記入力色の明
度が入力系の色再現範囲の最小明度であるとき、前記目
標点の明度は出力系の色再現範囲の最小明度であること
を特徴としている。
According to an eighth aspect of the invention, when the lightness of the input color is the minimum lightness of the color reproduction range of the input system, the lightness of the target point is the minimum lightness of the color reproduction range of the output system. I am trying.

【0019】請求項9記載の発明では、前記写像方向決
定手段は、入力色をアドレスとして、該入力色に対応し
た写像方向を出力する記憶手段であることを特徴として
いる。
According to a ninth aspect of the present invention, the mapping direction determining means is a storage means that outputs the mapping direction corresponding to the input color using the input color as an address.

【0020】[0020]

【作用】入力されたRGB信号をLAB信号に変換し、
このLAB信号をLCH信号に変換する。変換されたL
CH信号を出力系の色再現範囲内に写像した後、LAB
信号に変換し、出力系であるプリンタのCMY信号に変
換する。これにより、高彩度の色を含んだ画像に対して
も、色変わりの目立たない出力画像を生成することが可
能となる。
[Function] The input RGB signal is converted into a LAB signal,
This LAB signal is converted into an LCH signal. Converted L
After mapping the CH signal within the color reproduction range of the output system,
It is converted into a signal and converted into a CMY signal of a printer which is an output system. This makes it possible to generate an output image in which the color change is inconspicuous even for an image including a high saturation color.

【0021】[0021]

【実施例】以下、本発明の一実施例を図面を用いて具体
的に説明する。 〈実施例1〉図1は、本発明の実施例の構成を示す。こ
の実施例の構成においては、カラーCRTを入力系装
置、プリンタを出力系装置としているが、他の入出力装
置を用いる場合にも同様に実現できる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be specifically described below with reference to the drawings. <Embodiment 1> FIG. 1 shows the structure of an embodiment of the present invention. In the configuration of this embodiment, the color CRT is used as the input system device and the printer is used as the output system device, but the same can be realized when other input / output devices are used.

【0022】図1において、1はカラー画像情報を格納
するフレームメモリ、2は入力系の装置であるカラーC
RT、3はバスとフレームメモリを接続する外部インタ
フェース、4はCPU、5はRGB信号をLAB信号に
変換する変換回路、6はLAB信号をLCH信号に変換
する変換回路、7は出力系の色再現範囲内のLCH信号
に変換する色変換処理回路、8はLCH信号をLAB信
号に変換する変換回路、9はLAB信号をCMY信号に
変換する変換回路、10は外部インタフェース、11は
出力系の装置であるプリンタ、12はバスである。
In FIG. 1, 1 is a frame memory for storing color image information, and 2 is a color C which is an input system device.
RT, 3 is an external interface for connecting a bus and a frame memory, 4 is a CPU, 5 is a conversion circuit for converting RGB signals into LAB signals, 6 is a conversion circuit for converting LAB signals into LCH signals, and 7 is a color of an output system. A color conversion processing circuit for converting an LCH signal within a reproduction range, a conversion circuit for converting an LCH signal into a LAB signal, a conversion circuit for converting a LAB signal into a CMY signal, an external interface 10 and an output system 11. The device is a printer, and 12 is a bus.

【0023】フレームメモリ1にはカラー画像情報を表
すR、G、B信号(0〜255)が画素単位で格納さ
れ、カラーCRT2上に表示される。また、フレームメ
モリ1のカラー画像情報は外部インタフェース3、バス
12を経由して、CPU4に取り込まれる。
The frame memory 1 stores R, G, B signals (0 to 255) representing color image information in pixel units, and is displayed on the color CRT 2. Further, the color image information of the frame memory 1 is fetched by the CPU 4 via the external interface 3 and the bus 12.

【0024】図2は、本実施例の処理フローチャートで
ある。図2を参照しながら、図1の処理動作を説明す
る。フレームメモリ1からRGB信号を入力し(ステッ
プ101)、CPU4に取り込まれた画素は、RGB→
LAB変換回路5においてCIE LAB色空間の座標
値(L*in,a*in,b*in)に変換される(ステップ
102)。
FIG. 2 is a processing flowchart of this embodiment. The processing operation of FIG. 1 will be described with reference to FIG. The RGB signal is input from the frame memory 1 (step 101), and the pixels fetched by the CPU 4 are RGB →
The LAB conversion circuit 5 converts the coordinates into the coordinate values (L * in , a * in , b * in ) of the CIE LAB color space (step 102).

【0025】次に、LAB→LCH変換回路6におい
て、(L*,a*,b*)信号を次式によって明度L、
彩度C、色相Hを表す3変数から構成される色空間に変
換する(ステップ103)。
Next, in the LAB → LCH conversion circuit 6, the (L *, a *, b *) signals are converted into lightness L,
It is converted into a color space composed of three variables representing saturation C and hue H (step 103).

【0026】〈明度〉L=L* 〈彩度〉C=√(a*)2+(b*)2 〈色相〉H=arctan(a*/b*) 以上の変換により、(L*in,a*in,b*in)は(L
in,Cin,Hin)に変換される。変換された(Lin,C
in,Hin)信号は、色変換処理回路7において出力系の
色再現範囲内のLCH信号(Lout,Cout,Hout)に
変換される(ステップ104)。色変換処理回路7は、
本発明において特に特徴を有するものであり、後で詳細
に説明する。
<Lightness> L = L * <Saturation> C = √ (a *) 2 + (b *) 2 <Hue> H = arctan (a * / b *) By the above conversion, (L * in , A * in , b * in ) is (L
in , C in , H in ). Transformed (L in , C
The in , H in ) signals are converted into LCH signals (L out , C out , H out ) within the color reproduction range of the output system in the color conversion processing circuit 7 (step 104). The color conversion processing circuit 7
The present invention is particularly characterized and will be described in detail later.

【0027】出力系の色再現範囲内に変換された(L
out,Cout,Hout)は、LCH→LAB変換回路8、
LAB→CMY変換回路9を経てプリンタ信号に変換さ
れ、プリンタ11に出力する(ステップ105、10
6、107)。プリンタ信号はCMY信号、CMYK信
号の何れでもよく、また、出力系の装置がカラーCRT
の場合はRGB信号に変換する。
Converted within the color reproduction range of the output system (L
out , C out , H out ) are LCH → LAB conversion circuit 8,
It is converted into a printer signal through the LAB → CMY conversion circuit 9 and output to the printer 11 (steps 105, 10).
6, 107). The printer signal may be either a CMY signal or a CMYK signal, and the output system device is a color CRT.
In the case of, it is converted into an RGB signal.

【0028】フレームメモリ上の画像全体に、CPUが
上記した処理を施すことにより(ステップ108)、入
力系のR、G、B信号は色再現処理を施された出力系の
プリンタ信号(C、M、Y信号)に変換される。
When the CPU performs the above-described processing on the entire image on the frame memory (step 108), the R, G, and B signals of the input system are subjected to color reproduction processing, and the output system printer signal (C, C, M, Y signals).

【0029】図3は、色変換処理回路の詳細な構成を示
す。色変換処理回路7は、色再現域判定回路21、プリ
ンタ色再現範囲テーブル22、カラーCRT色再現範囲
テーブル23、色再現範囲外点変換回路24、セレクタ
回路25から構成される。
FIG. 3 shows a detailed configuration of the color conversion processing circuit. The color conversion processing circuit 7 includes a color reproduction range determination circuit 21, a printer color reproduction range table 22, a color CRT color reproduction range table 23, a color reproduction range outside point conversion circuit 24, and a selector circuit 25.

【0030】図5は、色変換処理回路の処理フローチャ
ートである。色変換処理回路7には(Lin,Cin
in)が入力され(ステップ201)、色再現域判定回
路21は、入力値(Lin,Cin,Hin)が、プリンタの
色再現範囲内の色であるか否かをプリンタ色再現範囲テ
ーブル22を参照して判定する(ステップ202)。プ
リンタ色再現範囲テーブル22およびカラーCRT色再
現範囲テーブル23には、それぞれの装置の色再現範囲
の境界値が格納されている。
FIG. 5 is a processing flowchart of the color conversion processing circuit. The color conversion processing circuit 7 has (L in , C in ,
H in ) is input (step 201), and the color gamut determination circuit 21 determines whether or not the input value (L in , C in , H in ) is a color within the color reproduction range of the printer by the printer color reproduction. The determination is made by referring to the range table 22 (step 202). The printer color reproduction range table 22 and the color CRT color reproduction range table 23 store the boundary values of the color reproduction ranges of the respective devices.

【0031】セレクタ回路25は、色再現域判定回路2
1の判定結果に基づいて出力値を選択する。判定結果が
色再現域内の場合は(ステップ202でYES)、入力
値(Lin,Cin,Hin)が選択され(ステップ20
3)、一方、判定結果が色再現域外の場合は(ステップ
202でNO)、色再現範囲外点変換回路24の出力値
(Ltmp,Ctmp,Htmp)が選択される。
The selector circuit 25 is the color gamut determination circuit 2
The output value is selected based on the judgment result of 1. If the determination result is within the color gamut (YES in step 202), the input value (L in , C in , H in ) is selected (step 20).
3) On the other hand, when the determination result is outside the color reproduction range (NO in step 202), the output value (L tmp , C tmp , H tmp ) of the color reproduction outside point conversion circuit 24 is selected.

【0032】図4は、色再現範囲外点変換回路の構成を
示す。色再現範囲外点変換回路24は、色変換目標点決
定回路31と写像点算出回路32から構成される。色変
換目標点決定回路31では、写像方向の目標点
(Lcnt,Ccnt,Hcnt)を、入力値(Lin,Cin,H
in)とカラーCRT色再現範囲テーブル23とプリンタ
色再現範囲テーブル22に基づいて、例えば次のような
関係式を実現する演算回路により求める(ステップ20
4)。
FIG. 4 shows the configuration of the color reproduction outside point conversion circuit. The out-of-color-reproduction-range point conversion circuit 24 includes a color conversion target point determination circuit 31 and a mapping point calculation circuit 32. In the color conversion target point determination circuit 31, the target points (L cnt , C cnt , H cnt ) in the mapping direction are input values (L in , C in , H).
in ), the color CRT color reproduction range table 23, and the printer color reproduction range table 22, for example, by an arithmetic circuit that realizes the following relational expression (step 20).
4).

【0033】Lcnt=LprntMIDcnt=Cin×(CprntMAX/CcrtMAX) Hcnt=Hin ただし、LprntMIDは色相Hinにおけるプリンタの色再
現範囲の最大彩度点の明度を、またCprntMAXは色相H
inにおけるプリンタの最大彩度値、CcrtMAXはカラーC
RTの最大彩度値を表し、それぞれプリンタ色再現範囲
テーブル22、カラーCRT色再現範囲テーブル23を
参照することによって得られる定数である。
L cnt = L prntMID C cnt = C in × (C prntMAX / C crtMAX ) H cnt = H in , where L prntMID is the lightness of the maximum saturation point in the color reproduction range of the printer in the hue H in . C prntMAX is hue H
maximum saturation value of a printer in in, C crtMAX color C
It represents the maximum saturation value of RT and is a constant obtained by referring to the printer color reproduction range table 22 and the color CRT color reproduction range table 23, respectively.

【0034】図6は、色相Hinにおける(Lcnt
cnt)と(Lin,Cin)の関係を示す。図6の矢印の
始点は再現範囲外の各色(Lin,Cin)を表し(図6の
場合は、6点の色)、矢印の終点は写像方向の目標点
(Lcnt,Ccnt)を表している。図7は、本実施例にお
けるCcntとCinの関係を示す。カラーCRTにおいて
最大彩度点の色Cin=CcrtMAXが入力されたとき、目標
点の彩度はCcnt=CprntMAXに設定され、無彩色軸上の
色、すなわちCin=0が入力されたときは目標点は無彩
色軸上の色Ccnt=0になる。その中間の彩度が入力さ
れたときの目標点の彩度は無彩色とCcrtMAXの間の値を
とる。
[0034] FIG. 6, (L cnt in hue H in,
The relationship between (C cnt ) and (L in , C in ) is shown. The start point of the arrow in FIG. 6 represents each color (L in , C in ) outside the reproduction range (6 points in the case of FIG. 6), and the end point of the arrow is the target point (L cnt , C cnt ) in the mapping direction. Is represented. FIG. 7 shows the relationship between C cnt and C in in this embodiment. When the color C in = C crtMAX of the maximum saturation point is input in the color CRT, the saturation of the target point is set to C cnt = C prntMAX, and the color on the achromatic axis, that is, C in = 0 is input. Then, the target point becomes the color C cnt = 0 on the achromatic axis. The saturation of the target point when the intermediate saturation is input takes a value between the achromatic color and C crtMAX .

【0035】このように、目標点の彩度は入力色の彩度
に対して単調増加の関係になり、また、目標点の色相は
入力色の色相に等しくなる。
As described above, the saturation of the target point has a monotonically increasing relationship with the saturation of the input color, and the hue of the target point becomes equal to the hue of the input color.

【0036】本発明は上記した線形な関係式に限定され
るものではなく、目標点(Lcnt,Ccnt,Hcnt)が入
力値(Lin,Cin,Hin)に基づいて求まるものであれ
ば、目標点の彩度は、図8に示すような非線形な関係で
あってもよい。
The present invention is not limited to the above linear relational expression, but the target point (L cnt , C cnt , H cnt ) can be obtained based on the input value (L in , C in , H in ). If so, the saturation of the target point may have a non-linear relationship as shown in FIG.

【0037】以上のように、色変換目標点決定回路31
において写像方向を表す目標点(Lcnt,Ccnt
cnt)が求まる。写像点算出回路32では、LCH色
空間において目標点方向上の色であり、かつプリンタの
色再現域境界上の点(Ltmp,Ctmp,Htmp)を算出す
る。算出方法は、図11に示すように入力値in=(L
in,Cin,Hin)と目標値cnt=(Lcnt,Ccnt,H
cnt)を結ぶ直線を求め、この直線上の点であり、プリ
ンタ色再現範囲テーブル22を参照して得られる再現範
囲境界上の点prntAREAを求め、この値を(L
tmp,Ctmp,Htmp)とする(ステップ205)。
As described above, the color conversion target point determination circuit 31
At the target point (L cnt , C cnt ,
H cnt ) is obtained. The mapping point calculation circuit 32 calculates points (L tmp , C tmp , H tmp ) which are colors in the direction of the target point in the LCH color space and which are on the boundary of the color gamut of the printer. The calculation method is, as shown in FIG. 11, the input value in = (L
in , C in , H in ) and the target value cnt = (L cnt , C cnt , H
cnt ) is obtained, and a point on this line, prntAREA on the boundary of the reproduction range obtained by referring to the printer color reproduction range table 22, is obtained, and this value is set to (L
tmp , C tmp , H tmp ) (step 205).

【0038】なお、本発明においては、写像方向が目標
点方向上の点であれば特にプリンタ再現域境界上の点に
限定するものではなく、プリンタの再現域内の点であれ
ばよい。
In the present invention, if the mapping direction is a point in the direction of the target point, it is not limited to a point on the boundary of the printer reproduction area, but may be any point within the reproduction area of the printer.

【0039】〈実施例2〉色変換目標点決定回路の他の
実施例について説明する。全体の構成は、実施例1と同
様であるので、その説明を省略する。
<Embodiment 2> Another embodiment of the color conversion target point determination circuit will be described. The overall configuration is the same as that of the first embodiment, so the description thereof is omitted.

【0040】本実施例2では、写像方向の目標点(L
cnt,Ccnt,Hcnt)を、次の関係式を実現する演算回
路により求める。実施例1とはLcntの求め方が異な
る。すなわち、 Lin>LprntMIDの場合 Lcnt=LprntMID+(Lin−LprntMID)×(LprntWP
−LprntMID)/(LcrtWP−LprntMID) Lin≦LprntMIDの場合 Lcnt=LprntMID−(LprntMID−Lin)×(LprntMID
−LprntBP)/(LprntMID−LcrtBP) Ccnt=Cin×(CprntMAX/CcrtMAX) Hcnt=Hin ただし、LprntMIDは色相Hinにおけるプリンタの色再
現範囲の最大彩度点の明度を、またCprntMAXは色相H
inにおけるプリンタの最大彩度値、CcrtMAXはカラーC
RTの最大彩度値を表し、それぞれプリンタ色再現範囲
テーブル、カラーCRT色再現範囲テーブルを参照する
ことによって得られる定数である。また、LprntWP、L
crtWPはそれぞれプリンタ、カラーCRTの最大明度
値、LprntBP、LcrtBPはそれぞれプリンタ、カラーC
RTの最小明度値を表す定数である。
In the second embodiment, the target point (L
cnt , C cnt , H cnt ) is calculated by an arithmetic circuit that realizes the following relational expression. The method of obtaining L cnt is different from that of the first embodiment. That is, when L in > L prntMID , L cnt = L prntMID + (L in −L prntMID ) × (L prntWP
−L prntMID ) / (L crtWP −L prntMID ) L in ≦ L prntMID L cnt = L prntMID − (L prntMID −L in ) × (L prntMID
−L prntBP ) / (L prntMID −L crtBP ) C cnt = C in × (C prntMAX / C crtMAX ) H cnt = H in where L prntMID is the maximum saturation point of the printer color reproduction range in the hue H in . Lightness, and C prntMAX is hue H
maximum saturation value of a printer in in, C crtMAX color C
It represents the maximum saturation value of RT and is a constant obtained by referring to the printer color reproduction range table and the color CRT color reproduction range table, respectively. Also, L prntWP , L
crtWP is the maximum brightness value of the printer and color CRT, L prntBP and L crtBP are the printer and color C, respectively.
It is a constant representing the minimum brightness value of RT.

【0041】図9に示す矢印の始点(図では6点)は再
現範囲外の各色を表し、矢印の終点は写像方向の目標点
を表している。実施例1と比較すると、目標点の彩度は
同じであるが(図の縦の点線)、目標点の明度が異な
る。目標点の明度は入力色の明度に対して単調増加の関
係にある。
The start point (6 points in the figure) of the arrow shown in FIG. 9 represents each color outside the reproduction range, and the end point of the arrow represents the target point in the mapping direction. Compared with the first embodiment, the saturation of the target point is the same (vertical dotted line in the figure), but the brightness of the target point is different. The lightness of the target point has a monotonically increasing relationship with the lightness of the input color.

【0042】上記したようにLcntを実現すると、目標
点の明度が入力色に応じて切り替わるために、高明度部
における明度低下が少なくなり、良好な出力画像が得ら
れる。
When L cnt is realized as described above, since the lightness of the target point is switched according to the input color, the decrease in lightness in the high lightness portion is reduced and a good output image can be obtained.

【0043】図10は、本実施例におけるLcntとLin
の関係を示す。カラーCRTにおいて最大明度点の色L
in=LcrtWPが入力されたときは目標点の明度Lcntはプ
リンタの最大明度点LprntWPに設定され、最小明度点の
色Lin=LprntBPが入力されたときは目標点の明度L
cntはプリンタの最小明度点LprntBPに設定される。そ
の中間の明度が入力されたときの目標点の明度はプリン
タの最大明度点と最小明度点の中間の値をとる。
FIG. 10 shows L cnt and L in in this embodiment.
Shows the relationship. Color L of the maximum brightness point in a color CRT
When in = L crtWP is input, the lightness L cnt of the target point is set to the maximum lightness point L prntWP of the printer, and when the color L in = L prntBP is input, the lightness L of the target point is input.
cnt is set to the minimum lightness point L prntBP of the printer. When the intermediate brightness is input, the brightness of the target point takes an intermediate value between the maximum brightness point and the minimum brightness point of the printer.

【0044】本発明は上記した線形な関係式に限定され
るものではなく、目標点(Lcnt,Ccnt,Hcnt)が入
力値(Lin,Cin,Hin)に基づいて求まるものであれ
ば、その他の非線形な関係であってもよい。
The present invention is not limited to the above linear relational expression, but the target point (L cnt , C cnt , H cnt ) can be obtained based on the input value (L in , C in , H in ). Any other non-linear relationship may be used as long as it is.

【0045】上記した実施例1、2では、目標点を算出
する回路として演算回路を用いているが、図13に示す
ようにROMを使い、ルックアップテーブル方式で構成
することも可能である。例えば、入力色をアドレス部に
対応付け、各アドレスの内容には入力色に対応する目標
点の色を保持し、その内容を読み出して出力してもよ
い。
In the above-described first and second embodiments, the arithmetic circuit is used as the circuit for calculating the target point, but it is also possible to use a ROM as shown in FIG. For example, the input color may be associated with the address part, the color of the target point corresponding to the input color may be held in the content of each address, and the content may be read and output.

【0046】〈実施例3〉写像点算出回路の他の実施例
について説明する。全体の構成は、実施例1と同様であ
るので省略する。実施例1で算出する出力系の色(L
tmp,Ctmp,Htmp)はプリンタの色再現域境界上の点で
あるが、本発明では必ずしも色再現域境界上の点である
必要はなく、境界よりも若干内側の色を出力することも
できる。図12に示すように、入力系の再現域境界上の
色IN1は、出力系の色再現域境界上の色OUT1に置
き換え、それより内側の色で出力系の色再現範囲外の色
IN2は、それぞれOUT2に置き換える。これに伴い
出力系の色再現範囲内の色で色再現域近傍の色について
も、さらに同じ方向でさらに内側の値で置き換える。
<Embodiment 3> Another embodiment of the mapping point calculation circuit will be described. The overall configuration is the same as that of the first embodiment, and will be omitted. The output system color (L
Although tmp , C tmp , and H tmp are points on the color gamut boundary of the printer, they do not necessarily have to be points on the color gamut boundary in the present invention, and colors slightly inside the boundary should be output. You can also As shown in FIG. 12, the color IN1 on the boundary of the gamut of the input system is replaced with the color OUT1 on the boundary of the gamut of the output system, and the color IN2 outside the color gamut of the output system , And OUT2 respectively. Along with this, the colors within the color reproduction range of the output system and in the vicinity of the color reproduction range are also replaced with values further inside in the same direction.

【0047】算出方法について説明する。実施例1の色
変換目標点決定回路で求められた写像方向の目標点(L
cnt,Ccnt,Hcnt)からIN1,OUT1,in=
(Lin,Cin,Hin),out=(Ltmp,Ctmp
tmp)までの距離をそれぞれΔIN1,ΔOUT1,
Δin,Δoutとしたとき、 Δout=ΔOUT1−α(ΔIN1−Δin) の関係を満たすように(Ltmp,Ctmp,Htmp)を選ぶ
(ただし、αは定数)。このように算出すると、出力系
の色再現範囲外の色を圧縮した際に階調潰れが生じなく
なるという、効果が得られる。
The calculation method will be described. The target point (L in the mapping direction) obtained by the color conversion target point determination circuit of the first embodiment
cnt , C cnt , H cnt ) to IN1, OUT1, in =
(L in , C in , H in ), out = (L tmp , C tmp ,
H tmp ) and the distances to ΔIN1, ΔOUT1,
When Δin and Δout are set, (L tmp , C tmp , H tmp ) is selected so that the relationship of Δout = ΔOUT1−α (ΔIN1−Δin) is satisfied (where α is a constant). When calculated in this way, it is possible to obtain the effect that gradation collapse does not occur when a color outside the color reproduction range of the output system is compressed.

【0048】上記した実施例から明らかなように、本発
明の色再現処理装置は、入力系と色再現範囲の異なる出
力系で出力する際に、特に彩度方向の色変わりが小さ
く、また、連続性の保たれたカラー画像を得ることがで
きる。
As is apparent from the above-described embodiments, the color reproduction processing apparatus of the present invention has a small change in color particularly in the saturation direction when output is made by an output system having a different color reproduction range from an input system, and is continuous. It is possible to obtain a color image that maintains the property.

【0049】なお、上記した実施例1,2,3では、
〈明度、彩度、色相〉を定義するために、CIEが定め
たL*a*b*均等色空間を用いたが、他の色空間、例
えばL*u*v*均等色空間、XYZ色空間を用いても
同様に実施できる。
In the first, second and third embodiments described above,
In order to define <lightness, saturation, hue>, the CIE defined L * a * b * uniform color space was used, but other color spaces such as L * u * v * uniform color space and XYZ colors are used. The same can be done using a space.

【0050】[0050]

【発明の効果】以上、説明したように、請求項1、2記
載の発明によれば、入力色の明度、色相、特に彩度に応
じて写像方向を制御しているので、色再現処理において
入力色に最も適した写像方向に入力色を写像することが
可能となり、高彩度の色を含んだ画像に対し色変わりの
目立たない出力画像を得ることができる。
As described above, according to the first and second aspects of the present invention, the mapping direction is controlled according to the lightness, hue, especially saturation of the input color. It is possible to map the input color in the mapping direction most suitable for the input color, and it is possible to obtain an output image in which the color change is inconspicuous with respect to the image including the high saturation color.

【0051】請求項3記載の発明によれば、写像方向を
定める目標点の彩度を入力色の彩度に対し単調増加の関
係になるように制御しているので、色再現処理において
階調の潰れや階調の飛びを生じることなく、彩度方向の
色変わりが小さい出力画像を得ることができる。
According to the third aspect of the present invention, the saturation of the target point that determines the mapping direction is controlled so as to have a monotonically increasing relationship with the saturation of the input color. It is possible to obtain an output image in which the color change in the saturation direction is small without causing the distortion of the image and the gradation skipping.

【0052】請求項4記載の発明によれば、入力色の彩
度が入力系の色再現範囲の最大彩度のときは、写像方向
を定める目標点の彩度が出力系の色再現範囲の最大彩度
になるように制御しているので、特に彩度の高い色の色
変わりが小さい出力画像を得ることができる。
According to the fourth aspect of the invention, when the saturation of the input color is the maximum saturation of the color reproduction range of the input system, the saturation of the target point that determines the mapping direction is the color reproduction range of the output system. Since the saturation is controlled so as to be the maximum saturation, it is possible to obtain an output image in which the color change of a color having a particularly high saturation is small.

【0053】請求項5記載の発明によれば、写像方向を
定める目標点の明度を入力色の色相における出力系の色
再現範囲の最大彩度点の明度になるように制御している
ので、高彩度部の彩度低下が少なく、かつ明度の色変わ
りが目立たない出力画像を得ることができる。
According to the fifth aspect of the present invention, the lightness of the target point that determines the mapping direction is controlled to be the lightness of the maximum saturation point in the color reproduction range of the output system in the hue of the input color. It is possible to obtain an output image in which the color saturation of the high-saturation portion is small and the color change of the lightness is not noticeable.

【0054】請求項6、7、8記載の発明によれば、写
像方向を定める目標点の明度を入力色の明度に対し単調
増加の関係にあり、また、入力色の明度が入力系の色再
現範囲の最大明度(最小明度)のときは写像方向を定め
る目標点の明度が出力系の色再現範囲の最大明度(最小
明度)になるように制御しているので、高彩度部の彩度
低下が少なく、かつ高明度色(低明度色)の明度変化が
少ない出力画像を得ることができる。
According to the sixth, seventh and eighth aspects of the present invention, the lightness of the target point that determines the mapping direction is in a monotonically increasing relationship with the lightness of the input color, and the lightness of the input color is the color of the input system. When the maximum brightness (minimum brightness) of the reproduction range is set, the brightness of the target point that determines the mapping direction is controlled to be the maximum brightness (minimum brightness) of the color reproduction range of the output system. It is possible to obtain an output image in which the brightness is small and the brightness change of the high brightness color (low brightness color) is small.

【0055】請求項9記載の発明によれば、写像方向を
定める目標点を、ROMに予め蓄えられているデータを
読みとることによって設定しているので、色再現処理が
高速化され、また写像方向の設計変更が容易になる。
According to the invention described in claim 9, since the target point for determining the mapping direction is set by reading the data stored in the ROM in advance, the color reproduction processing is speeded up and the mapping direction is also increased. It is easy to change the design.

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

【図1】本発明の実施例の構成を示す。FIG. 1 shows a configuration of an embodiment of the present invention.

【図2】本実施例の処理フローチャートである。FIG. 2 is a processing flowchart of the present embodiment.

【図3】色変換処理回路の詳細な構成を示す。FIG. 3 shows a detailed configuration of a color conversion processing circuit.

【図4】色再現範囲外点変換回路の構成を示す。FIG. 4 shows the configuration of a color reproduction outside point conversion circuit.

【図5】色変換処理回路の処理フローチャートである。FIG. 5 is a processing flowchart of a color conversion processing circuit.

【図6】色相Hinにおける(Lcnt,Ccnt)と(Lin
in)の関係を示す。
[6] (L cnt, C cnt) in the hue H in the (L in,
C in ) is shown.

【図7】本実施例におけるCcntとCinの関係を示す。FIG. 7 shows the relationship between C cnt and C in in this embodiment.

【図8】非線形な関係にあるCcntとCinを示す。FIG. 8 shows C cnt and C in having a non-linear relationship.

【図9】(Lcnt,Ccnt)と(Lin,Cin)の関係にお
いて、目標点の明度が異なる場合を示す。
FIG. 9 shows a case where the lightness of the target point is different in the relationship between (L cnt , C cnt ) and (L in , C in ).

【図10】本実施例におけるLcntとLinの関係を示
す。
FIG. 10 shows the relationship between L cnt and L in in the present embodiment.

【図11】プリンタの色再現域境界上の値の算出を説明
する図である。
FIG. 11 is a diagram illustrating calculation of a value on the color gamut boundary of the printer.

【図12】プリンタの色再現域境界の内側における値の
算出を説明する図である。
FIG. 12 is a diagram illustrating calculation of values inside a color gamut boundary of a printer.

【図13】色変換目標点決定回路をROMで構成した場
合の図である。
FIG. 13 is a diagram when the color conversion target point determination circuit is configured by a ROM.

【図14】色相が赤色のときの、カラーCRTとインク
ジェットプリンタにおける色再現範囲を示す。
FIG. 14 shows a color reproduction range in a color CRT and an inkjet printer when a hue is red.

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

1 フレームメモリ 2 カラーCRT 3、10 外部インタフェース 4 CPU 5 RGB−LAB変換回路 6 LAB−LCH変換回路 7 色変換処理回路 8 LCH−LAB変換回路 9 LAB−CMY変換回路 11 プリンタ 12 バス 1 frame memory 2 color CRT 3, 10 external interface 4 CPU 5 RGB-LAB conversion circuit 6 LAB-LCH conversion circuit 7 color conversion processing circuit 8 LCH-LAB conversion circuit 9 LAB-CMY conversion circuit 11 printer 12 bus

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 入力系カラー画像の色再現範囲に対して
出力系カラー画像の色再現範囲が異なり、入力系カラー
画像情報を出力系の色再現範囲内のカラー画像情報に写
像する色再現処理装置において、入力色の内の少なくと
も彩度を基に写像方向を決定する手段と、該入力色を該
決定された写像方向にある出力系の色再現範囲内の色に
変換する手段を備えたことを特徴とする色再現処理装
置。
1. A color reproduction process in which the color reproduction range of an output system color image is different from the color reproduction range of an input system color image and the input system color image information is mapped to color image information within the output system color reproduction range. The apparatus is provided with means for determining the mapping direction based on at least the saturation of the input colors, and means for converting the input color into a color within the color reproduction range of the output system in the determined mapping direction. A color reproduction processing device characterized by the above.
【請求項2】 前記写像方向は、目標点で表すことを特
徴とする請求項1記載の色再現処理装置。
2. The color reproduction processing apparatus according to claim 1, wherein the mapping direction is represented by a target point.
【請求項3】 前記目標点の彩度は、入力色の彩度に対
して単調増加の関係にあることを特徴とする請求項2記
載の色再現処理装置。
3. The color reproduction processing apparatus according to claim 2, wherein the saturation of the target point has a monotonically increasing relationship with the saturation of the input color.
【請求項4】 前記入力色の彩度が入力系の色再現範囲
の最大彩度であるとき、前記目標点の彩度は出力系の色
再現範囲の最大彩度であることを特徴とする請求項3記
載の色再現処理装置。
4. When the saturation of the input color is the maximum saturation of the color reproduction range of the input system, the saturation of the target point is the maximum saturation of the color reproduction range of the output system. The color reproduction processing device according to claim 3.
【請求項5】 前記目標点の明度は、入力色の色相にお
ける出力系の色再現範囲の最大彩度点の明度と等しいこ
とを特徴とする請求項2記載の色再現処理装置。
5. The color reproduction processing apparatus according to claim 2, wherein the lightness of the target point is equal to the lightness of the maximum saturation point in the color reproduction range of the output system in the hue of the input color.
【請求項6】 前記目標点の明度は、入力色の明度に対
して単調増加の関係にあることを特徴とする請求項2記
載の色再現処理装置。
6. The color reproduction processing apparatus according to claim 2, wherein the lightness of the target point has a monotonically increasing relationship with the lightness of the input color.
【請求項7】 前記入力色の明度が入力系の色再現範囲
の最大明度であるとき、前記目標点の明度は出力系の色
再現範囲の最大明度であることを特徴とする請求項6記
載の色再現処理装置。
7. The lightness of the target point is the maximum lightness of the color reproduction range of the output system when the lightness of the input color is the maximum lightness of the color reproduction range of the input system. Color reproduction processor.
【請求項8】 前記入力色の明度が入力系の色再現範囲
の最小明度であるとき、前記目標点の明度は出力系の色
再現範囲の最小明度であることを特徴とする請求項6記
載の色再現処理装置。
8. The lightness of the target point is the minimum lightness of the color reproduction range of the output system when the lightness of the input color is the minimum lightness of the color reproduction range of the input system. Color reproduction processor.
【請求項9】 前記写像方向決定手段は、入力色をアド
レスとして、該入力色に対応した写像方向を出力する記
憶手段であることを特徴とする請求項1記載の色再現処
理装置。
9. The color reproduction processing apparatus according to claim 1, wherein the mapping direction determining unit is a storage unit that outputs the mapping direction corresponding to the input color by using the input color as an address.
JP7160682A 1995-06-27 1995-06-27 Color reproducing processor Pending JPH0918727A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7160682A JPH0918727A (en) 1995-06-27 1995-06-27 Color reproducing processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7160682A JPH0918727A (en) 1995-06-27 1995-06-27 Color reproducing processor

Publications (1)

Publication Number Publication Date
JPH0918727A true JPH0918727A (en) 1997-01-17

Family

ID=15720196

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7160682A Pending JPH0918727A (en) 1995-06-27 1995-06-27 Color reproducing processor

Country Status (1)

Country Link
JP (1) JPH0918727A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917444B1 (en) 1999-07-29 2005-07-12 Minolta Co., Ltd. Image correction for color image
KR100834762B1 (en) * 2006-09-29 2008-06-05 삼성전자주식회사 Method and apparatus for gamut mapping for cross medias
JP2008294930A (en) * 2007-05-28 2008-12-04 Canon Inc Color processing apparatus and method
JP2011082741A (en) * 2009-10-06 2011-04-21 Fuji Xerox Co Ltd Color converter, image signal pair storage device, image processing apparatus, image-forming apparatus, color conversion program, image-processing program
US8045222B2 (en) 2006-06-30 2011-10-25 Ricoh Company, Ltd. Image processing method, image processing apparatus, computer program product, and recording medium for image processing
CN110450558A (en) * 2019-07-18 2019-11-15 深圳汉华工业数码设备有限公司 A kind of width colour gamut printing process and method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6917444B1 (en) 1999-07-29 2005-07-12 Minolta Co., Ltd. Image correction for color image
US8045222B2 (en) 2006-06-30 2011-10-25 Ricoh Company, Ltd. Image processing method, image processing apparatus, computer program product, and recording medium for image processing
KR100834762B1 (en) * 2006-09-29 2008-06-05 삼성전자주식회사 Method and apparatus for gamut mapping for cross medias
JP2008294930A (en) * 2007-05-28 2008-12-04 Canon Inc Color processing apparatus and method
JP2011082741A (en) * 2009-10-06 2011-04-21 Fuji Xerox Co Ltd Color converter, image signal pair storage device, image processing apparatus, image-forming apparatus, color conversion program, image-processing program
CN110450558A (en) * 2019-07-18 2019-11-15 深圳汉华工业数码设备有限公司 A kind of width colour gamut printing process and method
CN110450558B (en) * 2019-07-18 2022-06-10 深圳汉华工业数码设备有限公司 Wide color gamut printing process and method

Similar Documents

Publication Publication Date Title
JP3472312B2 (en) Color image processing method and apparatus
JP3625074B2 (en) Color conversion system and color conversion method
US20060158705A1 (en) Method of processing image
JP2002016818A (en) Color correction method and device, and recording medium
JP2000184225A (en) Digital image processing method and mapping method
US6151135A (en) Method and apparatus for color reproduction
JP2002016939A (en) Method and apparatus for processing image as well as recording medium
JP3763720B2 (en) Image processing apparatus and image processing method
JP2004304793A (en) Color conversion apparatus and color conversion method
JP4900386B2 (en) Image processing method and apparatus
JP3548589B2 (en) Output device color reproduction method and device
JPH0918727A (en) Color reproducing processor
JPH1141622A (en) Image processor
JP4058244B2 (en) Image processing method
JP2000004369A (en) Method and processor for image processing, and recording medium thereof
JP4321698B2 (en) Image output method and apparatus, and recording medium
JPH03166669A (en) Electronic graphic system for use in modifying original black and white separate data defining image
JP2005269443A (en) Method and apparatus for image processing, program and recording medium
JPH0946529A (en) Image processing unit and method
JP2002094826A (en) Image processing unit, image forming unit and method for processing image
JP2001320593A (en) Image processing unit, and image forming device provided with it, and image processing method
JP2001352456A (en) Image-processing method and image-processing unit, and image-forming device provided with them
JPH10126636A (en) Color image processing method and processing unit
JPH09224162A (en) Chrominance converter
JP3426372B2 (en) Method and apparatus for creating color conversion lookup table