JP2009088714A - Image forming device - Google Patents
Image forming device Download PDFInfo
- Publication number
- JP2009088714A JP2009088714A JP2007252722A JP2007252722A JP2009088714A JP 2009088714 A JP2009088714 A JP 2009088714A JP 2007252722 A JP2007252722 A JP 2007252722A JP 2007252722 A JP2007252722 A JP 2007252722A JP 2009088714 A JP2009088714 A JP 2009088714A
- Authority
- JP
- Japan
- Prior art keywords
- color
- hue
- image
- pixel
- value
- 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
- 238000006243 chemical reaction Methods 0.000 claims abstract description 85
- 239000003086 colorant Substances 0.000 claims description 16
- 239000000203 mixture Substances 0.000 claims description 6
- 238000000926 separation method Methods 0.000 description 7
- 230000012447 hatching Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000003705 background correction Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
Images
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Abstract
Description
本発明は、画像読取部で読み取られたカラー原稿の画像データを二色の画像データに色変換する色変換処理部と、前記色変換処理部で色変換された画像データに基づいて二色画像を出力する画像形成部を備えている画像形成装置に関する。 The present invention provides a color conversion processing unit for color-converting image data of a color original read by an image reading unit into two-color image data, and a two-color image based on the image data color-converted by the color conversion processing unit. The present invention relates to an image forming apparatus that includes an image forming unit that outputs the image.
従来、カラー原稿を読み取り、二色画像として出力することができるように構成された画像形成装置は、オペレータにより選択された二色の出力色で二色画像を出力するように構成されていた。 Conventionally, an image forming apparatus configured to read a color original and output it as a two-color image is configured to output a two-color image with two output colors selected by an operator.
特許文献1には、この様な画像形成装置として、少なくともフルカラー印刷モードと、モノカラー印刷モードと、2色カラー印刷モードとを有し、3つの印刷モードを切換選択するモード切換手段と、2色カラー印刷モードにおいて複数の色から特定の2色を選択する色選択手段と、画像形成すべき画像データを色選択手段で選択された2種類の色画像データに変換する変換手段とを有することを特徴とする2色カラーモード付きカラー画像形成装置が提案されている。
しかし、このような画像形成装置では、二色画像を出力するためにオペレータは出力色を選択しなければならず作業が煩雑であった。また、オペレータにより選択された出力色によっては、カラー原稿が全体として有する色合いにより生じる雰囲気を表現しきれず、出力される二色画像に違和感が生じる虞がある。 However, in such an image forming apparatus, an operator has to select an output color in order to output a two-color image, and the work is complicated. Further, depending on the output color selected by the operator, the atmosphere generated by the color tone of the color document as a whole cannot be expressed, and the output two-color image may be uncomfortable.
本発明の目的は、上記の問題点に鑑み、読み込んだカラー原稿画像を二色画像として出力するときに、煩雑な作業を必要とせず、違和感を生じる虞の少ない二色画像を出力することができる画像形成装置を提供する点にある。 In view of the above problems, the object of the present invention is to output a two-color image that does not require a complicated operation and generates a sense of incongruity when the read color original image is output as a two-color image. It is in providing a possible image forming apparatus.
上記目的を達成するために、本発明による画像形成装置の第一の特徴構成は、特許請求の範囲の書類の請求項1に記載した通り、画像読取部で読み取られたカラー原稿の画像データを二色の画像データに色変換する色変換処理部と、前記色変換処理部で色変換された画像データに基づいて二色画像を出力する画像形成部を備えている画像形成装置であって、前記色変換処理部に、前記画像データを構成する各画素のRGB値に基づいて有彩色画素の色相を表す色相データを生成する色相変換部と、各色相データに対応する画素数のヒストグラムを求める色相ヒストグラム生成部と、無彩色画素を第一の色、色相ヒストグラムのピーク値を示す色相値を第二の色として各画素値を変換する画素データ変換部を備えている点にある。
In order to achieve the above object, according to a first characteristic configuration of an image forming apparatus according to the present invention, image data of a color document read by an image reading unit is obtained as described in
上述の構成によれば、色相ヒストグラム生成部により生成された色相ヒストグラムは、色相変換部により生成されたカラー原稿の画像データを構成する有彩色画素の色相値毎の画素数を示すものであり、色相ヒストグラムのピーク値を示す色相値である第二の色は、カラー原稿の画像データを構成する有彩色画素が有する色相のうち、最も多い色相である。 According to the above-described configuration, the hue histogram generated by the hue histogram generation unit indicates the number of pixels for each hue value of the chromatic color pixels constituting the image data of the color document generated by the hue conversion unit, The second color, which is the hue value indicating the peak value of the hue histogram, is the largest hue among the hues of the chromatic color pixels constituting the image data of the color document.
そして、画素データ変換部により、カラー原稿の画像データを構成する無彩色画素の各画素値が第一の色を示す画素値に自動的に変換され、カラー原稿の画像データを構成する有彩色画素の各画素値が第二の色を示す画素値に自動的に変換される。よって、オペレータは出力色を選択するという煩雑な作業から開放される。 Then, the pixel data conversion unit automatically converts the pixel values of the achromatic color pixels constituting the image data of the color original into pixel values indicating the first color, and the chromatic color pixels constituting the image data of the color original Are automatically converted into pixel values indicating the second color. Therefore, the operator is free from the complicated work of selecting the output color.
また、第二の色は、カラー原稿画像の有彩色画素でなる有彩色領域に最も多く含まれており、カラー原稿の全体的な色合いにより生じる雰囲気を最も特徴付ける色である。そこで、カラー画像の画像データが画素データ変換部により第一の色と第二の色に色変換された画像データに基づいて出力された二色画像では、カラー原稿の有する全体的な色合いにより生じる雰囲気が確保され、違和感の生じる虞が少ない。 The second color is most often included in a chromatic color region made up of chromatic pixels of a color original image, and is the color that most characterizes the atmosphere generated by the overall color of the color original. Therefore, in the two-color image output based on the image data obtained by converting the color image image data into the first color and the second color by the pixel data conversion unit, the color image is generated due to the overall hue of the color document. The atmosphere is secured and there is little risk of discomfort.
同第二の特徴構成は、同請求項2に記載した通り、上述の第一特徴構成に加えて、前記画素データ変換部は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えている点にある。 In the second feature configuration, as described in claim 2, in addition to the first feature configuration described above, the pixel data conversion unit converts the hue value set to the second color to any one of CYM. A conversion table for conversion to color mixture data is provided.
カラー画像を出力する画像形成装置は、少なくとも、C(シアン)、Y(イエロー)、M(マゼンダ)の色材を備え、これらの色材の減法混色により任意の色を出力する。しかし、全ての色材を混色すると彩度が低下する傾向があるため、全体的に彩度が低下してくすんだ色合いになる。 An image forming apparatus that outputs a color image includes at least C (cyan), Y (yellow), and M (magenta) color materials, and outputs an arbitrary color by subtractive color mixing of these color materials. However, when all the color materials are mixed, the saturation tends to decrease, so that the overall saturation is lowered.
上述の構成によれば、第二の色に設定された画像データは、変換テーブルに基づいて画素データ変換部によりCMYの何れか二色の混色データに変換されるため、当該画像データに基づいて出力される二色画像では彩度の低下が防止され、鮮やかな二色画像が生成される。 According to the above-described configuration, the image data set to the second color is converted into mixed color data of any two colors of CMY by the pixel data conversion unit based on the conversion table. In the output two-color image, the saturation is prevented from being lowered, and a vivid two-color image is generated.
同第三の特徴構成は、同請求項3に記載した通り、上述の第一または第二の特徴構成に加えて、前記色相ヒストグラム生成部は前記画像読取部で読み取られた低解像度の画像データに対して色相ヒストグラムを生成するように構成され、前記画素データ変換部は前記画像読取部で読み取られた高解像度の画像データに対して各画素値を変換するように構成されている点にある。 The third feature configuration is the low-resolution image data read by the image reading unit, in addition to the first or second feature configuration described above, as described in claim 3. The pixel data conversion unit is configured to convert each pixel value with respect to high-resolution image data read by the image reading unit. .
上述の構成によれば、画像読取部により短い時間で読み込まれた低解像度の画像データ、即ち、少ない画素数に基づいて色相ヒストグラム生成部により色相ヒストグラムが生成されるので、当該色相ヒストグラムの生成に要する時間が短く、且つ、処理負荷が低くなる。 According to the above-described configuration, the hue histogram is generated by the hue histogram generation unit based on the low-resolution image data read by the image reading unit in a short time, that is, based on a small number of pixels. The time required is short and the processing load is low.
上述のように、本発明によれば、読み込んだカラー原稿画像を二色画像として出力するときに、煩雑な作業を必要とせず、違和感を生じる虞の少ない二色画像を出力することができる画像形成装置を提供することができるようになった。 As described above, according to the present invention, when a read color original image is output as a two-color image, a two-color image that does not require a complicated operation and is less likely to cause discomfort can be output. A forming apparatus can be provided.
以下、本発明が適用された画像形成装置の一例であるデジタル複写機の実施形態を説明する。 An embodiment of a digital copying machine as an example of an image forming apparatus to which the present invention is applied will be described below.
図2に示すように、電子写真方式を採用したタンデム型のデジタル複写機100は、オペレータとのマンマシンインタフェースである操作部200と、原稿から原稿画像を光電変換して画像データとして読み取る画像読取部300と、画像読取部300で読み取られた原稿画像の画像データに対して画像処理を施し、出力画像データに変換する画像処理部400と、画像処理部400で変換された出力画像データに基づいてトナー像を形成し、当該トナー像を転写した用紙を定着した後、出力する画像形成部500等の機能ブロックを備える。これらの機能ブロックはシステム制御部700により統括制御される。
As shown in FIG. 2, a tandem type
操作部200は、デジタル複写機100の動作状態を表示するとともに、ソフトウェアキーでなる操作キーが配置された操作画面等を表示するタッチパネル式の液晶表示部と、ハードウェアキーでなる操作キーを備えて構成され、操作制御部により制御される。
The
画像読取部300は、原稿給紙台301に載置された原稿を順次給紙する原稿自動送り装置と、原稿を照明する光源と、複数のミラー及びレンズを介して入光する原稿からの反射光を光電変換して原稿画像をRGB値の画像データとして読み取るCCD等の撮像素子を備える。画像読取部300の画像読取動作は画像読取制御部により制御される。
The
画像処理部400は、動作プログラムが格納されたROMや作業領域となるRAMを備えたマイクロコンピュータと、画像処理用ASICやインタフェース回路などの周辺回路が搭載された制御基板でなる。
The
画像処理部400のマイクロコンピュータは、ROMに格納された動作プログラムを実行し、プリントが起動されると、動作プログラムで規定されるアルゴリズムに基づいて、画像読取部300で読み取られたRGB値の画像データに所定の画像処理を施してCYMK値の出力画像データに変換する。
The microcomputer of the
画像形成部500は、感光体と、感光体表面を一様に帯電する帯電装置と、出力画像データに基づいてレーザビームを走査して感光体表面を露光して静電潜像を形成する露光装置と、形成された静電潜像をトナー像として顕像化する現像装置などを備えた感光体ユニット55をM(マゼンダ)、C(シアン)、Y(イエロー)、K(ブラック)のトナー色毎に備える。
The
画像形成部500は、支持ローラ50により回転駆動される転写ベルト51に各感光体ユニット55で形成されたトナー像を転写して重畳し、用紙収容部600から搬送された用紙に転写ローラ52によりトナー像を転写し、定着ローラと加圧ローラでなる定着部53によりトナー像を溶融して用紙に定着させて出力する。転写ベルト51に残存したトナーはブレード54によりクリーニングされる。画像形成部500の画像形成動作は画像形成制御部により制御される。
The
システム制御部700に、画像読取制御部と画像出力制御部と操作制御部、及び、画像処理部400が通信バスを介して接続される。
An image reading control unit, an image output control unit, an operation control unit, and an
各制御部は、動作プログラムが格納されたROMや作業領域となるRAMを内蔵したマイクロコンピュータと、インタフェース回路などの周辺回路が搭載された制御基板で構成されている。 Each control unit is composed of a microcomputer containing a ROM storing an operation program and a RAM serving as a work area, and a control board on which peripheral circuits such as an interface circuit are mounted.
システム制御部700は通信バスを介して制御信号を出力してその他の制御部を統括制御する。その他の制御部は制御信号に基づいて夫々の制御対象に所定の動作を実行させる。 The system control unit 700 outputs a control signal via the communication bus and controls the other control units in an integrated manner. Other control units cause each control target to execute a predetermined operation based on the control signal.
原稿給紙台301に原稿がセットされ、オペレータにより操作部300を介して複写指令が入力されると、操作制御部により複写指令が検出されて、システム制御部700に出力される。オペレータからの複写指令に基づいて、システム制御部700により各制御部に制御信号が出力され、画像読取部300により原稿から画像データが読み取られ、画像処理部400により画像データが画像処理されて出力画像データに変換され、画像形成部500により出力画像データに基づく画像が出力される。
When a document is set on the
図1に示すように、画像処理部400は画像読取部300により読み取られた画像データに、画像読取部300のスキャナ特性に応じたシェーディング補正などの画像補正を行うスキャナ補正部40と、RGB値の画像データをCYMK値の画像データに変換する色変換処理部41と、画像形成部500のプリンタ特性に応じて画像データを補正し、出力画像データを生成するプリンタ補正部42を備える。
As shown in FIG. 1, the
画像読取部300で読み取られたRGB値の画像データは、スキャナ補正部40によりスキャナ特性の影響が取り除かれた画像データに補正される。スキャナ補正部40により補正されたRGB値の画像データは、色変換処理部41によりCYMK値の画像データに変換される。色変換処理部41により変換されたCYMK値の画像データは、プリンタ補正部42によりプリンタ特性に応じて出力画像データとして補正され画像形成部500に出力される。
The RGB value image data read by the
ここで、色変換処理部41は、オペレータからの複写指令がカラー原稿の画像データを二色画像として出力することを要求する指令であるとき、画像読取部300で読み取られたカラー原稿の画像データを二色の画像データに色変換するように構成され、画像読取部300で読み取られたカラー原稿の画像データを二色(第一の色と第二の色)の画像データに色変換し、画像形成部500に出力する。
Here, when the copy command from the operator is a command requesting that the color original image data be output as a two-color image, the color
色変換処理部41は、画像データを構成する各画素を無彩色画素と有彩色画素に分離する領域分離部43と、画像データを構成する各画素のRGB値に基づいて有彩色画素の色相を表す色相データを生成する色相変換部44と、各色相データに対応する画素数のヒストグラムを求める色相ヒストグラム生成部45と、無彩色画素を第一の色、色相ヒストグラムのピーク値を示す色相値を第二の色として各画素値を変換する画素データ変換部46を備える。
The color
領域分離部43は、画像データを構成する各画素の画素値であるR値、G値、B値の内、最大値と最小値の差分値を夫々算出し、当該差分値が予め設定された所定の閾値以下のときに対応する画素を無彩色画素と判断し、当該所定の閾値を超えるときに対応する画素を有彩色画素と判断して、画像データを構成する各画素を無彩色画素と有彩色画素に分離する。
The
具体的には、領域分離部43は、画像処理部400に備えられたRAMに画像データを構成する各画素に対応するメモリ領域を確保し、無彩色画素と判断した画素に対応するメモリ領域には「0」をセットし、有彩色画素と判断した画素に対応するメモリ領域には「1」をセットすることで、画像データを構成する各画素を無彩色画素と有彩色画素に分離する。
Specifically, the
本実施形態において、有彩色画素は256の色相に分類され、各色相には固有の色相データが設定されている。図3(a)に示すように、例えば、R(レッド)に対する色相データは「0」、Y(イエロー)に対する色相データは「42」に、G(グリーン)に対する色相データは「84」、C(シアン)に対する色相データは「127」、B(ブルー)に対する色相データは「169」、M(マゼンダ)に対する色相データは「212」に設定されている。 In the present embodiment, chromatic color pixels are classified into 256 hues, and unique hue data is set for each hue. As shown in FIG. 3A, for example, hue data for R (red) is “0”, hue data for Y (yellow) is “42”, hue data for G (green) is “84”, C The hue data for (cyan) is set to “127”, the hue data for B (blue) is set to “169”, and the hue data for M (magenta) is set to “212”.
色相変換部44は、〔数1〕の数式に基づいて、領域分離部43により分離された有彩色画素の各画素の色相データを生成する。色相変換部44により生成された色相データは、〔数1〕に基づいて0〜255の範囲に正規化される。
〔数1〕の差分値は、有彩色画素の各画素のR値、G値、B値の内、最大値と最小値の差分値であり、各画素の色相データを0〜255の範囲に正規化する際の基準になるものである。色相変換部44は領域分離部43により画素毎に算出された差分値を当該差分値として用いる。
The difference value of [Equation 1] is the difference value between the maximum value and the minimum value among the R value, G value, and B value of each pixel of the chromatic color pixel, and the hue data of each pixel is in the range of 0 to 255. This is a standard for normalization. The
例えば、画素XのRGB値が(128、255、0)、即ち、画素Xが黄緑色であるとき、B値が最小であり、「G値−R値」は「127」であり、差分値(G値−B値)は「255」であり、画素Xの色相データは「63」となる。つまり、図3(b)に示すように、〔数1〕に基づいて色相変換部44により生成された色相データ「63」は、Y(イエロー)の色相データとG(グリーン)の色相データの中間値、即ち、黄緑色の色相データと一致する。
For example, when the RGB value of the pixel X is (128, 255, 0), that is, when the pixel X is yellow-green, the B value is the smallest, “G value−R value” is “127”, and the difference value (G value−B value) is “255”, and the hue data of the pixel X is “63”. That is, as shown in FIG. 3B, the hue data “63” generated by the
色相ヒストグラム生成部45は、カラー原稿の画像データの有彩色画素を色相毎に分類し、色相毎の画素数を示す色相ヒストグラムを求める。色相ヒストグラムは具体的には図4の上側のグラフのようになる。つまり、色相ヒストグラムのピーク値Pに対応する色相は、当該カラー画像の有する最も多い色相を示すものであり、換言すれば当該カラー画像の全体的な色合いを特徴付けるものである。
The hue
画素データ変換部46は、カラー原稿の画像データを構成する無彩色画素の各画素値を第一の色を示す画素値に変換する。本実施形態では、第一の色はK(ブラック)に予め設定されていて、画素データ変換部46は無彩色画素の各画素値をK値に変換する。
The pixel
具体的には、画素データ変換部46は、RGB値をYUV値またはYCbCr値に変換する所定の変換式に基づいて無彩色画素の各画素の輝度を求め、当該輝度に対応して、各画素の画素値をRGB値からK値に変換する。
Specifically, the pixel
尚、画素データ変換部46は、画像データを構成する無彩色画素の各画素の画素値であるRGB値の平均値を求め、当該平均値に基づき、各画素の画素値をRGB値からK値に変換するものであってもよい。また、画素データ変換部46は無彩色画素の各画素値をK値ではなく、CYM各成分が同一値であるCYM値に変換するものであってもよい。
The pixel
画素データ変換部46は、色相ヒストグラム生成部45により生成された色相ヒストグラムを参照してピーク値を求め、当該ピーク値を示す色相値の色を第二の色とする。画素データ変換部46は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えており、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、カラー原稿の画像データを構成する有彩色画素の各画素値を、第二の色に設定された色相値に対応するCYMの何れか二色の混色データに変換する。
The pixel
具体的には、画素データ変換部46は、RGB値をYUV値またはYCbCr値に変換する所定の変換式に基づいて有彩色画素の各画素の輝度を求め、各画素の画素値をRGB値から、当該輝度に対応して、第二の色に設定された色相値に対応するCYM値、即ち、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、当該混合比を維持したCYMの何れかの二色の混色データに変換する。
Specifically, the pixel
例えば、画素データ変換部46は、色相ヒストグラム生成部45により生成された色相ヒストグラムが、図4の上側に示す色相ヒストグラムであるとき、当該色相ヒストグラムからピーク値Pを求め、ピーク値Pを示す色相値HUEpの色相を第二の色とする。また、画素データ変換部46は、図4の下側に示す変換データを参照して、当該第二の色に設定された色相値HUEpに対応するC値(Cp)、Y値(0)、M値(Mp)を求める。
For example, when the hue histogram generated by the hue
その後、画素データ変換部46は、C値(Cp)とM値(Mp)の比率を変更することなく、有彩色画素の各画素の輝度に対応して、各画素値をRGB値からCYM値(Cp1、0、Mp1)に変換する。具体的には、Cp/Mp=2であるとき、輝度が低い画素の画素値は、例えば、(Cp1、Yp1、Mp1)=(2、0、1)となり、輝度が高い画素の画素値は、例えば、(Cp1、Yp1、Mp1)=(255、0、128)となる。尚、本実施形態において、当該CYM値は夫々8ビットである。
Thereafter, the pixel
尚、画素データ変換部46は、画像データを構成する無彩色画素の各画素の画素値であるRGB値の平均値を求め、各画素の画素値をRGB値から、当該平均値に対応して、第二の色に設定された色相値に対応するCYM値、即ち、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、当該混合比を維持したCYMの何れかの二色の混色データに変換するものであってもよい。
The pixel
上述のように、二色画像を出力する際、オペレータが煩雑な作業を行わなくても、画素データ変換部46により二色画像の出力色が自動的に設定される。
As described above, when outputting a two-color image, the output color of the two-color image is automatically set by the pixel
以下に、カラー画像の画像データを読み取って、二色画像として出力する際のデジタル複写機100の動作について、図5に示すフローチャートを用いて説明する。
The operation of the digital copying
オペレータにより入力された二色画像の出力指令が操作制御部からシステム制御部700に入力されると、システム制御部700により、各制御部に対して二色画像出力動作を要求する制御信号が出力され、各制御部により夫々に対応する機能ブロックが制御されて二色画像の出力動作が開始される。画像読取部300によりカラー原稿のプレスキャンが開始される。プレスキャンは画像読取部300により低解像度で行われる(S1)。
When a two-color image output command input by the operator is input from the operation control unit to the system control unit 700, the system control unit 700 outputs a control signal requesting each control unit to perform a two-color image output operation. Then, the function block corresponding to each control unit is controlled by each control unit, and the output operation of the two-color image is started. The
スキャナ補正部40により補正された画像データから、領域分離部43により各画素の最大の画素値と最小の画素値の差分値が算出され、当該差分値に基づいて当該画像データが無彩色画素と有彩色画素に分離される(S2、S3)。
A difference value between the maximum pixel value and the minimum pixel value of each pixel is calculated from the image data corrected by the
領域分離部43からの有彩色画素の画素データに基づき、色相変換部44により有彩色画素の各画素の色相値が算出される(S4)。色相変換部44からの有彩色画素の各画素の色相値に基づいて、色相ヒストグラム生成部45により画像データの有彩色画素の色相ヒストグラムが生成される(S5)。
Based on the pixel data of the chromatic color pixel from the
画素データ変換部46により、色相ヒストグラム生成部45により生成された色相ヒストグラムからピーク値が求められ、ピーク値を示す色相値が第二の色とされ、変換テーブルが参照されて、有彩色画素の画素値が第二の色の色相値に対応するCYMの何れか二色の混色データが設定される(S6、S7)。
The peak value is obtained from the hue histogram generated by the hue
上述のように、色相ヒストグラム生成部45は画像読取部300で読み取られた低解像度の画像データに対して色相ヒストグラムを生成する。これにより、画像処理部400は、比較的小さな処理負荷で、且つ、早い処理時間で、色相ヒストグラムを生成することができる。
As described above, the hue
画像読取部300によりカラー画像の本スキャンが開始される。本スキャンは画像読取部300により高解像度で行われる(S8)。画像読取部300により読み取られた高解像度の画像データは、スキャナ補正部40により補正される。
The
スキャナ補正部40により補正された画像データは、領域分離部43により各画素の最大の画素値と最小の画素値の差分値が算出され、当該差分値に基づいて当該画像データが無彩色画素と有彩色画素に分離される。
The image data corrected by the
画素データ変換部46により、無彩色画素の画素値がK値に変換され(S9、S10)、有彩色画素の画素値が第二の色の色相値に対応するCYMの何れか二色の混色データでなるCYM値に変換される。(S9、S11)
The pixel
プリンタ補正部42により、K値の無彩色画素とCYM値の有彩色画素でなる画像データが画像形成部500のプリンタ特性に応じて補正され、CYMK値の高解像度の出力画像データが生成される。プリンタ補正部42により生成された出力画像データに基づいて画像形成部500により二色画像が形成されて出力される(S12)。
The
上述のように、画素データ変換部46は画像読取部300で読み取られた高解像度の画像データに対して各画素値を変換する。よって、デジタル複写機100からは、カラー画像が全体として有する色合いが程よく反映された高解像度の二色画像が出力されるため、二色画像に違和感が生じる虞は少ない。
As described above, the pixel
以下に別実施形態を説明する。上述の実施形態では、色相ヒストグラム生成部45により生成される色相ヒストグラムのピーク値を示す色相値の色相が画素データ変換部46により第二の色とされるものとしたが、カラー画像によっては、色相ヒストグラム生成部45により生成される色相ヒストグラムのピーク値が一つになるとは限らない。つまり、色相ヒストグラムが二つ以上のピーク値を有することがある。
Another embodiment will be described below. In the above-described embodiment, the hue of the hue value indicating the peak value of the hue histogram generated by the hue
図6に示すように、色相ヒストグラムが二つのピーク値を有し、各ピーク値に対応する画素数が略同一であるとき、各ピーク値の色相値を中央値として、所定の範囲(L)の色相値を有する画素数の合計値(図面の斜線によるハッチング部分)を求め、合計値の大きい側のピーク値を色相ヒストグラムのピーク値とするように、画素データ変換部46を構成することができる。
As shown in FIG. 6, when the hue histogram has two peak values and the number of pixels corresponding to each peak value is substantially the same, the hue value of each peak value is set as a median and a predetermined range (L) The pixel
これは、画素数の合計値が大きなピーク値に対応する色相に近い色相をカラー画像は多く有しているため、当該ピーク値の色相がカラー画像の全体的な色合いを特徴付ける色相としてふさわしいためである。 This is because the color image has many hues close to the hue corresponding to the peak value where the total number of pixels is large, and the hue of the peak value is suitable as a hue that characterizes the overall hue of the color image. is there.
色相ヒストグラムが二つのピーク値P2とピーク値P3を有しており、図7に示すように、各ピーク値の色相値を中央値として、所定の範囲(L)の色相値を有する画素数の合計値(図面の斜線によるハッチング部分)を求めると、ピーク値P2側の合計値よりピーク値P3側の合計値が大きくなることがある。 The hue histogram has two peak values P2 and P3. As shown in FIG. 7, the hue value of each peak value is set to the median value, and the number of pixels having a hue value in a predetermined range (L). When the total value (hatched portion by hatching in the drawing) is obtained, the total value on the peak value P3 side may be larger than the total value on the peak value P2 side.
このようなとき、ピーク値P3を当該色相ヒストグラムのピーク値とするように画素データ変換部46を構成することができる。これは、ピーク値P3に対応する色相に近い色相をカラー画像が多く有しているため、当該ピーク値P3の色相がカラー画像の全体的な色合いを特徴付ける色相としてふさわしいとみることもできるからである。
In such a case, the
色相ヒストグラムが二つのピーク値P4とピーク値P5を有しており、ピーク値P4とピーク値P5に対応する画素数が略同一であるとき、各ピーク値の色相値を中央値として、所定の範囲(L)の色相値を有する画素数の合計値を求めても当該合計値に大きな差がない場合がある。 When the hue histogram has two peak values P4 and P5, and the number of pixels corresponding to the peak value P4 and the peak value P5 is substantially the same, the hue value of each peak value is set as a median value, Even if the total value of the number of pixels having a hue value in the range (L) is obtained, there may be no significant difference in the total value.
このようなとき、図8に示すように、ピーク値P4またはピーク値P5に対応する画素数の半分の画素数を閾値として、ピーク値P4に対応する色相値を含む当該閾値に対応する二つの色相値間の色相値を有する画素数の合計値(図面の斜線によるハッチング部分)が、ピーク値P5に対応する色相値を含む当該閾値に対応する二つの色相値間の色相値を有する画素数の合計値(図面の斜線によるハッチング部分)より小さいとき、ピーク値P5を色相ヒストグラムのピーク値とするように画素データ変換部46を構成することができる。
In such a case, as shown in FIG. 8, the number of pixels corresponding to the peak value P4 or the peak value P5 is set as a threshold value, and two threshold values corresponding to the threshold value including the hue value corresponding to the peak value P4 are set. The number of pixels having a hue value between two hue values corresponding to the threshold value, in which the total value of the number of pixels having the hue value between the hue values (hatched portion by hatching in the drawing) includes the hue value corresponding to the peak value P5. The pixel
これは、ピーク値P5に対応する色相に近い色相をカラー画像が多く有しているため、当該ピーク値P5の色相がカラー画像の全体的な色合いを特徴付ける色相としてふさわしいとみることもできるからである。 This is because the color image has many hues close to the hue corresponding to the peak value P5, and therefore, it can be considered that the hue of the peak value P5 is suitable as a hue that characterizes the overall hue of the color image. is there.
つまり、画素データ変換部46は、色相ヒストグラムのピーク値として、カラー画像の全体的な色合いを特徴付ける色相値のピーク値を選択し、ピーク値を示す色相値の色相を第二の色とするように構成されるものであればよい。
That is, the pixel
上述した実施形態では、第一の色としてK(ブラッグ)が予め設定されているものとしたが、第一の色はKに限定するものではない。例えば、予めK以外の色に設定されているものでもよく、オペレータにより第一の色が予め設定可能に構成されるものであってもよい。 In the embodiment described above, K (Bragg) is set in advance as the first color, but the first color is not limited to K. For example, a color other than K may be set in advance, or the first color may be set in advance by an operator.
また、色相ヒストグラムに基づいて、画素データ変換部46により第一の色が設定されるものであってもよい。例えば、色相ヒストグラムが二つのピーク値を有するとき、画素数の少ないピーク値を示す色相値の色相を第一の色に設定し、画素数の多いピーク値を示す色相値の色相を第二の色に設定するものであってもよい。
Further, the first color may be set by the pixel
この場合、第一の色と第二の色は共にカラー画像の全体的な色合いを特徴付ける色相であり、カラー画像の有する全体的な色合いによっては、第一の色をKに設定したときよりも、より違和感を生じる虞が少ない二色画像を出力することができる場合があり、第一の色と第二の色が共に自動的に設定されるため、オペレータは煩雑な作業を行う必要がない。 In this case, both the first color and the second color are hues that characterize the overall hue of the color image. Depending on the overall hue of the color image, the first color and the second color may be more than when the first color is set to K. In some cases, it is possible to output a two-color image that is less likely to cause a sense of incongruity, and both the first color and the second color are automatically set, so the operator does not have to perform complicated operations. .
上述した実施形態では、色相ヒストグラム生成部45は、画像読取部300で読み取られた低解像度の画像データに対して色相ヒストグラムを生成するように構成され、画素データ変換部46は画像読取部300で読み取られた高解像度の画像データに対して各画素値を変換するように構成されているものとして説明したが、これに限定するものではない。
In the above-described embodiment, the hue
例えば、高解像度を必要としない二色画像を出力するときには、画像読取部300で読み取られた低解像度の画像データに対して、色相ヒストグラム生成部45が色相ヒストグラムを生成し、画素データ変換部46が各画素値を変換するものであってもよい。この場合、画像読取部300による画像データの読み取りは一度でよく、また、画像処理部400での処理負荷は小さく、処理時間が短くなるため、二色画像を早く出力することができる。
For example, when outputting a two-color image that does not require high resolution, the hue
逆に、画像読取部300で読み取られた高解像度の画像データに対して、色相ヒストグラム生成部45が色相ヒストグラムを生成し、画素データ変換部46が各画素値を変換するものであってもよい。この場合、画像処理部400による処理負荷が大きくなり処理時間が長くなるものの、画像処理部400による、より正確な第二の色の設定が可能であり、より違和感を生じる虞が少ない二色画像を出力することができる。
Conversely, the hue
上述した実施形態では、画素データ変換部46は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えているものとして説明したが、当該変換テーブルを備えていないものであってもよい。この場合、出力される二色画像の彩度が低下する虞があるものの、当該変換テーブルを備えるためのメモリ容量を削減することができる。また、本来CYMの三色でなる画素値を二色に変換する処理負荷が軽減され、当該処理時間を短縮して、二色画像を早く出力することができる。
In the above-described embodiment, the pixel
上述の実施形態では、本発明が適用された画像形成装置の一例であるデジタル複写機100について説明したが、本発明はデジタル複写機以外の複合機やプリンタなどの他の画像形成装置に対して適用可能であることは言うまでもない。
In the above-described embodiment, the digital copying
尚、上述した実施形態は何れも本発明の一実施例に過ぎず、当該記載により本発明の範囲が限定されるものではなく、各部の具体的構成は本発明による作用効果を奏する範囲において適宜変更設計することができることは言うまでもない。 Each of the above-described embodiments is merely an example of the present invention, and the scope of the present invention is not limited by the description. The specific configuration of each part is appropriately selected within the scope of the effects of the present invention. It goes without saying that changes can be designed.
40:スキャナ補正部
41:色変換処理部
42:プリンタ補正部
43:領域分離部
44:色相変換部
45:色相ヒストグラム生成部
46:画素データ変換部
300:画像読取部
400:画像処理部
500:画像形成部
40: Scanner correction unit 41: Color conversion processing unit 42: Printer correction unit 43: Area separation unit 44: Hue conversion unit 45: Hue histogram generation unit 46: Pixel data conversion unit 300: Image reading unit 400: Image processing unit 500: Image forming unit
Claims (3)
前記色変換処理部に、前記画像データを構成する各画素のRGB値に基づいて有彩色画素の色相を表す色相データを生成する色相変換部と、各色相データに対応する画素数のヒストグラムを求める色相ヒストグラム生成部と、無彩色画素を第一の色、色相ヒストグラムのピーク値を示す色相値を第二の色として各画素値を変換する画素データ変換部を備えている画像形成装置。 A color conversion processing unit that converts color document image data read by the image reading unit into two-color image data, and an image that outputs a two-color image based on the image data color-converted by the color conversion processing unit An image forming apparatus including a forming unit,
A hue conversion unit that generates hue data representing the hue of a chromatic color pixel based on the RGB value of each pixel constituting the image data, and a histogram of the number of pixels corresponding to each hue data are obtained in the color conversion processing unit. An image forming apparatus comprising: a hue histogram generation unit; and a pixel data conversion unit that converts each pixel value using an achromatic color pixel as a first color and a hue value indicating a peak value of the hue histogram as a second color.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007252722A JP2009088714A (en) | 2007-09-27 | 2007-09-27 | Image forming device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007252722A JP2009088714A (en) | 2007-09-27 | 2007-09-27 | Image forming device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2009088714A true JP2009088714A (en) | 2009-04-23 |
Family
ID=40661591
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007252722A Pending JP2009088714A (en) | 2007-09-27 | 2007-09-27 | Image forming device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2009088714A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012010318A (en) * | 2010-05-24 | 2012-01-12 | Ricoh Co Ltd | Image processing apparatus, image processing method and program |
| JP2012010321A (en) * | 2010-05-24 | 2012-01-12 | Ricoh Co Ltd | Image processing device, image processing method and program |
| JP2016206576A (en) * | 2015-04-28 | 2016-12-08 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
| CN109685808A (en) * | 2018-11-28 | 2019-04-26 | 陕西天诚软件有限公司 | A kind of image processing method based on android system |
| CN109934786A (en) * | 2019-03-14 | 2019-06-25 | 河北师范大学 | Image color correction method, system and terminal device |
-
2007
- 2007-09-27 JP JP2007252722A patent/JP2009088714A/en active Pending
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012010318A (en) * | 2010-05-24 | 2012-01-12 | Ricoh Co Ltd | Image processing apparatus, image processing method and program |
| JP2012010321A (en) * | 2010-05-24 | 2012-01-12 | Ricoh Co Ltd | Image processing device, image processing method and program |
| JP2016206576A (en) * | 2015-04-28 | 2016-12-08 | 京セラドキュメントソリューションズ株式会社 | Image forming apparatus |
| CN109685808A (en) * | 2018-11-28 | 2019-04-26 | 陕西天诚软件有限公司 | A kind of image processing method based on android system |
| CN109685808B (en) * | 2018-11-28 | 2022-09-20 | 陕西天诚软件有限公司 | Image processing method based on android system |
| CN109934786A (en) * | 2019-03-14 | 2019-06-25 | 河北师范大学 | Image color correction method, system and terminal device |
| CN109934786B (en) * | 2019-03-14 | 2023-03-17 | 河北师范大学 | Image color correction method and system and terminal equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11829818B2 (en) | Image processing apparatus, image processing method, and program | |
| KR101707834B1 (en) | Color image processing apparatus and method for processing color image | |
| CN109327646B (en) | Image processing apparatus, image processing method, and computer-readable storage medium | |
| US20160142590A1 (en) | Image processing apparatus, image processing method, and program | |
| US9025200B2 (en) | Information processing apparatus, information processing method, and storage medium for correcting colors in an image output | |
| JP2009088714A (en) | Image forming device | |
| EP2439922B1 (en) | Image processing apparatus, method for processing image, and program therefor | |
| JP4903851B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| JP2009194690A (en) | Image processing apparatus, and color converting method | |
| US7835045B2 (en) | Image processing device and image processing method | |
| EP3633967A1 (en) | Image processing apparatus and image processing method | |
| JP2008182633A (en) | Image processing apparatus | |
| JP2009225451A (en) | Image forming apparatus and method | |
| JP2018082360A (en) | Image processing apparatus, image processing method, and program for creating image processing parameter | |
| JP4413827B2 (en) | Image processing device | |
| JP4990340B2 (en) | Image processing apparatus, image forming apparatus, image processing method, image processing program, and recording medium | |
| US7609879B2 (en) | Image processing device | |
| JP2011160273A (en) | Image processing apparatus and image forming apparatus | |
| JP2006067233A (en) | Image processing apparatus, image processing method, image processing program, copying apparatus, copying method, and copying program | |
| JP6315284B2 (en) | Image forming apparatus | |
| JP2012034003A (en) | Image processing apparatus, 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 | |
| JP2004056327A (en) | Image processing apparatus | |
| JP2018046419A (en) | Image processing device, image formation device and program | |
| JP2007266678A (en) | Image processing apparatus and image processing method |