[go: up one dir, main page]

JP2009088714A - Image forming device - Google Patents

Image forming device Download PDF

Info

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
Application number
JP2007252722A
Other languages
Japanese (ja)
Inventor
Yuki Kimakura
由貴 木枕
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Mita Corp
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 Kyocera Mita Corp filed Critical Kyocera Mita Corp
Priority to JP2007252722A priority Critical patent/JP2009088714A/en
Publication of JP2009088714A publication Critical patent/JP2009088714A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming device capable of outputting a two-color image hardly creating an uncomfortable feeling without requiring complicated work in outputting a read color document image as a two-color image. <P>SOLUTION: The image forming device 100 includes: a color conversion processing part 41 color-converting image data of a color document read by an image reading part 300 to two-color image data; and an image forming part 500 outputting the two-color image based on the image data color-converted by the color conversion processing part 41, wherein the color conversion processing part 41 includes: a hue conversion part 44 generating hue data representing the hue of a chromatic pixel based on RGB values of the respective pixels constituting the image data; a hue histogram creation part 45 obtaining a histogram of the number of pixels corresponding to the respective hue data; and a pixel data conversion part 46 converting the respective pixel values by considering an achromatic color pixel and a hue value representing a peak value of a hue histogram as a first color and a second color, respectively. <P>COPYRIGHT: (C)2009,JPO&INPIT

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色カラーモード付きカラー画像形成装置が提案されている。
特開2000−3084号公報
Patent Document 1 discloses, as such an image forming apparatus, at least a full-color printing mode, a mono-color printing mode, and a two-color printing mode, and mode switching means for switching and selecting three printing modes, and 2 A color selection unit that selects two specific colors from a plurality of colors in the color printing mode; and a conversion unit that converts image data to be formed into two types of color image data selected by the color selection unit. A color image forming apparatus with a two-color mode has been proposed.
JP 2000-3084 A

しかし、このような画像形成装置では、二色画像を出力するためにオペレータは出力色を選択しなければならず作業が煩雑であった。また、オペレータにより選択された出力色によっては、カラー原稿が全体として有する色合いにより生じる雰囲気を表現しきれず、出力される二色画像に違和感が生じる虞がある。   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 claim 1 of the claims. An image forming apparatus comprising: a color conversion processing unit that performs color conversion to two-color image data; and an image forming unit that outputs a two-color image based on the image data color-converted by the color conversion processing 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. A hue histogram generation unit and a pixel data conversion unit that converts each pixel value using the achromatic color pixel as the first color and the hue value indicating the peak value of the hue histogram as the second color are provided.

上述の構成によれば、色相ヒストグラム生成部により生成された色相ヒストグラムは、色相変換部により生成されたカラー原稿の画像データを構成する有彩色画素の色相値毎の画素数を示すものであり、色相ヒストグラムのピーク値を示す色相値である第二の色は、カラー原稿の画像データを構成する有彩色画素が有する色相のうち、最も多い色相である。   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 digital copying machine 100 adopting an electrophotographic system includes an operation unit 200 that is a man-machine interface with an operator, and an image reading unit that photoelectrically converts a document image from a document and reads it as image data. Unit 300, image processing unit 400 that performs image processing on image data of a document image read by image reading unit 300 and converts the image data into output image data, and output image data converted by image processing unit 400. The image forming unit 500 is provided with functional blocks such as an image forming unit 500 that forms a toner image, fixes the sheet onto which the toner image is transferred, and then outputs the fixed image. These functional blocks are centrally controlled by the system control unit 700.

操作部200は、デジタル複写機100の動作状態を表示するとともに、ソフトウェアキーでなる操作キーが配置された操作画面等を表示するタッチパネル式の液晶表示部と、ハードウェアキーでなる操作キーを備えて構成され、操作制御部により制御される。   The operation unit 200 includes a touch panel type liquid crystal display unit that displays an operation screen on which operation keys such as software keys are arranged and displays operation states of the digital copying machine 100, and operation keys that are hardware keys. And is controlled by the operation control unit.

画像読取部300は、原稿給紙台301に載置された原稿を順次給紙する原稿自動送り装置と、原稿を照明する光源と、複数のミラー及びレンズを介して入光する原稿からの反射光を光電変換して原稿画像をRGB値の画像データとして読み取るCCD等の撮像素子を備える。画像読取部300の画像読取動作は画像読取制御部により制御される。   The image reading unit 300 includes an automatic document feeder that sequentially feeds documents placed on the document feeder 301, a light source that illuminates the document, and reflection from the document that enters through a plurality of mirrors and lenses. An image sensor such as a CCD is provided which photoelectrically converts light and reads a document image as RGB value image data. The image reading operation of the image reading unit 300 is controlled by the image reading control unit.

画像処理部400は、動作プログラムが格納されたROMや作業領域となるRAMを備えたマイクロコンピュータと、画像処理用ASICやインタフェース回路などの周辺回路が搭載された制御基板でなる。   The image processing unit 400 is a control board on which a microcomputer including a ROM storing an operation program and a RAM serving as a work area and peripheral circuits such as an image processing ASIC and an interface circuit are mounted.

画像処理部400のマイクロコンピュータは、ROMに格納された動作プログラムを実行し、プリントが起動されると、動作プログラムで規定されるアルゴリズムに基づいて、画像読取部300で読み取られたRGB値の画像データに所定の画像処理を施してCYMK値の出力画像データに変換する。   The microcomputer of the image processing unit 400 executes an operation program stored in the ROM, and when printing is started, an RGB value image read by the image reading unit 300 based on an algorithm defined by the operation program. The data is subjected to predetermined image processing and converted to output image data having a CYMK value.

画像形成部500は、感光体と、感光体表面を一様に帯電する帯電装置と、出力画像データに基づいてレーザビームを走査して感光体表面を露光して静電潜像を形成する露光装置と、形成された静電潜像をトナー像として顕像化する現像装置などを備えた感光体ユニット55をM(マゼンダ)、C(シアン)、Y(イエロー)、K(ブラック)のトナー色毎に備える。   The image forming unit 500 exposes the surface of the photosensitive member by exposing the surface of the photosensitive member by scanning a laser beam based on the output image data, and a charging device that uniformly charges the surface of the photosensitive member. M (magenta), C (cyan), Y (yellow), and K (black) toners are provided with a photosensitive unit 55 that includes a developing device that visualizes the formed electrostatic latent image as a toner image. Prepare for each color.

画像形成部500は、支持ローラ50により回転駆動される転写ベルト51に各感光体ユニット55で形成されたトナー像を転写して重畳し、用紙収容部600から搬送された用紙に転写ローラ52によりトナー像を転写し、定着ローラと加圧ローラでなる定着部53によりトナー像を溶融して用紙に定着させて出力する。転写ベルト51に残存したトナーはブレード54によりクリーニングされる。画像形成部500の画像形成動作は画像形成制御部により制御される。   The image forming unit 500 transfers and superimposes the toner image formed by each photoconductor unit 55 on the transfer belt 51 that is rotationally driven by the support roller 50, and the transfer roller 52 onto the sheet conveyed from the sheet storage unit 600. The toner image is transferred, and the toner image is melted and fixed on a sheet by a fixing unit 53 including a fixing roller and a pressure roller, and then output. The toner remaining on the transfer belt 51 is cleaned by the blade 54. The image forming operation of the image forming unit 500 is controlled by the image forming control unit.

システム制御部700に、画像読取制御部と画像出力制御部と操作制御部、及び、画像処理部400が通信バスを介して接続される。   An image reading control unit, an image output control unit, an operation control unit, and an image processing unit 400 are connected to the system control unit 700 via a communication bus.

各制御部は、動作プログラムが格納された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 document feeder 301 and a copy command is input by the operator via the operation unit 300, the copy command is detected by the operation control unit and output to the system control unit 700. Based on a copy command from the operator, the system control unit 700 outputs a control signal to each control unit, the image reading unit 300 reads image data from the original, and the image processing unit 400 performs image processing on the image data and outputs it. The image data is converted into image data, and the image forming unit 500 outputs an image based on the output image data.

図1に示すように、画像処理部400は画像読取部300により読み取られた画像データに、画像読取部300のスキャナ特性に応じたシェーディング補正などの画像補正を行うスキャナ補正部40と、RGB値の画像データをCYMK値の画像データに変換する色変換処理部41と、画像形成部500のプリンタ特性に応じて画像データを補正し、出力画像データを生成するプリンタ補正部42を備える。   As shown in FIG. 1, the image processing unit 400 includes a scanner correction unit 40 that performs image correction such as shading correction according to the scanner characteristics of the image reading unit 300 on the image data read by the image reading unit 300, and RGB values. A color conversion processing unit 41 that converts the image data into CYMK image data, and a printer correction unit 42 that corrects the image data according to the printer characteristics of the image forming unit 500 and generates output image data.

画像読取部300で読み取られたRGB値の画像データは、スキャナ補正部40によりスキャナ特性の影響が取り除かれた画像データに補正される。スキャナ補正部40により補正されたRGB値の画像データは、色変換処理部41によりCYMK値の画像データに変換される。色変換処理部41により変換されたCYMK値の画像データは、プリンタ補正部42によりプリンタ特性に応じて出力画像データとして補正され画像形成部500に出力される。   The RGB value image data read by the image reading unit 300 is corrected to image data from which the influence of the scanner characteristics has been removed by the scanner correction unit 40. The RGB value image data corrected by the scanner correction unit 40 is converted by the color conversion processing unit 41 into CYMK value image data. The CYMK value image data converted by the color conversion processing unit 41 is corrected as output image data according to the printer characteristics by the printer correction unit 42 and output to the image forming unit 500.

ここで、色変換処理部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 conversion processing unit 41 reads the color original image data read by the image reading unit 300. Is converted into two-color image data, and the color original image data read by the image reading unit 300 is converted into two-color (first color and second color) image data, The image is output to the image forming unit 500.

色変換処理部41は、画像データを構成する各画素を無彩色画素と有彩色画素に分離する領域分離部43と、画像データを構成する各画素のRGB値に基づいて有彩色画素の色相を表す色相データを生成する色相変換部44と、各色相データに対応する画素数のヒストグラムを求める色相ヒストグラム生成部45と、無彩色画素を第一の色、色相ヒストグラムのピーク値を示す色相値を第二の色として各画素値を変換する画素データ変換部46を備える。   The color conversion processing unit 41 separates each pixel constituting the image data into an achromatic color pixel and a chromatic color pixel, and the hue of the chromatic color pixel based on the RGB value of each pixel constituting the image data. A hue conversion unit 44 that generates hue data to be represented; a hue histogram generation unit 45 that obtains a histogram of the number of pixels corresponding to each hue data; and a hue value that indicates the peak value of the hue histogram for the achromatic color pixel as the first color. A pixel data conversion unit 46 that converts each pixel value as the second color is provided.

領域分離部43は、画像データを構成する各画素の画素値であるR値、G値、B値の内、最大値と最小値の差分値を夫々算出し、当該差分値が予め設定された所定の閾値以下のときに対応する画素を無彩色画素と判断し、当該所定の閾値を超えるときに対応する画素を有彩色画素と判断して、画像データを構成する各画素を無彩色画素と有彩色画素に分離する。   The region separation unit 43 calculates a difference value between the maximum value and the minimum value among the R value, the G value, and the B value that are pixel values of each pixel constituting the image data, and the difference value is set in advance. A pixel corresponding to a predetermined threshold value or less is determined to be an achromatic pixel, a pixel corresponding to the predetermined threshold value being exceeded is determined to be a chromatic pixel, and each pixel constituting the image data is determined to be an achromatic pixel. Separate into chromatic pixels.

具体的には、領域分離部43は、画像処理部400に備えられたRAMに画像データを構成する各画素に対応するメモリ領域を確保し、無彩色画素と判断した画素に対応するメモリ領域には「0」をセットし、有彩色画素と判断した画素に対応するメモリ領域には「1」をセットすることで、画像データを構成する各画素を無彩色画素と有彩色画素に分離する。   Specifically, the region separation unit 43 secures a memory region corresponding to each pixel constituting the image data in the RAM provided in the image processing unit 400, and stores the memory region corresponding to the pixel determined to be an achromatic pixel. Sets “0” and sets “1” in the memory area corresponding to the pixel determined to be a chromatic color pixel, thereby separating each pixel constituting the image data into an achromatic color pixel and a chromatic color pixel.

本実施形態において、有彩色画素は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の範囲に正規化される。

Figure 2009088714
The hue conversion unit 44 generates hue data of each pixel of the chromatic color pixels separated by the region separation unit 43 based on the mathematical formula [Equation 1]. The hue data generated by the hue conversion unit 44 is normalized to a range of 0 to 255 based on [Equation 1].
Figure 2009088714

〔数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 hue conversion unit 44 uses the difference value calculated for each pixel by the region separation unit 43 as the difference value.

例えば、画素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 hue conversion unit 44 based on [Equation 1] includes Y (yellow) hue data and G (green) hue data. It matches the intermediate value, that is, the yellowish green hue data.

色相ヒストグラム生成部45は、カラー原稿の画像データの有彩色画素を色相毎に分類し、色相毎の画素数を示す色相ヒストグラムを求める。色相ヒストグラムは具体的には図4の上側のグラフのようになる。つまり、色相ヒストグラムのピーク値Pに対応する色相は、当該カラー画像の有する最も多い色相を示すものであり、換言すれば当該カラー画像の全体的な色合いを特徴付けるものである。   The hue histogram generation unit 45 classifies the chromatic color pixels of the image data of the color original for each hue, and obtains a hue histogram indicating the number of pixels for each hue. Specifically, the hue histogram is as shown in the upper graph of FIG. That is, the hue corresponding to the peak value P of the hue histogram indicates the most abundant hue of the color image, in other words, characterizes the overall hue of the color image.

画素データ変換部46は、カラー原稿の画像データを構成する無彩色画素の各画素値を第一の色を示す画素値に変換する。本実施形態では、第一の色はK(ブラック)に予め設定されていて、画素データ変換部46は無彩色画素の各画素値をK値に変換する。   The pixel data conversion unit 46 converts each pixel value of the achromatic pixel constituting the image data of the color document into a pixel value indicating the first color. In the present embodiment, the first color is preset to K (black), and the pixel data conversion unit 46 converts each pixel value of the achromatic pixel into a K value.

具体的には、画素データ変換部46は、RGB値をYUV値またはYCbCr値に変換する所定の変換式に基づいて無彩色画素の各画素の輝度を求め、当該輝度に対応して、各画素の画素値をRGB値からK値に変換する。   Specifically, the pixel data conversion unit 46 obtains the luminance of each pixel of the achromatic pixel based on a predetermined conversion formula for converting the RGB value into the YUV value or the YCbCr value, and each pixel corresponds to the luminance. Are converted from RGB values to K values.

尚、画素データ変換部46は、画像データを構成する無彩色画素の各画素の画素値であるRGB値の平均値を求め、当該平均値に基づき、各画素の画素値をRGB値からK値に変換するものであってもよい。また、画素データ変換部46は無彩色画素の各画素値をK値ではなく、CYM各成分が同一値であるCYM値に変換するものであってもよい。   The pixel data conversion unit 46 obtains an average value of RGB values that are pixel values of each of the achromatic pixels constituting the image data, and based on the average value, the pixel value of each pixel is converted into a K value from the RGB value. It may be converted to. The pixel data conversion unit 46 may convert each pixel value of the achromatic color pixel into a CYM value in which each CYM component has the same value instead of the K value.

画素データ変換部46は、色相ヒストグラム生成部45により生成された色相ヒストグラムを参照してピーク値を求め、当該ピーク値を示す色相値の色を第二の色とする。画素データ変換部46は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えており、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、カラー原稿の画像データを構成する有彩色画素の各画素値を、第二の色に設定された色相値に対応するCYMの何れか二色の混色データに変換する。   The pixel data conversion unit 46 obtains a peak value with reference to the hue histogram generated by the hue histogram generation unit 45, and sets the color of the hue value indicating the peak value as the second color. The pixel data conversion unit 46 includes a conversion table for converting the hue value set for the second color into color mixture data of any two colors of CYM, and the mixing ratio of the two colors is set corresponding to the hue value. With reference to the conversion table, the pixel values of the chromatic color pixels constituting the image data of the color document are converted into color mixture data of any two colors of CYM corresponding to the hue value set to the second color. Convert.

具体的には、画素データ変換部46は、RGB値をYUV値またはYCbCr値に変換する所定の変換式に基づいて有彩色画素の各画素の輝度を求め、各画素の画素値をRGB値から、当該輝度に対応して、第二の色に設定された色相値に対応するCYM値、即ち、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、当該混合比を維持したCYMの何れかの二色の混色データに変換する。   Specifically, the pixel data conversion unit 46 obtains the luminance of each pixel of the chromatic color pixel based on a predetermined conversion formula for converting the RGB value into the YUV value or the YCbCr value, and calculates the pixel value of each pixel from the RGB value. The CYM value corresponding to the hue value set for the second color corresponding to the luminance, that is, the conversion table in which the mixing ratio of the two colors is set corresponding to the hue value, Conversion to color mixing data of any two colors of CYM maintaining the mixing ratio.

例えば、画素データ変換部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 histogram generation unit 45 is the hue histogram shown in the upper side of FIG. 4, the pixel data conversion unit 46 obtains the peak value P from the hue histogram and the hue indicating the peak value P Let the hue of the value HUEp be the second color. Further, the pixel data conversion unit 46 refers to the conversion data shown on the lower side of FIG. 4, and the C value (Cp), the Y value (0) corresponding to the hue value HUEp set for the second color, The M value (Mp) is obtained.

その後、画素データ変換部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 data conversion unit 46 converts each pixel value from the RGB value to the CYM value in accordance with the luminance of each pixel of the chromatic color pixel without changing the ratio between the C value (Cp) and the M value (Mp). Convert to (Cp1, 0, Mp1). Specifically, when Cp / Mp = 2, the pixel value of the pixel with low luminance is, for example, (Cp1, Yp1, Mp1) = (2, 0, 1), and the pixel value of the pixel with high luminance is For example, (Cp1, Yp1, Mp1) = (255, 0, 128). In this embodiment, each CYM value is 8 bits.

尚、画素データ変換部46は、画像データを構成する無彩色画素の各画素の画素値であるRGB値の平均値を求め、各画素の画素値をRGB値から、当該平均値に対応して、第二の色に設定された色相値に対応するCYM値、即ち、色相値に対応して二色の混合比が設定された当該変換テーブルを参照して、当該混合比を維持したCYMの何れかの二色の混色データに変換するものであってもよい。   The pixel data conversion unit 46 obtains an average value of RGB values, which are pixel values of each of the achromatic pixels constituting the image data, and calculates the pixel value of each pixel from the RGB value corresponding to the average value. CYM value corresponding to the hue value set for the second color, that is, the conversion table in which the mixing ratio of the two colors is set corresponding to the hue value, and the CYM value maintaining the mixing ratio is referred to It may be converted into any two color mixed data.

上述のように、二色画像を出力する際、オペレータが煩雑な作業を行わなくても、画素データ変換部46により二色画像の出力色が自動的に設定される。   As described above, when outputting a two-color image, the output color of the two-color image is automatically set by the pixel data conversion unit 46 without the operator having to perform complicated work.

以下に、カラー画像の画像データを読み取って、二色画像として出力する際のデジタル複写機100の動作について、図5に示すフローチャートを用いて説明する。   The operation of the digital copying machine 100 when reading color image data and outputting it as a two-color image will be described below with reference to the flowchart shown in FIG.

オペレータにより入力された二色画像の出力指令が操作制御部からシステム制御部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 image reading unit 300 starts prescanning of a color document. The pre-scan is performed at a low resolution by the image reading unit 300 (S1).

スキャナ補正部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 scanner correction unit 40, and the image data is determined to be an achromatic pixel based on the difference value. Separated into chromatic color pixels (S2, S3).

領域分離部43からの有彩色画素の画素データに基づき、色相変換部44により有彩色画素の各画素の色相値が算出される(S4)。色相変換部44からの有彩色画素の各画素の色相値に基づいて、色相ヒストグラム生成部45により画像データの有彩色画素の色相ヒストグラムが生成される(S5)。   Based on the pixel data of the chromatic color pixel from the region separation unit 43, the hue value of each pixel of the chromatic color pixel is calculated by the hue conversion unit 44 (S4). Based on the hue value of each pixel of the chromatic color pixel from the hue conversion unit 44, a hue histogram of the chromatic color pixel of the image data is generated by the hue histogram generation unit 45 (S5).

画素データ変換部46により、色相ヒストグラム生成部45により生成された色相ヒストグラムからピーク値が求められ、ピーク値を示す色相値が第二の色とされ、変換テーブルが参照されて、有彩色画素の画素値が第二の色の色相値に対応するCYMの何れか二色の混色データが設定される(S6、S7)。   The peak value is obtained from the hue histogram generated by the hue histogram generation unit 45 by the pixel data conversion unit 46, the hue value indicating the peak value is set as the second color, the conversion table is referred to, and the chromatic color pixel Color mixture data of any two colors of CYM corresponding to the hue value of the second color is set (S6, S7).

上述のように、色相ヒストグラム生成部45は画像読取部300で読み取られた低解像度の画像データに対して色相ヒストグラムを生成する。これにより、画像処理部400は、比較的小さな処理負荷で、且つ、早い処理時間で、色相ヒストグラムを生成することができる。   As described above, the hue histogram generation unit 45 generates a hue histogram for low-resolution image data read by the image reading unit 300. As a result, the image processing unit 400 can generate a hue histogram with a relatively small processing load and a fast processing time.

画像読取部300によりカラー画像の本スキャンが開始される。本スキャンは画像読取部300により高解像度で行われる(S8)。画像読取部300により読み取られた高解像度の画像データは、スキャナ補正部40により補正される。   The image scanning unit 300 starts a color image main scan. The main scan is performed at a high resolution by the image reading unit 300 (S8). The high-resolution image data read by the image reading unit 300 is corrected by the scanner correction unit 40.

スキャナ補正部40により補正された画像データは、領域分離部43により各画素の最大の画素値と最小の画素値の差分値が算出され、当該差分値に基づいて当該画像データが無彩色画素と有彩色画素に分離される。   The image data corrected by the scanner correction unit 40 is calculated by the region separation unit 43 as a difference value between the maximum pixel value and the minimum pixel value of each pixel, and the image data is determined to be an achromatic pixel based on the difference value. Separated into chromatic color pixels.

画素データ変換部46により、無彩色画素の画素値がK値に変換され(S9、S10)、有彩色画素の画素値が第二の色の色相値に対応するCYMの何れか二色の混色データでなるCYM値に変換される。(S9、S11)   The pixel data conversion unit 46 converts the pixel value of the achromatic color pixel into a K value (S9, S10), and the pixel value of the chromatic color pixel is a mixed color of any two colors of CYM corresponding to the hue value of the second color. It is converted into a CYM value consisting of data. (S9, S11)

プリンタ補正部42により、K値の無彩色画素とCYM値の有彩色画素でなる画像データが画像形成部500のプリンタ特性に応じて補正され、CYMK値の高解像度の出力画像データが生成される。プリンタ補正部42により生成された出力画像データに基づいて画像形成部500により二色画像が形成されて出力される(S12)。   The printer correction unit 42 corrects image data composed of K-valued achromatic pixels and CYM-valued chromatic color pixels according to the printer characteristics of the image forming unit 500, and generates high-resolution output image data with CYMK values. . Based on the output image data generated by the printer correction unit 42, a two-color image is formed and output by the image forming unit 500 (S12).

上述のように、画素データ変換部46は画像読取部300で読み取られた高解像度の画像データに対して各画素値を変換する。よって、デジタル複写機100からは、カラー画像が全体として有する色合いが程よく反映された高解像度の二色画像が出力されるため、二色画像に違和感が生じる虞は少ない。   As described above, the pixel data conversion unit 46 converts each pixel value to the high-resolution image data read by the image reading unit 300. Therefore, since the digital copying machine 100 outputs a high-resolution two-color image that appropriately reflects the color tone of the color image as a whole, there is little possibility that the two-color image will feel uncomfortable.

以下に別実施形態を説明する。上述の実施形態では、色相ヒストグラム生成部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 histogram generation unit 45 is set as the second color by the pixel data conversion unit 46. However, depending on the color image, The peak value of the hue histogram generated by the hue histogram generation unit 45 is not necessarily one. That is, the hue histogram may have two or more peak values.

図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 data conversion unit 46 may be configured so as to obtain a total value of the number of pixels having the hue value (hatched portion by hatching in the drawing) and to use the peak value with the larger total value as the peak value of the hue histogram. it can.

これは、画素数の合計値が大きなピーク値に対応する色相に近い色相をカラー画像は多く有しているため、当該ピーク値の色相がカラー画像の全体的な色合いを特徴付ける色相としてふさわしいためである。   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 pixel data converter 46 can be configured so that the peak value P3 is the peak value of the hue histogram. This is because since the color image has many hues close to the hue corresponding to the peak value P3, it can be considered that the hue of the peak value P3 is suitable as a hue that characterizes the overall hue of the color image. is there.

色相ヒストグラムが二つのピーク値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 data conversion unit 46 can be configured so that the peak value P5 is the peak value of the hue histogram when the total value is smaller than the total value (hatched portion by hatching in the drawing).

これは、ピーク値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 data conversion unit 46 selects the peak value of the hue value that characterizes the overall hue of the color image as the peak value of the hue histogram, and sets the hue of the hue value indicating the peak value as the second color. Any configuration may be used.

上述した実施形態では、第一の色として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 data conversion unit 46 based on the hue histogram. For example, when the hue histogram has two peak values, the hue of the hue value indicating the peak value with a small number of pixels is set to the first color, and the hue of the hue value indicating the peak value with the large number of pixels is set to the second color. The color may be set.

この場合、第一の色と第二の色は共にカラー画像の全体的な色合いを特徴付ける色相であり、カラー画像の有する全体的な色合いによっては、第一の色を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 histogram generation unit 45 is configured to generate a hue histogram for low-resolution image data read by the image reading unit 300, and the pixel data conversion unit 46 is the image reading unit 300. Although the description has been made assuming that each pixel value is converted with respect to the read high-resolution image data, the present invention is not limited to this.

例えば、高解像度を必要としない二色画像を出力するときには、画像読取部300で読み取られた低解像度の画像データに対して、色相ヒストグラム生成部45が色相ヒストグラムを生成し、画素データ変換部46が各画素値を変換するものであってもよい。この場合、画像読取部300による画像データの読み取りは一度でよく、また、画像処理部400での処理負荷は小さく、処理時間が短くなるため、二色画像を早く出力することができる。   For example, when outputting a two-color image that does not require high resolution, the hue histogram generation unit 45 generates a hue histogram for the low-resolution image data read by the image reading unit 300, and the pixel data conversion unit 46. May convert each pixel value. In this case, the image reading unit 300 only needs to read the image data once, and since the processing load on the image processing unit 400 is small and the processing time is short, a two-color image can be output quickly.

逆に、画像読取部300で読み取られた高解像度の画像データに対して、色相ヒストグラム生成部45が色相ヒストグラムを生成し、画素データ変換部46が各画素値を変換するものであってもよい。この場合、画像処理部400による処理負荷が大きくなり処理時間が長くなるものの、画像処理部400による、より正確な第二の色の設定が可能であり、より違和感を生じる虞が少ない二色画像を出力することができる。   Conversely, the hue histogram generation unit 45 may generate a hue histogram for the high-resolution image data read by the image reading unit 300, and the pixel data conversion unit 46 may convert each pixel value. . In this case, although the processing load on the image processing unit 400 is increased and the processing time is increased, the second color can be set more accurately by the image processing unit 400 and less likely to cause a sense of incongruity. Can be output.

上述した実施形態では、画素データ変換部46は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えているものとして説明したが、当該変換テーブルを備えていないものであってもよい。この場合、出力される二色画像の彩度が低下する虞があるものの、当該変換テーブルを備えるためのメモリ容量を削減することができる。また、本来CYMの三色でなる画素値を二色に変換する処理負荷が軽減され、当該処理時間を短縮して、二色画像を早く出力することができる。   In the above-described embodiment, the pixel data conversion unit 46 has been described as including a conversion table that converts the hue value set for the second color into color mixture data of any two colors of CYM. The table may not be provided. In this case, although there is a possibility that the saturation of the output two-color image may be reduced, the memory capacity for providing the conversion table can be reduced. In addition, the processing load for converting the pixel values originally composed of three colors of CYM into two colors is reduced, and the processing time can be shortened so that a two-color image can be output quickly.

上述の実施形態では、本発明が適用された画像形成装置の一例であるデジタル複写機100について説明したが、本発明はデジタル複写機以外の複合機やプリンタなどの他の画像形成装置に対して適用可能であることは言うまでもない。   In the above-described embodiment, the digital copying machine 100 which is an example of an image forming apparatus to which the present invention is applied has been described. However, the present invention is applied to other image forming apparatuses such as a multifunction machine and a printer other than the digital copying machine. Needless to say, it is applicable.

尚、上述した実施形態は何れも本発明の一実施例に過ぎず、当該記載により本発明の範囲が限定されるものではなく、各部の具体的構成は本発明による作用効果を奏する範囲において適宜変更設計することができることは言うまでもない。   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.

デジタル複合機の画像処理部の説明図Explanatory diagram of the image processing unit of a digital multifunction device デジタル複写機の説明図Illustration of digital copier (a)は色相データの説明図、(b)は色相変換部により生成される色相値の説明図(A) is explanatory drawing of hue data, (b) is explanatory drawing of the hue value produced | generated by the hue conversion part. 色相ヒストグラムと変換テーブルの説明図Illustration of hue histogram and conversion table 二色画像を出力する際のデジタル複合機の動作を説明するフローチャートA flowchart for explaining the operation of the digital multi-function peripheral when outputting a two-color image 別実施形態での色相ヒストグラムの説明図Explanatory drawing of the hue histogram in another embodiment 別実施形態での色相ヒストグラムの説明図Explanatory drawing of the hue histogram in another embodiment 別実施形態での色相ヒストグラムの説明図Explanatory drawing of the hue histogram in another embodiment

符号の説明Explanation of symbols

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.
前記画素データ変換部は、第二の色に設定された色相値をCYMの何れか二色の混色データに変換する変換テーブルを備えている請求項1記載の画像形成装置。   The image forming apparatus according to claim 1, wherein the pixel data conversion unit includes a conversion table for converting a hue value set for the second color into color mixture data of any two colors of CYM. 前記色相ヒストグラム生成部は前記画像読取部で読み取られた低解像度の画像データに対して色相ヒストグラムを生成するように構成され、前記画素データ変換部は前記画像読取部で読み取られた高解像度の画像データに対して各画素値を変換するように構成されている請求項1または2記載の画像形成装置。   The hue histogram generation unit is configured to generate a hue histogram for low resolution image data read by the image reading unit, and the pixel data conversion unit is a high resolution image read by the image reading unit. The image forming apparatus according to claim 1, wherein each pixel value is converted with respect to data.
JP2007252722A 2007-09-27 2007-09-27 Image forming device Pending JP2009088714A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (7)

* Cited by examiner, † Cited by third party
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