JP2016032263A - Image formation apparatus - Google Patents

Image formation apparatus Download PDF

Info

Publication number
JP2016032263A
JP2016032263A JP2014155023A JP2014155023A JP2016032263A JP 2016032263 A JP2016032263 A JP 2016032263A JP 2014155023 A JP2014155023 A JP 2014155023A JP 2014155023 A JP2014155023 A JP 2014155023A JP 2016032263 A JP2016032263 A JP 2016032263A
Authority
JP
Japan
Prior art keywords
color
unit
image
document
colors
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.)
Granted
Application number
JP2014155023A
Other languages
Japanese (ja)
Other versions
JP6204292B2 (en
Inventor
田中 邦彦
Kunihiko Tanaka
邦彦 田中
洋志 横田
Hiroshi Yokota
洋志 横田
正隆 竹村
Masataka Takemura
正隆 竹村
星輝 里見
Seiki Satomi
星輝 里見
宮下 政樹
Masaki Miyashita
政樹 宮下
林 信二
Shinji Hayashi
信二 林
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 Document Solutions Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2014155023A priority Critical patent/JP6204292B2/en
Publication of JP2016032263A publication Critical patent/JP2016032263A/en
Application granted granted Critical
Publication of JP6204292B2 publication Critical patent/JP6204292B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image formation apparatus capable of automatically determining whether or not two-color printing is carried out, when reading a document as a color image and printing that image.SOLUTION: A document reading unit 200 reads a document as a color image, and generates image data representing the image of the document. A first calculation unit 501 calculates the size of the color area of the document, on the basis of the image data generated by the document reading unit 200. A first determination unit 503 determines whether or not the size of the color area, calculated by the first calculation unit 501, is smaller than a predetermined first threshold. When a determination is made by the first determination unit 503 that the size of the color area, calculated by the first calculation unit 501, is smaller than the first threshold, a control unit 500 controls a print section 100 to carry out a print job by two-color printing.SELECTED DRAWING: Figure 1

Description

本発明は、2色印刷の機能を有する画像形成装置に関する。   The present invention relates to an image forming apparatus having a two-color printing function.

2色印刷は、カラーを構成する複数の色(例えば、シアン、マゼンタ、イエロー、ブラック)のうち、2つの色(例えば、ブラックとブラック以外の1色)を選択して、画像を印刷することである。2色印刷は、フルカラー印刷と比べてトナーの消費量を抑えつつ、かつ、モノクロ印刷と比べて訴求力及び表現力を向上させることができる。画像形成装置のユーザーは、印刷枚数に応じて課金されるサポート契約を結ぶことが多い。2色印刷の1枚当たりの課金は、フルカラー印刷のそれと比べて、通常、安く設定されている。このため、2色印刷は、ユーザーにとってコスト削減を図ることができ、有益である。   In two-color printing, an image is printed by selecting two colors (for example, one color other than black and black) from a plurality of colors (for example, cyan, magenta, yellow, and black) that constitute the color. It is. Two-color printing can reduce the amount of toner consumed as compared with full-color printing, and can improve appeal and expressive power compared with monochrome printing. In many cases, the user of the image forming apparatus has a support contract charged for the number of printed sheets. The charge per sheet for two-color printing is usually set lower than that for full-color printing. For this reason, the two-color printing is beneficial to the user because it can reduce the cost.

2色コピーは、2色印刷を利用したコピーであり、原稿がカラー画像として読み取られ、その画像が2色印刷されることである。   The two-color copy is a copy using two-color printing, in which an original is read as a color image and the image is printed in two colors.

2色コピーに関する技術として、原稿の画像を読み取って画像データを出力する読取手段と、この読取手段から出力された画像データのカラー情報から、フルカラー原稿、ブラック原稿、2色原稿のいずれかを判定する判定手段と、この判定手段の判定結果に応じて、上記画像データの画像処理の切り替えと印字動作の切り替えを制御する制御手段と、を具備する画像形成装置が提案されている(例えば、特許文献1参照)。   As a technology relating to two-color copying, a reading unit that reads an image of a document and outputs image data, and color information of the image data output from the reading unit determines whether a full-color document, a black document, or a two-color document. An image forming apparatus is proposed that includes a determination unit that performs switching, and a control unit that controls switching between image processing and printing operation of the image data in accordance with a determination result of the determination unit (for example, a patent). Reference 1).

特開2007−97169号公報JP 2007-97169 A

ユーザーは、2色コピーを選択したが、印刷された画像に違和感があるので(言い換えれば、画像の見た目が想定より悪いので)、同じ原稿をフルカラーコピーすることがある。特に、2色コピーの知識に乏しいユーザーであれば、その可能性が高い。このように、ユーザーは、2色コピーとフルカラーコピーとの選択を間違うことがあるので、2色コピーとフルカラーコピーとの選択に迷うことがある。   The user has selected a two-color copy, but the printed image is uncomfortable (in other words, the image looks worse than expected), so the same document may be full-color copied. In particular, if the user has little knowledge of two-color copying, the possibility is high. As described above, the user may make a mistake in selecting between the two-color copy and the full-color copy, and thus may be at a loss in selecting between the two-color copy and the full-color copy.

また、2色コピーとフルカラーコピーとをユーザーに選択させる場合、ユーザーは、トナー消費量やコストを下げるために、2色コピーを選択したいが、2色コピーの選択をし忘れ、フルカラーコピーされることがある。   Further, when the user selects the two-color copy and the full-color copy, the user wants to select the two-color copy in order to reduce the toner consumption and the cost, but forgets to select the two-color copy and the full-color copy is made. Sometimes.

本発明は、原稿をカラー画像として読み取り、その画像を印刷する際に、2色印刷するか否かを自動的に判断できる画像形成装置を提供することを目的とする。   An object of the present invention is to provide an image forming apparatus that can automatically determine whether or not two-color printing is performed when a document is read as a color image and the image is printed.

上記目的を達成する本発明に係る画像形成装置は、原稿をカラー画像として読み取り、前記原稿の画像を示す画像データを生成する原稿読取部と、前記原稿読取部によって生成された前記画像データを基にして、前記原稿のカラー領域の大きさを算出する第1の算出部と、前記第1の算出部によって算出された前記カラー領域の大きさが、予め定められた第1のしきい値より小さいか否かを判定する第1の判定部と、前記原稿読取部によって生成された前記画像データで示される前記原稿の画像を印刷する印刷ジョブを実行する印刷部と、前記第1の判定部によって前記カラー領域の大きさが前記第1のしきい値より小さいと判定されたとき、前記印刷部に、2色印刷で前記印刷ジョブを実行させる制御部と、を備える。   An image forming apparatus according to the present invention that achieves the above object reads a document as a color image and generates image data indicating an image of the document, and the image data generated by the document reading unit. The first calculation unit that calculates the size of the color area of the document, and the size of the color area calculated by the first calculation unit is based on a predetermined first threshold value. A first determination unit that determines whether the image is small; a printing unit that executes a print job for printing an image of the document indicated by the image data generated by the document reading unit; and the first determination unit And a control unit that causes the printing unit to execute the print job by two-color printing when it is determined that the size of the color area is smaller than the first threshold value.

本発明は、原稿のカラー領域の面積が小さければ、原稿の画像を2色印刷しても、画像の違和感が小さく、画像の見た目が、フルカラー印刷とあまり変わらないことに着目している。カラー領域とは、原稿において、有彩色で表現された箇所である。本発明に係る画像形成装置によれば、原稿のカラー領域の大きさが、予め定められた第1のしきい値より小さいとき、原稿の画像を2色印刷する。従って、原稿をカラー画像として読み取り、その画像を印刷する際に、2色印刷するか否かを自動的に判断できる。第1のしきい値は、上記着目の観点から定められる。例えば、A4原稿において、カラー領域の大きさが、30mm四方より小さいとき、2色印刷をする。   The present invention focuses on the fact that if the color area of the original is small, even if the original image is printed in two colors, the image is less uncomfortable and the appearance of the image is not much different from full color printing. The color area is a portion expressed in a chromatic color in the document. According to the image forming apparatus of the present invention, when the size of the color area of the document is smaller than the predetermined first threshold value, the image of the document is printed in two colors. Therefore, when the original is read as a color image and the image is printed, it can be automatically determined whether or not to print two colors. The first threshold value is determined from the above viewpoint. For example, when an A4 document has a color area smaller than 30 mm square, two-color printing is performed.

上記構成において、前記第1の判定部によって前記カラー領域の大きさが前記第1のしきい値以上と判定されたとき、前記カラー領域の大きさが、前記第1のしきい値よりも大きい予め定められた第2のしきい値より大きいか否かを判定する第2の判定部をさらに備え、前記制御部は、前記第2の判定部によって前記カラー領域の大きさが前記第2のしきい値より大きいと判定されたとき、前記印刷部に、前記フルカラー印刷で前記印刷ジョブを実行させ、前記原稿読取部によって生成された前記画像データを基にして、前記原稿の画像を構成する色の数を算出する第2の算出部と、前記第2の判定部によって前記カラー領域の大きさが前記第2のしきい値以下と判定されたとき、前記色の数が、予め定められた第3のしきい値より大きいか否かを判定する第3の判定部と、をさらに備え、前記制御部は、前記第3の判定部によって前記色の数が前記第3のしきい値より大きいと判定されたとき、前記印刷部に、前記フルカラー印刷で前記印刷ジョブを実行させ、前記第3の判定部によって前記色の数が前記第3のしきい値以下と判定されたとき、前記印刷部に、前記2色印刷で前記印刷ジョブを実行させる。   In the above configuration, when the size of the color area is determined to be greater than or equal to the first threshold by the first determination unit, the size of the color area is larger than the first threshold. A second determination unit configured to determine whether or not the second threshold value is greater than a predetermined second threshold value; and the control unit is configured so that the size of the color area is determined by the second determination unit. When it is determined that the value is larger than the threshold value, the printing unit is caused to execute the print job by the full-color printing, and the image of the document is configured based on the image data generated by the document reading unit. When the second calculation unit that calculates the number of colors and the second determination unit determine that the size of the color area is equal to or less than the second threshold value, the number of colors is determined in advance. Greater than the third threshold A third determination unit that determines whether the number of colors is greater than the third threshold value by the third determination unit, and the printing unit When the print job is executed in the full color printing and the number of the colors is determined to be equal to or less than the third threshold value by the third determination unit, Run a print job.

この構成は、原稿のカラー領域の面積に加えて、原稿の画像を構成する色の数が、2色印刷において、画像に大きな違和感が生じる原因となることに着目している。カラー領域が小さければ、原稿の画像を構成する色の数を問わずに、2色印刷であっても画像の違和感は小さい。逆に、カラー領域が大きければ、2色印刷をすれば、原稿の画像を構成する色の数を問わずに、画像の違和感は大きい。また、カラー領域が小さくもなく、かつ、大きくもなければ、原稿の画像を構成する色の数が少なければ、2色印刷であっても画像の違和感は小さく、原稿の画像を構成する色の数が多ければ、2色印刷をすれば、画像の違和感は大きい。   In this configuration, attention is paid to the fact that the number of colors constituting the image of the document in addition to the area of the color area of the document causes a sense of incongruity in the image in two-color printing. If the color area is small, the sense of incongruity of the image is small even with two-color printing, regardless of the number of colors that make up the image of the document. On the other hand, if the color area is large, two-color printing will cause the image to be uncomfortable regardless of the number of colors constituting the original image. Also, if the color area is not small and not large, if the number of colors constituting the original image is small, the sense of incongruity of the image is small even with two-color printing, and the color constituting the original image is small. If the number is large, the image feels uncomfortable when two-color printing is performed.

そこで、この構成によれば、カラー領域が小さいときには、原稿の画像を構成する色の数を問わずに、2色印刷を実行し、カラー領域が大きいときには、原稿の画像を構成する色の数を問わずに、フルカラー印刷を実行する。カラー領域が小さくもなく、かつ、大きくもないときには、原稿の画像を構成する色の数が少なければ、2色印刷を実行し、原稿の画像を構成する色の数が多ければ、フルカラー印刷を実行する。   Therefore, according to this configuration, when the color area is small, two-color printing is executed regardless of the number of colors constituting the original image, and when the color area is large, the number of colors constituting the original image. Regardless of whether or not full-color printing is performed. When the color area is neither small nor large, two-color printing is executed if the number of colors constituting the original image is small, and full color printing is performed if the number of colors constituting the original image is large. Run.

上記構成において、前記第2の算出部は、カラーを表現する複数の色のそれぞれの階調の範囲を複数に分割し、同じ分割範囲に属する階調を同じと見なし、前記複数の色のそれぞれの前記分割範囲で規定される複数の領域を設定する設定部と、前記原稿の画像を構成する全画素のそれぞれが、前記複数の領域のいずれの領域に属するかをカウントし、前記複数の領域のそれぞれに属する画素の数を示すヒストグラムを作成する作成部と、前記ヒストグラムを参照して、前記複数の領域のうち、画素数が予め定められた数より少ない第1の領域、及び、無彩色を示す第2の領域の画素数を0と見なし、前記第1の領域及び前記第2の領域以外の残りの領域について、連続する領域どうしを比較し、連続する領域のうち、画素数が一番多い領域以外の領域の画素数を0と見なし、前記複数の領域の中で画素数が0でない領域の数を、前記色の数と決定する決定部と、を備える。   In the above configuration, the second calculation unit divides each gradation range of a plurality of colors representing a color into a plurality of parts, regards gradations belonging to the same division range as the same, and each of the plurality of colors. A setting unit that sets a plurality of areas defined by the division range, and a count of which of the plurality of areas each of the pixels constituting the image of the document belongs to, and the plurality of areas A creation unit that creates a histogram indicating the number of pixels belonging to each of the first region, a first region having a smaller number of pixels than a predetermined number of the plurality of regions, with reference to the histogram, and an achromatic color The number of pixels in the second region indicating 0 is regarded as 0, the remaining regions other than the first region and the second region are compared with each other, and the number of pixels in the continuous region is one. More areas than Considers the number of pixels in the region between 0 comprises, a determination unit that the number of regions the number of pixels is not zero, it is determined that the number of the color among the plurality of regions.

この構成は、原稿の画像を構成する色の数を算出する方法の一例である。   This configuration is an example of a method for calculating the number of colors composing the document image.

上記構成において、前記原稿読取部によって生成された前記画像データで示される前記原稿の画像について、前記フルカラー印刷と前記2色印刷とのいずれかを自動的に選択するモードを設定する操作がされる操作部をさらに備え、前記モードが設定されていることを条件にして、前記第1の算出部は、前記カラー領域の大きさを算出し、前記第1の判定部は、前記カラー領域の大きさが前記第1のしきい値より小さいか否かを判定し、前記第2の算出部は、前記色の数を算出し、前記第2の判定部は、前記カラー領域の大きさが前記第2のしきい値より大きいか否かを判定し、前記第3の判定部は、前記色の数が前記第3のしきい値より大きいか否かを判定する。   In the configuration described above, an operation for setting a mode for automatically selecting either the full-color printing or the two-color printing is performed on the image of the document indicated by the image data generated by the document reading unit. An operation unit is further provided, and the first calculation unit calculates the size of the color area on the condition that the mode is set, and the first determination unit calculates the size of the color area. Is determined to be smaller than the first threshold, the second calculation unit calculates the number of colors, and the second determination unit determines that the size of the color area is the It is determined whether or not it is greater than a second threshold value, and the third determination unit determines whether or not the number of colors is greater than the third threshold value.

この構成によれば、ユーザーによって、フルカラー印刷と2色印刷とのいずれかを自動的に選択するモードを選択する操作がされている場合に、フルカラー印刷と2色印刷とのいずれかが自動的に選択される。   According to this configuration, when the user performs an operation of selecting a mode for automatically selecting either full-color printing or two-color printing, either full-color printing or two-color printing is automatically performed. Selected.

本発明によれば、原稿をカラー画像として読み取り、その画像を印刷する際に、2色印刷するか否かを自動的に判断できる画像形成装置を提供できる。   According to the present invention, it is possible to provide an image forming apparatus that can automatically determine whether or not two-color printing is performed when a document is read as a color image and the image is printed.

本発明の一実施形態に係る画像形成装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of an image forming apparatus according to an embodiment of the present invention. 本実施形態に係る画像形成装置の動作を説明する第1のフローチャートである。3 is a first flowchart for explaining the operation of the image forming apparatus according to the embodiment. 本実施形態に係る画像形成装置の動作を説明する第2のフローチャートである。6 is a second flowchart illustrating the operation of the image forming apparatus according to the present embodiment. 互いに直交する第1の軸、第2の軸、第3の軸において、シアンの階調を第1の軸、マゼンタの階調を第2の軸、イエローの階調を第3の軸とする色モデルを説明する説明図である。In the first axis, the second axis, and the third axis orthogonal to each other, the cyan gradation is the first axis, the magenta gradation is the second axis, and the yellow gradation is the third axis. It is explanatory drawing explaining a color model. 第2の算出部が生成したヒストグラムの一例の概要を示す概要図である。It is a schematic diagram which shows the outline | summary of an example of the histogram which the 2nd calculation part produced | generated.

以下、図面に基づいて本発明の実施形態を詳細に説明する。図1は、本発明の一実施形態に係る画像形成装置1の構成を示すブロック図である。画像形成装置1として、コピー、プリンター、スキャナー及びファクシミリの機能を有するデジタル複合機を例に説明する。画像形成装置1は、カラーコピー機能を有する装置であればよく、デジタル複合機に限定されない。例えば、カラーコピー機を画像形成装置1としてもよい。画像形成装置1は、印刷部100、原稿読取部200、原稿給送部300、操作部400、制御部500、及び、通信部600を備える。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image forming apparatus 1 according to an embodiment of the present invention. The image forming apparatus 1 will be described by taking a digital multifunction machine having functions of a copy, a printer, a scanner, and a facsimile as an example. The image forming apparatus 1 may be an apparatus having a color copy function, and is not limited to a digital multifunction peripheral. For example, a color copier may be used as the image forming apparatus 1. The image forming apparatus 1 includes a printing unit 100, a document reading unit 200, a document feeding unit 300, an operation unit 400, a control unit 500, and a communication unit 600.

原稿給送部300は、原稿給送部300に設けられた原稿載置部に1枚の原稿が置かれている場合、その原稿を原稿読取部200に送り、原稿載置部に複数枚の原稿が置かれている場合、複数枚の原稿を連続的に原稿読取部200に送る。   When a single document is placed on the document placement unit provided in the document feed unit 300, the document feed unit 300 sends the document to the document reading unit 200, and a plurality of documents are placed on the document placement unit. When an original is placed, a plurality of originals are continuously sent to the original reading unit 200.

原稿読取部200は、原稿台に載置された原稿や、原稿給送部300から給送された原稿を読み取り、その原稿の画像データを出力する。原稿読取部200は、カラースキャン機能を有しており、原稿をカラー画像として読み取り、原稿の画像を示す画像データを生成する。   The document reading unit 200 reads a document placed on a document table or a document fed from the document feeding unit 300 and outputs image data of the document. The document reading unit 200 has a color scanning function, reads a document as a color image, and generates image data indicating an image of the document.

印刷部100は、印刷ジョブを実行する。印刷ジョブとは、画像を示すデータ(例えば、原稿読取部200から出力された画像データ、不図示のパソコンから送信されてきた印刷データ、ファクシミリ受信の画像データ)について、そのデータで示される画像を印刷した印刷物を生成するジョブである。   The printing unit 100 executes a print job. A print job refers to an image indicated by data indicating data (for example, image data output from the document reading unit 200, print data transmitted from a personal computer (not shown), image data received by facsimile). This is a job for generating a printed matter.

操作部400は、操作キー部401と表示部403を備える。表示部403は、タッチパネル機能を有しており、ソフトキーを含む画面が表示される。ユーザーは、画面を見ながらソフトキーを操作することによって、コピー等の機能の実行に必要な設定等をする。   The operation unit 400 includes an operation key unit 401 and a display unit 403. The display unit 403 has a touch panel function, and displays a screen including soft keys. The user operates the soft key while viewing the screen to make settings necessary for executing functions such as copying.

操作キー部401には、ハードキーからなる操作キーが設けられている。操作キーは、例えば、スタートキー、テンキー、リセットキー、コピー、プリンター、スキャナー及びファクシミリを切り換えるための機能切換キーである。   The operation key unit 401 is provided with operation keys including hard keys. The operation key is, for example, a function switching key for switching between a start key, a numeric keypad, a reset key, a copy, a printer, a scanner, and a facsimile.

制御部500は、CPU、ROM、及び、RAMを備える。CPUは、画像形成装置1を動作させるために必要な制御を、画像形成装置1の上記構成要素(例えば、印刷部100)に対して実行する。ROMは、画像形成装置1の動作の制御に必要なソフトウェアを記憶している。RAMは、ソフトウェアの実行時に発生するデータの一時的な記憶及びアプリケーションソフトの記憶等に利用される。   The control unit 500 includes a CPU, a ROM, and a RAM. The CPU executes control necessary for operating the image forming apparatus 1 on the above-described components (for example, the printing unit 100) of the image forming apparatus 1. The ROM stores software necessary for controlling the operation of the image forming apparatus 1. The RAM is used for temporary storage of data generated during execution of software, storage of application software, and the like.

制御部500は、機能ブロックとして、第1の算出部501、第1の判定部503、第2の算出部505、第2の判定部507、及び、第3の判定部509を備える。これらのブロックの詳細は、後で説明する。   The control unit 500 includes a first calculation unit 501, a first determination unit 503, a second calculation unit 505, a second determination unit 507, and a third determination unit 509 as functional blocks. Details of these blocks will be described later.

通信部600は、ファクシミリ通信部601及びネットワークI/F部603を備える。ファクシミリ通信部601は、相手先ファクシミリとの電話回線の接続を制御するNCU(Network Control Unit)及びファクシミリ通信用の信号を変復調する変復調回路を備える。ファクシミリ通信部601は、電話回線605に接続される。   The communication unit 600 includes a facsimile communication unit 601 and a network I / F unit 603. The facsimile communication unit 601 includes an NCU (Network Control Unit) that controls connection of a telephone line with a destination facsimile and a modulation / demodulation circuit that modulates / demodulates a signal for facsimile communication. The facsimile communication unit 601 is connected to the telephone line 605.

ネットワークI/F部603は、LAN(Local Area Network)607に接続される。ネットワークI/F部603は、LAN607に接続されたパソコン等の端末装置との間で通信を実行するための通信インターフェイス回路である。   The network I / F unit 603 is connected to a LAN (Local Area Network) 607. A network I / F unit 603 is a communication interface circuit for executing communication with a terminal device such as a personal computer connected to the LAN 607.

コピーの対象となる原稿には、無彩色だけで表現されている原稿と、これ以外の原稿とがある。前者は、モノクロ原稿と称される。後者は、カラー原稿と称され、カラー領域(すなわち、有彩色で表現された箇所)を含む原稿である。   The originals to be copied include originals expressed only with achromatic colors and other originals. The former is called a monochrome manuscript. The latter is called a color manuscript and is a manuscript including a color area (that is, a portion expressed in chromatic colors).

カラー原稿であっても、原稿の画像を構成する色の数が少ない場合(例えば、モノクロ文書中に赤の印影が含まれる原稿、ヘッダーやフッターに青のコーポレートマークを含む原稿、モノクロ文書中に赤で強調された文字が含まれる原稿)、2色コピーをしても、画像の違和感が小さく、画像の見た目が、フルカラーコピーとあまり変わらない。このような原稿は、フルカラーコピーをせずに、2色コピーをすれば、トナー消費量が少なく、かつ、課金が少ないので、ユーザーにとって有益である。   Even if it is a color manuscript, if the number of colors constituting the manuscript image is small (for example, a manuscript containing a red imprint in a monochrome document, a manuscript containing a blue corporate mark in the header or footer, or a monochrome document) Documents containing characters highlighted in red) Even if two-color copying is performed, the image is less uncomfortable and the appearance of the image is not much different from that of a full-color copy. Such a document is useful for the user because if the two-color copy is made without performing the full-color copy, the toner consumption is small and the charge is small.

しかしながら、原稿の画像を構成する色の数が少ないカラー原稿であっても、カラー領域の面積が大きい場合、2色コピーをすれば、画像の違和感が大きく、画像の見た目が想定より大きく異なることがある。例えば、青色の写真が大部分である原稿を2色コピーした場合、青色の写真が青色以外の色で表現されるので、違和感が大きな画像となる。   However, even a color document with a small number of colors constituting an image of the document, if the area of the color area is large, if two-color copying is performed, the image is uncomfortable and the appearance of the image is significantly different from the expected one. There is. For example, when a two-color copy of a document that is mostly a blue photograph is copied, the blue photograph is expressed in a color other than blue, so that the image becomes uncomfortable.

原稿の画像を構成する色の数が多いカラー原稿であっても、カラー領域の面積が小さい場合、2色コピーをしても、画像の違和感が小さく、画像の見た目が、フルカラーコピーとあまり変わらない。例えば、モノクロ文書を大部分とし、多数の色で構成されるカラー領域を一部とする原稿であれば、2色コピーをしても、画像の違和感は小さい。   Even if a color manuscript with a large number of colors composing the original image, if the area of the color area is small, even if two-color copying is performed, the image does not feel uncomfortable, and the appearance of the image is much different from a full-color copy. Absent. For example, if a document is mainly composed of a monochrome document and part of a color region composed of a large number of colors, even if two-color copying is performed, the image does not feel strange.

このように、原稿中のカラー領域の大きさ、及び、原稿の画像を構成する色(言い換えれば、カラー領域を構成する色)の数に応じて、フルカラーコピーをせずに2色コピーをしてもよい場合と、フルカラーコピーをする必要がある場合とがある。本実施形態に係る画像形成装置1は、原稿のカラー領域の大きさ、及び、原稿の画像を構成する色の数を基にして、2色コピーをするか否かを自動的に判断する。   As described above, two-color copying is performed without performing full-color copying according to the size of the color area in the document and the number of colors constituting the image of the document (in other words, the colors constituting the color area). There are cases where it is acceptable and cases where full color copying is required. The image forming apparatus 1 according to the present embodiment automatically determines whether or not to perform two-color copying based on the size of the color area of the document and the number of colors constituting the document image.

本実施形態に係る画像形成装置1の動作を、1枚の原稿の片面コピーを例にして、図1〜図3を主に用いて説明する。図2及び図3は、その動作を説明するフローチャートである。   The operation of the image forming apparatus 1 according to the present embodiment will be described with reference to FIGS. 1 to 3 mainly using a single-sided copy of one original as an example. 2 and 3 are flowcharts for explaining the operation.

ユーザーは、原稿を原稿読取部200又は原稿台(不図示)にセットし、操作部400を操作して、コピーに必要な設定をする(ステップS1)。これには、コピー枚数及び用紙サイズの設定に加えて、カラーコピーモード、モノクロコピーモード、及び、ACS(Auto Color Select)モードのいずれかを選択する設定が含まれる。   The user sets a document on the document reading unit 200 or the document table (not shown), and operates the operation unit 400 to make settings necessary for copying (step S1). This includes a setting for selecting one of a color copy mode, a monochrome copy mode, and an ACS (Auto Color Select) mode in addition to the setting of the number of copies and the paper size.

ACSモードでは、制御部500が、コピーの対象となる原稿がカラー原稿か否かを判定し、カラー原稿と判定すれば、カラーコピーモードとなり、カラー原稿でないと判定すれば、モノクロコピーモードとなる。   In the ACS mode, the control unit 500 determines whether or not a document to be copied is a color document. If the document is determined to be a color document, the color copy mode is selected. If the document is determined not to be a color document, the monochrome copy mode is set. .

カラーコピーモードでは、フルカラーコピー又は2色コピーが実行される。モノクロコピーモードでは、モノクロコピーが実行される。   In the color copy mode, full-color copy or two-color copy is executed. In the monochrome copy mode, monochrome copy is executed.

フルカラーコピーは、カラーを構成する複数の色(例えば、シアン、マゼンタ、イエロー、ブラック)を利用して、原稿をコピーすることである。2色コピーは、カラーを構成する複数の色のうち、2つの色(例えば、ブラックとブラック以外の1色)を選択して、原稿をコピーすることである。モノクロコピーは、ブラックを利用して、原稿をコピーすることである。   The full color copy is to copy a document using a plurality of colors (for example, cyan, magenta, yellow, and black) constituting the color. The two-color copy is to copy a document by selecting two colors (for example, one color other than black and black) from a plurality of colors constituting the color. Monochrome copying is copying a document using black.

制御部500は、原稿が原稿読取部200又は原稿台(不図示)にセットされた状態で、操作キー部401のスタートキーが押下されたか判断する(ステップS2)。制御部500が、スタートキーが押下されていないと判断したとき(ステップS2でNo)、ステップS2の処理が繰り返される。   The control unit 500 determines whether the start key of the operation key unit 401 is pressed in a state where the document is set on the document reading unit 200 or the document table (not shown) (step S2). When control unit 500 determines that the start key is not pressed (No in step S2), the process of step S2 is repeated.

制御部500が、スタートキーが押下されたと判断したとき(ステップS2でYes)、制御部500は、原稿読取部200に原稿をカラー画像として読み取らせ、原稿読取部200は、原稿の画像を示す画像データを生成する(ステップS3)。1枚の原稿の片面コピーなので、1ページの画像データが生成されることになる。   When the control unit 500 determines that the start key has been pressed (Yes in step S2), the control unit 500 causes the document reading unit 200 to read the document as a color image, and the document reading unit 200 displays the image of the document. Image data is generated (step S3). Since one-sided copy of one original, one page of image data is generated.

制御部500は、ステップS1でカラーコピーモードが選択されているか否かを判断する(ステップS4)。制御部500が、カラーコピーモードが選択されていないと判断したとき(ステップS4でNo)、制御部500は、ステップS1でACSモードが選択されているか否かを判断する(ステップS5)。   The controller 500 determines whether or not the color copy mode is selected in step S1 (step S4). When the control unit 500 determines that the color copy mode is not selected (No in step S4), the control unit 500 determines whether the ACS mode is selected in step S1 (step S5).

制御部500が、ACSモードが選択されていないと判断したとき(ステップS5でNo)、すなわち、ステップS1でモノクロコピーモードが選択されていると判断したとき、制御部500は、ステップS3で生成された画像データで示される画像をモノクロ印刷する印刷ジョブを、印刷部100に実行させる(ステップS6)。   When the control unit 500 determines that the ACS mode is not selected (No in step S5), that is, when it is determined that the monochrome copy mode is selected in step S1, the control unit 500 generates in step S3. The print unit 100 is caused to execute a print job for monochrome printing the image indicated by the image data (step S6).

制御部500が、ACSモードが選択されていると判断したとき(ステップS5でYes)、制御部500は、ステップS3で生成された画像データを利用して、コピーの対象となる原稿が、カラー原稿か否かを判定する(ステップS7)。制御部500は、ACSの一般的な方法を利用して、その判定をする。   When the control unit 500 determines that the ACS mode is selected (Yes in step S5), the control unit 500 uses the image data generated in step S3 to determine that the document to be copied is a color document. It is determined whether the document is a document (step S7). The control unit 500 makes the determination using a general ACS method.

制御部500が、コピーの対象となる原稿がカラー原稿でないと判定したとき(ステップS7でNo)、制御部500は、モノクロコピーモードとなる。これにより、制御部500は、ステップS3で生成された画像データで示される画像をモノクロ印刷する印刷ジョブを、印刷部100に実行させる(ステップS6)。   When the control unit 500 determines that the document to be copied is not a color document (No in step S7), the control unit 500 enters a monochrome copy mode. Thereby, the control unit 500 causes the printing unit 100 to execute a print job for monochrome printing the image indicated by the image data generated in step S3 (step S6).

制御部500が、コピーの対象となる原稿がカラー原稿と判定したとき(ステップS7でYes)、又は、ステップS1でカラーコピーモードが選択されていると判断したとき(ステップS4でYes)、制御部500は、節約コピーモードが設定されているか否かを判断する(ステップS8)。節約コピーモードは、カラーコピーモードにおいて、コピーの対象となる原稿が、所定の条件を満たせば、2色コピーが実行され、所定の条件を満たさなければ、フルカラーコピーが実行される。   When the control unit 500 determines that the document to be copied is a color document (Yes in step S7), or when it is determined that the color copy mode is selected in step S1 (Yes in step S4), the control is performed. The unit 500 determines whether or not the saving copy mode is set (step S8). In the saving copy mode, in the color copy mode, two-color copying is executed if the original to be copied satisfies a predetermined condition, and full-color copying is executed if the predetermined condition is not satisfied.

節約コピーモードは、ユーザーが、操作部400を操作して、設定及びその設定の解除をすることができる。ユーザーに、コピー毎に、節約コピーモードの設定を要求すれば、ユーザーがその設定をし忘れる可能性がある。このため、本実施形態では、節約コピーモードが、デフォルトで設定されている。   In the saving copy mode, the user can set and cancel the setting by operating the operation unit 400. If the user is requested to set the saving copy mode for each copy, the user may forget to set the copy mode. For this reason, in this embodiment, the saving copy mode is set by default.

節約コピーモードは、原稿読取部200によって生成された画像データで示される原稿の画像について、フルカラー印刷と2色印刷とのいずれかを自動的に選択するモードである。ユーザーは、操作部400を操作してそのモードを設定することができる。   The saving copy mode is a mode in which either full-color printing or two-color printing is automatically selected for the document image indicated by the image data generated by the document reading unit 200. The user can set the mode by operating the operation unit 400.

制御部500が、節約コピーモードでないと判断したとき(ステップS8でNo)、制御部500は、ステップS3で生成された画像データで示される画像をフルカラー印刷する印刷ジョブを、印刷部100に実行させる(ステップS9)。   When the control unit 500 determines that the copy mode is not the saving copy mode (No in step S8), the control unit 500 executes a print job for performing full color printing on the image indicated by the image data generated in step S3. (Step S9).

制御部500が、節約コピーモードであると判断したとき(ステップS8でYes)、第1の算出部501は、ステップS3で生成された画像データを基にして、原稿のカラー領域の大きさを算出する(ステップS10)。これについて詳しく説明する。   When the control unit 500 determines that the copy mode is the saving copy mode (Yes in step S8), the first calculation unit 501 determines the size of the color area of the document based on the image data generated in step S3. Calculate (step S10). This will be described in detail.

第1の算出部501は、ステップS3で生成された1ページの画像データで示されるカラー画像を構成する各画素について、例えば、以下に示す式1を用いて、彩度を求める。   The first calculation unit 501 obtains the saturation of each pixel constituting the color image indicated by one page of image data generated in step S3 using, for example, Expression 1 shown below.

彩度:MAX(C,M,Y)−MIN(C,M,Y)・・・式1
第1の算出部501は、彩度が、予め定められたしきい値T1より大きいとき、その画素をカラー画素と判定する。各画素について、例えば、シアン、マゼンタ、イエローがそれぞれ8ビットの階調で表現されるとする。しきい値T1は、例えば、20〜30の範囲のいずれかの値であるが、これに限定されない。
Saturation: MAX (C, M, Y) −MIN (C, M, Y)... Formula 1
When the saturation is greater than a predetermined threshold value T1, the first calculation unit 501 determines that the pixel is a color pixel. For each pixel, for example, it is assumed that cyan, magenta, and yellow are each expressed with 8-bit gradation. The threshold value T1 is, for example, any value in the range of 20 to 30, but is not limited thereto.

例えば、ある画素において、シアンの階調が0、マゼンタの階調が30、イエローの階調が150とする。MAX(0,30,150)は、150であり、MIN(0,30,150)は、0である。従って、その画素の彩度は、150となる。この画素の彩度は、しきい値T1より大きいので、この画素は、カラーの画素となる。   For example, in a certain pixel, the gradation of cyan is 0, the gradation of magenta is 30, and the gradation of yellow is 150. MAX (0, 30, 150) is 150, and MIN (0, 30, 150) is 0. Therefore, the saturation of the pixel is 150. Since the saturation of this pixel is greater than the threshold value T1, this pixel is a color pixel.

第1の算出部501は、1ページの画像データで示されるカラー画像を構成する全画素について、カラーの画素か否かを判定した後、カラーの画素の数をカウントし、カラーの画素の合計値を、原稿のカラー領域の大きさとする。   The first calculation unit 501 determines whether or not all of the pixels constituting the color image indicated by the image data of one page are color pixels, and then counts the number of color pixels to obtain the total number of color pixels. The value is the size of the color area of the document.

原稿サイズがA4、解像度が600dpiを例にして、カラー領域の大きさを具体的に説明する。原稿サイズがA4、解像度が600dpiの場合、画素数は、35000000(=約7000×約5000)となる。カラーの画素の合計値が、518400のとき、原稿のカラー領域の大きさは、約30mm四方である。カラーの画素の合計値が、17500000のとき、原稿のカラー領域の大きさは、原稿の半分である。   The size of the color area will be specifically described by taking the document size as A4 and the resolution as 600 dpi as an example. When the document size is A4 and the resolution is 600 dpi, the number of pixels is 35000000 (= about 7000 × about 5000). When the total value of the color pixels is 518400, the size of the color area of the document is about 30 mm square. When the total value of the color pixels is 17500000, the size of the color area of the document is half that of the document.

第1の判定部503は、ステップS10で算出されたカラー領域の大きさが、予め定められたしきい値T2より小さいか否かを判定する(ステップS11)。しきい値T2は、第1のしきい値であり、原稿のカラー領域の面積が小さければ、2色コピーしても、画像の違和感が小さく、画像の見た目が、フルカラーコピーとあまり変わらない観点から定められる。本実施形態では、上記518400を、しきい値T2とするが、しきい値T2はそれに限定されない。   The first determination unit 503 determines whether the size of the color area calculated in step S10 is smaller than a predetermined threshold value T2 (step S11). The threshold value T2 is a first threshold value. If the area of the color area of the original is small, even if two-color copying is performed, the image does not feel strange, and the appearance of the image is not much different from the full-color copying. It is determined from. In the present embodiment, the above-mentioned 518400 is set as the threshold value T2, but the threshold value T2 is not limited thereto.

第1の判定部503によってカラー領域の大きさがしきい値T2より小さいと判定されたとき(ステップS11でYes)、制御部500は、ステップS3で生成された画像データで示される画像を2色印刷する印刷ジョブを、印刷部100に実行させる(ステップS12)。   When the first determination unit 503 determines that the size of the color area is smaller than the threshold T2 (Yes in step S11), the control unit 500 performs two-color printing of the image indicated by the image data generated in step S3. The print unit 100 is caused to execute a print job to be performed (step S12).

第1の判定部503によってカラー領域の大きさがしきい値T2以上と判定されたとき(ステップS11でNo)、第2の判定部507は、ステップS10で算出されたカラー領域の大きさが、しきい値T3より大きいか否かを判定する。しきい値T3は、第2のしきい値であり、しきい値T2より大きい。しきい値T3は、原稿のカラー領域の面積が比較的大きいので、2色コピーをすれば、画像の違和感の大きくなる観点から定められる。本実施形態では、原稿の半分がカラー領域となる値を、しきい値T3とするが、しきい値T3はそれに限定されない。   When the first determination unit 503 determines that the size of the color area is equal to or greater than the threshold value T2 (No in step S11), the second determination unit 507 determines that the size of the color area calculated in step S10 is It is determined whether or not the threshold value is greater than T3. The threshold value T3 is a second threshold value and is larger than the threshold value T2. Since the area of the color area of the document is relatively large, the threshold value T3 is determined from the viewpoint of increasing the uncomfortable feeling of the image when performing two-color copying. In the present embodiment, the threshold value T3 is a value at which half of the original is the color area, but the threshold value T3 is not limited to this.

第2の判定部507によって、カラー領域の大きさが、しきい値T3より大きいと判定されたとき(ステップS13でYes)、制御部500は、ステップS3で生成された画像データで示される画像をフルカラー印刷する印刷ジョブを、印刷部100に実行させる(ステップS9)。   When the second determination unit 507 determines that the size of the color area is larger than the threshold value T3 (Yes in step S13), the control unit 500 displays the image indicated by the image data generated in step S3. The printing unit 100 is caused to execute a print job for performing full color printing (step S9).

第2の判定部507によって、カラー領域の大きさが、しきい値T3以下と判定されたとき(ステップS13でNo)、第2の算出部505は、ステップS3で生成された1ページの画像データを基にして、コピーの対象となる原稿の画像を構成する色(有彩色)の数を算出する(ステップS14)。これについて詳しく説明する。   When the second determination unit 507 determines that the size of the color area is equal to or less than the threshold value T3 (No in step S13), the second calculation unit 505 generates the one-page image generated in step S3. Based on the data, the number of colors (chromatic colors) constituting the image of the document to be copied is calculated (step S14). This will be described in detail.

シアン、イエロー、マゼンタを、それぞれ、例えば、8ビットの階調で表現すれば、シアン、イエロー、マゼンタをそれぞれ、0〜255の情報で示すことができる。よって、色の組み合わせは、約1677万通りとなる(=256×256×256)。これでもよいが、色の組み合わせが多すぎるため、本実施形態では、0〜255を均等に、例えば、16分割し、色の組み合わせを、4096(=16×16×16)通りとする。   For example, if cyan, yellow, and magenta are expressed by, for example, 8-bit gradation, cyan, yellow, and magenta can be represented by information of 0 to 255, respectively. Therefore, there are about 16.77 million color combinations (= 256 × 256 × 256). However, since there are too many color combinations, 0 to 255 are equally divided into, for example, 16 in this embodiment, and the number of color combinations is 4096 (= 16 × 16 × 16).

図4は、互いに直交する第1の軸、第2の軸、第3の軸において、シアンの階調を第1の軸、マゼンタの階調を第2の軸、イエローの階調を第3の軸とする色モデルを説明する説明図である。第1の軸において、階調が、0〜15の範囲をC(1)、16〜31の範囲をC(2)、32〜47の範囲をC(3)、48〜63の範囲をC(4)、64〜79の範囲をC(5)、80〜95の範囲をC(6)、96〜111の範囲をC(7)、112〜127の範囲をC(8)、128〜143の範囲をC(9)、144〜159の範囲をC(10)、160〜175の範囲をC(11)、176〜191の範囲をC(12)、192〜207の範囲をC(13)、208〜223の範囲をC(14)、224〜239の範囲をC(15)、240〜255の範囲をC(16)とする。   FIG. 4 shows a first axis, a second axis, and a third axis that are orthogonal to each other, the cyan gradation being the first axis, the magenta gradation being the second axis, and the yellow gradation being the third axis. It is explanatory drawing explaining the color model made into an axis | shaft. In the first axis, the gradation is C (1) for a range of 0-15, C (2) for a range of 16-31, C (3) for a range of 32-47, and C for a range of 48-63. (4), the range of 64-79 is C (5), the range of 80-95 is C (6), the range of 96-111 is C (7), the range of 112-127 is C (8), 128- The range of 143 is C (9), the range of 144 to 159 is C (10), the range of 160 to 175 is C (11), the range of 176 to 191 is C (12), the range of 192 to 207 is C ( 13), 208 to 223 is C (14), 224 to 239 is C (15), and 240 to 255 is C (16).

同様に、第2の軸において、階調が、0〜15の範囲をM(1)、16〜31の範囲をM(2)、32〜47の範囲をM(3)、48〜63の範囲をM(4)、64〜79の範囲をM(5)、80〜95の範囲をM(6)、96〜111の範囲をM(7)、112〜127の範囲をM(8)、128〜143の範囲をM(9)、144〜159の範囲をM(10)、160〜175の範囲をM(11)、176〜191の範囲をM(12)、192〜207の範囲をM(13)、208〜223の範囲をM(14)、224〜239の範囲をM(15)、240〜255の範囲をM(16)とする。   Similarly, on the second axis, the gradation is M (1) in the range of 0-15, M (2) in the range of 16-31, M (3) in the range of 32-47, and 48-63. The range is M (4), the range from 64 to 79 is M (5), the range from 80 to 95 is M (6), the range from 96 to 111 is M (7), the range from 112 to 127 is M (8) The range of 128 to 143 is M (9), the range of 144 to 159 is M (10), the range of 160 to 175 is M (11), the range of 176 to 191 is M (12), the range of 192 to 207 Is M (13), 208-223 is M (14), 224-239 is M (15), and 240-255 is M (16).

第3の軸において、階調が、0〜15の範囲をY(1)、16〜31の範囲をY(2)、32〜47の範囲をY(3)、48〜63の範囲をY(4)、64〜79の範囲をY(5)、80〜95の範囲をY(6)、96〜111の範囲をY(7)、112〜127の範囲をY(8)、128〜143の範囲をY(9)、144〜159の範囲をY(10)、160〜175の範囲をY(11)、176〜191の範囲をY(12)、192〜207の範囲をY(13)、208〜223の範囲をY(14)、224〜239の範囲をY(15)、240〜255の範囲をY(16)とする。   In the third axis, the gradation is Y (1) in the range from 0 to 15, Y (2) in the range from 16 to 31, Y (3) in the range from 32 to 47, and Y in the range from 48 to 63. (4), the range from 64 to 79 is Y (5), the range from 80 to 95 is Y (6), the range from 96 to 111 is Y (7), the range from 112 to 127 is Y (8), 128 ~ The range of 143 is Y (9), the range of 144 to 159 is Y (10), the range of 160 to 175 is Y (11), the range of 176 to 191 is Y (12), the range of 192 to 207 is Y ( 13), 208 to 223 is Y (14), 224 to 239 is Y (15), and 240 to 255 is Y (16).

C(1)〜C(16)、M(1)〜M(16)、Y(1)〜Y(16)の組み合わせにより、領域R1〜領域R4096の4096個の領域Rが規定されている。例えば、領域R1は、C(1)、M(1)、Y(1)で規定されている。領域R2は、C(2)、M(1)、Y(1)で規定されている。領域R4096は、C(16)、M(16)、Y(16)で規定されている。同じ領域Rに属する画素を同じ色と見なす。   4096 regions R of region R1 to region R4096 are defined by combinations of C (1) to C (16), M (1) to M (16), and Y (1) to Y (16). For example, the region R1 is defined by C (1), M (1), and Y (1). The region R2 is defined by C (2), M (1), and Y (1). The region R4096 is defined by C (16), M (16), and Y (16). Pixels belonging to the same region R are regarded as the same color.

以上の処理は、第2の算出部505に含まれる設定部511が実行する。すなわち、設定部511は、カラーを表現する複数の色のそれぞれの階調の範囲を複数に分割し、同じ分割範囲に属する階調を同じと見なし、複数の色のそれぞれの分割範囲で規定される複数の領域Rを設定する。本実施形態において、カラーを表現する複数の色は、シアン、マゼンタ、イエローであり、階調の範囲は、0〜255であり、複数に分割は、16分割である。同じ分割範囲は、例えば、C(1)であり、複数の領域Rは、4096個の領域Rである。   The above processing is executed by the setting unit 511 included in the second calculation unit 505. That is, the setting unit 511 divides each gradation range of a plurality of colors representing a color into a plurality of parts, regards the gradations belonging to the same division range as the same, and is defined by each division range of the plurality of colors. A plurality of regions R are set. In the present embodiment, the plurality of colors representing the color are cyan, magenta, and yellow, the gradation range is 0 to 255, and the division is a plurality of 16 divisions. The same division range is, for example, C (1), and the plurality of regions R are 4096 regions R.

第2の算出部505は、さらに、作成部513及び決定部515を含む。作成部513は、4096個の領域Rのそれぞれに対応するカウンターを備えており、ステップS3で生成された1ページの画像データで示されるカラー画像を構成する全画素のそれぞれが、4096個の領域Rのいずれの領域に属するかをカウントし、4096個の領域Rのそれぞれに属する画素の数を示すヒストグラムを作成する。図5は、そのヒストグラムの一例の概要を示す概要図である。横軸は、領域Rを示し、縦軸は、画素数を示している。   Second calculation unit 505 further includes a creation unit 513 and a determination unit 515. The creation unit 513 includes a counter corresponding to each of the 4096 regions R, and each of all the pixels constituting the color image indicated by the image data of one page generated in step S3 includes 4096 regions. Counting which region of R belongs, a histogram indicating the number of pixels belonging to each of 4096 regions R is created. FIG. 5 is a schematic diagram showing an outline of an example of the histogram. The horizontal axis indicates the region R, and the vertical axis indicates the number of pixels.

決定部515は、4096個の領域Rのうち、画素数が予め定められた数より少ない領域R(第1の領域)については、その領域Rに対応するカウンターを0にする(すなわち、その領域の画素数を0と見なす)。ノイズ等の影響を抑えるために、画素数の少ない色については、色でないと見なす。   Of the 4096 regions R, the determination unit 515 sets the counter corresponding to the region R to 0 for the region R (first region) in which the number of pixels is smaller than a predetermined number (that is, the region). The number of pixels is assumed to be 0). In order to suppress the influence of noise or the like, a color with a small number of pixels is regarded as not a color.

決定部515は、領域Rに属する画素数が、予め定められたしきい値T4より小さければ、画素数が少ない領域Rと判定する。しきい値T4は、原稿のサイズに依存する。原稿サイズがA4、解像度が600dpiを例にすれば、ステップS3で生成された1ページの画像データで示されるカラー画像を構成する画素の数が、35000000(=約7000×約5000)である。しきい値T4は、例えば、1000に設定される。   If the number of pixels belonging to the region R is smaller than a predetermined threshold value T4, the determining unit 515 determines that the region R has a small number of pixels. The threshold value T4 depends on the size of the document. For example, if the document size is A4 and the resolution is 600 dpi, the number of pixels constituting the color image indicated by the image data of one page generated in step S3 is 35000000 (= about 7000 × about 5000). The threshold value T4 is set to 1000, for example.

次に、決定部515は、無彩色を示す領域R(第2の領域)については、その領域Rに対応するカウンターを0にする(すなわち、その領域Rの画素数を0にする)。無彩色については、色でないと見なす。   Next, the determination unit 515 sets the counter corresponding to the region R to 0 (that is, sets the number of pixels in the region R to 0) for the region R (second region) indicating an achromatic color. Achromatic colors are considered not colors.

例えば、以下に示す式2で示す値が予め定められたしきい値T5より小さいとき、領域Rは、無彩色と判定される。しきい値T5は、例えば、1又は2に設定されるが、それに限定されない。   For example, when the value represented by Equation 2 below is smaller than a predetermined threshold value T5, the region R is determined to be an achromatic color. The threshold value T5 is set to 1 or 2, for example, but is not limited thereto.

MAX(Cnum,Mnum,Ynum)−MIN(Cnum,Mnum,Ynum)・・・式2
ここで、「num」は、(1)〜(16)のいずれかを示している。例えば、領域R2において、MAX(C(2),M(1),Y(1))は、2であり、MIN(C(2),M(1),Y(1))は、1である。従って、MAX(C(2),M(1),Y(1))−MIN(C(2),M(1),Y(1))=1である。また、例えば、C(1),M(4),Y(15)で規定される領域Rは、MAX(C(1),M(4),Y(15))−MIN(C(1),M(4),Y(15))=15−1=14となる。
MAX (Cnum, Mnum, Ynum) -MIN (Cnum, Mnum, Ynum) Formula 2
Here, “num” indicates any one of (1) to (16). For example, in the region R2, MAX (C (2), M (1), Y (1)) is 2, and MIN (C (2), M (1), Y (1)) is 1. is there. Therefore, MAX (C (2), M (1), Y (1)) − MIN (C (2), M (1), Y (1)) = 1. Further, for example, the region R defined by C (1), M (4), Y (15) is MAX (C (1), M (4), Y (15))-MIN (C (1) , M (4), Y (15)) = 15-1 = 14.

次に、決定部515は、上記画素数が少ない領域R(第1の領域)、及び、無彩色を示す領域R(第2の領域)以外の残りの領域Rについて、連続する領域Rどうしを比較し、連続する領域Rのうち、画素数が一番多い領域R以外の領域Rについては、その領域Rに対応するカウンターを0にする(すなわち、その領域Rの画素数を0にする)。連続する領域Rどうしは同じ色と見なして、画素数が少ない領域Rを間引くのである。   Next, the determination unit 515 determines the continuous regions R for the remaining regions R other than the region R (first region) with a small number of pixels and the region R (second region) indicating an achromatic color. In comparison, for the region R other than the region R having the largest number of pixels in the continuous region R, the counter corresponding to the region R is set to 0 (that is, the number of pixels in the region R is set to 0). . The continuous regions R are regarded as the same color, and the region R having a small number of pixels is thinned out.

例えば、領域R1999及び領域R2002の画素数は、0とする。領域R2000の画素数と領域R2001の画素数とが比較され、画素数が少ない領域R2000の画素数が、0とされる。   For example, the number of pixels in the region R1999 and the region R2002 is 0. The number of pixels in the region R2000 and the number of pixels in the region R2001 are compared, and the number of pixels in the region R2000 with a small number of pixels is set to zero.

決定部515は、領域R1〜領域R4096のそれぞれに対応するカウンターのうち、1以上の値を示すカウンターの数をカウントし、その値を色の数と決定する。例えば、1以上の値を示すカウンターの数(すなわち、画素数が0でない領域Rの数)が1であれば、原稿の画像を構成する色(有彩色)の数は一つである。白黒にさらに1色を加えた原稿がこれに該当する。   The determination unit 515 counts the number of counters indicating one or more values among the counters corresponding to each of the regions R1 to R4096, and determines the value as the number of colors. For example, if the number of counters showing a value of 1 or more (that is, the number of regions R where the number of pixels is not 0) is 1, the number of colors (chromatic colors) constituting the document image is one. This corresponds to a manuscript in which one color is added to black and white.

第3の判定部509は、ステップS14で算出された色の数が予め定められたしきい値T6より大きいか否かを判定する(ステップS15)。しきい値T6は、第3のしきい値であり、カラー領域の面積が小さくなく、かつ、大きくない場合において(ステップS11でNo、ステップS13でNo)、2色コピーをしても、画像の違和感が小さくない観点から定められる。本実施形態では、しきい値T6を3とするが、しきい値T6はそれに限定されない。   The third determination unit 509 determines whether or not the number of colors calculated in step S14 is greater than a predetermined threshold value T6 (step S15). The threshold value T6 is the third threshold value. When the area of the color region is not small and not large (No in step S11, No in step S13), even if two-color copying is performed, the image It is determined from the viewpoint of not feeling uncomfortable. In the present embodiment, the threshold value T6 is set to 3, but the threshold value T6 is not limited thereto.

ステップS14で算出された色の数がしきい値T6より大きいと判定されたとき(ステップS15でYes)、制御部500は、ステップS3で生成された画像データで示される画像をフルカラー印刷する印刷ジョブを、印刷部100に実行させる(ステップS9)。   When it is determined that the number of colors calculated in step S14 is larger than the threshold value T6 (Yes in step S15), the control unit 500 performs printing for full-color printing of the image indicated by the image data generated in step S3. The job is executed by the printing unit 100 (step S9).

ステップS14で算出された色の数がしきい値T6以下と判定されたとき(ステップS15でNo)、制御部500は、ステップS3で生成された画像データで示される画像を2色印刷する印刷ジョブを、印刷部100に実行させる(ステップS12)。   When it is determined that the number of colors calculated in step S14 is equal to or less than the threshold value T6 (No in step S15), the control unit 500 prints the image indicated by the image data generated in step S3 in two colors. The job is executed by the printing unit 100 (step S12).

本実施形態の主な効果を説明する。本実施形態は、原稿のカラー領域の面積が小さければ、原稿の画像を2色印刷しても、画像の違和感が小さく、画像の見た目が、フルカラー印刷とあまり変わらないことに着目している。本実施形態によれば、原稿のカラー領域の大きさが、しきい値T2(第1のしきい値)より小さいとき(ステップS11でYes)、原稿の画像を2色印刷する(ステップS12)。従って、原稿をカラー画像として読み取り、その画像を印刷する際に、2色印刷するか否かを自動的に判断できる。   The main effects of this embodiment will be described. The present embodiment focuses on the fact that if the color area of the document is small, even if the image of the document is printed in two colors, the image is less uncomfortable and the appearance of the image is not much different from full color printing. According to the present embodiment, when the size of the color area of the document is smaller than the threshold value T2 (first threshold value) (Yes in step S11), the image of the document is printed in two colors (step S12). . Therefore, when the original is read as a color image and the image is printed, it can be automatically determined whether or not to print two colors.

本実施形態は、原稿のカラー領域の面積に加えて、原稿の画像を構成する色の数が、2色印刷において、画像に大きな違和感が生じる原因となることに着目している。カラー領域が小さければ、原稿の画像を構成する色の数を問わずに、2色印刷であっても画像の違和感は小さい。逆に、カラー領域が大きければ、2色印刷をすれば、原稿の画像を構成する色の数を問わずに、画像の違和感は大きい。また、カラー領域が小さくもなく、かつ、大きくもなければ、原稿の画像を構成する色の数が少なければ、2色印刷であっても画像の違和感は小さく、原稿の画像を構成する色の数が多ければ、2色印刷をすれば、画像の違和感は大きい。   In the present embodiment, attention is paid to the fact that, in addition to the area of the color area of the document, the number of colors constituting the image of the document causes a great sense of discomfort in the image in two-color printing. If the color area is small, the sense of incongruity of the image is small even with two-color printing, regardless of the number of colors that make up the image of the document. On the other hand, if the color area is large, two-color printing will cause the image to be uncomfortable regardless of the number of colors constituting the original image. Also, if the color area is not small and not large, if the number of colors constituting the original image is small, the sense of incongruity of the image is small even with two-color printing, and the color constituting the original image is small. If the number is large, the image feels uncomfortable when two-color printing is performed.

そこで、カラー領域が小さいとき(ステップS11でYes)、原稿の画像を構成する色の数を問わずに、2色印刷を実行し(ステップS12)、カラー領域が大きいとき(ステップS13でYes)、原稿の画像を構成する色の数を問わずに、フルカラー印刷を実行する(ステップS9)。カラー領域が小さくもなく、かつ、大きくもないとき、原稿の画像を構成する色の数が少なければ(ステップS15でNo)、2色印刷を実行し(ステップS12)、原稿の画像を構成する色の数が多ければ(ステップS15でYes)、フルカラー印刷を実行する(ステップS9)。   Therefore, when the color area is small (Yes in step S11), two-color printing is executed regardless of the number of colors constituting the original image (step S12), and when the color area is large (Yes in step S13). Then, full-color printing is executed regardless of the number of colors constituting the document image (step S9). When the color area is neither small nor large, if the number of colors constituting the document image is small (No in step S15), two-color printing is executed (step S12), and the document image is configured. If the number of colors is large (Yes in step S15), full-color printing is executed (step S9).

このように、本実施形態によれば、カラー領域を含む原稿(カラー原稿)をコピーするとき、原稿に応じて、自動的に、フルカラーコピーと2色コピーとのいずれかが選択される。2色コピーが選択された場合、コピーした画像の違和感を少なくしつつ、トナー消費量及び課金を節約することができる。フルカラーコピーが選択された場合、コピーした画像の違和感をなくすことができる。   As described above, according to the present embodiment, when copying a document including a color area (color document), either a full-color copy or a two-color copy is automatically selected according to the document. When the two-color copy is selected, it is possible to save toner consumption and billing while reducing the uncomfortable feeling of the copied image. When full-color copy is selected, the uncomfortable feeling of the copied image can be eliminated.

また、本実施形態によれば、ステップS8で説明したように、節約コピーモードがデフォルトで設定されている。すなわち、制御部500は、原稿読取部200によって生成された画像データで示される原稿の画像について、フルカラー印刷と2色印刷とのいずれかを自動的に選択するモードを予め設定している。よって、ユーザーは、コピーをするに毎に、上記モードを設定する必要がない。   Further, according to the present embodiment, as described in step S8, the saving copy mode is set by default. That is, the control unit 500 presets a mode for automatically selecting either full-color printing or two-color printing for the document image indicated by the image data generated by the document reading unit 200. Therefore, the user does not need to set the mode every time copying is performed.

1 画像形成装置
R、R1、R2、R4096 領域
1 Image forming apparatus R, R1, R2, R4096

Claims (4)

原稿をカラー画像として読み取り、前記原稿の画像を示す画像データを生成する原稿読取部と、
前記原稿読取部によって生成された前記画像データを基にして、前記原稿のカラー領域の大きさを算出する第1の算出部と、
前記第1の算出部によって算出された前記カラー領域の大きさが、予め定められた第1のしきい値より小さいか否かを判定する第1の判定部と、
前記原稿読取部によって生成された前記画像データで示される前記原稿の画像を印刷する印刷ジョブを実行する印刷部と、
前記第1の判定部によって前記カラー領域の大きさが前記第1のしきい値より小さいと判定されたとき、前記印刷部に、2色印刷で前記印刷ジョブを実行させる制御部と、を備える画像形成装置。
An original reading unit that reads an original as a color image and generates image data indicating the image of the original;
A first calculation unit that calculates the size of the color area of the document based on the image data generated by the document reading unit;
A first determination unit that determines whether the size of the color area calculated by the first calculation unit is smaller than a predetermined first threshold;
A printing unit that executes a print job for printing an image of the document indicated by the image data generated by the document reading unit;
A control unit that causes the printing unit to execute the print job by two-color printing when the size of the color area is determined to be smaller than the first threshold value by the first determination unit. Image forming apparatus.
前記第1の判定部によって前記カラー領域の大きさが前記第1のしきい値以上と判定されたとき、前記カラー領域の大きさが、前記第1のしきい値よりも大きい予め定められた第2のしきい値より大きいか否かを判定する第2の判定部をさらに備え、
前記制御部は、前記第2の判定部によって前記カラー領域の大きさが前記第2のしきい値より大きいと判定されたとき、前記印刷部に、前記フルカラー印刷で前記印刷ジョブを実行させ、
前記原稿読取部によって生成された前記画像データを基にして、前記原稿の画像を構成する色の数を算出する第2の算出部と、
前記第2の判定部によって前記カラー領域の大きさが前記第2のしきい値以下と判定されたとき、前記色の数が、予め定められた第3のしきい値より大きいか否かを判定する第3の判定部と、をさらに備え、
前記制御部は、前記第3の判定部によって前記色の数が前記第3のしきい値より大きいと判定されたとき、前記印刷部に、前記フルカラー印刷で前記印刷ジョブを実行させ、前記第3の判定部によって前記色の数が前記第3のしきい値以下と判定されたとき、前記印刷部に、前記2色印刷で前記印刷ジョブを実行させる請求項1に記載の画像形成装置。
When the size of the color area is determined to be greater than or equal to the first threshold by the first determination unit, the size of the color area is determined in advance to be greater than the first threshold. A second determination unit that determines whether or not the second threshold value is greater than the second threshold;
The control unit causes the printing unit to execute the print job in the full-color printing when the second determination unit determines that the size of the color area is larger than the second threshold value.
A second calculating unit that calculates the number of colors constituting the image of the document based on the image data generated by the document reading unit;
When the second determination unit determines that the size of the color area is equal to or less than the second threshold value, it is determined whether the number of colors is greater than a predetermined third threshold value. And a third determination unit for determining,
When the third determination unit determines that the number of colors is greater than the third threshold, the control unit causes the printing unit to execute the print job in the full color printing, and 2. The image forming apparatus according to claim 1, wherein when the number of colors is determined to be equal to or smaller than the third threshold value by the three determination units, the print unit is caused to execute the print job by the two-color printing.
前記第2の算出部は、
カラーを表現する複数の色のそれぞれの階調の範囲を複数に分割し、同じ分割範囲に属する階調を同じと見なし、前記複数の色のそれぞれの前記分割範囲で規定される複数の領域を設定する設定部と、
前記原稿の画像を構成する全画素のそれぞれが、前記複数の領域のいずれの領域に属するかをカウントし、前記複数の領域のそれぞれに属する画素の数を示すヒストグラムを作成する作成部と、
前記ヒストグラムを参照して、前記複数の領域のうち、画素数が予め定められた数より少ない第1の領域、及び、無彩色を示す第2の領域の画素数を0と見なし、前記第1の領域及び前記第2の領域以外の残りの領域について、連続する領域どうしを比較し、連続する領域のうち、画素数が一番多い領域以外の領域の画素数を0と見なし、前記複数の領域の中で画素数が0でない領域の数を、前記色の数と決定する決定部と、を備える請求項2に記載の画像形成装置。
The second calculation unit includes:
Dividing each gradation range of a plurality of colors representing a color into a plurality of areas, regarding gradations belonging to the same division range as the same, and defining a plurality of regions defined by each of the division ranges of the plurality of colors A setting section to be set;
A creation unit that counts which of the plurality of regions each of all pixels constituting the image of the document belongs to, and creates a histogram indicating the number of pixels belonging to each of the plurality of regions;
Referring to the histogram, among the plurality of regions, the first region having a number of pixels smaller than a predetermined number and the number of pixels in the second region showing an achromatic color are regarded as 0, and the first region And the remaining areas other than the second area are compared with each other, the number of pixels in the area other than the area with the largest number of pixels among the consecutive areas is regarded as 0, The image forming apparatus according to claim 2, further comprising: a determining unit that determines the number of areas in which the number of pixels is not 0 as the number of colors.
前記原稿読取部によって生成された前記画像データで示される前記原稿の画像について、前記フルカラー印刷と前記2色印刷とのいずれかを自動的に選択するモードを設定する操作がされる操作部をさらに備え、
前記モードが設定されていることを条件にして、前記第1の算出部は、前記カラー領域の大きさを算出し、前記第1の判定部は、前記カラー領域の大きさが前記第1のしきい値より小さいか否かを判定し、前記第2の算出部は、前記色の数を算出し、前記第2の判定部は、前記カラー領域の大きさが前記第2のしきい値より大きいか否かを判定し、前記第3の判定部は、前記色の数が前記第3のしきい値より大きいか否かを判定する請求項2又は3に記載の画像形成装置。
An operation unit configured to perform an operation for setting a mode for automatically selecting either the full-color printing or the two-color printing for the image of the document indicated by the image data generated by the document reading unit; Prepared,
On condition that the mode is set, the first calculation unit calculates the size of the color area, and the first determination unit determines that the size of the color area is the first size. It is determined whether or not it is smaller than a threshold value, the second calculation unit calculates the number of colors, and the second determination unit determines that the size of the color area is the second threshold value. 4. The image forming apparatus according to claim 2, wherein the third determination unit determines whether or not the number of colors is larger than the third threshold value.
JP2014155023A 2014-07-30 2014-07-30 Image forming apparatus Expired - Fee Related JP6204292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014155023A JP6204292B2 (en) 2014-07-30 2014-07-30 Image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014155023A JP6204292B2 (en) 2014-07-30 2014-07-30 Image forming apparatus

Publications (2)

Publication Number Publication Date
JP2016032263A true JP2016032263A (en) 2016-03-07
JP6204292B2 JP6204292B2 (en) 2017-09-27

Family

ID=55442394

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014155023A Expired - Fee Related JP6204292B2 (en) 2014-07-30 2014-07-30 Image forming apparatus

Country Status (1)

Country Link
JP (1) JP6204292B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113370656A (en) * 2020-02-25 2021-09-10 精工爱普生株式会社 Image forming apparatus with a toner supply device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262209A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Image reproducing device, image reproducing method, program, and information record medium
JP2008153723A (en) * 2006-12-14 2008-07-03 Nec Access Technica Ltd Image reader, electronic device equipped with the same image reader, and image read method
JP2009124431A (en) * 2007-11-14 2009-06-04 Kyocera Mita Corp Image-forming device
JP2012205076A (en) * 2011-03-25 2012-10-22 Fuji Xerox Co Ltd Image forming system and control program
JP2013153273A (en) * 2012-01-24 2013-08-08 Fuji Xerox Co Ltd Image processing device, image reading device, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262209A (en) * 2005-03-17 2006-09-28 Ricoh Co Ltd Image reproducing device, image reproducing method, program, and information record medium
JP2008153723A (en) * 2006-12-14 2008-07-03 Nec Access Technica Ltd Image reader, electronic device equipped with the same image reader, and image read method
JP2009124431A (en) * 2007-11-14 2009-06-04 Kyocera Mita Corp Image-forming device
JP2012205076A (en) * 2011-03-25 2012-10-22 Fuji Xerox Co Ltd Image forming system and control program
JP2013153273A (en) * 2012-01-24 2013-08-08 Fuji Xerox Co Ltd Image processing device, image reading device, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113370656A (en) * 2020-02-25 2021-09-10 精工爱普生株式会社 Image forming apparatus with a toner supply device
CN113370656B (en) * 2020-02-25 2023-10-13 精工爱普生株式会社 Image forming apparatus having a plurality of image forming units

Also Published As

Publication number Publication date
JP6204292B2 (en) 2017-09-27

Similar Documents

Publication Publication Date Title
US8792108B2 (en) Image processing apparatus having enhanced display mode and image processing method thereof
JP5678584B2 (en) Image processing apparatus, image processing method, and program
US20110032549A1 (en) Image processing apparatus and image processing computer readable medium
US8559062B2 (en) Image processing apparatus, image forming apparatus, image processing method and computer readable medium for controlling toner consumption
US20080226310A1 (en) Image forming apparatus
WO2014069233A1 (en) Image processing device, image forming device comprising same, image forming method, and recording medium
JP2009055600A (en) Image processing method, its device, and cpu-readable recording medium
JP4329797B2 (en) Image color determination apparatus, image color determination method, and program
JP4925933B2 (en) Image processing method and image processing apparatus
JP2010166506A (en) Image output device, image output method, image output program and recording medium
JP5095667B2 (en) Output instruction apparatus, image forming system, output instruction method, control program, and recording medium therefor
JP6204292B2 (en) Image forming apparatus
JP2011148234A (en) Image printing method and image printer
JP2009194690A (en) Image processing apparatus, and color converting method
US9423988B2 (en) Print control apparatus, print control method, image forming apparatus, image forming method and computer-readable recording medium
JP4793356B2 (en) Image processing apparatus and image processing program
JP2005144828A (en) Image forming apparatus
JP2012066519A (en) Image forming apparatus
JP2009225451A (en) Image forming apparatus and method
JP2014041363A (en) Image forming apparatus, charging amount calculation method, and charging amount calculation program
JP2013222983A (en) Image processing system, image processing method, and computer program
JP5158364B2 (en) Image processing apparatus, image processing method, and program
JP2008141576A (en) Image forming method and image forming apparatus
US10225423B2 (en) Image forming apparatus that counts number of prints and storage medium
JP2012142850A (en) Device for synthesizing input image with additional images with respectively different colors, and control method therefor, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170627

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170704

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: 20170801

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170831

R150 Certificate of patent or registration of utility model

Ref document number: 6204292

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees