JP2008182633A - Image processing apparatus - Google Patents

Image processing apparatus Download PDF

Info

Publication number
JP2008182633A
JP2008182633A JP2007016032A JP2007016032A JP2008182633A JP 2008182633 A JP2008182633 A JP 2008182633A JP 2007016032 A JP2007016032 A JP 2007016032A JP 2007016032 A JP2007016032 A JP 2007016032A JP 2008182633 A JP2008182633 A JP 2008182633A
Authority
JP
Japan
Prior art keywords
color
color conversion
image signal
unit
region
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
JP2007016032A
Other languages
Japanese (ja)
Inventor
Masanori Yoshizawa
将則 吉澤
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.)
Konica Minolta Business Technologies Inc
Original Assignee
Konica Minolta Business Technologies 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 Konica Minolta Business Technologies Inc filed Critical Konica Minolta Business Technologies Inc
Priority to JP2007016032A priority Critical patent/JP2008182633A/en
Publication of JP2008182633A publication Critical patent/JP2008182633A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To improve the color reproducibility of images in an image processing apparatus for performing color conversion processing with respect to a color image signal. <P>SOLUTION: In an image processing section 20 that performs color conversion processing with respect to R, G and B image signals acquired from a scanner section 10 and outputs to a printer section 30, a plurality of color look-up tables are stored in a storage section 22. Each table indicates the correspondence between the R, G and B image signals, prior to color conversion processing, and C, M, Y and K image signals posterior to color conversion processing. A color area discriminating section 21 discriminates a color area, to which the R, G and B image signals acquired from the scanner section 10 belong, and a color look-up table selecting section 23 selects a color look-up table to be used for color conversion processing from among the color look-up tables stored in the storage section 22, based on the determined color area. A color conversion section 24 performs color conversion processings on the R, G and B signals acquired from the scanner section 10 by using the color look-up table selected. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、カラー画像信号に対して色変換処理を行う画像処理装置に関する。   The present invention relates to an image processing apparatus that performs color conversion processing on a color image signal.

デジタル複写機では、スキャナで原稿画像を読み込み、得られた画像信号に基づいて、プリンタで画像形成を行っている。一般的には、原稿画像の色と、プリンタにより出力される画像の色とを一致させるために、スキャナの出力値であるRGB画像信号を、色変換テーブルを用いて、プリンタ出力のためのCMYK画像信号に変換している。   In a digital copying machine, an original image is read by a scanner, and an image is formed by a printer based on the obtained image signal. In general, in order to match the color of an original image with the color of an image output by a printer, an RGB image signal as a scanner output value is converted into CMYK for printer output using a color conversion table. It is converted to an image signal.

図2(a)を参照して、色変換テーブルを用いた色変換処理を説明する。図2(a)に示すように、RGB各色成分を軸に取った色空間において、RGBそれぞれの軸を複数に分割し、分割することによって得られる色空間中の各格子点(RGB値)に対して、色変換処理後のCMYK値を予め色変換テーブルとして記憶させておく。スキャナから入力されたRGB画像信号が格子点に相当する場合には、記憶されているCMYK値を出力し、格子点以外の値である場合には、近くの格子点に対して記憶されているCMYK値を補間した値を出力する。   With reference to FIG. 2A, color conversion processing using a color conversion table will be described. As shown in FIG. 2A, in a color space with RGB color components as axes, each axis of RGB is divided into a plurality of points, and each lattice point (RGB value) in the color space obtained by the division is divided. On the other hand, the CMYK values after the color conversion process are stored in advance as a color conversion table. When the RGB image signal input from the scanner corresponds to a grid point, the stored CMYK value is output. When the RGB image signal is a value other than the grid point, it is stored for a nearby grid point. A value obtained by interpolating CMYK values is output.

プリンタにおける色再現性を向上させるためには、色変換テーブルのデータ数、すなわち、図2(a)における格子点の数を、より多くすることが望ましいが、色変換テーブルを記憶するためのメモリ容量を抑えるには、格子点の数を制限せざるを得ない。   In order to improve color reproducibility in the printer, it is desirable to increase the number of data of the color conversion table, that is, the number of grid points in FIG. 2A, but a memory for storing the color conversion table In order to suppress the capacity, the number of grid points must be limited.

また、従来、色変換テーブルを作成するにあたり、色変換前のRGB色空間において格子点を等間隔に取る場合が多いが、RGB色空間上で等間隔な色であっても、人の目には等間隔な色の差として知覚されないため、人の目の感度が高い肌色成分や無彩色成分等の色再現性が悪くなる場合が生じる。   Conventionally, when creating a color conversion table, lattice points are often spaced at regular intervals in the RGB color space before color conversion, but even for colors that are equally spaced in the RGB color space, Are not perceived as color differences at equal intervals, and color reproducibility such as skin color components and achromatic color components with high human eye sensitivity may deteriorate.

そこで、入力された色信号に対して一般的な色変換処理を行った後に、色変換処理後の色信号に対して、特定色が出力装置により出力したときに基準の色となるように補正処理を行う色処理装置が提案されている(特許文献1参照)。
特開2006−19956号公報
Therefore, after performing general color conversion processing on the input color signal, the color signal after color conversion processing is corrected so that it becomes the reference color when a specific color is output by the output device. A color processing apparatus that performs processing has been proposed (see Patent Document 1).
JP 2006-19956 A

しかし、色変換処理後のカラー画像信号に対して、特定色に適した補正処理を行うことにより、特定色の色再現性は向上するが、他の色の再現性が劣化するおそれがあった。   However, by performing correction processing suitable for the specific color on the color image signal after the color conversion processing, the color reproducibility of the specific color is improved, but the reproducibility of other colors may be deteriorated. .

本発明は、上記の従来技術における問題に鑑みてなされたものであって、画像の色再現性を向上させることを課題とする。   The present invention has been made in view of the above problems in the prior art, and an object thereof is to improve the color reproducibility of an image.

上記課題を解決するために、請求項1に記載の発明は、入力デバイスから取得したカラー画像信号に対して色変換処理を行って出力デバイスに出力する画像処理装置であって、前記色変換処理前のカラー画像信号と前記色変換処理後のカラー画像信号とが対応付けられている色変換テーブルが複数記憶されている記憶部と、前記入力デバイスから取得したカラー画像信号が属する色領域を判別する色領域判別部と、前記判別された色領域に基づいて、前記記憶部に記憶されている色変換テーブルの中から前記色変換処理に用いる色変換テーブルを選択する色変換テーブル選択部と、前記選択された色変換テーブルを用いて、前記入力デバイスから取得したカラー画像信号に対して前記色変換処理を行う色変換部と、を備えたことを特徴とする。   In order to solve the above-described problem, the invention according to claim 1 is an image processing apparatus that performs color conversion processing on a color image signal acquired from an input device and outputs the color image signal to an output device. A storage unit storing a plurality of color conversion tables in which a previous color image signal and the color image signal after the color conversion processing are associated with each other, and a color region to which the color image signal acquired from the input device belongs A color conversion table selection unit that selects a color conversion table to be used for the color conversion process from among the color conversion tables stored in the storage unit based on the determined color region; A color conversion unit that performs the color conversion process on a color image signal acquired from the input device using the selected color conversion table;

請求項2に記載の発明は、請求項1に記載の画像処理装置において、前記複数の色変換テーブルは、色領域の境界部分におけるカラー画像信号に対して、当該境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が相互に一致するように作成されていることを特徴とする。   According to a second aspect of the present invention, in the image processing apparatus according to the first aspect, the plurality of color conversion tables may include a color image signal at a boundary portion of the color region, and a color of each color region partitioned by the boundary. It is characterized in that the values subjected to the color conversion processing using the conversion table are created so as to coincide with each other.

請求項3に記載の発明は、請求項1に記載の画像処理装置において、前記入力デバイスから取得したカラー画像信号が各色領域の境界近傍であるか否かを判別する境界判別部をさらに備え、前記境界判別部により、前記入力デバイスから取得したカラー画像信号が各色領域の境界近傍であると判別された場合に、前記色領域判別部は、当該境界によって仕切られる各色領域を判別し、前記色変換部によって当該各色領域の色変換テーブルを用いて色変換処理を行った複数の値に基づいて、重み付け平均を算出する重み付け平均算出部をさらに備えたことを特徴とする。   The invention according to claim 3 further includes a boundary determination unit that determines whether or not a color image signal acquired from the input device is near the boundary of each color region in the image processing apparatus according to claim 1, When the boundary determination unit determines that the color image signal acquired from the input device is near the boundary of each color region, the color region determination unit determines each color region partitioned by the boundary, and the color The image processing apparatus further includes a weighted average calculation unit that calculates a weighted average based on a plurality of values obtained by performing color conversion processing using the color conversion table of each color region by the conversion unit.

請求項4に記載の発明は、請求項1から3のいずれか一項に記載の画像処理装置において、前記入力デバイスから取得したカラー画像信号を一旦異なる色空間におけるカラー画像信号に変換する一次変換部をさらに備え、前記色領域判別部は、前記一次変換部により変換された後のカラー画像信号が属する色領域を判別することを特徴とする。   According to a fourth aspect of the present invention, in the image processing apparatus according to any one of the first to third aspects, a primary conversion for converting a color image signal acquired from the input device into a color image signal in a different color space once. A color region determining unit that determines a color region to which the color image signal after being converted by the primary conversion unit belongs.

請求項1に記載の発明によれば、各色領域に適した色変換テーブルを用いることにより、画像の色再現性を向上させることができる。   According to the first aspect of the present invention, the color reproducibility of an image can be improved by using a color conversion table suitable for each color region.

請求項2に記載の発明によれば、色領域の境界部分においては、境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が一致するので、色領域の境界部分におけるトーンジャンプを抑制することができる。   According to the second aspect of the present invention, the values obtained by performing the color conversion process using the color conversion table of each color area partitioned by the boundary match at the boundary part of the color area. Tone jump can be suppressed.

請求項3に記載の発明によれば、各色領域の境界近傍である場合には、各色領域の色変換テーブルを用いて色変換処理を行った複数の値に基づいて、重み付け平均を算出するので、色領域の境界近傍におけるトーンジャンプを抑制することができる。   According to the third aspect of the present invention, when it is near the boundary of each color area, the weighted average is calculated based on a plurality of values obtained by performing the color conversion process using the color conversion table of each color area. The tone jump near the boundary of the color area can be suppressed.

請求項4に記載の発明によれば、色領域の判別が容易な色空間に一旦変換することにより、画像の色再現性を向上させることができる。   According to the fourth aspect of the invention, the color reproducibility of the image can be improved by once converting the color area into a color space in which the discrimination of the color area is easy.

[第1の実施の形態]
まず、本発明の第1の実施の形態を説明する。
図1に、本発明の画像処理装置を適用した複写機100の構成を示す。
図1に示すように、複写機100は、入力デバイスとしてのスキャナ部10、画像処理部20、出力デバイスとしてのプリンタ部30を備える。複写機100は、スキャナ部10において読み取った原稿画像に対して画像処理部20により色変換処理を行い、プリンタ部30から画像出力するものである。
[First Embodiment]
First, a first embodiment of the present invention will be described.
FIG. 1 shows a configuration of a copying machine 100 to which the image processing apparatus of the present invention is applied.
As shown in FIG. 1, the copier 100 includes a scanner unit 10 as an input device, an image processing unit 20, and a printer unit 30 as an output device. The copying machine 100 performs color conversion processing on the document image read by the scanner unit 10 by the image processing unit 20 and outputs an image from the printer unit 30.

スキャナ部10は、光源により照射され原稿面で反射した光をCCD(Charge Coupled Device)ラインイメージセンサにより光電変換して原稿画像を読み取る。スキャナ部10は、R(赤)、G(緑)、B(青)の3成分に色分解して原稿画像を読み取り、RGBそれぞれの画像信号を画像処理部20に出力する。スキャナ部10がADF(Auto Document Feeder:自動紙送り機構)を備える場合には、原稿台に載置された原稿を1枚ずつ搬送して原稿画像を読み取る。   The scanner unit 10 reads a document image by photoelectrically converting light, which is irradiated from a light source and reflected from a document surface, by a CCD (Charge Coupled Device) line image sensor. The scanner unit 10 performs color separation into three components of R (red), G (green), and B (blue), reads a document image, and outputs RGB image signals to the image processing unit 20. When the scanner unit 10 includes an ADF (Auto Document Feeder), the document placed on the document table is conveyed one by one to read the document image.

画像処理部20は、色領域判別部21、記憶部22、色変換テーブル選択部23、色変換部24を備えて構成され、スキャナ部10から取得したRGB画像信号に対して色変換処理を行ってプリンタ部30に出力する。なお、画像処理部20は、CPU(Central Processing Unit)、ROM(Read Only Memory)、RAM(Random Access Memory)、入出力インターフェース等を備え、CPUがROMに格納されている各種処理プログラムを読み出して、当該プログラムとの協働により、色領域判別部21、色変換テーブル選択部23、色変換部24を実現する。   The image processing unit 20 includes a color area determination unit 21, a storage unit 22, a color conversion table selection unit 23, and a color conversion unit 24, and performs color conversion processing on the RGB image signal acquired from the scanner unit 10. To the printer unit 30. The image processing unit 20 includes a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), an input / output interface, and the like. The CPU reads various processing programs stored in the ROM. By cooperating with the program, the color area determination unit 21, the color conversion table selection unit 23, and the color conversion unit 24 are realized.

色領域判別部21は、画素毎に、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部23に出力する。具体的には、RGB画像信号が、各色領域に対して予め定められているRGB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。本実施の形態では、色領域判別部21は、肌色領域、灰色領域、その他の色領域のうち、いずれの色領域であるかを判別する。   The color region determination unit 21 determines the color region to which the RGB image signal acquired from the scanner unit 10 belongs for each pixel, and outputs the color region information to the color conversion table selection unit 23. Specifically, when the RGB image signal is included in a certain range of the RGB color space predetermined for each color area, it is determined that the RGB image signal belongs to that color area. In the present embodiment, the color area determination unit 21 determines which color area is a skin color area, a gray area, or another color area.

例えば、色領域判別部21は、R信号値が40以上255以下、かつ、G信号値が30以上200以下、かつ、B信号値が0以上200以下の場合には、肌色領域であると判別する。また、色領域判別部21は、RGB画像信号のそれぞれの値の比がR:G:B=(1±0.2):(1±0.2):(1±0.2)の一定の比の範囲内にある場合には、灰色領域(無彩色領域)であると判別する。なお、肌色領域と灰色領域とが重複する部分については、どちらかの色領域を優先させるよう予め定めておく。また、色領域判別部21は、肌色領域及び灰色領域を除く色領域を、その他の色領域と判別する。   For example, if the R signal value is 40 or more and 255 or less, the G signal value is 30 or more and 200 or less, and the B signal value is 0 or more and 200 or less, the color region determination unit 21 determines that the skin color region is present. To do. Further, the color area determination unit 21 has a constant ratio of R, G, B = (1 ± 0.2) :( 1 ± 0.2) :( 1 ± 0.2). If it is within the ratio range, it is determined that the region is a gray region (achromatic region). It should be noted that a part where the skin color area and the gray area overlap is determined in advance so that one of the color areas is given priority. Further, the color area determination unit 21 determines a color area excluding the skin color area and the gray area as the other color area.

記憶部22は、不揮発性メモリ等から構成され、色変換処理に用いる色変換テーブル(LUT:Look Up Table)が複数記憶されている。具体的には、肌色用色変換テーブル、灰色用色変換テーブル、通常用色変換テーブルの3種類の色変換テーブルが記憶されている。   The storage unit 22 includes a non-volatile memory and the like, and stores a plurality of color conversion tables (LUT: Look Up Table) used for color conversion processing. Specifically, three types of color conversion tables are stored: a skin color conversion table, a gray color conversion table, and a normal color conversion table.

色変換テーブルは、スキャナ部10から取得したRGB画像信号をプリンタ部30で使用するCMYK画像信号に色変換するためのテーブルであって、色変換処理前のRGB画像信号と色変換処理後のCMYK画像信号とが対応付けられている。具体的には、図2(a)、図2(b)、図3(a)、図3(b)に示すように、RGB各色成分を軸に取った色空間において、RGBそれぞれの軸を複数に分割し、分割することによって得られる色空間中の各格子点(RGB値)に対して、色変換処理後のCMYK値が予め対応付けられている。図2(a)に示すように、格子点が色空間全体に均一に分布するように、色変換テーブルのRGB値を設定してもよいし、図2(b)に示すように、格子点が色空間において不均一に分布するように、色変換テーブルのRGB値を設定してもよい。また、図3(a)及び(b)に示すように、格子点が色空間において局所的に分布するように、色変換テーブルのRGB値を設定してもよい。図3(a)は、格子点が色空間において局所的に均一に分布するものの例であって、図3(b)は、格子点が色空間において局所的に不均一に分布するものの例である。   The color conversion table is a table for color-converting the RGB image signal acquired from the scanner unit 10 into a CMYK image signal used in the printer unit 30, and the RGB image signal before color conversion processing and the CMYK after color conversion processing The image signal is associated. Specifically, as shown in FIGS. 2 (a), 2 (b), 3 (a), and 3 (b), in the color space with the RGB color components as axes, the RGB axes are set. The CMYK values after the color conversion process are associated in advance with each grid point (RGB value) in the color space obtained by dividing into a plurality of parts. As shown in FIG. 2A, the RGB values of the color conversion table may be set so that the grid points are uniformly distributed over the entire color space. As shown in FIG. May be set such that the RGB values of the color conversion table are distributed unevenly in the color space. Further, as shown in FIGS. 3A and 3B, the RGB values of the color conversion table may be set so that the lattice points are locally distributed in the color space. FIG. 3A shows an example in which the lattice points are locally distributed uniformly in the color space, and FIG. 3B shows an example in which the lattice points are locally unevenly distributed in the color space. is there.

肌色用色変換テーブルは、肌色領域の色変換処理に適した色変換テーブルであり、人の目の感度が高い肌色領域に対して、より細かい間隔でRGB値が取られて作成されている。肌色用色変換テーブルを用いることにより、肌色領域に対して、より精度の高い色変換処理を行うことができる。   The skin color conversion table is a color conversion table suitable for the color conversion processing of the skin color area, and is created by taking RGB values at finer intervals with respect to the skin color area having high human eye sensitivity. By using the skin color conversion table, a more accurate color conversion process can be performed on the skin color region.

灰色用色変換テーブルは、灰色領域の色変換処理に適した色変換テーブルであり、人の目の感度が高い灰色領域に対して、より細かい間隔でRGB値が取られて作成されている。灰色用色変換テーブルを用いることにより、灰色領域に対して、より精度の高い色変換処理を行うことができる。   The gray color conversion table is a color conversion table suitable for the color conversion processing of the gray area, and is created by taking RGB values at finer intervals with respect to the gray area having high human eye sensitivity. By using the gray color conversion table, more accurate color conversion processing can be performed on the gray region.

通常用色変換テーブルは、肌色領域及び灰色領域を除く色領域(その他の色領域)の色変換処理に適した色変換テーブルである。   The normal color conversion table is a color conversion table suitable for color conversion processing of color areas (other color areas) excluding the skin color area and the gray area.

なお、肌色領域、灰色領域、その他の色領域の境界部分におけるRGB画像信号に対しては、境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が相互に一致するように、各色変換テーブルが作成されている。   For RGB image signals at the boundary between the skin color area, the gray area, and other color areas, the values obtained by performing the color conversion process using the color conversion table of each color area partitioned by the boundary are mutually matched. In addition, each color conversion table is created.

色変換テーブル選択部23は、色領域判別部21により判別された色領域に基づいて、記憶部22に記憶されている色変換テーブルの中から色領域に適した色変換テーブルを選択する。   The color conversion table selection unit 23 selects a color conversion table suitable for the color area from the color conversion tables stored in the storage unit 22 based on the color area determined by the color area determination unit 21.

色変換部24は、色変換テーブル選択部23により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。   The color conversion unit 24 performs color conversion processing on the RGB image signal acquired from the scanner unit 10 using the color conversion table selected by the color conversion table selection unit 23. When the RGB image signal acquired from the scanner unit 10 is a value (grid point) predetermined in the color conversion table, the CMYK value stored in the color conversion table is output, and the RGB image signal is color converted. If the value is other than a predetermined value in the table, a value obtained by interpolating the stored CMYK values with respect to a plurality of predetermined values (grid points) near the RGB image signal is output.

プリンタ部30は、画像処理部20により色変換処理が行われたCMYK画像信号に基づいて電子写真方式の画像形成を行うものであり、像担持体である感光ドラム、感光ドラムの帯電を行う帯電部、CMYK画像信号に基づいて感光ドラム表面に露光走査する露光部、感光ドラムにトナーを付着させる現像部、感光ドラム上に形成されたトナー像を用紙に転写する転写部、感光ドラム上の残トナーを除去するクリーニング部、用紙上に形成されたトナー像を定着させる定着部から構成される。   The printer unit 30 performs electrophotographic image formation based on the CMYK image signal that has been subjected to color conversion processing by the image processing unit 20. The printer unit 30 charges the photosensitive drum that is an image carrier and the photosensitive drum. An exposure unit that exposes and scans the surface of the photosensitive drum based on the CMYK image signal, a developing unit that attaches toner to the photosensitive drum, a transfer unit that transfers the toner image formed on the photosensitive drum to a sheet, and a remaining portion on the photosensitive drum. The cleaning unit removes the toner and the fixing unit fixes the toner image formed on the paper.

次に、動作を説明する。
図4は、複写機100の画像処理部20により実行される画像処理Aを示すフローチャートである。画像処理Aは、スキャナ部10で読み取った原稿画像のRGB画像信号に対して行われる。
Next, the operation will be described.
FIG. 4 is a flowchart showing image processing A executed by the image processing unit 20 of the copying machine 100. Image processing A is performed on the RGB image signal of the document image read by the scanner unit 10.

図4に示すように、色領域判別部21により、スキャナ部10から取得したRGB画像信号が属する色領域が判別される(ステップS1、S2)。まず、色領域判別部21により、スキャナ部10から取得したRGB画像信号が属する色領域が肌色領域であるか否かが判別される(ステップS1)。色領域判別部21により、RGB画像信号が属する色領域が肌色領域であると判別された場合には(ステップS1;YES)、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から肌色用色変換テーブルが選択される(ステップS3)。   As shown in FIG. 4, the color region determination unit 21 determines the color region to which the RGB image signal acquired from the scanner unit 10 belongs (steps S1 and S2). First, the color region determination unit 21 determines whether or not the color region to which the RGB image signal acquired from the scanner unit 10 belongs is a skin color region (step S1). When the color region determination unit 21 determines that the color region to which the RGB image signal belongs is a skin color region (step S1; YES), the color stored in the storage unit 22 by the color conversion table selection unit 23 A skin color conversion table is selected from the conversion table (step S3).

ステップS1において、色領域判別部21により、RGB画像信号が属する色領域が肌色領域でないと判別された場合には(ステップS1;NO)、スキャナ部10から取得したRGB画像信号が属する色領域が灰色領域であるか否かが判別される(ステップS2)。色領域判別部21により、RGB画像信号が属する色領域が灰色領域であると判別された場合には(ステップS2;YES)、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から灰色用色変換テーブルが選択される(ステップS4)。   In step S1, when the color region determination unit 21 determines that the color region to which the RGB image signal belongs is not a skin color region (step S1; NO), the color region to which the RGB image signal acquired from the scanner unit 10 belongs is determined. It is determined whether or not the region is a gray region (step S2). When the color region determination unit 21 determines that the color region to which the RGB image signal belongs is a gray region (step S2; YES), the color stored in the storage unit 22 by the color conversion table selection unit 23 A gray color conversion table is selected from the conversion table (step S4).

ステップS2において、色領域判別部21により、RGB画像信号が属する色領域が灰色領域でないと判別された場合(ステップS2;NO)、すなわち、RGB画像信号が属する色領域がその他の色領域であると判別された場合には、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から通常用色変換テーブルが選択される(ステップS5)。   In step S2, when the color region determination unit 21 determines that the color region to which the RGB image signal belongs is not a gray region (step S2; NO), that is, the color region to which the RGB image signal belongs is another color region. Is determined, the color conversion table selection unit 23 selects a normal color conversion table from the color conversion tables stored in the storage unit 22 (step S5).

ステップS3、ステップS4、又はステップS5の後、色変換部24により、色変換テーブル選択部23により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われる(ステップS6)。すなわち、肌色領域のRGB画像信号に対しては、肌色用色変換テーブルを用いて色変換処理が行われ、灰色領域のRGB画像信号に対しては、灰色用色変換テーブルを用いて色変換処理が行われ、その他の色領域のRGB画像信号に対しては、通常用色変換テーブルを用いて色変換処理が行われる。   After step S3, step S4, or step S5, the color conversion process is performed on the RGB image signal acquired from the scanner unit 10 by the color conversion unit 24 using the color conversion table selected by the color conversion table selection unit 23. Is performed (step S6). That is, color conversion processing is performed on the skin color region RGB image signal using the skin color conversion table, and color conversion processing is performed on the gray region RGB image signal using the gray color conversion table. The color conversion processing is performed using the normal color conversion table for the RGB image signals in the other color regions.

以上説明したように、第1の実施の形態における複写機100によれば、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、判別された色領域に基づいて、記憶部22に記憶されている色変換テーブルの中から色変換処理に用いる色変換テーブルを選択し、選択された色変換テーブルを用いて、RGB画像信号に対して色変換処理を行うので、各色領域に適した色変換テーブルを用いることにより、画像の色再現性を向上させることができる。   As described above, according to the copying machine 100 in the first embodiment, the color area to which the RGB image signal acquired from the scanner unit 10 belongs is determined, and the storage unit 22 is determined based on the determined color area. A color conversion table to be used for color conversion processing is selected from the stored color conversion tables, and color conversion processing is performed on the RGB image signal using the selected color conversion table, which is suitable for each color region. By using the color conversion table, the color reproducibility of the image can be improved.

また、色領域の境界部分においては、境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が一致するので、色領域の境界部分におけるトーンジャンプを抑制することができる。   Further, since the values obtained by performing the color conversion process using the color conversion table of each color region partitioned by the boundary coincide with each other at the boundary portion of the color region, tone jump at the boundary portion of the color region can be suppressed.

[第2の実施の形態]
次に、本発明の第2の実施の形態を説明する。
図5に、本発明の画像処理装置を適用した複写機200の構成を示す。
図5に示すように、複写機200は、スキャナ部10、画像処理部40、プリンタ部30を備える。複写機200は、スキャナ部10において読み取った原稿画像に対して画像処理部40により色変換処理を行い、プリンタ部30から画像出力するものである。
[Second Embodiment]
Next, a second embodiment of the present invention will be described.
FIG. 5 shows a configuration of a copying machine 200 to which the image processing apparatus of the present invention is applied.
As shown in FIG. 5, the copying machine 200 includes a scanner unit 10, an image processing unit 40, and a printer unit 30. The copying machine 200 performs color conversion processing on the document image read by the scanner unit 10 by the image processing unit 40 and outputs an image from the printer unit 30.

スキャナ部10、プリンタ部30については、第1の実施の形態において説明したものと同様であるので、説明を省略する。   Since the scanner unit 10 and the printer unit 30 are the same as those described in the first embodiment, description thereof will be omitted.

画像処理部40は、境界判別部41、色領域判別部42、記憶部43、色変換テーブル選択部44、色変換部45,46、重み付け平均算出部47を備えて構成され、スキャナ部10から取得したRGB画像信号に対して色変換処理を行ってプリンタ部30に出力する。なお、画像処理部40は、CPU、ROM、RAM、入出力インターフェース等を備え、CPUがROMに格納されている各種処理プログラムを読み出して、当該プログラムとの協働により、境界判別部41、色領域判別部42、色変換テーブル選択部44、色変換部45,46、重み付け平均算出部47を実現する。
なお、第2の実施の形態においても、第1の実施の形態と同様に、RGB色空間は、肌色領域、灰色領域、その他の色領域に分けられるものとする。
The image processing unit 40 includes a boundary determination unit 41, a color region determination unit 42, a storage unit 43, a color conversion table selection unit 44, color conversion units 45 and 46, and a weighted average calculation unit 47. The acquired RGB image signal is subjected to color conversion processing and output to the printer unit 30. The image processing unit 40 includes a CPU, a ROM, a RAM, an input / output interface, and the like. The CPU reads various processing programs stored in the ROM, and cooperates with the program to determine the boundary determination unit 41, the color. An area determination unit 42, a color conversion table selection unit 44, color conversion units 45 and 46, and a weighted average calculation unit 47 are realized.
In the second embodiment as well, as in the first embodiment, the RGB color space is divided into a skin color area, a gray area, and other color areas.

境界判別部41は、画素毎に、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であるか否かを判別する。ここで、「境界近傍」とは、例えば、図6に示すように、注目している色領域M1の中心を基準として、色領域M1をx%縮小した領域M2と、色領域M1をy%拡大した領域M3との間にRGB画像信号が属する場合をいう。ここで、x、yは最大値10の固定値とするが、通常は5程度の値とする。   The boundary determination unit 41 determines, for each pixel, whether or not the RGB image signal acquired from the scanner unit 10 is near the boundary of each color region. Here, the “near the boundary” means, for example, as shown in FIG. 6, a region M2 obtained by reducing the color region M1 by x% with reference to the center of the color region M1 of interest, and a color region M1 by y%. This is a case where an RGB image signal belongs to the enlarged area M3. Here, x and y are fixed values having a maximum value of 10 but are usually set to about 5.

色領域判別部42は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合、境界によって仕切られる各色領域を判別する。すなわち、RGB画像信号が灰色領域とその他の色領域との境界近傍であるか、あるいは、肌色領域とその他の色領域との境界近傍であるかを判別し、境界によって仕切られる2種類の色領域情報を色変換テーブル選択部44に出力する。なお、ここでは、灰色と肌色とを全く異なる色として扱い、灰色領域と肌色領域との境界は存在しないことを前提としている。   When the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is near the boundary of each color region, the color region determination unit 42 determines each color region partitioned by the boundary. That is, it is determined whether the RGB image signal is in the vicinity of the boundary between the gray region and the other color region, or near the boundary between the skin color region and the other color region, and two types of color regions partitioned by the boundary Information is output to the color conversion table selection unit 44. Here, gray and skin color are treated as completely different colors, and it is assumed that there is no boundary between the gray region and the skin color region.

一方、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色領域判別部42は、第1の実施の形態と同様に、画素毎に、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部44に出力する。具体的には、RGB画像信号が、各色領域に対して予め定められているRGB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。   On the other hand, when the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is not near the boundary of each color region, the color region determination unit 42, as in the first embodiment, Each time, the color region to which the RGB image signal acquired from the scanner unit 10 belongs is determined, and the color region information is output to the color conversion table selection unit 44. Specifically, when the RGB image signal is included in a certain range of the RGB color space predetermined for each color area, it is determined that the RGB image signal belongs to that color area.

記憶部43は、不揮発性メモリ等から構成され、色変換処理に用いる色変換テーブルが複数記憶されている。具体的には、肌色用色変換テーブル、灰色用色変換テーブル、通常用色変換テーブルの3種類の色変換テーブルが記憶されている。   The storage unit 43 includes a nonvolatile memory and stores a plurality of color conversion tables used for color conversion processing. Specifically, three types of color conversion tables are stored: a skin color conversion table, a gray color conversion table, and a normal color conversion table.

色変換テーブル選択部44は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合には、色領域判別部42により判別された2種類の色領域に適した色変換テーブルを、それぞれ、記憶部43に記憶されている色変換テーブルの中から選択する。   The color conversion table selection unit 44, when the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is near the boundary of each color region, the two types determined by the color region determination unit 42. Each color conversion table suitable for the color area is selected from the color conversion tables stored in the storage unit 43.

一方、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色変換テーブル選択部44は、第1の実施の形態と同様に、色領域判別部42により判別された色領域に基づいて、記憶部43に記憶されている色変換テーブルの中から色領域に適した色変換テーブルを選択する。   On the other hand, if the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is not near the boundary of each color region, the color conversion table selection unit 44, as in the first embodiment, Based on the color area determined by the color area determination unit 42, a color conversion table suitable for the color area is selected from the color conversion tables stored in the storage unit 43.

色変換部45,46は、色変換テーブル選択部44により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色変換部45のみが、色変換テーブル選択部44により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。   The color conversion units 45 and 46 perform color conversion processing on the RGB image signal acquired from the scanner unit 10 using the color conversion table selected by the color conversion table selection unit 44. When the RGB image signal acquired from the scanner unit 10 is a value (grid point) predetermined in the color conversion table, the CMYK value stored in the color conversion table is output, and the RGB image signal is color converted. If the value is other than a predetermined value in the table, a value obtained by interpolating the stored CMYK values with respect to a plurality of predetermined values (grid points) near the RGB image signal is output. When the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is not near the boundary of each color region, only the color conversion unit 45 selects the color conversion table selected by the color conversion table selection unit 44. Is used to perform color conversion processing on the RGB image signal obtained from the scanner unit 10.

重み付け平均算出部47は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合、色変換部45,46により色変換処理が行われた後のCMYK画像信号に基づいて、重み付け平均を算出する。ここで、重み付けは、RGB色空間におけるRGB画像信号の色領域の境界までの距離等に基づいて決定される。   The weighted average calculation unit 47 performs color conversion processing by the color conversion units 45 and 46 when the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is near the boundary of each color region. A weighted average is calculated based on the subsequent CMYK image signal. Here, the weighting is determined based on the distance to the boundary of the color area of the RGB image signal in the RGB color space.

なお、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、重み付け平均算出部47は、色変換部45により色変換処理が行われた後のCMYK画像信号をそのまま出力する。   When the boundary determination unit 41 determines that the RGB image signal acquired from the scanner unit 10 is not near the boundary of each color region, the weighted average calculation unit 47 performs color conversion processing by the color conversion unit 45. Thereafter, the CMYK image signal is output as it is.

次に、動作を説明する。
図7は、複写機200の画像処理部40により実行される画像処理Bを示すフローチャートである。画像処理Bは、スキャナ部10で読み取った原稿画像のRGB画像信号に対して行われる。
Next, the operation will be described.
FIG. 7 is a flowchart showing image processing B executed by the image processing unit 40 of the copying machine 200. The image processing B is performed on the RGB image signal of the document image read by the scanner unit 10.

図7に示すように、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であるか否かが判別される(ステップS11)。具体的には、図6に示すように、注目している色領域M1の中心を基準として、色領域M1をx%縮小した領域M2と、色領域M1をy%拡大した領域M3との間にRGB画像信号が属する場合に、その色領域M1の境界近傍であると判別される。   As shown in FIG. 7, the boundary determination unit 41 determines whether or not the RGB image signal acquired from the scanner unit 10 is in the vicinity of the boundary of each color region (step S11). Specifically, as shown in FIG. 6, between the area M2 obtained by reducing the color area M1 by x% and the area M3 obtained by enlarging the color area M1 by y% with reference to the center of the color area M1 of interest. If the RGB image signal belongs to the color region M1, it is determined that it is near the boundary of the color region M1.

RGB画像信号が各色領域の境界近傍である場合には(ステップS11;YES)、色領域判別部42により、RGB画像信号が灰色領域とその他の色領域との境界近傍であるか、あるいは、肌色領域とその他の色領域との境界近傍であるかが判別される(ステップS12)。   When the RGB image signal is in the vicinity of the boundary between the color regions (step S11; YES), the color region determination unit 42 determines whether the RGB image signal is in the vicinity of the boundary between the gray region and the other color regions or the skin color. It is determined whether it is near the boundary between the area and the other color area (step S12).

RGB画像信号が灰色領域とその他の色領域との境界近傍である場合には(ステップS12;YES)、色変換テーブル選択部44により、記憶部43に記憶されている色変換テーブルの中から灰色用色変換テーブルと通常用色変換テーブルとが選択される(ステップS13、S14)。そして、色変換部45により、灰色用色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われ(ステップS15)、色変換部46により、通常用色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われる(ステップS16)。次に、重み付け平均算出部47により、色変換部45,46により色変換処理が行われた後のCMYK画像信号に基づいて、重み付け平均が算出される(ステップS17)。   When the RGB image signal is in the vicinity of the boundary between the gray area and the other color area (step S12; YES), the color conversion table selection unit 44 selects the gray color from the color conversion tables stored in the storage unit 43. A color conversion table for use and a color conversion table for normal use are selected (steps S13 and S14). Then, the color conversion unit 45 performs color conversion processing on the RGB image signal acquired from the scanner unit 10 using the gray color conversion table (step S15), and the color conversion unit 46 performs normal color conversion. Using the table, color conversion processing is performed on the RGB image signal acquired from the scanner unit 10 (step S16). Next, the weighted average calculation unit 47 calculates the weighted average based on the CMYK image signal after the color conversion processing is performed by the color conversion units 45 and 46 (step S17).

ステップS12において、RGB画像信号が肌色領域とその他の色領域との境界近傍である場合には(ステップS12;NO)、色変換テーブル選択部44により、記憶部43に記憶されている色変換テーブルの中から肌色用色変換テーブルと通常用色変換テーブルとが選択される(ステップS18、S19)。そして、色変換部45により、肌色用色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われ(ステップS20)、色変換部46により、通常用色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われる(ステップS21)。次に、重み付け平均算出部47により、色変換部45,46により色変換処理が行われた後のCMYK画像信号に基づいて、重み付け平均が算出される(ステップS22)。   In step S12, when the RGB image signal is near the boundary between the skin color area and the other color area (step S12; NO), the color conversion table stored in the storage unit 43 by the color conversion table selection unit 44. The skin color conversion table and the normal color conversion table are selected from the above (steps S18 and S19). The color conversion unit 45 performs color conversion processing on the RGB image signal acquired from the scanner unit 10 using the skin color conversion table (step S20), and the color conversion unit 46 performs normal color conversion. Using the table, color conversion processing is performed on the RGB image signal acquired from the scanner unit 10 (step S21). Next, the weighted average calculation unit 47 calculates a weighted average based on the CMYK image signal after the color conversion processing is performed by the color conversion units 45 and 46 (step S22).

ステップS11において、RGB画像信号が各色領域の境界近傍でない場合(ステップS11;NO)に実行されるステップS23〜ステップS28の処理は、第1の実施の形態において説明した図4のステップS1〜ステップS6の処理と同様であるため、説明を省略する。   In step S11, when the RGB image signal is not in the vicinity of the boundary of each color region (step S11; NO), the processing of step S23 to step S28 executed in step S11 of FIG. 4 described in the first embodiment is performed. Since it is the same as the process of S6, description is abbreviate | omitted.

以上説明したように、第2の実施の形態における複写機200によれば、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であるか否かを判別し、RGB画像信号が各色領域の境界近傍であると判別された場合には、境界によって仕切られる各色領域を判別し、判別された各色領域に基づいて、記憶部22に記憶されている色変換テーブルの中から色変換処理に用いる色変換テーブルを複数選択し、選択された複数の色変換テーブルを用いて、RGB画像信号に対してそれぞれ色変換処理を行い、各色領域の色変換テーブルを用いて色変換処理を行った複数の値に基づいて、重み付け平均を算出するので、色領域の境界近傍におけるトーンジャンプを抑制することができ、画像の色再現性を向上させることができる。   As described above, according to the copying machine 200 in the second embodiment, it is determined whether or not the RGB image signal acquired from the scanner unit 10 is in the vicinity of the boundary of each color region, and the RGB image signal is detected in each color region. If it is determined that the color region is near the boundary, the color regions partitioned by the boundary are determined, and color conversion processing is performed from the color conversion table stored in the storage unit 22 based on the determined color regions. A plurality of color conversion tables to be used are selected, each of the RGB image signals is subjected to color conversion processing using the selected plurality of color conversion tables, and the color conversion processing is performed using the color conversion table of each color region. Since the weighted average is calculated based on this value, tone jump in the vicinity of the boundary of the color region can be suppressed, and the color reproducibility of the image can be improved.

なお、第2の実施の形態では、灰色領域と肌色領域との境界は存在しないこととしたが、灰色領域と肌色領域との境界が存在する場合には、灰色領域と肌色領域との境界近傍においては、灰色用色変換テーブルと肌色用色変換テーブルを用いて色変換処理が行われた後のCMYK画像信号に基づいて、重み付け平均を算出すればよい。また、灰色領域、肌色領域、その他の色領域の境界近傍においては、3種類の色変換テーブルを用いて色変換処理が行われた複数の値に基づいて、重み付け平均を算出することとしてもよい。   In the second embodiment, the boundary between the gray area and the skin color area does not exist. However, when the boundary between the gray area and the skin color area exists, the vicinity of the boundary between the gray area and the skin color area. In this case, the weighted average may be calculated based on the CMYK image signal after the color conversion processing is performed using the gray color conversion table and the skin color conversion table. Further, in the vicinity of the boundary between the gray region, the skin color region, and other color regions, the weighted average may be calculated based on a plurality of values subjected to color conversion processing using three types of color conversion tables. .

[第3の実施の形態]
次に、本発明の第3の実施の形態を説明する。
第1及び第2の実施の形態では、スキャナ部10から取得したRGB画像信号に基づいて色領域を判別したが、第3の実施の形態では、RGB画像信号を一旦デバイスに依存しない色空間であるPCS(Profile Connection Space)に変換し、変換された出力値に基づいて色領域を判別する。PCSとしては、CIELAB、CIELUV、CIEXYZ、CIECAM等が挙げられるが、第3の実施の形態では、CIELAB色空間におけるL*a*b*画像信号に変換する場合について説明する。
[Third Embodiment]
Next, a third embodiment of the present invention will be described.
In the first and second embodiments, the color region is determined based on the RGB image signal acquired from the scanner unit 10, but in the third embodiment, the RGB image signal is temporarily converted into a device-independent color space. Conversion to a certain PCS (Profile Connection Space) is performed, and a color area is determined based on the converted output value. Examples of the PCS include CIELAB, CIEUV, CIEXYZ, CIECAM, and the like. In the third embodiment, a case of converting to an L * a * b * image signal in the CIELAB color space will be described.

図8に、本発明の画像処理装置を適用した複写機300の構成を示す。
図8に示すように、複写機300は、スキャナ部10、画像処理部50、プリンタ部30を備える。複写機300は、スキャナ部10において読み取った原稿画像に対して画像処理部50により色変換処理を行い、プリンタ部30から画像出力するものである。
FIG. 8 shows a configuration of a copying machine 300 to which the image processing apparatus of the present invention is applied.
As shown in FIG. 8, the copier 300 includes a scanner unit 10, an image processing unit 50, and a printer unit 30. The copier 300 performs color conversion processing on the document image read by the scanner unit 10 by the image processing unit 50 and outputs an image from the printer unit 30.

スキャナ部10、プリンタ部30については、第1の実施の形態において説明したものと同様であるので、説明を省略する。   Since the scanner unit 10 and the printer unit 30 are the same as those described in the first embodiment, description thereof will be omitted.

画像処理部50は、PCS変換部51、色領域判別部52、記憶部53、色変換テーブル選択部54、色変換部55を備えて構成され、スキャナ部10から取得したRGB画像信号に対して色変換処理を行ってプリンタ部30に出力する。なお、画像処理部50は、CPU、ROM、RAM、入出力インターフェース等を備え、CPUがROMに格納されている各種処理プログラムを読み出して、当該プログラムとの協働により、PCS変換部51、色領域判別部52、色変換テーブル選択部54、色変換部55を実現する。   The image processing unit 50 includes a PCS conversion unit 51, a color area determination unit 52, a storage unit 53, a color conversion table selection unit 54, and a color conversion unit 55, and performs an RGB image signal acquired from the scanner unit 10. Color conversion processing is performed and output to the printer unit 30. The image processing unit 50 includes a CPU, a ROM, a RAM, an input / output interface, and the like. The CPU reads various processing programs stored in the ROM, and in cooperation with the program, the PCS conversion unit 51, the color An area determination unit 52, a color conversion table selection unit 54, and a color conversion unit 55 are realized.

PCS変換部51は、スキャナ部10から取得したRGB画像信号を、一旦CIELAB色空間におけるL*a*b*画像信号に変換する一次変換部である。RGB画像信号からL*a*b*画像信号への変換は、予め定められている色変換テーブルを用いて行うこととしてもよいし、予め定められている変換式により算出することとしてもよい。   The PCS conversion unit 51 is a primary conversion unit that temporarily converts the RGB image signal acquired from the scanner unit 10 into an L * a * b * image signal in the CIELAB color space. The conversion from the RGB image signal to the L * a * b * image signal may be performed using a predetermined color conversion table or may be calculated using a predetermined conversion formula.

色領域判別部52は、PCS変換部51により変換されたL*a*b*画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部54に出力する。具体的には、L*a*b*画像信号が、各色領域に対して予め定められているCIELAB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。
なお、第3の実施の形態においても、第1の実施の形態と同様に、CIELAB色空間は、肌色領域、灰色領域、その他の色領域に分けられるものとする。
The color area determination unit 52 determines the color area to which the L * a * b * image signal converted by the PCS conversion unit 51 belongs, and outputs the color area information to the color conversion table selection unit 54. Specifically, when the L * a * b * image signal is included in a certain range of the CIELAB color space predetermined for each color area, it is determined that the image signal belongs to that color area.
In the third embodiment as well, as in the first embodiment, the CIELAB color space is divided into a skin color area, a gray area, and other color areas.

記憶部53は、不揮発性メモリ等から構成され、RGB画像信号からCMYK画像信号への色変換処理に用いる色変換テーブルが複数記憶されている。具体的には、肌色用色変換テーブル、灰色用色変換テーブル、通常用色変換テーブルの3種類の色変換テーブルが記憶されている。   The storage unit 53 is configured by a nonvolatile memory or the like, and stores a plurality of color conversion tables used for color conversion processing from RGB image signals to CMYK image signals. Specifically, three types of color conversion tables are stored: a skin color conversion table, a gray color conversion table, and a normal color conversion table.

色変換テーブル選択部54は、色領域判別部52により判別された色領域に基づいて、記憶部53に記憶されている色変換テーブルの中から色領域に適した色変換テーブルを選択する。   The color conversion table selection unit 54 selects a color conversion table suitable for the color area from the color conversion tables stored in the storage unit 53 based on the color area determined by the color area determination unit 52.

色変換部55は、色変換テーブル選択部54により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。   The color conversion unit 55 performs color conversion processing on the RGB image signal acquired from the scanner unit 10 using the color conversion table selected by the color conversion table selection unit 54. When the RGB image signal acquired from the scanner unit 10 is a value (grid point) predetermined in the color conversion table, the CMYK value stored in the color conversion table is output, and the RGB image signal is color converted. If the value is other than a predetermined value in the table, a value obtained by interpolating the stored CMYK values with respect to a plurality of predetermined values (grid points) near the RGB image signal is output.

次に、動作を説明する。
図9は、複写機300の画像処理部50により実行される画像処理Cを示すフローチャートである。画像処理Cは、スキャナ部10で読み取った原稿画像のRGB画像信号に対して行われる。
Next, the operation will be described.
FIG. 9 is a flowchart showing image processing C executed by the image processing unit 50 of the copying machine 300. Image processing C is performed on the RGB image signals of the document image read by the scanner unit 10.

図9に示すように、PCS変換部51により、スキャナ部10から取得したRGB画像信号が、デバイスに依存しないL*a*b*画像信号に変換される(ステップS31)。   As shown in FIG. 9, the RGB image signal acquired from the scanner unit 10 is converted into an L * a * b * image signal independent of the device by the PCS conversion unit 51 (step S31).

次に、色領域判別部52により、ステップS31において変換されたL*a*b*画像信号が属する色領域が判別される(ステップS32、S33)。まず、色領域判別部52により、L*a*b*画像信号が属する色領域が肌色領域であるか否かが判別される(ステップS32)。色領域判別部52により、L*a*b*画像信号が属する色領域が肌色領域であると判別された場合には(ステップS32;YES)、色変換テーブル選択部54により、記憶部53に記憶されている色変換テーブルの中から肌色用色変換テーブルが選択される(ステップS34)。   Next, the color region determination unit 52 determines the color region to which the L * a * b * image signal converted in step S31 belongs (steps S32 and S33). First, the color region determination unit 52 determines whether or not the color region to which the L * a * b * image signal belongs is a skin color region (step S32). When the color area determination unit 52 determines that the color area to which the L * a * b * image signal belongs is a skin color area (step S32; YES), the color conversion table selection unit 54 stores it in the storage unit 53. A skin color conversion table is selected from the stored color conversion tables (step S34).

ステップS32において、色領域判別部52により、L*a*b*画像信号が属する色領域が肌色領域でないと判別された場合には(ステップS32;NO)、L*a*b*画像信号が属する色領域が灰色領域であるか否かが判別される(ステップS33)。色領域判別部52により、L*a*b*画像信号が属する色領域が灰色領域であると判別された場合には(ステップS33;YES)、色変換テーブル選択部54により、記憶部53に記憶されている色変換テーブルの中から灰色用色変換テーブルが選択される(ステップS35)。   In step S32, when the color area determination unit 52 determines that the color area to which the L * a * b * image signal belongs is not a skin color area (step S32; NO), the L * a * b * image signal is It is determined whether or not the color area to which it belongs is a gray area (step S33). When the color region determination unit 52 determines that the color region to which the L * a * b * image signal belongs is a gray region (step S33; YES), the color conversion table selection unit 54 stores it in the storage unit 53. A gray color conversion table is selected from the stored color conversion tables (step S35).

ステップS33において、色領域判別部52により、L*a*b*画像信号が属する色領域が灰色領域でないと判別された場合(ステップS33;NO)、すなわち、L*a*b*画像信号が属する色領域がその他の色領域であると判別された場合には、色変換テーブル選択部54により、記憶部53に記憶されている色変換テーブルの中から通常用色変換テーブルが選択される(ステップS36)。   In step S33, when the color region determining unit 52 determines that the color region to which the L * a * b * image signal belongs is not a gray region (step S33; NO), that is, the L * a * b * image signal is When it is determined that the color area to belong to is another color area, the color conversion table selection unit 54 selects a normal color conversion table from the color conversion tables stored in the storage unit 53 ( Step S36).

ステップS34、ステップS35、又はステップS36の後、色変換部55により、色変換テーブル選択部54により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われる(ステップS37)。すなわち、肌色領域のRGB画像信号に対しては、肌色用色変換テーブルを用いて色変換処理が行われ、灰色領域のRGB画像信号に対しては、灰色用色変換テーブルを用いて色変換処理が行われ、その他の色領域のRGB画像信号に対しては、通常用色変換テーブルを用いて色変換処理が行われる。   After step S34, step S35, or step S36, the color conversion unit 55 performs color conversion processing on the RGB image signal acquired from the scanner unit 10 using the color conversion table selected by the color conversion table selection unit 54. Is performed (step S37). That is, color conversion processing is performed on the skin color region RGB image signal using the skin color conversion table, and color conversion processing is performed on the gray region RGB image signal using the gray color conversion table. The color conversion processing is performed using the normal color conversion table for the RGB image signals in the other color regions.

以上説明したように、第3の実施の形態における複写機300によれば、各色領域に適した色変換テーブルを用いることにより、画像の色再現性を向上させることができる。また、CIELAB等の色領域の判別が容易な色空間に一旦変換することにより、画像の色再現性を向上させることができる。   As described above, according to the copying machine 300 in the third embodiment, the color reproducibility of an image can be improved by using a color conversion table suitable for each color region. In addition, the color reproducibility of an image can be improved by once converting the color area such as CIELAB into a color space in which the color area can be easily identified.

なお、第3の実施の形態では、ステップS37において、RGB画像信号からCMYK画像信号に色変換処理を行う場合について説明したが、L*a*b*画像信号からCMYK画像信号に色変換処理を行うこととしてもよい。CIELAB色空間では、無彩色成分が座標軸(L*軸)と平行に分布しているので、色変換テーブルが作成しやすいというメリットがある。   In the third embodiment, the case where the color conversion process is performed from the RGB image signal to the CMYK image signal in step S37 has been described. However, the color conversion process from the L * a * b * image signal to the CMYK image signal is performed. It may be done. In the CIELAB color space, since the achromatic color component is distributed in parallel with the coordinate axis (L * axis), there is an advantage that it is easy to create a color conversion table.

また、第3の実施の形態では、RGB画像信号からL*a*b*画像信号に一旦変換し、L*a*b*画像信号に基づいて色領域を判別することとしたが、CIELUV、CIEXYZ、CIECAM等、その他のPCSに一旦変換してから色領域を判別することとしてもよい。また、RGB画像信号からPCSに変換する際に用いる色変換テーブルについても複数用意しておき、RGB画像信号が属する色領域に適した色変換テーブルを選択することとしてもよい。   In the third embodiment, the RGB image signal is temporarily converted into the L * a * b * image signal, and the color area is determined based on the L * a * b * image signal. The color area may be discriminated after once converted into another PCS such as CIEXYZ or CIECAM. A plurality of color conversion tables used when converting RGB image signals to PCS may be prepared, and a color conversion table suitable for the color region to which the RGB image signals belong may be selected.

また、PCSに限らず、YCrCb色空間に一旦変換した後に、YCrCb画像信号に基づいて色領域を判別することとしてもよい。この場合、CMYK画像信号への変換は、RGB画像信号から色変換処理を行ってもよいし、YCrCb画像信号から色変換処理を行ってもよい。   In addition to the PCS, the color region may be determined based on the YCrCb image signal after being once converted into the YCrCb color space. In this case, the conversion to the CMYK image signal may be performed by performing color conversion processing from the RGB image signal or by performing color conversion processing from the YCrCb image signal.

なお、上記各実施の形態における記述は、本発明に係る画像処理装置の例であり、これに限定されるものではない。複写機100,200,300を構成する画像処理部20,40,50の細部構成及び細部動作に関しても本発明の趣旨を逸脱することのない範囲で適宜変更可能である。   The description in each of the above embodiments is an example of the image processing apparatus according to the present invention, and the present invention is not limited to this. The detailed configuration and detailed operation of the image processing units 20, 40, and 50 constituting the copying machines 100, 200, and 300 can be changed as appropriate without departing from the spirit of the present invention.

上記各実施の形態では、RGB画像信号又はL*a*b*画像信号が、各色領域に対して予め定められている色空間の一定の範囲内に含まれる場合に、その色領域に属するものと判別することとしたが、各色領域の判別方法は上記の例に限定されない。例えば、人の顔等の肌色部分を有する画像や、白から黒まで段階的に変化する複数のパッチを並べた画像等、種々の画像に基づいて、カラー画像信号と色領域とを対応付けたデータベースを予め作成しておき、このデータベースに基づいて色領域を判別することとしてもよい。   In each of the above embodiments, when an RGB image signal or an L * a * b * image signal is included in a certain range of a color space predetermined for each color region, the signal belongs to that color region. However, the method for determining each color region is not limited to the above example. For example, color image signals and color areas are associated with each other based on various images such as an image having a skin color portion such as a human face or an image in which a plurality of patches that change in stages from white to black are arranged. A database may be created in advance, and the color area may be determined based on this database.

また、上記各実施の形態では、人の目の感度が高い色領域として、肌色領域と灰色領域を例にして説明したが、ユーザが扱う画像に応じて、他の色領域に適した色変換テーブルを用いて色変換処理を行うこととしてもよい。   In each of the above embodiments, the skin color area and the gray area are described as examples of the color area having high human eye sensitivity. However, color conversion suitable for other color areas is performed according to the image handled by the user. Color conversion processing may be performed using a table.

また、例えば、顔画像を認識してその領域を肌色領域であると判別する等、カラー画像信号以外の情報に基づいて、色領域を判別することとしてもよい。   Further, for example, the color region may be determined based on information other than the color image signal, such as recognizing a face image and determining that the region is a skin color region.

第1の実施の形態における複写機100の構成図である。1 is a configuration diagram of a copying machine 100 according to a first embodiment. (a)は、色変換テーブルの作成方法を説明するための図であって、格子点が色空間全体に均一に分布する場合の例である。(b)は、色変換テーブルの作成方法を説明するための図であって、格子点が色空間において不均一に分布する場合の例である。(A) is a figure for demonstrating the preparation method of a color conversion table, Comprising: It is an example in case a grid point is uniformly distributed over the whole color space. (B) is a figure for demonstrating the preparation method of a color conversion table, Comprising: It is an example in case a grid point is unevenly distributed in color space. (a)は、色変換テーブルの作成方法を説明するための図であって、格子点が色空間において局所的に均一に分布する場合の例である。(b)は、色変換テーブルの作成方法を説明するための図であって、格子点が色空間において局所的に不均一に分布する場合の例である。(A) is a figure for demonstrating the preparation method of a color conversion table, Comprising: It is an example in case a grid point distributes locally locally in color space. (B) is a figure for demonstrating the preparation method of a color conversion table, Comprising: It is an example in case a grid point distributes locally unevenly in color space. 複写機100の画像処理部20により実行される画像処理Aを示すフローチャートである。3 is a flowchart showing image processing A executed by the image processing unit 20 of the copying machine 100. 第2の実施の形態における複写機200の構成図である。3 is a configuration diagram of a copying machine 200 according to a second embodiment. FIG. 色領域の境界近傍を説明するための図である。It is a figure for demonstrating the boundary vicinity of a color area. 複写機200の画像処理部40により実行される画像処理Bを示すフローチャートである。3 is a flowchart showing image processing B executed by the image processing unit 40 of the copying machine 200. 第3の実施の形態における複写機300の構成図である。FIG. 10 is a configuration diagram of a copier 300 according to a third embodiment. 複写機300の画像処理部50により実行される画像処理Cを示すフローチャートである。5 is a flowchart showing image processing C executed by the image processing unit 50 of the copier 300.

符号の説明Explanation of symbols

10 スキャナ部
20 画像処理部
21 色領域判別部
22 記憶部
23 色変換テーブル選択部
24 色変換部
30 プリンタ部
40 画像処理部
41 境界判別部
42 色領域判別部
43 記憶部
44 色変換テーブル選択部
45,46 色変換部
47 重み付け平均算出部
50 画像処理部
51 PCS変換部
52 色領域判別部
53 記憶部
54 色変換テーブル選択部
55 色変換部
100,200,300 複写機
DESCRIPTION OF SYMBOLS 10 Scanner part 20 Image processing part 21 Color area determination part 22 Storage part 23 Color conversion table selection part 24 Color conversion part 30 Printer part 40 Image processing part 41 Boundary determination part 42 Color area determination part 43 Storage part 44 Color conversion table selection part 45, 46 Color conversion unit 47 Weighted average calculation unit 50 Image processing unit 51 PCS conversion unit 52 Color area discrimination unit 53 Storage unit 54 Color conversion table selection unit 55 Color conversion unit 100, 200, 300 Copier

Claims (4)

入力デバイスから取得したカラー画像信号に対して色変換処理を行って出力デバイスに出力する画像処理装置であって、
前記色変換処理前のカラー画像信号と前記色変換処理後のカラー画像信号とが対応付けられている色変換テーブルが複数記憶されている記憶部と、
前記入力デバイスから取得したカラー画像信号が属する色領域を判別する色領域判別部と、
前記判別された色領域に基づいて、前記記憶部に記憶されている色変換テーブルの中から前記色変換処理に用いる色変換テーブルを選択する色変換テーブル選択部と、
前記選択された色変換テーブルを用いて、前記入力デバイスから取得したカラー画像信号に対して前記色変換処理を行う色変換部と、
を備えたことを特徴とする画像処理装置。
An image processing apparatus that performs color conversion processing on a color image signal acquired from an input device and outputs the result to an output device,
A storage unit that stores a plurality of color conversion tables in which the color image signal before the color conversion process and the color image signal after the color conversion process are associated;
A color area determination unit for determining a color area to which a color image signal acquired from the input device belongs;
A color conversion table selection unit that selects a color conversion table to be used for the color conversion process from the color conversion tables stored in the storage unit based on the determined color region;
A color conversion unit that performs the color conversion process on a color image signal acquired from the input device using the selected color conversion table;
An image processing apparatus comprising:
前記複数の色変換テーブルは、色領域の境界部分におけるカラー画像信号に対して、当該境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が相互に一致するように作成されていることを特徴とする請求項1に記載の画像処理装置。   The plurality of color conversion tables are created so that values obtained by performing color conversion processing on the color image signal at the boundary portion of the color area using the color conversion table of each color area partitioned by the boundary are mutually matched. The image processing apparatus according to claim 1, wherein: 前記入力デバイスから取得したカラー画像信号が各色領域の境界近傍であるか否かを判別する境界判別部をさらに備え、
前記境界判別部により、前記入力デバイスから取得したカラー画像信号が各色領域の境界近傍であると判別された場合に、前記色領域判別部は、当該境界によって仕切られる各色領域を判別し、
前記色変換部によって当該各色領域の色変換テーブルを用いて色変換処理を行った複数の値に基づいて、重み付け平均を算出する重み付け平均算出部をさらに備えたことを特徴とする請求項1に記載の画像処理装置。
A boundary determining unit that determines whether the color image signal acquired from the input device is near the boundary of each color region;
When the boundary determination unit determines that the color image signal acquired from the input device is near the boundary of each color region, the color region determination unit determines each color region partitioned by the boundary,
The weight conversion average calculation part which calculates a weighted average based on the several value which performed the color conversion process using the color conversion table of the said each color area | region by the said color conversion part is characterized by the above-mentioned. The image processing apparatus described.
前記入力デバイスから取得したカラー画像信号を一旦異なる色空間におけるカラー画像信号に変換する一次変換部をさらに備え、
前記色領域判別部は、前記一次変換部により変換された後のカラー画像信号が属する色領域を判別することを特徴とする請求項1から3のいずれか一項に記載の画像処理装置。
A primary conversion unit that converts the color image signal acquired from the input device into a color image signal in a different color space;
The image processing apparatus according to claim 1, wherein the color area determination unit determines a color area to which a color image signal after being converted by the primary conversion unit belongs.
JP2007016032A 2007-01-26 2007-01-26 Image processing apparatus Pending JP2008182633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007016032A JP2008182633A (en) 2007-01-26 2007-01-26 Image processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007016032A JP2008182633A (en) 2007-01-26 2007-01-26 Image processing apparatus

Publications (1)

Publication Number Publication Date
JP2008182633A true JP2008182633A (en) 2008-08-07

Family

ID=39726177

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007016032A Pending JP2008182633A (en) 2007-01-26 2007-01-26 Image processing apparatus

Country Status (1)

Country Link
JP (1) JP2008182633A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130054209A (en) * 2011-11-16 2013-05-24 르네사스 일렉트로닉스 가부시키가이샤 Image processing apparatus, image processing method, and program
JP2015073152A (en) * 2013-10-01 2015-04-16 富士ゼロックス株式会社 Image processor and program
JP2016054491A (en) * 2015-10-20 2016-04-14 ルネサスエレクトロニクス株式会社 Image processing apparatus, image processing method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10326340A (en) * 1997-05-26 1998-12-08 Fuji Xerox Co Ltd Color converting device
JP2002135587A (en) * 2000-10-25 2002-05-10 Canon Inc Image processing apparatus and its method
JP2004120092A (en) * 2002-09-24 2004-04-15 Canon Inc Image processing apparatus, image processing system, image processing method, storage medium, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10326340A (en) * 1997-05-26 1998-12-08 Fuji Xerox Co Ltd Color converting device
JP2002135587A (en) * 2000-10-25 2002-05-10 Canon Inc Image processing apparatus and its method
JP2004120092A (en) * 2002-09-24 2004-04-15 Canon Inc Image processing apparatus, image processing system, image processing method, storage medium, and program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130054209A (en) * 2011-11-16 2013-05-24 르네사스 일렉트로닉스 가부시키가이샤 Image processing apparatus, image processing method, and program
JP2013105452A (en) * 2011-11-16 2013-05-30 Renesas Electronics Corp Image processing apparatus, image processing method, and program
US9214010B2 (en) 2011-11-16 2015-12-15 Renesas Electronics Corporation Image processing apparatus, image processing method, and program product
US9818372B2 (en) 2011-11-16 2017-11-14 Renesas Electronics Corporation Image processing apparatus, image processing method, and program product
KR101981802B1 (en) * 2011-11-16 2019-05-23 르네사스 일렉트로닉스 가부시키가이샤 Image processing apparatus, image processing method, and computer readable recording medium storing program
JP2015073152A (en) * 2013-10-01 2015-04-16 富士ゼロックス株式会社 Image processor and program
JP2016054491A (en) * 2015-10-20 2016-04-14 ルネサスエレクトロニクス株式会社 Image processing apparatus, image processing method, and program

Similar Documents

Publication Publication Date Title
US8649056B2 (en) Image processing apparatus, image processing method, and storage medium
JP4496239B2 (en) Image processing method, image processing apparatus, image forming apparatus, image reading apparatus, computer program, and recording medium
US8908229B2 (en) Image processing apparatus and method configured to update gamma correction table for different paper types
JP5300418B2 (en) Image forming apparatus
JP4329271B2 (en) Image processing apparatus, image forming apparatus, and image processing method
US20140111832A1 (en) Image forming apparatus, image forming method, computer program product, and recording medium
JP2011082746A (en) Image processing apparatus
JP2008182633A (en) Image processing apparatus
JP2009088714A (en) Image forming device
JP6503755B2 (en) Image processing apparatus, image forming apparatus and image processing method
US8547612B2 (en) Image processing apparatus, image forming apparatus, and image processing method that read color image data from a document
JP7314733B2 (en) Color conversion table correction device, color conversion table correction program, and color conversion table correction method
JP3425847B2 (en) Image processing device
JP2011176463A (en) Image processor and image forming apparatus
US10073397B2 (en) Image forming apparatus and control method for updating conversion condition converting measurement result of measurement unit
JP4958626B2 (en) Image processing method, image processing apparatus, image forming apparatus, computer program, and recording medium
JP2006279830A (en) Image processing apparatus and image forming device
JP2003134350A (en) Image processing apparatus
JP2011160273A (en) Image processing apparatus and image forming apparatus
JP2006067233A (en) Device and method for processing picture, picture processing program, copier, copying method and copying program
JP6210322B2 (en) Image forming apparatus
US20120026563A1 (en) Image processing apparatus, image forming apparatus, and method for image processing, configured to divide and read a document to generate divided image data
JP2015149635A (en) image forming apparatus
JP5593888B2 (en) Image processing apparatus, image forming apparatus, and program
JP6155646B2 (en) Image forming apparatus and image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090911

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091202

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110328

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111011