JP4758845B2 - Color classification apparatus, color classification method, and image forming apparatus - Google Patents

Color classification apparatus, color classification method, and image forming apparatus Download PDF

Info

Publication number
JP4758845B2
JP4758845B2 JP2006210780A JP2006210780A JP4758845B2 JP 4758845 B2 JP4758845 B2 JP 4758845B2 JP 2006210780 A JP2006210780 A JP 2006210780A JP 2006210780 A JP2006210780 A JP 2006210780A JP 4758845 B2 JP4758845 B2 JP 4758845B2
Authority
JP
Japan
Prior art keywords
value
hue
color
unit data
saturation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006210780A
Other languages
Japanese (ja)
Other versions
JP2008042309A (en
Inventor
敏明 六尾
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 JP2006210780A priority Critical patent/JP4758845B2/en
Publication of JP2008042309A publication Critical patent/JP2008042309A/en
Application granted granted Critical
Publication of JP4758845B2 publication Critical patent/JP4758845B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、デジタル複写機、プリンタ、スキャナなどの画像形成装置、及び当該画像形成装置に備えられる色分類装置、これらに用いられる色分類方法に関し、詳しくはカラー画像を二色画像に変換・出力する色分類装置、色分類方法及び画像形成装置に関する。   The present invention relates to an image forming apparatus such as a digital copying machine, a printer, and a scanner, a color classification apparatus provided in the image forming apparatus, and a color classification method used for these, and more specifically, converts and outputs a color image into a two-color image. The present invention relates to a color classification device, a color classification method, and an image forming apparatus.

近年では、モノクロ画像を出力するモノクロ印刷機に代わり、フルカラー画像を出力できるフルカラー印刷機が増加している。フルカラー画像はモノクロ画像よりも見栄えがよく、またモノクロ画像では表現できなかった点まで表現できるため、そのシェアを増加させている。   In recent years, full-color printing machines capable of outputting full-color images are increasing instead of monochrome printing machines that output monochrome images. Full-color images look better than monochrome images, and because they can represent points that could not be represented by monochrome images, they are increasing their share.

一方で、フルカラー画像は一枚あたりの出力単価が高いという問題がある。そこで、モノクロ画像に1色を加えた二色画像を出力可能とすることで、コスト面と表現力とのバランスを担保している。   On the other hand, full-color images have a problem that the output unit price per sheet is high. Therefore, by making it possible to output a two-color image obtained by adding one color to a monochrome image, a balance between cost and expressiveness is secured.

二色画像はフルカラー画像からの減色処理などにより得られるが、その処理方法によっては同じ二色画像であってもその表現力がまったく異なるのである。   A two-color image can be obtained by subtractive color processing from a full-color image. However, depending on the processing method, even the same two-color image has different expressive power.

二色画像を得る技術として、例えば特開平8−84268号公報がある。色相に対する濃度分布を求めることでカラー画像原稿の特徴点を求め、その情報から二色分離を行うものである。
特開平8−84268号公報
As a technique for obtaining a two-color image, for example, there is JP-A-8-84268. A feature point of a color image original is obtained by obtaining a density distribution with respect to hue, and two-color separation is performed from the information.
JP-A-8-84268

上述したように、処理方法によっては同じ二色画像であっても表現力が異なるため、低コストであり且つ一層表現力の高い二色画像を得ることが求められている。   As described above, depending on the processing method, even the same two-color image has different expressive power, so that it is required to obtain a two-color image with low cost and higher expressive power.

本発明は、上記の課題を解決するためになされたもので、表現力を高めた二色画像を出力可能な色分類装置、色分類方法、画像形成装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a color classification device, a color classification method, and an image forming apparatus capable of outputting a two-color image with enhanced expressive power.

本発明は、上記目的を達成するために以下の手段を採用している。即ち本発明における色分類装置においては、入力されたカラー画像データを構成する単位データの色相値を算出する色相算出手段と、単位データの彩度値を算出する彩度算出手段と、複数に分割された色相値毎に設けられた閾値であって当該各色相値における彩度値を彩度値の順に3グループに分割する第一の閾値と、当該第一の閾値より大きい第二の閾値を記憶する閾値記憶手段とを備える。又、当該色分類装置は、算出された彩度値と上記算出された色相値に対応する上記第一の閾値と、上記第二の閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較手段と、算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較手段とを備える。又、当該色分類装置は、上記色相比較手段による比較結果と上記彩度比較手段による判定結果とに基づいて、上記あらかじめ指定された範囲の色相値とは異なる色相値を有する単位データを非抽出色グループに分類し、上記あらかじめ指定された範囲の色相値を有する単位データであって、上記第一の閾値より小さい彩度値を有する単位データを非抽出色グループに分類し、上記第二の閾値より大きい彩度値を有する単位データを抽出色グループに分類し、上記第一の閾値から上記第二の閾値の範囲の彩度値を有する単位データを中間色グループに分類する分類手段を備える。又、当該色分類装置は、抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換手段と、中間色グループに分類された単位データを第一の出力色と第二の出力色とを所定の比率で混合した第三の出力色に変換する第二の変換手段とを備えている。 The present invention employs the following means in order to achieve the above object. That is, in the color classification device according to the present invention, the hue calculation means for calculating the hue value of the unit data constituting the input color image data, the saturation calculation means for calculating the saturation value of the unit data, and the plurality of divisions A first threshold value that is provided for each hue value that is divided into three groups in order of the saturation value, and a second threshold value that is greater than the first threshold value . Threshold storage means for storing. Further, the color classification device compares the calculated saturation value with the first threshold value corresponding to the calculated hue value, and the second threshold value , thereby comparing the three groups to which the unit data belongs. And a hue comparison unit that compares the calculated hue value with a hue value in a predetermined range . In addition, the color classification device does not extract unit data having a hue value different from the hue value in the predetermined range based on the comparison result by the hue comparison unit and the determination result by the saturation comparison unit. Unit data having a hue value in the range specified in advance, and unit data having a saturation value smaller than the first threshold is classified into a non-extracted color group, and the second data Classifying means for classifying unit data having a saturation value larger than a threshold value into an extracted color group and classifying unit data having a saturation value in a range from the first threshold value to the second threshold value into an intermediate color group is provided. Further, the color classification device includes a first conversion unit that converts unit data classified into the extracted color group and unit data classified into the non-extracted color group into a first output color and a second output color, respectively. And second conversion means for converting the unit data classified into the intermediate color group into a third output color obtained by mixing the first output color and the second output color at a predetermined ratio.

この構成では、中間色グループを設け中間色グループに属する単位データを第一の出力色と第二の出力色とを所定の比率で混合した色に変換することで、コストを高めることなく表現力を増した二色画像を得ることができる。又、本発明における色分類装置は、上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを単位データが属する色相値に対応する上記第一の閾値及び上記第二の閾値からの乖離度に応じた出力比率で混合した第三の出力色に変換する第二の変換手段を備えてもよい。又、本発明における色分類装置は、色相値と当該色相値に対応する所定の出力比率とを関連付ける複数の出力比率テーブルを記憶する出力比率記憶手段と、上記算出された色相値と、複数の上記出力比率テーブルのうち、上記あらかじめ指定された範囲の色相値に対応する上記出力比率テーブルとに基づいて、当該算出された色相値に対応する出力比率を算出する出力比率算出手段と、上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを上記算出された出力比率で混合した第三の出力色に変換する第二の変換手段とを備えてもよい。又、本発明における色分類装置は、上記第一の変換手段および上記第二の変換手段にて変換された単位データを出力する出力手段を備えてもよい。 In this configuration, an intermediate color group is provided and unit data belonging to the intermediate color group is converted into a color in which the first output color and the second output color are mixed at a predetermined ratio, thereby increasing expressive power without increasing costs. The obtained two-color image can be obtained. Further, the color classification device according to the present invention is configured so that the unit data classified into the intermediate color group includes the first threshold value corresponding to the hue value to which the unit data belongs as the first output color and the second output color. And a second conversion means for converting into a third output color mixed at an output ratio corresponding to the degree of deviation from the second threshold. The color classification apparatus according to the present invention includes an output ratio storage unit that stores a plurality of output ratio tables that associate a hue value with a predetermined output ratio corresponding to the hue value, the calculated hue value, and a plurality of output ratio tables. Output ratio calculation means for calculating an output ratio corresponding to the calculated hue value based on the output ratio table corresponding to the hue value in the range specified in advance in the output ratio table, and the intermediate color Second conversion means for converting the unit data classified into groups into a third output color obtained by mixing the first output color and the second output color at the calculated output ratio. Also good. The color classification apparatus according to the present invention may further include an output unit that outputs unit data converted by the first conversion unit and the second conversion unit.

さらに、このような色分類装置を有する画像形成装置や装置の処理手順にて実現される色分類方法も提供する。   Furthermore, an image forming apparatus having such a color classification apparatus and a color classification method realized by the processing procedure of the apparatus are also provided.

中間色グループを設け、中間色グループに属する単位データを、抽出色グループの単位データより小さい値の彩度値に変換ることで、コストを高めることなく表現力を増した二色画像を得ることができる。   By providing an intermediate color group and converting unit data belonging to the intermediate color group into a saturation value that is smaller than the unit data of the extracted color group, a two-color image with increased expressive power can be obtained without increasing costs. .

また、分割された色相毎に2つの閾値を設け、明らかに第一の出力色に変換されるべき抽出色グループと、明らかに第二の出力色に変換されるべき非抽出色グループと、その中間に該当する中間色グループとに分割する。そして、中間色グループに該当する領域については、変換後の彩度値の大きさが段階的に大きく(小さく)なるよう変換している。これにより、コストを高めることなく一層表現力を増した二色画像を得ることが可能になる。   Also, two threshold values are provided for each of the divided hues, and an extracted color group that should be clearly converted to the first output color, a non-extracted color group that should be clearly converted to the second output color, and its The image is divided into intermediate color groups corresponding to the intermediate. Then, the area corresponding to the intermediate color group is converted so that the saturation value after conversion becomes larger (smaller) stepwise. As a result, it is possible to obtain a two-color image with higher expressive power without increasing the cost.

以下、添付図面を参照して、本発明の実施の形態につき説明し、本発明の理解に供する。尚、以下の実施の形態は、本発明を具体化した一例であって、本発明の技術的範囲を限定する性格のものではない。   Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings for understanding of the present invention. In addition, the following embodiment is an example which actualized this invention, Comprising: It is not the thing of the character which limits the technical scope of this invention.

以下、本発明に係る画像形成装置101について説明する。   The image forming apparatus 101 according to the present invention will be described below.

図1は、画像形成装置100の概略模式図である。ただし、本発明に直接には関係しない各部の詳細は省略している。   FIG. 1 is a schematic diagram of the image forming apparatus 100. However, details of each part not directly related to the present invention are omitted.

本発明の画像形成装置100は、例えばプリンタやスキャナ単体、あるいはプリンタ、コピー、スキャナ、ファックス等を備えた複合機等が該当する。   The image forming apparatus 100 according to the present invention corresponds to, for example, a printer, a single scanner, or a multifunction machine including a printer, a copy, a scanner, a fax machine, and the like.

なお、一例として複合機を利用して原稿のコピーを行う際の画像形成装置の動作を簡単に説明する。   As an example, the operation of the image forming apparatus when copying a document using a multifunction machine will be briefly described.

ユーザが複合機を利用して例えば原稿の印刷を行う場合、原稿を図1に示す原稿台103、或いは載置台105に配置し、原稿台近傍に供えられた操作パネルに対して印刷の指示を行う。当該指示があると、以下に示す各部(駆動部)が動作することで、印刷が行われる。   For example, when a user prints a document using the multifunction device, the document is placed on the document table 103 or the table 105 shown in FIG. 1, and a print instruction is given to the operation panel provided near the document table. Do. When the instruction is given, printing is performed by operating the following units (drive units).

即ち、図1に示すように、本実施の形態の画像形成装置100は、本体101と、本体101の上方に取り付けられたプラテンカバー102を備える。本体101の上面は原稿台103が設けられており、原稿台103は、プラテンカバー102によって開閉されるようになっている。プラテンカバー102は、自動原稿給紙装置104と載置台105と排紙台109が設けられている。   That is, as shown in FIG. 1, the image forming apparatus 100 according to the present embodiment includes a main body 101 and a platen cover 102 attached above the main body 101. A document table 103 is provided on the upper surface of the main body 101, and the document table 103 is opened and closed by a platen cover 102. The platen cover 102 is provided with an automatic document feeder 104, a placing table 105, and a sheet discharging table 109.

自動原稿給紙装置104は、プラテンカバー102の内部に形成された原稿搬送路108と、プラテンカバー102の内部に備えられたピックアップローラ106や搬送ローラ107等で構成される。原稿搬送路108は、載置台105から、本体101に設けられた読取部110にて読み取りが行なわれる読取位置Pを経由して、排紙台109に通じる原稿の搬送路である。   The automatic document feeder 104 includes a document conveyance path 108 formed inside the platen cover 102, a pickup roller 106 and a conveyance roller 107 provided inside the platen cover 102, and the like. The document conveyance path 108 is a document conveyance path that leads from the placement table 105 to the sheet discharge table 109 via a reading position P where reading is performed by the reading unit 110 provided in the main body 101.

自動原稿給紙装置104は、載置台105に載置された原稿1枚ずつをピックアップローラ106で搬送路内108に引き出し、搬送ローラ107等によって引き出した原稿を、読取位置Pを通過させて排紙台109に排紙する。読取位置Pを通過する時に原稿は読取部110にて読み取られる。   The automatic document feeder 104 pulls out each document placed on the placing table 105 to the inside of the transport path 108 by the pickup roller 106 and passes the document pulled out by the transport roller 107 and the like through the reading position P. The paper is discharged onto the paper base 109. When the document passes the reading position P, the document is read by the reading unit 110.

上記読取部110は、原稿台103の下方に設けられており、図2にその詳細が示されている。読取部110は、原稿台103を照射する主走査方向に長い光源111と、原稿台からの光を選択的に通過させるスリット116と、原稿台からの光を導くミラー112とを備える第一の移動キャリッジ117や、第一の移動キャリッジ117からの反射光を再度反射するミラー113A、113Bを備える第二の移動キャリッジ118、さらにミラーで導かれた光を光学的に補正するレンズ群119、当該レンズ群119より補正された光を受光する撮像素子115、撮像素子にて受光した光を電気信号に変換し、必要に応じて補正・修正などを行う画像データ生成部114とで構成されている。   The reading unit 110 is provided below the document table 103, and its details are shown in FIG. The reading unit 110 includes a first light source 111 that illuminates the document table 103 in the main scanning direction, a slit 116 that selectively passes light from the document table, and a mirror 112 that guides light from the document table. The movable carriage 117, the second movable carriage 118 including mirrors 113A and 113B that reflect the reflected light from the first movable carriage 117 again, and the lens group 119 that optically corrects the light guided by the mirror, An image sensor 115 that receives the light corrected by the lens group 119, and an image data generation unit 114 that converts the light received by the image sensor into an electrical signal and performs correction / correction as necessary. .

自動原稿給紙装置104上の原稿を読み取る場合には、光源111は、読取位置Pを照射できる位置に移動して発光する。光源111からの光は、原稿台103を透過して読取位置Pを通過する原稿にて反射し、スリット116、ミラー112、113A、113B、レンズ群119によって撮像素子115に導かれる。撮像素子115は、受光した光を電気信号に変換して画像データ生成部114に送信する。画像データ生成部114には、上記撮像素子115にて受光された光がR(レッド)、G(グリーン)、B(ブルー)のアナログ電気信号として入力され、ここでアナログ−デジタル変換され、即ちデジタル化される。さらに、画像データ生成部114では、順次変換されたデジタル信号を単位データとし、これら単位データを補正、修正等することで複数の単位データからなる画像データを生成する。   When reading a document on the automatic document feeder 104, the light source 111 moves to a position where the reading position P can be irradiated and emits light. Light from the light source 111 is reflected by a document that passes through the document table 103 and passes through the reading position P, and is guided to the image sensor 115 by the slit 116, mirrors 112, 113A, and 113B, and the lens group 119. The image sensor 115 converts the received light into an electrical signal and transmits it to the image data generation unit 114. The light received by the image sensor 115 is input to the image data generator 114 as analog electrical signals of R (red), G (green), and B (blue), where analog-to-digital conversion is performed. Digitized. Further, the image data generation unit 114 uses the sequentially converted digital signal as unit data, and corrects and corrects the unit data to generate image data including a plurality of unit data.

また、読取部110は、自動原稿給紙装置104で搬送される原稿だけでなく、原稿台103に載置された原稿も読み取ることが可能となっている。原稿台103に載置された原稿を読み取る場合は、第一のキャリッジ112は、光源111を発光しながら副走査方向に移動し、光源111から撮像素子115までの光路長を一定にするために、第二の移動キャリッジ118は第一の移動キャリッジ117の1/2の速度で撮像素子115方向に移動する。   The reading unit 110 can read not only the document conveyed by the automatic document feeder 104 but also the document placed on the document table 103. When reading a document placed on the document table 103, the first carriage 112 moves in the sub-scanning direction while emitting light from the light source 111, so that the optical path length from the light source 111 to the image sensor 115 is constant. The second moving carriage 118 moves in the direction of the image sensor 115 at a half speed of the first moving carriage 117.

撮像素子115は、自動原稿給紙装置104に搬送された原稿のときと同様に、ミラー112、113A、113Bに導かれた光に基づいて原稿台103に載置された原稿からの光を電気信号に変換し、これに基づいて画像データ生成部114が画像データを生成する。   The image sensor 115 electrically outputs light from the document placed on the document table 103 based on the light guided to the mirrors 112, 113 </ b> A, 113 </ b> B, as in the case of the document conveyed to the automatic document feeder 104. The signal is converted into a signal, and based on this, the image data generation unit 114 generates image data.

本体101の読取部110の下方には、画像データを印刷する印刷部120を備えている。印刷部120が印刷できる画像データは、上記のように画像データ生成部114にて生成されたものや、その他画像形成装置100とLAN等のネットワークに接続されたパソコン等の端末から送信されたものである。   A printing unit 120 that prints image data is provided below the reading unit 110 of the main body 101. Image data that can be printed by the printing unit 120 is generated by the image data generation unit 114 as described above, or transmitted from a terminal such as a personal computer connected to the image forming apparatus 100 and a network such as a LAN. It is.

印刷部120が行う印刷方式には、電子写真方式が用いられている。即ち、感光ドラム121を帯電器122で一様に帯電させ、その後レーザ123で感光ドラム121を照射して感光ドラム121に潜像を形成し、現像器124で潜像にトナーを付着させて可視像を形成し、転写ローラにて可視像を用紙に転写する方式である。   As a printing method performed by the printing unit 120, an electrophotographic method is used. That is, the photosensitive drum 121 is uniformly charged by the charger 122, and then the photosensitive drum 121 is irradiated by the laser 123 to form a latent image on the photosensitive drum 121, and toner is attached to the latent image by the developing device 124. In this method, a visual image is formed and the visible image is transferred onto a sheet by a transfer roller.

なお、フルカラー画像に対応した画像形成装置では、上記現像器(ロータリー現像器)124が、図1の紙面に対して垂直方向に構成される回転軸を中心として周方向に回転させられ、対応する色のトナーが格納された現像ユニットが感光ドラム121の対向位置に配置される。この状態で、感光ドラム121上の潜像が、現像器124が格納するトナーにより現像され、中間転写ベルト125Aに転写される。なお、現像器124は、イエロー(Y)、シアン(C)、マゼンタ(M)、ブラック(K)の各トナーをそれぞれ格納する4つの現像ユニット124(Y)、(C)、(M)、(K)を有している。上記中間転写ベルト125Aへの転写を上記各色毎に繰り返すことにより、当該中間転写ベルト125A上にフルカラー画像が形成される。   Note that in the image forming apparatus corresponding to the full-color image, the developing device (rotary developing device) 124 is rotated in the circumferential direction around a rotation axis configured in a direction perpendicular to the paper surface of FIG. A developing unit in which color toner is stored is disposed at a position facing the photosensitive drum 121. In this state, the latent image on the photosensitive drum 121 is developed with toner stored in the developing device 124 and transferred to the intermediate transfer belt 125A. The developing device 124 includes four developing units 124 (Y), (C), (M), and yellow (Y), cyan (C), magenta (M), and black (K). (K). By repeating the transfer to the intermediate transfer belt 125A for each color, a full color image is formed on the intermediate transfer belt 125A.

可視像が印刷される用紙は、手差しトレイ131、給紙カセット132、133、134などの給紙トレイに載置されたものである。   The paper on which the visible image is printed is placed on a paper feed tray such as the manual feed tray 131 and the paper feed cassettes 132, 133, and 134.

印刷部120が印刷を行う際には、何れか1つの給紙トレイから用紙1枚を、ピックアップローラ135を用いて引き出し、引き出した用紙を搬送ローラ137やレジストローラ138で中間転写ベルト125Aと転写ローラ125Bの間に送り込む。   When the printing unit 120 performs printing, one sheet of paper is pulled out from any one of the paper feed trays using the pickup roller 135, and the pulled-out paper is transferred to the intermediate transfer belt 125 </ b> A by the transport roller 137 or the registration roller 138. Feed between rollers 125B.

印刷部120は、中間転写ベルト125と転写ローラ125の間に送り込んだ用紙に、上記中間転写ベルト125上の可視像を転写すると、可視像を定着させるために、搬送ベルト126で定着装置127に用紙を送る。定着装置127は、ヒータが内蔵された加熱ローラ128と、所定の圧力で加熱ローラ128に押し当てられた加圧ローラ129とで構成されている。加熱ローラ128と加圧ローラ129の間を用紙が通過すると、熱と用紙への押圧力によって可視像が用紙に定着する。印刷部120は、定着装置127を通過した用紙を排紙トレイ130に排紙する。   When the visible image on the intermediate transfer belt 125 is transferred onto the sheet fed between the intermediate transfer belt 125 and the transfer roller 125, the printing unit 120 uses the conveying belt 126 to fix the visible image. Send paper to 127. The fixing device 127 includes a heating roller 128 with a built-in heater and a pressure roller 129 pressed against the heating roller 128 with a predetermined pressure. When the sheet passes between the heating roller 128 and the pressure roller 129, the visible image is fixed to the sheet by heat and the pressing force to the sheet. The printing unit 120 discharges the sheet that has passed through the fixing device 127 to the discharge tray 130.

以上が、画像形成装置100における基本的なコピーサービスの処理である。   The basic copy service processing in the image forming apparatus 100 has been described above.

なお、上記画像形成装置100では、図3の概略構成図に示すように、CPU(Central Processing Unit)301、RAM(Random Access Memory)302、ROM(Read Only Memory)303、HDD(Hard Disk Drive)304及び上記印刷処理における各駆動部に対応するドライバ305が内部バス306を介して接続されている。上記CPU301は、例えばRAM302を作業領域として利用し、ROM303やHDD304等に記憶されているプログラムを実行し、当該実行結果に基づいて上記ドライバ305とデータや命令を授受することにより上記図1、図2に示した各駆動部307の動作を制御する。   In the image forming apparatus 100, as shown in the schematic configuration diagram of FIG. 3, a central processing unit (CPU) 301, a random access memory (RAM) 302, a read only memory (ROM) 303, and a hard disk drive (HDD). 304 and a driver 305 corresponding to each drive unit in the printing process are connected via an internal bus 306. The CPU 301 uses, for example, the RAM 302 as a work area, executes a program stored in the ROM 303, the HDD 304, and the like, and exchanges data and commands with the driver 305 based on the execution result, thereby performing the above-described FIG. 2 controls the operation of each driving unit 307 shown in FIG.

続いて、本発明に係る色分類手段400の詳細について説明する。   Next, details of the color classification unit 400 according to the present invention will be described.

色分類手段400は、例えば上記画像データ生成部114内に設けられ、あるいは画像データ生成部114に接続される色分類装置として提供することができる。   The color classification unit 400 can be provided as, for example, a color classification device provided in the image data generation unit 114 or connected to the image data generation unit 114.

上記色分類手段400は、カラー原稿を二色画像として出力する際に、カラー原稿を構成する単位データを二色に分類する処理を行う。なお、カラー原稿から抽出すべき色(抽出色)、及び抽出した色を出力する二つの色(第一の出力色及び第二の出力色)は、印刷前にユーザが選択することができる。例えば、カラー原稿のブルー部分を抽出したい場合、原稿台近傍に供えられた操作パネルより「抽出色=ブルー」との設定を行う。当該設定は、後述する抽出色記憶手段407に格納される。   The color classification unit 400 performs processing for classifying unit data constituting a color original into two colors when outputting the color original as a two-color image. The user can select a color to be extracted from the color document (extracted color) and two colors (first output color and second output color) for outputting the extracted color before printing. For example, when it is desired to extract a blue portion of a color document, “extracted color = blue” is set from an operation panel provided near the document table. The setting is stored in the extracted color storage unit 407 described later.

また、抽出色「ブルー」を「レッド」で出力したい場合には、ユーザは操作パネルより、第一の出力色として「レッド」を選択する。選択された第一の出力色は、後述する第一の出力色記憶手段411に格納される。なお、ここでは第二の出力色を「グレー(無彩色)」に固定されているものとし、当該「グレー」が後述する第二の出力色記憶手段412に記憶されているものとする。また、後述する第三の出力色は、上記第一の出力色及び第二の出力色より決定される。   When the user wants to output the extracted color “blue” as “red”, the user selects “red” as the first output color from the operation panel. The selected first output color is stored in first output color storage means 411 described later. Here, it is assumed that the second output color is fixed to “gray (achromatic color)” and the “gray” is stored in the second output color storage unit 412 described later. Further, a third output color to be described later is determined from the first output color and the second output color.

さて、色分類手段400が、データ生成部114よりRGBを基礎とするカラー画像データを画像データ入力手段401にて取得すると、当該カラー画像データを例えばイエロー(Y)、シアン(C)、マゼンタ(M)からなる濃度画像データに変換する。当該変換は従来より利用される所定の変換式により行われるため、詳細は省略する。なお、上記画像データ入力手段401は、例えばネットワークを介して送信された画像データを入力した場合には当該画像データについて上記変換を行うことにより、送信されたデータについてもデータ生成部114からの入力と同様に扱うことができる。   When the color classification unit 400 obtains color image data based on RGB from the data generation unit 114 by the image data input unit 401, the color image data is obtained by, for example, yellow (Y), cyan (C), magenta ( M) is converted into density image data. Since the conversion is performed by a predetermined conversion formula that has been conventionally used, details are omitted. When the image data input unit 401 receives image data transmitted via a network, for example, the image data input unit 401 performs the above conversion on the image data so that the transmitted data is also input from the data generation unit 114. Can be handled in the same way.

上記画像データ入力手段401にて入力・変換された濃度画像データは、各単位データ毎に色相算出手段402、彩度算出手段403に入力され、単位データ毎に色相、彩度が算出される。   The density image data input / converted by the image data input unit 401 is input to the hue calculation unit 402 and the saturation calculation unit 403 for each unit data, and the hue and saturation are calculated for each unit data.

例えば、色相を算出する場合、以下のように行われる。   For example, when calculating the hue, it is performed as follows.

まず、色相算出手段402は、単位データ(C,M,Y)が入力されると、その最大値(MAX)、最小値(MIN)、最大値と最小値の差分値(MAXMIN)を算出する。なお、C,M,Yはそれぞれ例えば8ビットで表される0〜255までの値である。
1)ここで、M、Yに比してCが最小値、且つMAXMIN≠0であり、
さらに、Y>Mの場合
色相値=42+(Y−M)×42÷MAXMIN と算出される。
First, when the unit data (C, M, Y) is input, the hue calculation unit 402 calculates the maximum value (MAX), the minimum value (MIN), and the difference value (MAXMIN) between the maximum value and the minimum value. . C, M, and Y are values from 0 to 255 represented by 8 bits, for example.
1) Here, C is the minimum value compared with M and Y, and MAXMIN ≠ 0,
Further, when Y> M, hue value = 42 + (Y−M) × 42 ÷ MAXMIN is calculated.

また、Y<=Mの場合
色相値=42−(M−Y)×42÷MAXMIN と算出される。
When Y <= M, hue value = 42− (MY) × 42 ÷ MAXMIN is calculated.

また、MAXMIN=0の場合
色相値=42 と算出される。
2)なお、C、Yに比してMが最小値、且つMAXMIN≠0であり、
さらに、C>Yの場合
色相値=127+(C−Y)×42÷MAXMIN と算出される。
Further, when MAXMIN = 0, hue value = 42 is calculated.
2) Note that M is the minimum value compared to C and Y, and MAXMIN ≠ 0,
Further, when C> Y, hue value = 127 + (C−Y) × 42 ÷ MAXMIN is calculated.

また、C<=Yの場合
色相値=127−(Y−C)×42÷MAXMIN と算出される。
When C <= Y, hue value = 127− (Y−C) × 42 ÷ MAXMIN.

また、MAXMIN=0の場合
色相値=127 と算出される。
3)また、C、Mに比してYが最小値、且つMAXMIN≠0であり、
さらに、M>Cの場合
色相値=212+(M−C)×42÷MAXMIN と算出される。
Further, when MAXMIN = 0, the hue value is calculated as 127.
3) Y is the minimum value compared to C and M, and MAXMIN ≠ 0,
Further, when M> C, hue value = 212 + (M−C) × 42 ÷ MAXMIN is calculated.

また、M<=Cの場合
色相値=212−(C−M)×42÷MAXMIN と算出される。
Further, when M <= C, hue value = 212− (C−M) × 42 ÷ MAXMIN is calculated.

また、MAXMIN=0の場合
色相値=212 と算出される。
Further, when MAXMIN = 0, the hue value is calculated as 212.

以上により、単位データの色相値が色相算出手段402により算出される。算出される色相値は、0〜255までの256個の値をとり得る。   As described above, the hue value of the unit data is calculated by the hue calculation unit 402. The calculated hue value can take 256 values from 0 to 255.

また、彩度算出手段403は、単位データ(C,M,Y)が入力されると、その最大値(MAX)、最小値(MIN)、最大値と最小値の差分値(MAXMIN)を算出する。   Further, when the unit data (C, M, Y) is input, the saturation calculation unit 403 calculates the maximum value (MAX), the minimum value (MIN), and the difference value (MAXMIN) between the maximum value and the minimum value. To do.

そして、MAXMINが0でない場合、
彩度値=MAXMIN×255÷MAX と算出される。
And if MAXMIN is not 0,
Saturation value = MAXMIN × 255 ÷ MAX.

MAXMINが0の場合、
彩度値=0 と算出される。
If MAXMIN is 0,
Saturation value = 0 is calculated.

以上により、単位データの彩度値が彩度算出手段403により算出される。算出された彩度値は、0〜255までの256個の値をとり得る。   Thus, the saturation value of the unit data is calculated by the saturation calculation unit 403. The calculated saturation value can take 256 values from 0 to 255.

上記算出により、単位データの色相値、彩度値が算出される。当該算出された各値の集合は、図5の色相円で表現することができる。即ち、例えば上記算出された色相値は、図5の色相円における円周方向の値として表現することができ、ここでは起点501を色相値0として、円周方向時計回りに256分割された色相のグループが表されている。終点502では色相値は255となる。   By the above calculation, the hue value and saturation value of the unit data are calculated. The set of calculated values can be represented by the hue circle in FIG. That is, for example, the calculated hue value can be expressed as a value in the circumferential direction in the hue circle of FIG. Of groups are represented. At the end point 502, the hue value is 255.

また、彩度値は、上記色相円の中心503から円周までを256等分した際の位置を示し、中心503が彩度値0となり、円周上が彩度値255となる。   Further, the saturation value indicates a position when the center from the center 503 of the hue circle to the circumference is divided into 256 equal parts, the center 503 has a saturation value of 0, and the saturation value has a saturation value of 255.

ところで、二色画像において特にカラー領域とグレー領域との境界が重要であり、また、人の目は色相によってグレー領域の適正度合いが異なる。例えば、図5に示す2つの略楕円形状504、505のうち、内周に位置する略楕円形状504の内部が、二色画像において最も適したグレーの適正領域を示している。また、外周に位置する略楕円形状505の外部と円周506との間が、二色画像において最も適した出力色の適正領域を示している。つまり、本願では、グレーが適正とされる領域の割合及びカラー領域が適正とされる領域の割合を各色相毎に相違させる処理を行っている。そして、上記略楕円形状504と505との間の中間領域を新たに中間領域として判定している。なお、上記略楕円形状504、505は例示であり、グレー及びカラーの適正領域は他の形状で示される場合もあるが、ここでは上記2つの略楕円形状により示される各領域が適正領域を示しているものとして説明する。   By the way, in the two-color image, the boundary between the color area and the gray area is particularly important, and the appropriate degree of the gray area differs depending on the hue of human eyes. For example, among the two substantially elliptical shapes 504 and 505 shown in FIG. 5, the inside of the substantially elliptical shape 504 located on the inner periphery indicates the most appropriate gray appropriate region in the two-color image. Further, an appropriate area of the output color most suitable for the two-color image is shown between the outside of the substantially elliptical shape 505 located on the outer periphery and the circumference 506. That is, in the present application, processing is performed to make the ratio of the area where gray is appropriate and the ratio of the area where color area is appropriate for each hue. Then, an intermediate area between the substantially elliptical shapes 504 and 505 is newly determined as an intermediate area. The substantially oval shapes 504 and 505 are merely examples, and the appropriate gray and color areas may be indicated by other shapes, but here, each area indicated by the two approximately oval shapes indicates the appropriate area. Explain that it is.

本願における色分類手段400では、上記適正領域に基づいて、グレー領域、カラー領域及びその中間領域の単位データを判定している。   The color classification unit 400 in the present application determines unit data of a gray area, a color area, and an intermediate area based on the appropriate area.

即ち、上記色相算出手段402により算出された単位データの色相値は、彩度比較手段405及び色相比較手段406に入力される。   That is, the hue value of the unit data calculated by the hue calculation unit 402 is input to the saturation comparison unit 405 and the hue comparison unit 406.

色相値が入力された色相比較手段406では、当該色相値と抽出色記憶手段407より取得した、ユーザにより指定された抽出色とを比較する。   The hue comparison unit 406 to which the hue value is input compares the hue value with the extracted color designated by the user acquired from the extracted color storage unit 407.

ここでは、抽出色記憶手段407に記憶された抽出色が「ブルー」であるため、色相比較手段406は、ブルーに関する色相判定テーブル図6を利用して、単位データが「ブルー」に該当するか否かを判定する。ここでは、ブルーは色相値では、あらかじめ154〜188の範囲に該当するように定義されている。   Here, since the extracted color stored in the extracted color storage unit 407 is “blue”, the hue comparison unit 406 uses the hue determination table for blue to determine whether the unit data corresponds to “blue”. Determine whether or not. Here, blue is defined in advance to fall within the range of 154 to 188 in terms of hue value.

つまり、上記色相比較手段406は、色相算出手段402から入力された色相値が、図6に示す154〜188の範囲内であれば、抽出色に該当する旨を示す例えば「1(0より大きい値)」を分類手段409に出力する。また、入力された色相値が154〜188の範囲内でなければ、非抽出色に該当する旨を示す例えば「0」を分類手段409に出力する。上記色相比較手段406の処理により、図7に略扇形形状で示される領域701、領域702、及び領域703が一旦、抽出色と判定される。なお、上記ブルーとは異なる他の色(例えばイエロー)が選択されている場合には、当該他の色に対応する色相判定テーブルが利用される。   That is, the hue comparison unit 406 indicates that the hue value input from the hue calculation unit 402 falls within the range of 154 to 188 shown in FIG. Value) "is output to the classification means 409. If the input hue value is not within the range of 154 to 188, for example, “0” indicating that it corresponds to a non-extracted color is output to the classification means 409. By the processing of the hue comparison unit 406, the region 701, the region 702, and the region 703, which are shown in a substantially fan shape in FIG. When another color different from blue (for example, yellow) is selected, a hue determination table corresponding to the other color is used.

また、色相算出手段402より単位データの色相値を取得し彩度算出手段403より単位データの彩度値を取得した彩度比較手段405は、閾値記憶手段408より、色相算出手段402から取得した色相値に対応する第一の閾値(閾値となる彩度値)及び第二の閾値を取得する。当該2つの閾値は、分割された256個の色相値それぞれに対して設けられており、即ち512個の閾値があらかじめ記憶されている。閾値は、中心503を「0」とし、円周上を「255」とした場合の、中心503からの距離(座標)を示し、各色相値に対応する第一の閾値を結ぶことで略楕円形状504の周(輪郭)を形成する。また、各色相値に対応する第二の閾値を結ぶことで略楕円形状505の周(輪郭)を形成する。   The saturation comparison unit 405 that has acquired the hue value of the unit data from the hue calculation unit 402 and has acquired the saturation value of the unit data from the saturation calculation unit 403 is acquired from the hue calculation unit 402 from the threshold storage unit 408. A first threshold value (a saturation value serving as a threshold value) and a second threshold value corresponding to the hue value are acquired. The two threshold values are provided for each of the divided 256 hue values, that is, 512 threshold values are stored in advance. The threshold value indicates the distance (coordinates) from the center 503 when the center 503 is “0” and the circumference is “255”, and the first threshold corresponding to each hue value is connected to form a substantially elliptical shape. The circumference (contour) of the shape 504 is formed. Further, the circumference (contour) of the substantially elliptical shape 505 is formed by connecting the second threshold value corresponding to each hue value.

なお、上記略楕円形状504、505の周を形成する2つの閾値を、横軸を色相値、縦軸を彩度値で構成されるグラフにて示したものを、図8の領域判定テーブル801に示す。彩度値が0から第一の閾値504までのグループが、グレー領域804に該当し、第一の閾値504から第二の閾値505までのグループが、中間色領域803に該当し、第二の閾値505から255までのグループが、カラー領域802に該当する。そして、上記彩度比較手段405は、入力された単位データの色相値と彩度値と当該領域判定テーブル801とより、当該単位データがカラー領域(802)のグループに属するか、中間色領域(803)のグループに属するか、グレー領域(804)のグループに属するか、を判定する。   Note that the two threshold values forming the circumference of the substantially elliptical shapes 504 and 505 are indicated by a graph composed of the hue value on the horizontal axis and the saturation value on the vertical axis, and the region determination table 801 in FIG. Shown in A group having a saturation value from 0 to the first threshold value 504 corresponds to the gray area 804, and a group from the first threshold value 504 to the second threshold value 505 corresponds to the intermediate color area 803, and the second threshold value. A group from 505 to 255 corresponds to the color region 802. The saturation comparison unit 405 determines whether the unit data belongs to the group of the color area (802) or the intermediate color area (803) based on the hue value and saturation value of the input unit data and the area determination table 801. ) Group or a gray region (804) group.

ここで、入力された色相値に対応する彩度値が0から第一の閾値504までの範囲にある場合、その旨を示す例えば「0」を分類手段409に送信する。つまり、「0」が出力された場合には、図7に示す略楕円形状内(GRAY領域)504、即ちグレー領域804に属することを意味する。   Here, when the saturation value corresponding to the input hue value is in the range from 0 to the first threshold value 504, for example, “0” indicating that fact is transmitted to the classification unit 409. In other words, when “0” is output, it means that it belongs to the substantially oval shape (GRAY area) 504 shown in FIG.

また、彩度値が第一の閾値504から第二の閾値505までの範囲にある場合、その旨を示す例えば「1」を分類手段409に送信する。つまり、「1」が出力された場合には、図7に示す略楕円形状504と略楕円形状505との間の領域、即ち中間色領域803に属することを意味する。   When the saturation value is in the range from the first threshold value 504 to the second threshold value 505, for example, “1” indicating that fact is transmitted to the classification means 409. In other words, when “1” is output, it means that it belongs to the region between the substantially elliptical shape 504 and the substantially elliptical shape 505 shown in FIG.

また、彩度値が第二の閾値505より大きい範囲にある場合、その旨を示す例えば「2」を分類手段409に送信する。つまり、「2」が出力された場合には、図7に示す略楕円形状505から円周にかけての領域、即ちカラー領域802に属することを意味する。   If the saturation value is in a range larger than the second threshold value 505, for example, “2” indicating that fact is transmitted to the classification means 409. In other words, when “2” is output, it means that it belongs to the area from the substantially elliptical shape 505 shown in FIG. 7 to the circumference, that is, the color area 802.

続いて、上記色相比較手段406からの比較結果、及び彩度比較手段405からの比較結果を取得すると、分類手段409は、2つの比較結果に基づいて単位データを抽出色グループか、中間色グループか、非抽出色グループかに分類する。   Subsequently, when the comparison result from the hue comparison unit 406 and the comparison result from the saturation comparison unit 405 are acquired, the classification unit 409 determines whether the unit data is an extracted color group or an intermediate color group based on the two comparison results. And classify into non-extracted color groups.

例えば、色相比較手段406からの比較結果が「0」である場合、ユーザが抽出色として指定した以外の領域、即ち単位データが領域701、702、703以外の領域に属することを意味し、非抽出色グループと判定する。   For example, if the comparison result from the hue comparison unit 406 is “0”, it means that the area other than the user designated as the extracted color, that is, the unit data belongs to an area other than the areas 701, 702, and 703. The extracted color group is determined.

また、色相比較手段406からの比較結果が「1(0より大きい値)」であり、且つ彩度比較手段405からの比較結果が「0」である場合、色相値はユーザが選択した抽出色のグループに該当し、しかも彩度値はグレー領域804に該当することを意味する。つまり、単位データは図7に示す領域703(GRAY)に属することを意味し、非抽出色グループと判定する。   When the comparison result from the hue comparison unit 406 is “1 (value greater than 0)” and the comparison result from the saturation comparison unit 405 is “0”, the hue value is the extracted color selected by the user. This means that the saturation value corresponds to the gray region 804. That is, the unit data belongs to the area 703 (GRAY) shown in FIG. 7, and is determined as a non-extracted color group.

また、色相比較手段406からの比較結果が「1(0より大きい値)」であり、且つ彩度比較手段405からの比較結果が「1」である場合、色相値はユーザが選択した抽出色のグループに該当し、しかも彩度値は中間色領域803に該当することを意味する。つまり、単位データは図7に示す領域702に属することを意味し、中間色グループと判定する。   When the comparison result from the hue comparison unit 406 is “1 (value greater than 0)” and the comparison result from the saturation comparison unit 405 is “1”, the hue value is the extracted color selected by the user. This means that the saturation value corresponds to the intermediate color region 803. That is, it means that the unit data belongs to the area 702 shown in FIG. 7, and it is determined as an intermediate color group.

また、色相比較手段406からの比較結果が「1(0より大きい値)」であり、且つ彩度比較手段405からの比較結果が「2」である場合、色相値はユーザが選択した抽出色のグループに該当し、しかも彩度値はカラー領域802に該当することを意味する。つまり、単位データは図7に示す領域701に属することを意味し、抽出色と判定する。   When the comparison result from the hue comparison unit 406 is “1 (value greater than 0)” and the comparison result from the saturation comparison unit 405 is “2”, the hue value is the extracted color selected by the user. This means that the saturation value corresponds to the color region 802. That is, it means that the unit data belongs to the area 701 shown in FIG.

上記分類手段409が、単位データを抽出色グループ、非抽出色グループ、中間色グループに分類した後の出力色グループ分布図901を図9に示す。   FIG. 9 shows an output color group distribution diagram 901 after the classification means 409 classifies the unit data into an extracted color group, a non-extracted color group, and an intermediate color group.

続いて、上記判定結果は変換手段410に送信され、変換手段410は、出力色の変換を行う。当該変換は、例えば以下のように行われる。まず、単位データが非抽出色グループに属すると判定された場合、変換手段410を構成する第一の変換手段410Aは、第二の出力色記憶手段412に記憶されている第二の出力色(グレーの場合には厳密には色相には該当しないため、グレーを含む場合には色相を色と表現している)、即ちグレーに変換する。   Subsequently, the determination result is transmitted to the conversion unit 410, and the conversion unit 410 converts the output color. The conversion is performed as follows, for example. First, when it is determined that the unit data belongs to the non-extracted color group, the first conversion unit 410A constituting the conversion unit 410 uses the second output color (stored in the second output color storage unit 412). Strictly speaking, in the case of gray, since it does not correspond to a hue, if it includes gray, the hue is expressed as a color), that is, it is converted to gray.

また、単位データが抽出色グループに属すると判定された場合、上記第一の変換手段410Aは、ユーザにより選択され、第一の出力色記憶手段411に記憶されている第一の出力色、即ちレッドに変換する。   If it is determined that the unit data belongs to the extracted color group, the first conversion means 410A is selected by the user, and the first output color stored in the first output color storage means 411, that is, Convert to red.

また、単位データが中間色グループに属すると判定された場合、上記変換手段410を構成する第二の変換手段410Bは、ユーザにより選択され、上記第一の出力色(ここではレッド)と上記第二の出力色(ここではグレー)とを所定の比率で混合(積算)した中間出力色、即ち第三の出力色に変換する。なお、上記第二の出力色がグレーである場合、当該第三の出力色は、上記第一の出力色と同一の色相かつ当該色より低い彩度を有することになる。以下に、第三の出力色への変換処理の例を示す。
(第一の変換処理例)
上記第一の出力色記憶手段411に記憶されている出力色であるレッドが例えば、(C,M,Y,K)=(0,255,255,0)で表され、第二の出力色記憶手段412に記憶されている出力色であるグレーが例えば(C,M,Y,K)=(0,0,0,128)で表されるものと仮定する。この場合、中間出力色は、例えば上記第一の出力色(レッド)と第二の出力色(グレー)とを1:1(50%:50%)の比で混合(積算)するものとする。上記混合により、中間出力色は例えば(C,M,Y,K)=(0,128,128,128)に変換される。
If it is determined that the unit data belongs to the intermediate color group, the second conversion unit 410B constituting the conversion unit 410 is selected by the user, and the first output color (here, red) and the second output unit are selected. The output color (in this case, gray) is mixed (integrated) at a predetermined ratio into an intermediate output color, that is, a third output color. When the second output color is gray, the third output color has the same hue as the first output color and a lower saturation than the color. An example of the conversion process to the third output color is shown below.
(First conversion processing example)
The output color red stored in the first output color storage unit 411 is represented by (C, M, Y, K) = (0, 255, 255, 0), for example, and the second output color. It is assumed that the output color gray stored in the storage means 412 is represented by (C, M, Y, K) = (0, 0, 0, 128), for example. In this case, as the intermediate output color, for example, the first output color (red) and the second output color (gray) are mixed (integrated) at a ratio of 1: 1 (50%: 50%). . By the above mixing, the intermediate output color is converted into, for example, (C, M, Y, K) = (0, 128, 128, 128).

変換手段410にて変換された単位データは、出力手段413にて単位データ毎に、又はすべての単位データが変換されるまで維持されて変換画像データとして出力される。   The unit data converted by the conversion unit 410 is maintained for each unit data by the output unit 413 or until all unit data is converted, and is output as converted image data.

出力された単位データ又は変換画像データは、上述した印刷部120に送信され、変換後の二色画像として印刷される。これにより、第一の出力色(例えばレッド)、第二の出力色(例えば黒、グレー)、及び第三の出力色(第一の出力色と第二の出力色とを所定の比率で混合した色)により二色画像を形成することができる。   The output unit data or converted image data is transmitted to the printing unit 120 described above and printed as a converted two-color image. Thereby, the first output color (for example, red), the second output color (for example, black, gray), and the third output color (the first output color and the second output color are mixed at a predetermined ratio). Color) can form a two-color image.

以上により、中間色グループを設け、中間色グループに属する単位データを、第一の出力色と第二の出力色とを所定の比率で混合した色に変換することで、コストを高めることなく表現力を増した二色画像を得ることができる。
(第二の変換処理例)
また、さらに細かく中間出力色の変換を行ってもよい。例えば、上記第二の変換手段410Bは、上記第一の出力色と上記第二の出力色とを、単位データが属する色相値に対応する上記第一の閾値504及び上記第二の閾値505からの乖離度に応じた出力比率で混合した第三の出力色に変換するのである。
As described above, an intermediate color group is provided, and unit data belonging to the intermediate color group is converted into a color in which the first output color and the second output color are mixed at a predetermined ratio, so that expressive power can be increased without increasing costs. An increased two-color image can be obtained.
(Second conversion processing example)
Further, the intermediate output color may be converted more finely. For example, the second conversion unit 410B converts the first output color and the second output color from the first threshold value 504 and the second threshold value 505 corresponding to the hue value to which the unit data belongs. This is converted into a third output color mixed at an output ratio corresponding to the degree of deviation.

さらに具体的に説明すると、図10に示すように、抽出色と判定された領域1001に属する単位データは、上記第一の出力色、即ち例えばレッドに変換されるのは上述した通りである。ここで、色相値が154に属しかつ中間色と判定された単位データ1002〜1005に着目すると、第二の閾値505に対応する(一致する)彩度値Aを有する単位データ1002は、上記第一の出力色と同一の彩度値に変換される。また、第一の閾値504に対応する(一致する)彩度値を有する単位データ1005の変換後の彩度値は、非抽出色と判定された領域に対応する第二の出力色(例えば黒、グレー)と同一の彩度値に変換される。そして、上記第一の閾値504よりも大きく、上記第二の閾値よりも小さい例えば単位データ1003、1004については、上記第一の閾値504及び上記第二の閾値505からの乖離度に応じて、上記第一の出力色と上記第二の出力色とを所定の比率で混合した彩度値に変換される。ここで、「乖離度に応じた所定の比率」とは、単位データの彩度値の、第一の閾値からの乖離度(単位データの彩度値−第一の閾値)の逆数と、第二の閾値からの乖離度(第二の閾値−単位データの彩度値)の逆数との比率を指す。   More specifically, as shown in FIG. 10, the unit data belonging to the area 1001 determined as the extracted color is converted into the first output color, that is, red, for example, as described above. Here, focusing on the unit data 1002 to 1005 whose hue value belongs to 154 and is determined to be an intermediate color, the unit data 1002 having the saturation value A corresponding to (matching) the second threshold 505 is the above-described first unit data 1002. Is converted to the same saturation value as the output color. Further, the converted saturation value of the unit data 1005 having the saturation value corresponding to (matching with) the first threshold value 504 is the second output color (for example, black) corresponding to the area determined as the non-extracted color. , Gray) and the same saturation value. For unit data 1003 and 1004 that are larger than the first threshold 504 and smaller than the second threshold, for example, according to the degree of deviation from the first threshold 504 and the second threshold 505, The first output color and the second output color are converted into saturation values that are mixed at a predetermined ratio. Here, the “predetermined ratio according to the degree of divergence” refers to the reciprocal of the degree of divergence of the saturation value of the unit data from the first threshold (the saturation value of the unit data−the first threshold), It refers to the ratio to the reciprocal of the degree of deviation from the second threshold (second threshold—the saturation value of the unit data).

上記例では、
・154における第一の閾値からの乖離度=(単位データの彩度値−154に対応する第一の閾値)÷(154に対応する第二の閾値−154に対応する第一の閾値)・・・X
・154における第二の閾値からの乖離度=(1−X)・・・Y
と定義した場合に、
所定の比率は、
・第一の出力色(レッド):第二の出力色(グレー)=Y:X
として求められる。
In the above example,
Deviation from first threshold at 154 = (first threshold corresponding to saturation value-154 of unit data) / (first threshold corresponding to second threshold-154 corresponding to 154) ..X
Degree of deviation from the second threshold at 154 = (1−X)... Y
Defined as
The predetermined ratio is
First output color (red): second output color (gray) = Y: X
As required.

なお、上記例では、XとYは1以下の値の係数として算出され、
単位データの色要素(CMYK)=Y×(第一の出力色の色要素)+X×(第二の出力色の色要素)として算出される。
In the above example, X and Y are calculated as coefficients having a value of 1 or less,
The unit data color element (CMYK) = Y × (first output color color element) + X × (second output color element).

上記に基づくと、単位データ1004に比して、第一の出力色(レッド)に近い単位データ1003は、単位データ1004よりもレッドに近い彩度が与えられ、逆に単位データ1004は、単位データ1003よりもグレーに近い彩度が与えられる。   Based on the above, the unit data 1003 closer to the first output color (red) than the unit data 1004 is given a saturation closer to red than the unit data 1004. Conversely, the unit data 1004 Saturation closer to gray than data 1003 is given.

上記変換が各色相値毎に行われることにより、中間色グループに属する単位データは、上記第一の閾値504近傍から、上記第二の閾値505に近づくにつれ徐々に彩度値が大きくなる。即ち中間色グループに属すると判定された領域1006は図10における下から上にかけて彩度値が大きくなるグラデーションを形成するように変換される。   By performing the conversion for each hue value, the saturation value of the unit data belonging to the intermediate color group gradually increases from the vicinity of the first threshold value 504 toward the second threshold value 505. That is, the area 1006 determined to belong to the intermediate color group is converted so as to form a gradation in which the saturation value increases from the bottom to the top in FIG.

以上のように、分割された色相毎に2つの閾値を設け、明らかに第一の出力色に変換されるべき抽出色グループと、明らかに第二の出力色に変換されるべき非抽出色グループと、その中間に該当する中間色グループとに分割する。そして、中間色グループに該当する領域については、変換後の彩度値の大きさが段階的に大きく(小さく)なるよう変換している。これにより、コストを高めることなく一層表現力を増した二色画像を得ることが可能になる。
(第三の変換処理例)
上記第二の変換処理例では、彩度方向に出力色がグラデーションを形成するよう変換されているが、これに対して、色相方向(円周方向)にグラデーションを形成するように変換してもよい。
As described above, two threshold values are provided for each of the divided hues, and an extracted color group to be clearly converted to the first output color and a non-extracted color group to be clearly converted to the second output color And an intermediate color group corresponding to the middle. Then, the area corresponding to the intermediate color group is converted so that the saturation value after conversion becomes larger (smaller) stepwise. As a result, it is possible to obtain a two-color image with higher expressive power without increasing the cost.
(Third conversion processing example)
In the second conversion processing example, the output color is converted to form a gradation in the saturation direction. However, the output color may be converted to form a gradation in the hue direction (circumferential direction). Good.

この場合、図11に示すように、色分類手段1101は新たに、出力比率テーブルを記憶する出力比率記憶手段1102と、色相算出手段402により算出された色相値と上記出力比率テーブルとに基づいて変換後の色相値の出力比率を算出する出力比率算出手段1103とを備える。   In this case, as shown in FIG. 11, the color classification unit 1101 is newly based on the output ratio storage unit 1102 that stores the output ratio table, the hue value calculated by the hue calculation unit 402, and the output ratio table. Output ratio calculation means 1103 for calculating the output ratio of the hue value after conversion.

上記出力比率テーブルは、図12に示すように、X軸に色相値が割り当てられ、Y軸に当該色相値に対応する変換後の出力比率が割り当てられたテーブルである。図12のテーブルは、抽出色記憶手段407にブルーが記憶されている際に選択されるブルー(色相値範囲154−188)用のテーブルであって、例えば他に、CMYRG用である複数のテーブルが記憶されている。   As shown in FIG. 12, the output ratio table is a table in which a hue value is assigned to the X axis and a converted output ratio corresponding to the hue value is assigned to the Y axis. The table of FIG. 12 is a table for blue (hue value range 154 to 188) selected when blue is stored in the extracted color storage unit 407. For example, a plurality of tables for CMYRG are also included. Is remembered.

以上の状態で、例えば単位データの色相が色相算出手段402により“162”と算出されたものとする。当該色相値は、出力比率算出手段1103に送信され、当該出力比率算出手段1103では、抽出色記憶手段407に設定された“ブルー”に基づいて、当該ブルーに対応する出力比率テーブル1201を出力比率記憶手段1102より読み出す。   In the above state, for example, the hue of the unit data is calculated as “162” by the hue calculation unit 402. The hue value is transmitted to the output ratio calculation unit 1103, and the output ratio calculation unit 1103 stores the output ratio table 1201 corresponding to the blue on the basis of “blue” set in the extracted color storage unit 407. Read from the storage means 1102.

続いて、出力比率算出手段1103は、色相値“162”と出力比率テーブル1201とより、変換後の出力比率Z=82%を算出する。当該算出した値は、上記第二の変換手段410Bに送信される。   Subsequently, the output ratio calculation unit 1103 calculates the converted output ratio Z = 82% from the hue value “162” and the output ratio table 1201. The calculated value is transmitted to the second conversion unit 410B.

上記第二の変換手段410Bでは、上記第一の出力色(レッド)と上記第二の出力色(グレー)とを上記算出された出力比率(ここでは82:18)で混合した第三の出力色に変換する。   In the second conversion means 410B, a third output obtained by mixing the first output color (red) and the second output color (gray) at the calculated output ratio (here 82:18). Convert to color.

なお、上記例では、Zは1以下の値の係数として算出され、
単位データの色要素(CMYK)=Z×(第一の出力色の色要素)+(1−Z)×(第二の出力色の色要素)として算出される。
In the above example, Z is calculated as a coefficient having a value of 1 or less,
The unit data color element (CMYK) = Z × (first output color color element) + (1−Z) × (second output color element).

上記処理により、図13に示すように、色相方向に対して、抽出色に近い色ほど第一の出力色(レッド)に近い要素で出力され、抽出色より遠い色ほど第二の出力色(グレー)に近い要素で出力されるため、一層表現力を増した二色画像を得ることが可能になる。   With the above processing, as shown in FIG. 13, with respect to the hue direction, a color closer to the extracted color is output with an element closer to the first output color (red), and a color farther from the extracted color is output to the second output color ( Since it is output with elements close to (gray), it is possible to obtain a two-color image with further increased expressive power.

なお、第三の変換処理例と上記第二の変換処理例とを同時に実施する場合には、上記第二の変換手段410Bは、単位データの色要素を、
・{Y×Z×(第一の出力色の色要素)}+{{1−(Y×Z)}×(第二の出力色の色要素)}
として算出する。
When the third conversion processing example and the second conversion processing example are performed at the same time, the second conversion means 410B converts the color element of the unit data into
{Y × Z × (color element of first output color)} + {{1− (Y × Z)} × (color element of second output color)}
Calculate as

これにより色相方向及び彩度方向の双方向に対して、抽出色に近い色ほど第一の出力色(レッド)に近い要素で出力され、抽出色より遠い色ほど第二の出力色(グレー)に近い要素で出力されるため、カラー画像に近い二色画像を得ることが可能になる。   As a result, with respect to both the hue direction and the saturation direction, a color closer to the extracted color is output as an element closer to the first output color (red), and a color farther from the extracted color is output to the second output color (gray). Therefore, a two-color image close to a color image can be obtained.

なお、以上の説明において、上記変換手段410が変換する際の色については、色相、彩度の変換のみを説明し、輝度については言及していない。輝度は、その装置が使用している各色トナー(CMYK)の特性にも影響されるため、これらを踏まえて装置独自の変換が行われるものである。よって本願は、輝度の変換については限定していないが、ユーザが選択した抽出色や出力色に応じて、変換手段が輝度を変換してもよいことは言うまでもない。   In the above description, only the hue and saturation conversion is described for the color when the conversion unit 410 converts, and the luminance is not mentioned. Luminance is also affected by the characteristics of each color toner (CMYK) used by the apparatus, and therefore conversion unique to the apparatus is performed based on these characteristics. Thus, although the present application does not limit the luminance conversion, it goes without saying that the conversion means may convert the luminance according to the extracted color or output color selected by the user.

また、変換手段は、抽出色をユーザが指定した出力色に変換しているが、指定された抽出色のままでもよい。   Further, although the conversion means converts the extracted color into the output color designated by the user, the designated extracted color may be used as it is.

さらに、理解に供するため、色相値判定テーブルと出力比率テーブルとを別途設けているが、色相値判定テーブルを出力比率テーブルで代用することも可能である。この場合には、分類手段409による分類の判定は、色相比較手段406からの比較結果の判定を、「0」と「1」ではなく、「0」と「0より大きい値」との基準で行えばよい。   Furthermore, for the sake of understanding, a hue value determination table and an output ratio table are provided separately, but the hue value determination table can be replaced with an output ratio table. In this case, the classification by the classification unit 409 is determined based on the comparison of the comparison result from the hue comparison unit 406 based on “0” and “greater than 0” instead of “0” and “1”. Just do it.

本発明に係る色分類装置、色分類方法及び画像形成装置は、表現力豊かな二色画像を提供することが可能な色分類装置、色分類方法及び画像形成装置として有用である。   The color classification apparatus, the color classification method, and the image forming apparatus according to the present invention are useful as a color classification apparatus, a color classification method, and an image forming apparatus that can provide a two-color image with rich expressive power.

本発明に係る画像形成装置の概略模式図。1 is a schematic diagram of an image forming apparatus according to the present invention. 読取部の拡大図。The enlarged view of a reading part. 本発明に係る画像形成装置の概略構成図。1 is a schematic configuration diagram of an image forming apparatus according to the present invention. 本発明に係る画像形成装置の概略機能ブロック図。1 is a schematic functional block diagram of an image forming apparatus according to the present invention. 色相円を示す図。The figure which shows a hue circle. 色相分類テーブルの一例を示す図。The figure which shows an example of a hue classification | category table. 色相円の抽出領域、非抽出領域を示す図。The figure which shows the extraction area | region of a hue circle, and a non-extraction area | region. 領域判定テーブルの例を示す図。The figure which shows the example of an area | region determination table. 出力色グループの分布を示す図。The figure which shows distribution of an output color group. 変換後の彩度値の関係を説明する図。The figure explaining the relationship of the saturation value after conversion. 本発明の他の実施形態に係る画像形成装置の概略機能ブロック図。FIG. 6 is a schematic functional block diagram of an image forming apparatus according to another embodiment of the present invention. 出力比率テーブルの一例を示す図。The figure which shows an example of an output ratio table. 変換後の彩度値の関係を説明する第二の図。The 2nd figure explaining the relationship of the saturation value after conversion.

符号の説明Explanation of symbols

400 色分類手段
401 画像データ入力手段
402 色相算出手段
403 彩度算出手段
405 彩度比較手段
406 色相比較手段
407 抽出色記憶手段
408 閾値記憶手段
409 分類手段
410 変換手段
410A 第一の変換手段
410B 第二の変換手段
411 第一の出力色記憶手段
412 第二の出力色記憶手段
413 出力手段
1102 出力比率記憶手段
1103 出力比率算出手段


400 Color classification means 401 Image data input means 402 Hue calculation means 403 Saturation calculation means 405 Saturation comparison means 406 Hue comparison means 407 Extracted color storage means 408 Threshold storage means 409 Classification means 410 Conversion means 410A First conversion means 410B First Second conversion means 411 First output color storage means 412 Second output color storage means 413 Output means 1102 Output ratio storage means 1103 Output ratio calculation means


Claims (8)

入力されたカラー画像データを構成する単位データの色相値を算出する色相算出手段と、
上記単位データの彩度値を算出する彩度算出手段と、
複数に分割された色相値毎に設けられた閾値であって、当該各色相値における彩度値を、彩度値の順に3グループに分割する第一の閾値と、当該第一の閾値より大きい第二の閾値とを記憶する閾値記憶手段と、
上記算出された彩度値と、上記算出された色相値に対応する上記第一の閾値と、上記第二の閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較手段と、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較手段と、
上記色相比較手段による比較結果と、上記彩度比較手段による判定結果とに基づいて、上記あらかじめ指定された範囲の色相値とは異なる色相値を有する単位データを非抽出色グループに分類し、上記あらかじめ指定された範囲の色相値を有する単位データであって、上記第一の閾値より小さい彩度値を有する単位データを非抽出色グループに分類し、上記第二の閾値より大きい彩度値を有する単位データを抽出色グループに分類し、上記第一の閾値から上記第二の閾値の範囲の彩度値を有する単位データを中間色グループに分類する分類手段と、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換手段と、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを所定の比率で混合した第三の出力色に変換する第二の変換手段と、
を備えた色分類装置。
A hue calculation means for calculating a hue value of unit data constituting the input color image data;
A saturation calculating means for calculating the saturation value of the unit data;
A threshold value provided for each of the hue values divided into a plurality of values, a first threshold value for dividing the saturation value in each hue value into three groups in the order of the saturation value, and greater than the first threshold value Threshold storage means for storing a second threshold ;
Saturation comparison for determining the three groups to which the unit data belongs by comparing the calculated saturation value, the first threshold value corresponding to the calculated hue value, and the second threshold value Means,
A hue comparison means for comparing the calculated hue value with a hue value in a predetermined range;
Based on the comparison result by the hue comparison unit and the determination result by the saturation comparison unit, unit data having a hue value different from the hue value in the range specified in advance is classified into a non-extracted color group, and Unit data having a hue value in a pre-designated range, the unit data having a saturation value smaller than the first threshold is classified into a non-extracted color group, and a saturation value larger than the second threshold is determined. Classifying means for classifying unit data having an extracted color group and classifying unit data having a saturation value in a range from the first threshold to the second threshold into an intermediate color group ;
First conversion means for converting the unit data classified into the extracted color group and the unit data classified into a non-extracted color group into a first output color and a second output color, respectively;
Second conversion means for converting the unit data classified into the intermediate color group into a third output color obtained by mixing the first output color and the second output color at a predetermined ratio;
Color classification device with
入力されたカラー画像データを構成する単位データの色相値を算出する色相算出手段と、
上記単位データの彩度値を算出する彩度算出手段と、
複数に分割された色相値毎に設けられた閾値であって、当該各色相値における彩度値を、彩度値の順に3グループに分割する第一の閾値と、当該第一の閾値より大きい第二の閾値とを記憶する閾値記憶手段と、
上記算出された彩度値と、上記算出された色相値に対応する上記第一の閾値と、上記第二の閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較手段と、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較手段と、
上記色相比較手段による比較結果と、上記彩度比較手段による判定結果とに基づいて、上記単位データを抽出色グループか非抽出色グループか中間色グループかに分類する分類手段と、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換手段と、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを単位データが属する色相値に対応する上記第一の閾値及び上記第二の閾値からの乖離度に応じた出力比率で混合した第三の出力色に変換する第二の変換手段と、
を備えた色分類装置。
A hue calculation means for calculating a hue value of unit data constituting the input color image data;
A saturation calculating means for calculating the saturation value of the unit data;
A threshold value provided for each of the hue values divided into a plurality of values, a first threshold value for dividing the saturation value in each hue value into three groups in the order of the saturation value, and greater than the first threshold value Threshold storage means for storing a second threshold ;
Saturation comparison for determining the three groups to which the unit data belongs by comparing the calculated saturation value, the first threshold value corresponding to the calculated hue value, and the second threshold value Means,
A hue comparison means for comparing the calculated hue value with a hue value in a predetermined range;
Classification means for classifying the unit data into an extracted color group, a non-extracted color group, or an intermediate color group based on the comparison result by the hue comparison means and the determination result by the saturation comparison means;
First conversion means for converting the unit data classified into the extracted color group and the unit data classified into a non-extracted color group into a first output color and a second output color, respectively;
The unit data classified into the intermediate color group, the degree of deviation from the first threshold and the second threshold corresponding to the hue value to which the unit data belongs between the first output color and the second output color Second conversion means for converting to a third output color mixed at an output ratio according to
Color classification device with
入力されたカラー画像データを構成する単位データの色相値を算出する色相算出手段と、
上記単位データの彩度値を算出する彩度算出手段と、
複数に分割された色相値毎に設けられた閾値であって、当該各色相値における彩度値を、彩度値の順に3グループに分割する2つの閾値を記憶する閾値記憶手段と、
上記算出された彩度値と、上記算出された色相値に対応する上記2つの閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較手段と、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較手段と、
上記色相比較手段による比較結果と、上記彩度比較手段による判定結果とに基づいて、上記単位データを抽出色グループか非抽出色グループか中間色グループかに分類する分類手段と、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換手段と、
色相値と当該色相値に対応する所定の出力比率とを関連付ける複数の出力比率テーブルを記憶する出力比率記憶手段と、
上記算出された色相値と、複数の上記出力比率テーブルのうち、上記あらかじめ指定された範囲の色相値に対応する上記出力比率テーブルとに基づいて、当該算出された色相値に対応する出力比率を算出する出力比率算出手段と、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを上記算出された出力比率で混合した第三の出力色に変換する第二の変換手段と、
を備えた色分類装置。
A hue calculation means for calculating a hue value of unit data constituting the input color image data;
A saturation calculating means for calculating the saturation value of the unit data;
Threshold value storage means for storing two threshold values, each of which is a threshold value provided for each of hue values divided into a plurality of values and divides the saturation value in each hue value into three groups in the order of the saturation value;
A saturation comparison unit that determines the three groups to which the unit data belongs by comparing the calculated saturation value with the two threshold values corresponding to the calculated hue value;
A hue comparison means for comparing the calculated hue value with a hue value in a predetermined range;
Classification means for classifying the unit data into an extracted color group, a non-extracted color group, or an intermediate color group based on the comparison result by the hue comparison means and the determination result by the saturation comparison means;
First conversion means for converting the unit data classified into the extracted color group and the unit data classified into a non-extracted color group into a first output color and a second output color, respectively;
Output ratio storage means for storing a plurality of output ratio tables associating a hue value with a predetermined output ratio corresponding to the hue value;
Based on the calculated hue value and the output ratio table corresponding to the hue value in the predetermined range among the plurality of output ratio tables, an output ratio corresponding to the calculated hue value is calculated. An output ratio calculating means for calculating;
Second conversion means for converting the unit data classified into the intermediate color group into a third output color obtained by mixing the first output color and the second output color at the calculated output ratio;
Color classification device with
さらに、上記第一の変換手段および上記第二の変換手段にて変換された単位データを出力する出力手段を備えた
請求項1−3のいずれか一項に記載の色分類装置。
Further, the first conversion means and the second color classification apparatus according to any one of claims 1 -3 comprising output means for outputting the converted unit data at converting means.
請求項1〜のいずれかに記載の色分類装置を備えた画像形成装置。 An image forming apparatus having a color classification apparatus according to any one of claims 1-4. 入力されたカラー画像データを構成する単位データの色相値を算出する色相算出ステップと、
上記単位データの彩度値を算出する彩度算出ステップと、
上記算出された彩度値と、上記算出された色相値に対応する、複数に分割された色相値毎に設けられた閾値であって当該各色相値における彩度値を彩度値の順に3グループに分割する第一の閾値と、当該第一の閾値より大きい第二の閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較ステップと、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較ステップと、
上記色相比較ステップにおける比較結果と、上記彩度比較ステップによる判定結果とに基づいて、上記あらかじめ指定された範囲の色相値とは異なる色相値を有する単位データを非抽出色グループに分類し、上記あらかじめ指定された範囲の色相値を有する単位データであって、上記第一の閾値より小さい彩度値を有する単位データを非抽出色グループに分類し、上記第二の閾値より大きい彩度値を有する単位データを抽出色グループに分類し、上記第一の閾値から上記第二の閾値の範囲の彩度値を有する単位データを中間色グループに分類する分類ステップと、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換ステップと、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを所定の比率で混合した第三の出力色に変換する第二の変換ステップと、
を備えた色分類方法。
A hue calculation step for calculating a hue value of unit data constituting the input color image data;
A saturation calculation step for calculating a saturation value of the unit data;
The threshold value provided for each of the divided hue values corresponding to the calculated hue value and the calculated hue value, and the saturation value in each hue value is 3 in the order of the saturation value. A saturation comparison step of determining the three groups to which the unit data belongs by comparing a first threshold to be divided into groups and a second threshold greater than the first threshold;
A hue comparison step for comparing the calculated hue value with a predetermined range of hue values;
Based on the comparison result in the hue comparison step and the determination result in the saturation comparison step , classify unit data having a hue value different from the hue value in the predetermined range into a non-extracted color group, Unit data having a hue value in a pre-designated range, the unit data having a saturation value smaller than the first threshold is classified into a non-extracted color group, and a saturation value larger than the second threshold is determined. Classifying unit data having an extracted color group, and classifying unit data having a saturation value ranging from the first threshold to the second threshold into an intermediate color group ;
A first conversion step of converting the unit data classified into the extracted color group and the unit data classified into the non-extracted color group into a first output color and a second output color, respectively;
A second conversion step of converting the unit data classified into the intermediate color group into a third output color obtained by mixing the first output color and the second output color at a predetermined ratio;
Color classification method with
入力されたカラー画像データを構成する単位データの色相値を算出する色相算出ステップと、
上記単位データの彩度値を算出する彩度算出ステップと、
上記算出された彩度値と、上記算出された色相値に対応する、複数に分割された色相値毎に設けられた閾値であって当該各色相値における彩度値を彩度値の順に3グループに分割する第一の閾値と、当該第一の閾値より大きい第二の閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較ステップと、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較ステップと、
上記色相比較ステップにおける比較結果と、上記彩度比較ステップによる判定結果とに基づいて、上記単位データを抽出色グループか非抽出色グループか中間色グループかに分類する分類ステップと、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換ステップと、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを単位データが属する色相値に対応する上記第一の閾値及び上記第二の閾値からの乖離度に応じた出力比率で混合した第三の出力色に変換する第二の変換ステップと、
を備えた色分類方法。
A hue calculation step for calculating a hue value of unit data constituting the input color image data;
A saturation calculation step for calculating a saturation value of the unit data;
The threshold value provided for each of the divided hue values corresponding to the calculated hue value and the calculated hue value, and the saturation value in each hue value is 3 in the order of the saturation value. A saturation comparison step of determining the three groups to which the unit data belongs by comparing a first threshold to be divided into groups and a second threshold greater than the first threshold;
A hue comparison step for comparing the calculated hue value with a predetermined range of hue values;
A classification step for classifying the unit data into an extracted color group, a non-extracted color group, or an intermediate color group based on the comparison result in the hue comparison step and the determination result in the saturation comparison step;
A first conversion step of converting the unit data classified into the extracted color group and the unit data classified into the non-extracted color group into a first output color and a second output color, respectively;
The unit data classified into the intermediate color group, the degree of deviation from the first threshold and the second threshold corresponding to the hue value to which the unit data belongs between the first output color and the second output color A second conversion step for converting to a third output color mixed at an output ratio according to
Color classification method with
入力されたカラー画像データを構成する単位データの色相値を算出する色相算出ステップと、
上記単位データの彩度値を算出する彩度算出ステップと、
上記算出された彩度値と、上記算出された色相値に対応する、複数に分割された色相値毎に設けられた閾値であって当該各色相値における彩度値を彩度値の順に3グループに分割する2つの閾値とを比較することで上記単位データが属する上記3グループを判定する彩度比較ステップと、
上記算出された色相値とあらかじめ指定された範囲の色相値とを比較する色相比較ステップと、
上記色相比較ステップにおける比較結果と、上記彩度比較ステップによる判定結果とに基づいて、上記単位データを抽出色グループか非抽出色グループか中間色グループかに分類する分類ステップと、
上記抽出色グループに分類された単位データと非抽出色グループに分類された単位データとをそれぞれ第一の出力色および第二の出力色に変換する第一の変換ステップと、
上記算出された色相値と、色相値と当該色相値に対応する所定の出力比率とを関連付ける複数の出力比率テーブルのうち、上記あらかじめ指定された範囲の色相値に対応する上記出力比率テーブルとに基づいて、当該算出された色相値に対応する出力比率を算出する出力比率算出ステップと、
上記中間色グループに分類された単位データを、上記第一の出力色と上記第二の出力色とを上記算出された出力比率で混合した第三の出力色に変換する第二の変換ステップと、
を備えた色分類方法。
A hue calculation step for calculating a hue value of unit data constituting the input color image data;
A saturation calculation step for calculating a saturation value of the unit data;
The threshold value provided for each of the divided hue values corresponding to the calculated hue value and the calculated hue value, and the saturation value in each hue value is 3 in the order of the saturation value. A saturation comparison step of determining the three groups to which the unit data belongs by comparing two threshold values divided into groups;
A hue comparison step for comparing the calculated hue value with a predetermined range of hue values;
A classification step for classifying the unit data into an extracted color group, a non-extracted color group, or an intermediate color group based on the comparison result in the hue comparison step and the determination result in the saturation comparison step;
A first conversion step of converting the unit data classified into the extracted color group and the unit data classified into the non-extracted color group into a first output color and a second output color, respectively;
Among the plurality of output ratio tables associating the calculated hue value with the hue value and a predetermined output ratio corresponding to the hue value, the output ratio table corresponding to the hue value in the range specified in advance. An output ratio calculating step for calculating an output ratio corresponding to the calculated hue value,
A second conversion step of converting the unit data classified into the intermediate color group into a third output color obtained by mixing the first output color and the second output color at the calculated output ratio;
Color classification method with
JP2006210780A 2006-08-02 2006-08-02 Color classification apparatus, color classification method, and image forming apparatus Active JP4758845B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006210780A JP4758845B2 (en) 2006-08-02 2006-08-02 Color classification apparatus, color classification method, and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006210780A JP4758845B2 (en) 2006-08-02 2006-08-02 Color classification apparatus, color classification method, and image forming apparatus

Publications (2)

Publication Number Publication Date
JP2008042309A JP2008042309A (en) 2008-02-21
JP4758845B2 true JP4758845B2 (en) 2011-08-31

Family

ID=39176881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006210780A Active JP4758845B2 (en) 2006-08-02 2006-08-02 Color classification apparatus, color classification method, and image forming apparatus

Country Status (1)

Country Link
JP (1) JP4758845B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3185376B2 (en) * 1992-07-01 2001-07-09 富士ゼロックス株式会社 Image reading device
JP3611907B2 (en) * 1995-10-27 2005-01-19 株式会社リコー Color copier
JPH11187279A (en) * 1997-12-18 1999-07-09 Canon Inc Image processor and method
JP2002209084A (en) * 2001-01-09 2002-07-26 Seiko Epson Corp Method for generating logo data having gray scale processing function capable of color designation, and logo data generator

Also Published As

Publication number Publication date
JP2008042309A (en) 2008-02-21

Similar Documents

Publication Publication Date Title
US8432579B2 (en) Image forming apparatus
US20050088710A1 (en) Color image forming apparatus and method of controlling same
US5289296A (en) Color image processing apparatus and method
US10484555B2 (en) Image forming apparatus communicably connected to an external measurement device that measures a measurement image for a calibration operation, and a related image processing apparatus
US10782639B2 (en) Measurement apparatus, image forming apparatus and image forming system
JP2012137481A (en) Image inspection device, printing system, and image inspection method and program
CN106454008B (en) Color processing device and method, image forming apparatus, and image forming system
JP2007189278A (en) Color tone correction method and color tone correction apparatus, image forming apparatus, and program
US20200336603A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP4762649B2 (en) Image processing apparatus, image forming apparatus, control program, and computer-readable recording medium
JP6834470B2 (en) Color processing equipment, image forming equipment and image forming system
JP2013070173A (en) Image reading device, image forming device, and program
JP2007228115A (en) Color classification apparatus and method, and image forming apparatus
JP4758845B2 (en) Color classification apparatus, color classification method, and image forming apparatus
US11451685B2 (en) Color conversion table corrector that corrects the color conversion table according to data related to a first captured image excluding a specified area
JP2003324619A (en) Image processing equipment and its control method
JP6834563B2 (en) Color processing equipment, image forming equipment and image forming system
JP6809163B2 (en) Color processing equipment, image forming equipment and image forming system
US11303782B2 (en) Image forming apparatus with color adjustment
JP2008053801A (en) Image processor, image forming apparatus, and image compressing method
JP4408074B2 (en) Printing device
JP2017123588A (en) Color processing apparatus, image formation device, and image formation system
JP2011022363A (en) Image forming apparatus, image forming method, program, and recording medium
JP2009081599A (en) Image forming apparatus and image processing method
JP2020061721A (en) Image processing apparatus, color conversion method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090724

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110203

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110216

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110318

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110511

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110603

R150 Certificate of patent or registration of utility model

Ref document number: 4758845

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140610

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140610

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140610

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350