JP2008182633A - Image processing apparatus - Google Patents
Image processing apparatus Download PDFInfo
- 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
Links
Images
Abstract
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参照)。
しかし、色変換処理後のカラー画像信号に対して、特定色に適した補正処理を行うことにより、特定色の色再現性は向上するが、他の色の再現性が劣化するおそれがあった。 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
請求項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
請求項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
As shown in FIG. 1, the
スキャナ部10は、光源により照射され原稿面で反射した光をCCD(Charge Coupled Device)ラインイメージセンサにより光電変換して原稿画像を読み取る。スキャナ部10は、R(赤)、G(緑)、B(青)の3成分に色分解して原稿画像を読み取り、RGBそれぞれの画像信号を画像処理部20に出力する。スキャナ部10がADF(Auto Document Feeder:自動紙送り機構)を備える場合には、原稿台に載置された原稿を1枚ずつ搬送して原稿画像を読み取る。
The
画像処理部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
色領域判別部21は、画素毎に、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部23に出力する。具体的には、RGB画像信号が、各色領域に対して予め定められているRGB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。本実施の形態では、色領域判別部21は、肌色領域、灰色領域、その他の色領域のうち、いずれの色領域であるかを判別する。
The color
例えば、色領域判別部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
記憶部22は、不揮発性メモリ等から構成され、色変換処理に用いる色変換テーブル(LUT:Look Up Table)が複数記憶されている。具体的には、肌色用色変換テーブル、灰色用色変換テーブル、通常用色変換テーブルの3種類の色変換テーブルが記憶されている。
The
色変換テーブルは、スキャナ部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
肌色用色変換テーブルは、肌色領域の色変換処理に適した色変換テーブルであり、人の目の感度が高い肌色領域に対して、より細かい間隔で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
色変換部24は、色変換テーブル選択部23により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。
The
プリンタ部30は、画像処理部20により色変換処理が行われたCMYK画像信号に基づいて電子写真方式の画像形成を行うものであり、像担持体である感光ドラム、感光ドラムの帯電を行う帯電部、CMYK画像信号に基づいて感光ドラム表面に露光走査する露光部、感光ドラムにトナーを付着させる現像部、感光ドラム上に形成されたトナー像を用紙に転写する転写部、感光ドラム上の残トナーを除去するクリーニング部、用紙上に形成されたトナー像を定着させる定着部から構成される。
The
次に、動作を説明する。
図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
図4に示すように、色領域判別部21により、スキャナ部10から取得したRGB画像信号が属する色領域が判別される(ステップS1、S2)。まず、色領域判別部21により、スキャナ部10から取得したRGB画像信号が属する色領域が肌色領域であるか否かが判別される(ステップS1)。色領域判別部21により、RGB画像信号が属する色領域が肌色領域であると判別された場合には(ステップS1;YES)、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から肌色用色変換テーブルが選択される(ステップS3)。
As shown in FIG. 4, the color
ステップS1において、色領域判別部21により、RGB画像信号が属する色領域が肌色領域でないと判別された場合には(ステップS1;NO)、スキャナ部10から取得したRGB画像信号が属する色領域が灰色領域であるか否かが判別される(ステップS2)。色領域判別部21により、RGB画像信号が属する色領域が灰色領域であると判別された場合には(ステップS2;YES)、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から灰色用色変換テーブルが選択される(ステップS4)。
In step S1, when the color
ステップS2において、色領域判別部21により、RGB画像信号が属する色領域が灰色領域でないと判別された場合(ステップS2;NO)、すなわち、RGB画像信号が属する色領域がその他の色領域であると判別された場合には、色変換テーブル選択部23により、記憶部22に記憶されている色変換テーブルの中から通常用色変換テーブルが選択される(ステップS5)。
In step S2, when the color
ステップ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
以上説明したように、第1の実施の形態における複写機100によれば、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、判別された色領域に基づいて、記憶部22に記憶されている色変換テーブルの中から色変換処理に用いる色変換テーブルを選択し、選択された色変換テーブルを用いて、RGB画像信号に対して色変換処理を行うので、各色領域に適した色変換テーブルを用いることにより、画像の色再現性を向上させることができる。
As described above, according to the copying
また、色領域の境界部分においては、境界によって仕切られる各色領域の色変換テーブルを用いて色変換処理を行った値が一致するので、色領域の境界部分におけるトーンジャンプを抑制することができる。 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
As shown in FIG. 5, the copying
スキャナ部10、プリンタ部30については、第1の実施の形態において説明したものと同様であるので、説明を省略する。
Since the
画像処理部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
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
色領域判別部42は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合、境界によって仕切られる各色領域を判別する。すなわち、RGB画像信号が灰色領域とその他の色領域との境界近傍であるか、あるいは、肌色領域とその他の色領域との境界近傍であるかを判別し、境界によって仕切られる2種類の色領域情報を色変換テーブル選択部44に出力する。なお、ここでは、灰色と肌色とを全く異なる色として扱い、灰色領域と肌色領域との境界は存在しないことを前提としている。
When the
一方、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色領域判別部42は、第1の実施の形態と同様に、画素毎に、スキャナ部10から取得したRGB画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部44に出力する。具体的には、RGB画像信号が、各色領域に対して予め定められているRGB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。
On the other hand, when the
記憶部43は、不揮発性メモリ等から構成され、色変換処理に用いる色変換テーブルが複数記憶されている。具体的には、肌色用色変換テーブル、灰色用色変換テーブル、通常用色変換テーブルの3種類の色変換テーブルが記憶されている。
The
色変換テーブル選択部44は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合には、色領域判別部42により判別された2種類の色領域に適した色変換テーブルを、それぞれ、記憶部43に記憶されている色変換テーブルの中から選択する。
The color conversion
一方、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色変換テーブル選択部44は、第1の実施の形態と同様に、色領域判別部42により判別された色領域に基づいて、記憶部43に記憶されている色変換テーブルの中から色領域に適した色変換テーブルを選択する。
On the other hand, if the
色変換部45,46は、色変換テーブル選択部44により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、色変換部45のみが、色変換テーブル選択部44により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。
The
重み付け平均算出部47は、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であると判別された場合、色変換部45,46により色変換処理が行われた後のCMYK画像信号に基づいて、重み付け平均を算出する。ここで、重み付けは、RGB色空間におけるRGB画像信号の色領域の境界までの距離等に基づいて決定される。
The weighted
なお、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍でないと判別された場合には、重み付け平均算出部47は、色変換部45により色変換処理が行われた後のCMYK画像信号をそのまま出力する。
When the
次に、動作を説明する。
図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
図7に示すように、境界判別部41により、スキャナ部10から取得したRGB画像信号が各色領域の境界近傍であるか否かが判別される(ステップS11)。具体的には、図6に示すように、注目している色領域M1の中心を基準として、色領域M1をx%縮小した領域M2と、色領域M1をy%拡大した領域M3との間にRGB画像信号が属する場合に、その色領域M1の境界近傍であると判別される。
As shown in FIG. 7, the
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
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
ステップ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
ステップ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
なお、第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
図8に、本発明の画像処理装置を適用した複写機300の構成を示す。
図8に示すように、複写機300は、スキャナ部10、画像処理部50、プリンタ部30を備える。複写機300は、スキャナ部10において読み取った原稿画像に対して画像処理部50により色変換処理を行い、プリンタ部30から画像出力するものである。
FIG. 8 shows a configuration of a copying
As shown in FIG. 8, the
スキャナ部10、プリンタ部30については、第1の実施の形態において説明したものと同様であるので、説明を省略する。
Since the
画像処理部50は、PCS変換部51、色領域判別部52、記憶部53、色変換テーブル選択部54、色変換部55を備えて構成され、スキャナ部10から取得したRGB画像信号に対して色変換処理を行ってプリンタ部30に出力する。なお、画像処理部50は、CPU、ROM、RAM、入出力インターフェース等を備え、CPUがROMに格納されている各種処理プログラムを読み出して、当該プログラムとの協働により、PCS変換部51、色領域判別部52、色変換テーブル選択部54、色変換部55を実現する。
The
PCS変換部51は、スキャナ部10から取得したRGB画像信号を、一旦CIELAB色空間におけるL*a*b*画像信号に変換する一次変換部である。RGB画像信号からL*a*b*画像信号への変換は、予め定められている色変換テーブルを用いて行うこととしてもよいし、予め定められている変換式により算出することとしてもよい。
The
色領域判別部52は、PCS変換部51により変換されたL*a*b*画像信号が属する色領域を判別し、色領域情報を色変換テーブル選択部54に出力する。具体的には、L*a*b*画像信号が、各色領域に対して予め定められているCIELAB色空間の一定の範囲内に含まれる場合には、その色領域に属するものと判別する。
なお、第3の実施の形態においても、第1の実施の形態と同様に、CIELAB色空間は、肌色領域、灰色領域、その他の色領域に分けられるものとする。
The color
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
色変換テーブル選択部54は、色領域判別部52により判別された色領域に基づいて、記憶部53に記憶されている色変換テーブルの中から色領域に適した色変換テーブルを選択する。
The color conversion
色変換部55は、色変換テーブル選択部54により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理を行う。スキャナ部10から取得したRGB画像信号が色変換テーブルに予め定められている値(格子点)である場合には、色変換テーブルに記憶されているCMYK値を出力し、RGB画像信号が色変換テーブルに予め定められている値以外である場合には、RGB画像信号の近くの複数の予め定められている値(格子点)に対して記憶されているCMYK値を補間した値を出力する。
The
次に、動作を説明する。
図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
図9に示すように、PCS変換部51により、スキャナ部10から取得したRGB画像信号が、デバイスに依存しないL*a*b*画像信号に変換される(ステップS31)。
As shown in FIG. 9, the RGB image signal acquired from the
次に、色領域判別部52により、ステップS31において変換されたL*a*b*画像信号が属する色領域が判別される(ステップS32、S33)。まず、色領域判別部52により、L*a*b*画像信号が属する色領域が肌色領域であるか否かが判別される(ステップS32)。色領域判別部52により、L*a*b*画像信号が属する色領域が肌色領域であると判別された場合には(ステップS32;YES)、色変換テーブル選択部54により、記憶部53に記憶されている色変換テーブルの中から肌色用色変換テーブルが選択される(ステップS34)。
Next, the color
ステップ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
ステップS33において、色領域判別部52により、L*a*b*画像信号が属する色領域が灰色領域でないと判別された場合(ステップS33;NO)、すなわち、L*a*b*画像信号が属する色領域がその他の色領域であると判別された場合には、色変換テーブル選択部54により、記憶部53に記憶されている色変換テーブルの中から通常用色変換テーブルが選択される(ステップS36)。
In step S33, when the color
ステップS34、ステップS35、又はステップS36の後、色変換部55により、色変換テーブル選択部54により選択された色変換テーブルを用いて、スキャナ部10から取得したRGB画像信号に対して色変換処理が行われる(ステップS37)。すなわち、肌色領域のRGB画像信号に対しては、肌色用色変換テーブルを用いて色変換処理が行われ、灰色領域のRGB画像信号に対しては、灰色用色変換テーブルを用いて色変換処理が行われ、その他の色領域のRGB画像信号に対しては、通常用色変換テーブルを用いて色変換処理が行われる。
After step S34, step S35, or step S36, the
以上説明したように、第3の実施の形態における複写機300によれば、各色領域に適した色変換テーブルを用いることにより、画像の色再現性を向上させることができる。また、CIELAB等の色領域の判別が容易な色空間に一旦変換することにより、画像の色再現性を向上させることができる。
As described above, according to the copying
なお、第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
上記各実施の形態では、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.
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
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に記載の画像処理装置。 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.
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)
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)
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 |
-
2007
- 2007-01-26 JP JP2007016032A patent/JP2008182633A/en active Pending
Patent Citations (3)
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)
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 |