JP2011188267A - Image forming apparatus and image processing program - Google Patents

Image forming apparatus and image processing program Download PDF

Info

Publication number
JP2011188267A
JP2011188267A JP2010051805A JP2010051805A JP2011188267A JP 2011188267 A JP2011188267 A JP 2011188267A JP 2010051805 A JP2010051805 A JP 2010051805A JP 2010051805 A JP2010051805 A JP 2010051805A JP 2011188267 A JP2011188267 A JP 2011188267A
Authority
JP
Japan
Prior art keywords
color
image data
overlay
transparent
image
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
JP2010051805A
Other languages
Japanese (ja)
Other versions
JP5346848B2 (en
Inventor
Yosuke Kashimoto
陽介 樫本
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 JP2010051805A priority Critical patent/JP5346848B2/en
Publication of JP2011188267A publication Critical patent/JP2011188267A/en
Application granted granted Critical
Publication of JP5346848B2 publication Critical patent/JP5346848B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image forming apparatus capable of suppressing an influence of a background in an image before overlay execution more than a prior art during overlay execution. <P>SOLUTION: An image forming apparatus includes: an overlay executing means which executes overlay for combining image data of a document and image data of a form; and a translucent color receiving means for receiving the designation of a translucent color for at least either the image data of the document or the image data of the form. When executing the overlay, the overlay executing means handles a translucent color which is received by the translucent color receiving means as transparency (S155, S156, S157). <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、ページ毎に変化する可変情報である原稿の画像データと、ページ毎に変化しない固定情報であるフォームの画像データとを合成するオーバーレイを実行することができる画像形成装置に関する。   The present invention relates to an image forming apparatus capable of executing overlay that combines image data of a document that is variable information that changes for each page and form image data that is fixed information that does not change for each page.

従来、オーバーレイを実行することができる画像形成装置として、用紙1ページ分のドットパターンデータを記憶することができるフレームメモリと、フレームメモリに書き込まれたドットパターンデータを用紙に印字する印字ヘッドとを備えており、原稿の画像がフォームの画像の前面に配置されるようにオーバーレイを実行する場合には、フォームの画像データをフレームメモリに書き込んだ後で原稿の画像データをフレームメモリに書き込み、原稿の画像がフォームの画像の背面に配置されるようにオーバーレイを実行する場合には、原稿の画像データをフレームメモリに書き込んだ後でフォームの画像データをフレームメモリに書き込むプリンタ装置が知られている(例えば、特許文献1参照。)。   Conventionally, as an image forming apparatus capable of executing overlay, a frame memory capable of storing dot pattern data for one page of paper and a print head for printing dot pattern data written in the frame memory on paper are provided. When performing overlay so that the document image is placed in front of the form image, the form image data is written to the frame memory and then the document image data is written to the frame memory. 2. Description of the Related Art When overlaying is performed so that an image of a document is placed on the back side of a form image, a printer device is known that writes image data of a document in a frame memory and then writes the image data of the document in the frame memory. (For example, refer to Patent Document 1).

特許文献1に記載されたプリンタ装置は、コンピュータによって作成された罫線、枠線、企業ロゴなどの図形の部分が不透明であり、図形以外の部分、すなわち背景の部分が透明である画像をフォームの画像として使用している。   In the printer device described in Patent Document 1, a graphic part such as a ruled line, a frame line, and a company logo created by a computer is opaque, and a part other than the graphic, that is, a background part is transparent. It is used as an image.

ここで、スキャナによって読み取られた画像は、図形の部分だけでなく背景の部分も不透明になる。従来、オーバーレイを実行することができる画像形成装置として、スキャナによって読み取られた画像をフォームの画像として使用する複写装置も知られている(例えば、特許文献2参照。)。   Here, in the image read by the scanner, not only the graphic portion but also the background portion becomes opaque. 2. Description of the Related Art Conventionally, as an image forming apparatus capable of executing overlay, a copying apparatus that uses an image read by a scanner as a form image is also known (for example, see Patent Document 2).

特許第2726752号公報Japanese Patent No. 2726752 特開2001−358929号公報JP 2001-358929 A

背景の部分は、本来、印刷されることを利用者が意図していない部分であるので、透明であるべきである。しかしながら、特許文献2に記載された複写装置は、原稿の画像における背景の部分が透明であるものの、フォームの画像における背景の部分が不透明であるので、フォームの画像データに原稿の画像データを上書き処理によって合成すると、合成画像のうちフォームの画像における背景の部分と原稿の画像における背景の部分とが重なった部分で、フォームの画像における背景の部分を印刷してしまう。つまり、特許文献2に記載された複写装置は、フォームの画像データに原稿の画像データを上書き処理によって合成すると、合成画像のうちフォームの画像における背景の部分と原稿の画像における背景の部分とが重なった部分で、フォームの画像における背景の部分を利用者の意図に反して印刷してしまうという問題がある。   The background portion should be transparent because it is originally a portion that the user does not intend to print. However, the copying apparatus described in Patent Document 2 overwrites the original image data on the form image data because the background portion in the original image is transparent, but the background portion in the original form image is opaque. When combined by processing, the background portion of the form image is printed at the portion of the combined image where the background portion of the form image and the background portion of the document image overlap. That is, in the copying apparatus described in Patent Document 2, when the image data of the document is combined with the image data of the form by overwriting, the background portion of the form image and the background portion of the document image of the combined image are combined. There is a problem that the background portion of the form image is printed against the user's intention at the overlapped portion.

また、背景の部分は、本来、合成画像において図形の部分の画質に影響を与えるべきではない部分であるので、透明であるべきである。しかしながら、特許文献2に記載された複写装置は、フォームの画像における背景の部分が不透明であるので、フォームの画像データに原稿の画像データを加算処理によって合成すると、合成画像のうちフォームの画像における背景の部分と原稿の画像における図形の部分とが重なった部分で、原稿の画像における図形の部分の色にフォームの画像における背景の部分の色を加算処理して印刷してしまう。つまり、特許文献2に記載された複写装置は、フォームの画像データに原稿の画像データを加算処理によって合成すると、合成画像のうちフォームの画像における背景の部分と原稿の画像における図形の部分とが重なった部分で、原稿の画像における図形の部分の画質にフォームの画像における背景の部分で影響を与えてしまうという問題がある。   In addition, the background portion should originally be transparent because it should not affect the image quality of the graphic portion in the composite image. However, since the background portion of the form image is opaque in the copying apparatus described in Patent Document 2, if the document image data is combined with the form image data by addition processing, the form image of the combined image In a portion where the background portion and the graphic portion in the original image overlap, the color of the graphic portion in the original image is added to the color of the background portion in the form image and printed. That is, in the copying apparatus described in Patent Document 2, when the image data of the document is combined with the image data of the form by addition processing, the background portion of the form image and the graphic portion of the image of the document are included in the combined image. There is a problem that the overlapping portion affects the image quality of the graphic portion of the original image in the background portion of the form image.

そこで、本発明は、オーバーレイの実行前の画像における背景の部分の影響をオーバーレイの実行時に従来より抑えることができる画像形成装置を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an image forming apparatus that can suppress the influence of a background portion in an image before execution of an overlay when executing overlay.

本発明の画像形成装置は、原稿の画像データおよびフォームの画像データを合成するオーバーレイを実行するオーバーレイ実行手段と、原稿の画像データおよびフォームの画像データの少なくとも一方に対して透過色の指定を受け付ける透過色受付手段とを備えており、前記オーバーレイ実行手段は、前記透過色受付手段によって受け付けられた前記透過色を前記オーバーレイの実行時に透明として扱うことを特徴とする。   An image forming apparatus according to the present invention receives an overlay execution unit that executes an overlay for synthesizing document image data and form image data, and specifies a transparent color for at least one of the document image data and the form image data. A transparent color receiving unit, wherein the overlay executing unit treats the transparent color received by the transparent color receiving unit as transparent when the overlay is executed.

この構成により、本発明の画像形成装置は、オーバーレイの実行時に透明として扱われる透過色の指定を原稿の画像データおよびフォームの画像データの少なくとも一方に対して受け付けることができるので、オーバーレイの実行前の画像における背景の部分の影響をオーバーレイの実行時に従来より抑えることができる。   With this configuration, the image forming apparatus according to the present invention can accept designation of a transparent color, which is treated as transparent when executing overlay, for at least one of document image data and form image data. The influence of the background portion in the image of the image can be suppressed more than before when the overlay is executed.

また、本発明の画像形成装置は、背景の部分の色とみなす背景色を画像データにおける各色の存在数に基づいて抽出する背景色抽出手段を備えており、前記透過色受付手段は、前記透過色として前記背景色を指定可能であることが好ましい。   The image forming apparatus of the present invention further includes background color extracting means for extracting a background color regarded as a background color based on the number of each color existing in the image data, and the transparent color receiving means includes the transparent color receiving means. It is preferable that the background color can be designated as the color.

この構成により、本発明の画像形成装置は、自動的に抽出される背景色を透過色として指定可能であるので、自動的に抽出される背景色を透過色として指定可能でない構成と比較して、利便性を向上することができる。   With this configuration, the image forming apparatus according to the present invention can specify the automatically extracted background color as a transparent color, so that it can be compared with a configuration in which the automatically extracted background color cannot be specified as a transparent color. , Can improve convenience.

また、本発明の画像形成装置は、前記透過色受付手段によって受け付けられた前記透過色の周囲の色の範囲の指定を受け付ける範囲受付手段を備えており、前記オーバーレイ実行手段は、前記範囲受付手段によって受け付けられた前記範囲内の色を前記オーバーレイの実行時に透明として扱うことが好ましい。   The image forming apparatus of the present invention further includes a range receiving unit that receives a specification of a color range around the transparent color received by the transparent color receiving unit, and the overlay execution unit includes the range receiving unit. It is preferable to treat the color within the range accepted by as transparent when executing the overlay.

この構成により、本発明の画像形成装置は、オーバーレイの実行時に透明として扱われる色の範囲の指定を受け付けることができるので、オーバーレイの実行前の画像における背景の部分の影響を更に抑えることができる。   With this configuration, the image forming apparatus of the present invention can accept the specification of the color range that is treated as transparent when the overlay is executed, so that the influence of the background portion in the image before the execution of the overlay can be further suppressed. .

本発明の画像処理プログラムは、原稿の画像データおよびフォームの画像データを合成するオーバーレイを実行するオーバーレイ実行手段と、原稿の画像データおよびフォームの画像データの少なくとも一方に対して透過色の指定を受け付ける透過色受付手段としてコンピュータを機能させ、前記オーバーレイ実行手段は、前記透過色受付手段によって受け付けられた前記透過色を前記オーバーレイの実行時に透明として扱うことを特徴とする。   An image processing program according to the present invention receives an overlay execution means for executing an overlay for synthesizing original image data and form image data, and designation of a transparent color for at least one of the original image data and the form image data. A computer is made to function as a transparent color receiving means, and the overlay execution means treats the transparent color received by the transparent color receiving means as transparent when the overlay is executed.

この構成により、本発明の画像処理プログラムを実行するコンピュータは、オーバーレイの実行時に透明として扱われる透過色の指定を原稿の画像データおよびフォームの画像データの少なくとも一方に対して受け付けることができるので、オーバーレイの実行前の画像における背景の部分の影響をオーバーレイの実行時に従来より抑えることができる。   With this configuration, the computer that executes the image processing program of the present invention can accept the designation of the transparent color that is treated as transparent when the overlay is executed for at least one of the image data of the document and the image data of the form. The influence of the background portion on the image before the overlay is executed can be suppressed more than before when the overlay is executed.

本発明の画像形成装置は、オーバーレイの実行前の画像における背景の部分の影響をオーバーレイの実行時に従来より抑えることができる。   The image forming apparatus according to the present invention can suppress the influence of the background portion in the image before the overlay is performed when the overlay is performed.

本発明の一実施の形態に係る複合機のブロック図である。1 is a block diagram of a multifunction peripheral according to an embodiment of the present invention. 図1に示す表示部に表示されるオーバーレイ印刷方法設定画面を示す図である。It is a figure which shows the overlay printing method setting screen displayed on the display part shown in FIG. 図1に示す複合機の動作のフローチャートである。2 is a flowchart of the operation of the multifunction machine shown in FIG. 図1に示す制御部によって作成されるヒストグラムである。It is a histogram created by the control part shown in FIG. 図1に示す制御部によって実行されるオーバーレイ処理のフローチャートである。It is a flowchart of the overlay process performed by the control part shown in FIG. (a)は、図1に示す制御部による合成前のフォームの画像の例を示す図である。(b)は、図1に示す制御部による合成前の原稿の画像の例を示す図である。(c)は、図6(a)に示すフォームの画像と、図6(b)に示す原稿の画像とを制御部によって合成した後の画像を示す図である。(A) is a figure which shows the example of the image of the form before a synthesis | combination by the control part shown in FIG. FIG. 2B is a diagram illustrating an example of an image of a document before composition by the control unit illustrated in FIG. FIG. 6C is a diagram illustrating an image after the control unit combines the image of the form illustrated in FIG. 6A and the image of the document illustrated in FIG. (a)は、図1に示す制御部による合成前のフォームの画像の図6(a)に示す例とは異なる例を示す図である。(b)は、図1に示す制御部による合成前の原稿の画像の図6(b)に示す例とは異なる例を示す図である。(c)は、図7(a)に示すフォームの画像と、図7(b)に示す原稿の画像とを制御部によって合成した後の画像を示す図である。(A) is a figure which shows the example different from the example shown to Fig.6 (a) of the image of the form before the synthesis | combination by the control part shown in FIG. FIG. 6B is a diagram illustrating an example different from the example illustrated in FIG. 6B of the image of the document before being combined by the control unit illustrated in FIG. FIG. 7C is a diagram illustrating an image after the control unit combines the image of the form illustrated in FIG. 7A and the image of the document illustrated in FIG.

以下、本発明の一実施の形態について、図面を用いて説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

まず、本実施の形態に係る画像形成装置としての複合機の構成について説明する。   First, the configuration of a multifunction peripheral as an image forming apparatus according to the present embodiment will be described.

図1は、本実施の形態に係る複合機10のブロック図である。   FIG. 1 is a block diagram of a multifunction machine 10 according to the present embodiment.

図1に示すように、複合機10は、複合機10全体を制御するための制御部11と、各種のデータを記憶する記憶部12と、利用者によって種々の操作が入力される図示していない操作パネル上の操作部13と、種々の情報を表示する操作パネル上の表示部14と、用紙に印刷を実行するプリンタ部15と、原稿を読み込んで画像データを生成する読取デバイスであるスキャナ部16と、PC(Personal Computer)などの図示していない外部の装置と通信を行う通信部17とを備えている。   As shown in FIG. 1, the multifunction machine 10 is illustrated with a control unit 11 for controlling the entire multifunction machine 10, a storage unit 12 for storing various data, and various operations input by a user. An operation unit 13 on the operation panel, a display unit 14 on the operation panel for displaying various information, a printer unit 15 for executing printing on paper, and a scanner which is a reading device for reading an original and generating image data And a communication unit 17 that communicates with an external device (not shown) such as a PC (Personal Computer).

制御部11は、例えば、CPU(Central Processing Unit)と、本発明の画像処理プログラムを含むプログラムや各種のデータを予め記憶しているROM(Read Only Memory)と、CPUの作業領域として用いられるRAM(Random Access Memory)とによって構成されている。CPUは、ROMに記憶されているプログラムを実行することによって制御部11を動作させる演算処理装置である。RAMは、CPUによってプログラムが実行されるときにプログラムや各種のデータを一時的に記憶するようになっている。   The control unit 11 includes, for example, a CPU (Central Processing Unit), a ROM (Read Only Memory) that stores a program including the image processing program of the present invention and various data, and a RAM that is used as a work area of the CPU. (Random Access Memory). The CPU is an arithmetic processing unit that operates the control unit 11 by executing a program stored in the ROM. The RAM temporarily stores programs and various data when the programs are executed by the CPU.

制御部11は、画像処理プログラムを実行することによって、後述するように、原稿の画像データおよびフォームの画像データの少なくとも一方に対して透過色の指定を受け付ける透過色受付手段11aと、透過色受付手段11aによって受け付けられた透過色の周囲の色の範囲の指定を受け付ける範囲受付手段11bと、背景の部分の色とみなす背景色を画像データにおける各色の存在数に基づいて抽出する背景色抽出手段11cと、原稿の画像データおよびフォームの画像データを合成するオーバーレイを実行するオーバーレイ実行手段11dとして機能するようになっている。   As will be described later, the control unit 11 executes the image processing program, and as will be described later, a transparent color accepting unit 11a that accepts designation of a transparent color for at least one of document image data and form image data, and transparent color acceptance A range accepting unit 11b for accepting designation of a color range around the transparent color accepted by the unit 11a, and a background color extracting unit for extracting a background color regarded as a background color based on the number of each color in the image data 11c, and overlay execution means 11d for executing overlay for combining the image data of the document and the image data of the form.

記憶部12は、RAM、EEPROM(Electrically Erasable Programmable Read Only Memory)、HDD(Hard Disk Drive)などの記憶デバイスによって構成されている。   The storage unit 12 includes a storage device such as a RAM, an EEPROM (Electrically Erasable Programmable Read Only Memory), and a HDD (Hard Disk Drive).

操作部13は、表示部14とともにタッチパネルを形成するボタンや、操作パネル上のボタンなどの入力デバイスによって構成されている。   The operation unit 13 includes input devices such as buttons that form a touch panel together with the display unit 14 and buttons on the operation panel.

表示部14は、LCD(Liquid Crystal Display)などの表示デバイスによって構成されている。   The display unit 14 is configured by a display device such as an LCD (Liquid Crystal Display).

プリンタ部15は、外部の装置から受信された印刷データのジョブや、スキャナ部16によって生成された画像データのジョブなどの各種のジョブを印刷する印刷デバイスである。   The printer unit 15 is a printing device that prints various jobs such as a print data job received from an external apparatus and an image data job generated by the scanner unit 16.

通信部17は、LAN(Local Area Network)などの図示していないネットワークを介して外部の装置と通信を行う通信デバイスである。通信部17は、例えば、プリンタ部15で印刷されるための印刷データを外部の装置から受信したり、スキャナ部16によって生成された画像データを外部の装置に送信したりする。   The communication unit 17 is a communication device that communicates with an external device via a network (not shown) such as a LAN (Local Area Network). For example, the communication unit 17 receives print data to be printed by the printer unit 15 from an external device, and transmits image data generated by the scanner unit 16 to an external device.

次に、複合機10の動作について説明する。   Next, the operation of the multifunction machine 10 will be described.

図2は、表示部14に表示されるオーバーレイ印刷方法設定画面を示す図である。   FIG. 2 is a diagram showing an overlay printing method setting screen displayed on the display unit 14.

複合機10の制御部11は、オーバーレイに関する各種の設定を行うことを利用者から操作部13を介して指示されると、図2に示すオーバーレイ印刷方法設定画面を表示部14に表示させる。   The control unit 11 of the multifunction machine 10 causes the display unit 14 to display the overlay printing method setting screen illustrated in FIG. 2 when instructed by the user via the operation unit 13 to perform various settings related to overlay.

図2に示すオーバーレイ印刷方法設定画面は、利用者がフォームの画像データのアドレスを指定するためのボックスであるフォームデータボックス41と、利用者がフォームの画像データおよび原稿の画像データのうち背面側の画像データを指定するためのドロップダウンリストボックスである背面側ボックス42と、利用者がフォームの画像データおよび原稿の画像データの合成方法を指定するためのドロップダウンリストボックスである合成方法ボックス43と、利用者が原稿の画像データ用の透過率を指定するためのスライダである原稿透過率スライダ44と、利用者が原稿の画像データにおける透過色を指定するためのドロップダウンリストボックスである原稿透過色ボックス45と、利用者が原稿の画像データにおける透過色をRGB値のR値、G値、B値で具体的に指定するためのテキストボックスである原稿指定色R値ボックス46a、原稿指定色G値ボックス46b、原稿指定色B値ボックス46cと、利用者が原稿の画像データにおける透過色の周囲の色の範囲を指定するためのスライダである閾値スライダ47と、利用者がフォームの画像データ用の透過率を指定するためのスライダであるフォーム透過率スライダ48と、利用者がフォームの画像データにおける透過色を指定するためのドロップダウンリストボックスであるフォーム透過色ボックス49と、利用者がフォームの画像データにおける透過色をRGB値のR値、G値、B値で具体的に指定するためのテキストボックスであるフォーム指定色R値ボックス50a、フォーム指定色G値ボックス50b、フォーム指定色B値ボックス50cと、利用者がフォームの画像データにおける透過色の周囲の色の範囲を指定するためのスライダである閾値スライダ51とを含んでいる。   The overlay printing method setting screen shown in FIG. 2 includes a form data box 41, which is a box for the user to specify the address of the form image data, and the back side of the form image data and the document image data. A back side box 42 which is a drop-down list box for designating image data of the image, and a composition method box 43 which is a drop-down list box for the user to designate a composition method of form image data and document image data. A document transmittance slider 44 that is a slider for the user to specify the transmittance for image data of the document, and a document that is a drop-down list box for the user to specify the transmission color in the image data of the document The transparent color box 45 and the user can select the transparent color in the image data of the original R User specified color R value box 46a, document specified color G value box 46b, document specified color B value box 46c, which are text boxes for specifically specifying B value R value, G value, and B value; Is a threshold slider 47 which is a slider for designating a color range around the translucent color in the image data of the document, and a form transmissivity slider which is a slider for the user to designate the transmissivity for the form image data 48, a form transparent color box 49, which is a drop-down list box for the user to specify a transparent color in the form image data, and the R color and RGB values of the transparent color in the form image data. , A form designated color R value box 50a and a form designated color G value box 50, which are text boxes specifically designated by B values. Includes a form specified color B value box 50c, and a threshold slider 51 is a slider for a user to specify the range of colors around the transparent color in the image data of the form.

利用者は、操作部13を介してフォームデータボックス41にフォームの画像データのアドレスを入力することができる。利用者は、記憶部12に記憶されているフォームの画像データのアドレスだけでなく、通信部17を介して複合機10と接続される外部の装置に記憶されているフォームの画像データのアドレスを入力することができる。制御部11は、アドレスがフォームデータボックス41に入力されると、入力されたアドレスを記憶部12に記憶させる。   The user can input the address of the form image data in the form data box 41 via the operation unit 13. The user receives not only the address of the form image data stored in the storage unit 12 but also the address of the form image data stored in an external device connected to the multifunction machine 10 via the communication unit 17. Can be entered. When the address is input to the form data box 41, the control unit 11 stores the input address in the storage unit 12.

利用者は、操作部13を介して背面側ボックス42によってフォームの画像データおよび原稿の画像データのうち背面側(ディスティネーション側)の画像データを選択することができる。背面側ボックス42によって選択することができる事項は、「フォームの画像データ」および「原稿の画像データ」の何れか一方である。なお、フォームの画像データおよび原稿の画像データのうち背面側ボックス42によって選択されなかった方は、前面側(ソース側)の画像データとなる。制御部11は、背面側ボックス42によって何れかの画像データが選択されると、選択された画像データが背面側の画像データであることを記憶部12に記憶させる。   The user can select image data on the back side (destination side) from among the image data of the form and the image data of the original by using the back side box 42 via the operation unit 13. The item that can be selected by the back side box 42 is either “form image data” or “original image data”. Of the form image data and the document image data, the one not selected by the back side box 42 is the front side (source side) image data. When any image data is selected by the back side box 42, the control unit 11 causes the storage unit 12 to store that the selected image data is the back side image data.

利用者は、操作部13を介して合成方法ボックス43によってフォームの画像データおよび原稿の画像データの合成方法を選択することができる。合成方法ボックス43によって選択することができる合成方法は、「不透明合成(上書き)(CMY)」、「半透明加算(CMY)」、「半透明減算(CMY)」、「比較(明)」、「比較(暗)」および「半透明合成」の何れか1つである。「不透明合成(上書き)(CMY)」とは、背面側の画像データに、前面側の画像データを、CMYの色空間で、上書き処理によって合成することを意味している。「半透明加算(CMY)」とは、背面側の画像データ用の透過率を掛けた背面側の画像データに、前面側の画像データ用の透過率を掛けた前面側の画像データを、CMYの色空間で、加算処理によって合成することを意味している。「半透明減算(CMY)」とは、背面側の画像データ用の透過率を掛けた背面側の画像データに、前面側の画像データ用の透過率を掛けた前面側の画像データを、CMYの色空間で、減算処理によって合成することを意味している。「比較(明)」とは、背面側の画像データの画素と、その画素の合成相手である前面側の画像データの画素とのうち明るい方を採用するように背面側の画像データおよび前面側の画像データを合成することを意味している。「比較(暗)」とは、背面側の画像データの画素と、その画素の合成相手である前面側の画像データの画素とのうち暗い方を採用するように背面側の画像データおよび前面側の画像データを合成することを意味している。「半透明合成」とは、100%から前面側の画像データ用の透過率を引いた値を掛けた背面側の画像データに、前面側の画像データ用の透過率を掛けた前面側の画像データを、加算処理によって合成することを意味している。なお、ここに示した合成方法は、一例である。合成方法ボックス43によって選択することができる合成方法は、ここに示した合成方法に限られるものではない。制御部11は、合成方法ボックス43によって何れかの合成方法が選択されると、選択された合成方法を、オーバーレイにおける合成方法として記憶部12に記憶させる。   The user can select a synthesis method of the form image data and the document image data by the synthesis method box 43 via the operation unit 13. Composition methods that can be selected by the composition method box 43 are “opaque composition (overwriting) (CMY)”, “translucent addition (CMY)”, “translucent subtraction (CMY)”, “comparison (bright)”, One of “Comparison (dark)” and “Translucent composition”. “Opaque composition (overwriting) (CMY)” means that the image data on the front side is synthesized with the image data on the back side by overwriting in the CMY color space. “Semi-transparent addition (CMY)” means that the image data on the front side obtained by multiplying the image data on the back side multiplied by the transmittance for image data on the back side is multiplied by the transmittance for image data on the front side. In the color space, it means that they are combined by an addition process. “Semi-transparent subtraction (CMY)” means that the image data on the front side obtained by multiplying the image data on the back side multiplied by the transmittance for the image data on the back side is multiplied by the transmittance for the image data on the front side. This means that the color space is combined by subtraction processing. “Comparison (bright)” means the image data on the back side and the front side so that the brighter one of the pixels of the image data on the back side and the pixels of the front side image data that is the combination partner of the pixels is adopted. This means that the image data is synthesized. “Comparison (dark)” means the image data on the back side and the front side so that the darker one of the pixels of the image data on the back side and the pixels of the image data on the front side that is the combination partner of the pixels is adopted. This means that the image data is synthesized. “Semi-transparent composition” means that the image on the front side is multiplied by the transmittance for the image data on the front side multiplied by the value obtained by subtracting the transmittance for the image data on the front side from 100%. This means that the data is synthesized by addition processing. Note that the synthesis method shown here is an example. The synthesis method that can be selected by the synthesis method box 43 is not limited to the synthesis method shown here. When any synthesis method is selected by the synthesis method box 43, the control unit 11 causes the storage unit 12 to store the selected synthesis method as a synthesis method in the overlay.

利用者は、操作部13を介して原稿透過率スライダ44によって原稿の画像データ用の透過率を指定することができる。原稿透過率スライダ44によって指定することができる透過率は、0%から99%までの整数である。なお、制御部11は、合成方法ボックス43によって選択された合成方法によっては、自動的に原稿透過率スライダ44を指定する。例えば、制御部11は、合成方法ボックス43によって選択された合成方法が「不透明合成(上書き)(CMY)」である場合には、自動的に原稿透過率スライダ44を0%に指定する。制御部11は、原稿透過率スライダ44によって透過率が指定されると、指定された透過率を、原稿の画像データ用の透過率として記憶部12に記憶させる。   The user can designate the transmittance for the image data of the document by the document transmittance slider 44 via the operation unit 13. The transmittance that can be specified by the document transmittance slider 44 is an integer from 0% to 99%. Note that the control unit 11 automatically designates the document transmittance slider 44 depending on the composition method selected by the composition method box 43. For example, when the composition method selected by the composition method box 43 is “opaque composition (overwriting) (CMY)”, the control unit 11 automatically designates the document transmittance slider 44 as 0%. When the transmittance is designated by the document transmittance slider 44, the control unit 11 stores the designated transmittance in the storage unit 12 as the transmittance for image data of the document.

利用者は、操作部13を介して原稿透過色ボックス45によって原稿の画像データにおける透過色を選択することができる。原稿透過色ボックス45によって選択することができる事項は、「無し」、「白色」、「背景色」、「指定色」の何れか1つである。「無し」とは、原稿の画像データにおける透過色がないということを意味している。「白色」とは、原稿の画像データにおける透過色が白色であるということを意味している。「背景色」とは、原稿の画像データにおける透過色が複合機10によって自動的に抽出される背景色であるということを意味している。「指定色」とは、原稿の画像データにおける透過色が原稿指定色R値ボックス46a、原稿指定色G値ボックス46bおよび原稿指定色B値ボックス46cによって指定された色であるということを意味している。制御部11の機能の1つである透過色受付手段11aは、原稿透過色ボックス45によって何れかの事項が選択されると、選択された事項で表される色が原稿の画像データにおける透過色であることを記憶部12に記憶させる。   The user can select a transparent color in the image data of the document by using the document transparent color box 45 via the operation unit 13. The item that can be selected by the original transparent color box 45 is any one of “none”, “white”, “background color”, and “designated color”. “None” means that there is no transparent color in the image data of the document. “White” means that the transmitted color in the image data of the document is white. “Background color” means that the transparent color in the image data of the document is a background color that is automatically extracted by the multifunction device 10. “Specified color” means that the transparent color in the image data of the document is a color specified by the document specified color R value box 46a, the document specified color G value box 46b, and the document specified color B value box 46c. ing. When any item is selected by the document transmission color box 45, the transparent color receiving unit 11a, which is one of the functions of the control unit 11, selects the transparent color in the image data of the document when the selected item is selected. Is stored in the storage unit 12.

利用者は、操作部13を介して原稿指定色R値ボックス46a、原稿指定色G値ボックス46bおよび原稿指定色B値ボックス46cによって原稿の画像データにおける透過色を具体的にRGB値で指定することができる。透過色受付手段11aは、原稿指定色R値ボックス46a、原稿指定色G値ボックス46bおよび原稿指定色B値ボックス46cによって色が指定されると、指定された色を、原稿の画像データにおける指定色として記憶部12に記憶させる。   The user specifically designates the transparent color in the image data of the document as an RGB value by the manuscript designation color R value box 46a, the manuscript designation color G value box 46b, and the manuscript designation color B value box 46c via the operation unit 13. be able to. When the color is designated by the original designated color R value box 46a, the original designated color G value box 46b, and the original designated color B value box 46c, the transparent color receiving means 11a designates the designated color in the image data of the original. The color is stored in the storage unit 12 as a color.

利用者は、操作部13を介して閾値スライダ47によって原稿の画像データにおける透過色の周囲の色の範囲を指定することができる。閾値スライダ47によって指定された閾値がxであり、透過色のR値、G値、B値がr、g、bであるとき、閾値スライダ47によって指定された範囲は、R値がr−xからr+xまでの値であって、G値がg−xからg+xまでの値であって、B値がb−xからb+xまでの値である色の範囲となる。なお、ここに示した範囲の指定方法は、一例である。範囲の指定方法は、ここに示した方法に限られるものではない。制御部11の機能の1つである範囲受付手段11bは、閾値スライダ47によって範囲が指定されると、指定された範囲を、原稿の画像データにおける透過色の周囲の色の範囲として記憶部12に記憶させる。   The user can designate a color range around the transparent color in the image data of the document by using the threshold slider 47 via the operation unit 13. When the threshold specified by the threshold slider 47 is x and the R value, G value, and B value of the transparent color are r, g, and b, the range specified by the threshold slider 47 has an R value of r−x. A color range in which the G value is a value from g−x to g + x and the B value is a value from b−x to b + x. The range designation method shown here is an example. The method of specifying the range is not limited to the method shown here. When the range is specified by the threshold slider 47, the range receiving unit 11b, which is one of the functions of the control unit 11, stores the specified range as a color range around the transparent color in the document image data. Remember me.

利用者は、操作部13を介してフォーム透過率スライダ48によってフォームの画像データ用の透過率を指定することができる。フォーム透過率スライダ48によって指定することができる透過率は、0%から99%までの整数である。なお、制御部11は、合成方法ボックス43によって選択された合成方法によっては、自動的にフォーム透過率スライダ48を指定する。例えば、制御部11は、合成方法ボックス43によって選択された合成方法が「不透明合成(上書き)(CMY)」である場合には、自動的にフォーム透過率スライダ48を0%に指定する。制御部11は、フォーム透過率スライダ48によって透過率が指定されると、指定された透過率を、フォームの画像データ用の透過率として記憶部12に記憶させる。   The user can designate the transmittance for the image data of the form by the form transmittance slider 48 via the operation unit 13. The transmittance that can be specified by the foam transmittance slider 48 is an integer from 0% to 99%. The control unit 11 automatically designates the form transmittance slider 48 depending on the composition method selected by the composition method box 43. For example, when the composition method selected by the composition method box 43 is “opaque composition (overwriting) (CMY)”, the control unit 11 automatically designates the form transmittance slider 48 to 0%. When the transmittance is designated by the form transmittance slider 48, the control unit 11 stores the designated transmittance in the storage unit 12 as the transmittance for the image data of the form.

利用者は、操作部13を介してフォーム透過色ボックス49によってフォームの画像データにおける透過色を選択することができる。フォーム透過色ボックス49によって選択することができる事項は、「無し」、「白色」、「背景色」、「指定色」の何れか1つである。「無し」とは、フォームの画像データにおける透過色がないということを意味している。「白色」とは、フォームの画像データにおける透過色が白色であるということを意味している。「背景色」とは、フォームの画像データにおける透過色が複合機10によって自動的に抽出される背景色であるということを意味している。「指定色」とは、フォームの画像データにおける透過色がフォーム指定色R値ボックス50a、フォーム指定色G値ボックス50bおよびフォーム指定色B値ボックス50cによって指定された色であるということを意味している。透過色受付手段11aは、フォーム透過色ボックス49によって何れかの事項が選択されると、選択された事項で表される色がフォームの画像データにおける透過色であることを記憶部12に記憶させる。   The user can select a transparent color in the image data of the form by using the form transparent color box 49 via the operation unit 13. The item that can be selected by the form transparent color box 49 is any one of “none”, “white”, “background color”, and “designated color”. “None” means that there is no transparent color in the image data of the form. “White” means that the transmitted color in the image data of the form is white. The “background color” means that the transparent color in the form image data is a background color that is automatically extracted by the multifunction device 10. “Specified color” means that the transparent color in the image data of the form is a color specified by the form specified color R value box 50a, the form specified color G value box 50b, and the form specified color B value box 50c. ing. When any item is selected by the form transparent color box 49, the transparent color accepting unit 11a causes the storage unit 12 to store that the color represented by the selected item is the transparent color in the image data of the form. .

利用者は、操作部13を介してフォーム指定色R値ボックス50a、フォーム指定色G値ボックス50bおよびフォーム指定色B値ボックス50cによってフォームの画像データにおける透過色を具体的にRGB値で指定することができる。透過色受付手段11aは、フォーム指定色R値ボックス50a、フォーム指定色G値ボックス50bおよびフォーム指定色B値ボックス50cによって色が指定されると、指定された色を、フォームの画像データにおける指定色として記憶部12に記憶させる。   The user specifically designates the transparent color in the image data of the form as an RGB value by the form designation color R value box 50a, the form designation color G value box 50b, and the form designation color B value box 50c via the operation unit 13. be able to. When the color is designated by the form designated color R value box 50a, the form designated color G value box 50b, and the form designated color B value box 50c, the transparent color receiving means 11a designates the designated color in the image data of the form. The color is stored in the storage unit 12 as a color.

利用者は、操作部13を介して閾値スライダ51によってフォームの画像データにおける透過色の周囲の色の範囲を指定することができる。閾値スライダ51によって指定された閾値がxであり、透過色のR値、G値、B値がr、g、bであるとき、閾値スライダ51によって指定された範囲は、R値がr−xからr+xまでの値であって、G値がg−xからg+xまでの値であって、B値がb−xからb+xまでの値である色の範囲となる。なお、ここに示した範囲の指定方法は、一例である。範囲の指定方法は、ここに示した方法に限られるものではない。範囲受付手段11bは、閾値スライダ51によって範囲が指定されると、指定された範囲を、フォームの画像データにおける透過色の周囲の色の範囲として記憶部12に記憶させる。   The user can specify a color range around the transparent color in the image data of the form by the threshold slider 51 via the operation unit 13. When the threshold value specified by the threshold value slider 51 is x and the R value, G value, and B value of the transparent color are r, g, and b, the range specified by the threshold value slider 51 has an R value of r−x. A color range in which the G value is a value from g−x to g + x and the B value is a value from b−x to b + x. The range designation method shown here is an example. The method of specifying the range is not limited to the method shown here. When the range is specified by the threshold slider 51, the range receiving unit 11b causes the storage unit 12 to store the specified range as a color range around the transparent color in the form image data.

なお、以上において、制御部11は、オーバーレイに関する各種の設定の指示が複合機10の操作部13を介して行われているが、オーバーレイに関する各種の設定の指示が通信部17を介して外部の装置から行われるようになっていても良い。   In the above description, the control unit 11 gives various setting instructions regarding the overlay via the operation unit 13 of the multi-function peripheral 10. However, various setting instructions regarding the overlay are externally transmitted via the communication unit 17. It may be performed from a device.

図3は、複合機10の動作のフローチャートである。   FIG. 3 is a flowchart of the operation of the multifunction machine 10.

制御部11は、操作部13から、または、通信部17を介して外部の装置から、オーバーレイの指示を受けると、図3に示す処理を開始する。   Upon receiving an overlay instruction from the operation unit 13 or from an external device via the communication unit 17, the control unit 11 starts the process illustrated in FIG.

図3に示すように、制御部11は、記憶部12に記憶されているアドレスに基づいてフォームの画像データを取得する(S101)。例えば、フォームの画像データは、スキャナ部16によって読み込まれて記憶部12に記憶されている画像データであっても良いし、通信部17を介して外部の装置から送信されて記憶部12に記憶されている画像データであっても良いし、外部の装置に記憶されている画像データであっても良い。   As shown in FIG. 3, the control unit 11 acquires form image data based on the address stored in the storage unit 12 (S <b> 101). For example, the form image data may be image data read by the scanner unit 16 and stored in the storage unit 12, or transmitted from an external device via the communication unit 17 and stored in the storage unit 12. The image data may be stored image data, or may be image data stored in an external device.

次いで、制御部11は、原稿の画像データを生成する(S102)。例えば、制御部11は、オーバーレイの指示が操作部13から行われている場合には、原稿をスキャナ部16によって読み込んで原稿の画像データを生成しても良いし、オーバーレイの指示が通信部17を介して外部の装置から行われている場合には、オーバーレイの指示とともに通信部17を介して外部の装置から送信されてくる印刷データに基づいて原稿の画像データを生成しても良い。   Next, the control unit 11 generates image data of the document (S102). For example, when an instruction for overlay is given from the operation unit 13, the control unit 11 may read the original with the scanner unit 16 to generate image data of the original, or the instruction for overlay may be the communication unit 17. The image data of the document may be generated based on the print data transmitted from the external device via the communication unit 17 together with the overlay instruction.

次いで、制御部11の機能の1つである背景色抽出手段11cは、S101において制御部11が取得したフォームの画像データ、S102において制御部11が生成した原稿の画像データのそれぞれから、背景色を抽出する(S103)。具体的な背景色の抽出方法を以下に説明する。   Next, the background color extracting unit 11c, which is one of the functions of the control unit 11, uses the background color from the form image data acquired by the control unit 11 in S101 and the original image data generated by the control unit 11 in S102. Is extracted (S103). A specific background color extraction method will be described below.

図4は、制御部11によって作成されるヒストグラムである。   FIG. 4 is a histogram created by the control unit 11.

背景色抽出手段11cは、図4に示すように、S101において制御部11が取得したフォームの画像データの全画素のRGB値のヒストグラムを作成する。そして、背景色抽出手段11cは、作成したヒストグラムに基づいて、全画素のR値のうち最も度数が多いR値と、全画素のG値のうち最も度数が多いG値と、全画素のB値のうち最も度数が多いB値とからなる色を、フォームの画像データの背景色として抽出する。なお、背景色抽出手段11cは、フォームの画像データの全画素のRGB値のヒストグラムを作成しても良いが、フォームの画像データの全画素から所定の間隔などの所定の規則で抽出した画素のRGB値のヒストグラムを作成するようにすれば、処理に必要な記憶容量を低減したり、S103の処理の速度を向上したりすることができる。以上においては、S101において制御部11が取得したフォームの画像データについて説明したが、背景色抽出手段11cは、S102において制御部11が生成した原稿の画像データについても同様に背景色を抽出する。なお、背景色抽出手段11cは、画像データが複数のページから構成されている場合には、ページ毎に背景色を抽出する。   As shown in FIG. 4, the background color extraction unit 11c creates a histogram of RGB values of all pixels of the form image data acquired by the control unit 11 in S101. Then, the background color extracting unit 11c, based on the created histogram, the R value having the highest frequency among the R values of all the pixels, the G value having the highest frequency among the G values of all the pixels, and the B values of all the pixels. Among the values, the color composed of the B value having the highest frequency is extracted as the background color of the form image data. The background color extraction unit 11c may create a histogram of the RGB values of all the pixels of the form image data. However, the background color extracting unit 11c may extract the pixels extracted from all the pixels of the form image data according to a predetermined rule such as a predetermined interval. If a histogram of RGB values is created, it is possible to reduce the storage capacity required for the processing and improve the processing speed of S103. The form image data acquired by the control unit 11 in S101 has been described above. However, the background color extracting unit 11c similarly extracts the background color from the document image data generated by the control unit 11 in S102. The background color extracting unit 11c extracts the background color for each page when the image data is composed of a plurality of pages.

図3に示すように、背景色抽出手段11cがS103の処理を終了すると、制御部11の機能の1つであるオーバーレイ実行手段11dは、図5に示すオーバーレイ処理を実行する(S104)。   As shown in FIG. 3, when the background color extracting unit 11c finishes the process of S103, the overlay execution unit 11d, which is one of the functions of the control unit 11, executes the overlay process shown in FIG. 5 (S104).

図5は、制御部11によって実行されるオーバーレイ処理のフローチャートである。   FIG. 5 is a flowchart of overlay processing executed by the control unit 11.

図5に示すように、オーバーレイ実行手段11dは、原稿の画像データ、フォームの画像データのそれぞれについて、記憶部12に記憶されている透過色を取得する(S151)。ここで、オーバーレイ実行手段11dは、記憶部12に記憶されている透過色が「無し」である場合、透過色として何も取得せず、記憶部12に記憶されている透過色が「白色」である場合、透過色として白色を取得し、記憶部12に記憶されている透過色が「背景色」である場合、S103において抽出された背景色を透過色として取得し、記憶部12に記憶されている透過色が「指定色」である場合、記憶部12に記憶されている指定色を透過色として取得する。   As shown in FIG. 5, the overlay execution unit 11d acquires the transparent color stored in the storage unit 12 for each of the document image data and the form image data (S151). Here, when the transmission color stored in the storage unit 12 is “None”, the overlay execution unit 11d does not acquire anything as the transmission color, and the transmission color stored in the storage unit 12 is “white”. If the transmission color is white and the transmission color stored in the storage unit 12 is “background color”, the background color extracted in S103 is acquired as the transmission color and stored in the storage unit 12. When the transmitted color that has been set is “specified color”, the specified color stored in the storage unit 12 is acquired as the transmitted color.

次いで、オーバーレイ実行手段11dは、原稿の画像データ、フォームの画像データのそれぞれについて、S151において取得した透過色の周囲の色のうち記憶部12に記憶されている範囲の色を、透明として扱う色として取得する(S152)。   Next, the overlay execution unit 11d treats each of the image data of the document and the image data of the form as a transparent color in the range stored in the storage unit 12 among the surrounding colors of the transparent color acquired in S151. (S152).

次いで、オーバーレイ実行手段11dは、記憶部12に記憶されている合成方法に応じて、透明として扱う色を取得する(S153)。例えば、合成方法がCMYの色空間における加算処理である場合、C値、M値、Y値が全て0である白色は、合成の際に透過色と同様の振る舞いをするので、透明として扱う色として判断される。合成方法に応じて透明として扱われるべき色は、合成方法と対応付けられて記憶部12に予め記憶されている。   Next, the overlay execution unit 11d acquires a color to be handled as transparent according to the composition method stored in the storage unit 12 (S153). For example, when the compositing method is addition processing in a CMY color space, white whose C value, M value, and Y value are all 0 behaves in the same way as a transparent color at the time of compositing. It is judged as. The color to be treated as transparent according to the synthesis method is stored in advance in the storage unit 12 in association with the synthesis method.

次いで、オーバーレイ実行手段11dは、原稿の画像データおよびフォームの画像データから、互いに合成されるべき画素を1画素ずつ読み出す(S154)。   Next, the overlay execution unit 11d reads out pixels to be combined one by one from the document image data and the form image data (S154).

次いで、オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち前面側の画素の色が透明として扱う色であるか否かを判断する(S155)。ここで、オーバーレイ実行手段11dは、記憶部12に原稿の画像データが背面側の画像データであることが記憶されている場合、フォームの画素を前面側の画素として判断し、記憶部12にフォームの画像データが背面側の画像データであることが記憶されている場合、原稿の画素を前面側の画素として判断する。また、透明として扱う色は、S151、S152およびS153において取得された色である。   Next, the overlay execution unit 11d determines whether or not the color of the front side pixel out of the two pixels read out in S154 is a color handled as transparent (S155). Here, when it is stored in the storage unit 12 that the image data of the document is the image data on the back side, the overlay execution unit 11d determines the pixel of the form as the pixel on the front side and stores the form data in the storage unit 12 Is stored as image data on the back side, the pixel of the document is determined as the pixel on the front side. Further, the color treated as transparent is the color acquired in S151, S152, and S153.

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち前面側の画素の色が透明として扱う色ではないとS155において判断すると、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色であるか否かを判断する(S156)。ここで、オーバーレイ実行手段11dは、記憶部12に原稿の画像データが背面側の画像データであることが記憶されている場合、原稿の画素を背面側の画素として判断し、記憶部12にフォームの画像データが背面側の画像データであることが記憶されている場合、フォームの画素を背面側の画素として判断する。また、透明として扱う色は、S151、S152およびS153において取得された色である。   If the overlay execution unit 11d determines in S155 that the color of the front side pixel out of the two pixels read out in S154 is not a color that is treated as transparent, the color of the back side pixel in the two pixels read out in S154 is It is determined whether the color is handled as transparent (S156). Here, when the storage unit 12 stores that the image data of the document is the back side image data, the overlay execution unit 11d determines the pixel of the document as the back side pixel and stores the form data in the storage unit 12. If the image data is stored on the back side, the pixel of the form is determined as the back side pixel. Further, the color treated as transparent is the color acquired in S151, S152, and S153.

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち前面側の画素の色が透明として扱う色であるとS155において判断すると、S156の処理と同様に、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色であるか否かを判断する(S157)。   If the overlay execution unit 11d determines in S155 that the color of the front-side pixel among the two pixels read out in S154 is a color that is treated as transparent, the overlay execution unit 11d performs the same processing as in S156, out of the two pixels read out in S154. It is determined whether or not the color of the pixel on the back side is a color handled as transparent (S157).

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色ではないとS156において判断すると、記憶部12に記憶されている合成方法で2つの画素を合成する(S158)。   If the overlay execution unit 11d determines in S156 that the color of the pixel on the back side out of the two pixels read out in S154 is not a color that can be treated as transparent, the overlay execution unit 11d combines the two pixels using the combining method stored in the storage unit 12. (S158).

次いで、オーバーレイ実行手段11dは、S154において読み出した2つの画素の属性情報から1つを、記憶部12に記憶されている合成方法に応じて選択し、選択した属性情報を、合成後の画素の属性情報として設定する(S159)。ここで、属性情報とは、画像が適切に印刷されるために画素毎に画像データに設定されている情報である。属性情報としては、例えば写真、グラフィック、テキストなどがあるが、これらに限られるものではない。なお、S159における属性情報の選択方法は、設計次第である。例えば、オーバーレイ実行手段11dは、合成方法が「比較(明)」である場合には、S154において読み出した2つの画素の属性情報のうち、明るい画素の属性情報を選択するようになっていても良い。   Next, the overlay execution unit 11d selects one of the attribute information of the two pixels read out in S154 according to the combining method stored in the storage unit 12, and selects the selected attribute information of the combined pixel. The attribute information is set (S159). Here, the attribute information is information set in the image data for each pixel so that the image is appropriately printed. Examples of attribute information include, but are not limited to, photographs, graphics, and text. Note that the method of selecting attribute information in S159 depends on the design. For example, if the combining method is “comparison (bright)”, the overlay execution unit 11d selects bright pixel attribute information from the two pixel attribute information read in S154. good.

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色であるとS156において判断すると、記憶部12に記憶されている透過率に基づいて前面側の画素を半透明化し、この画素を合成後の画素として設定する(S160)。   If the overlay execution unit 11d determines in S156 that the color of the pixel on the back side of the two pixels read in S154 is a color that is treated as transparent, the overlay execution unit 11d determines that the color on the front side is based on the transmittance stored in the storage unit 12. The pixel is made translucent, and this pixel is set as a synthesized pixel (S160).

次いで、オーバーレイ実行手段11dは、S154において読み出した2つの画素の属性情報のうち前面側の画素の属性情報を、合成後の画素の属性情報として設定する(S161)。   Next, the overlay execution unit 11d sets the attribute information of the front-side pixel among the attribute information of the two pixels read in S154 as the attribute information of the combined pixel (S161).

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色ではないとS157において判断すると、記憶部12に記憶されている透過率に基づいて背面側の画素を半透明化し、この画素を合成後の画素として設定する(S162)。   If the overlay execution unit 11d determines in S157 that the color of the pixel on the back side out of the two pixels read out in S154 is not a color to be treated as transparent, the overlay execution unit 11d determines that the color on the back side is based on the transmittance stored in the storage unit 12. The pixel is made translucent, and this pixel is set as a synthesized pixel (S162).

次いで、オーバーレイ実行手段11dは、S154において読み出した2つの画素の属性情報のうち背面側の画素の属性情報を、合成後の画素の属性情報として設定する(S163)。   Next, the overlay execution unit 11d sets the attribute information of the pixel on the back side among the attribute information of the two pixels read in S154 as the attribute information of the combined pixel (S163).

オーバーレイ実行手段11dは、S154において読み出した2つの画素のうち背面側の画素の色が透明として扱う色であるとS157において判断すると、白色を合成後の画素として設定する(S164)。   If the overlay execution unit 11d determines in S157 that the color of the pixel on the back side of the two pixels read in S154 is a color that is treated as transparent, it sets white as the combined pixel (S164).

次いで、オーバーレイ実行手段11dは、合成後の画素の属性情報を無しとして設定する(S165)。   Next, the overlay execution unit 11d sets the attribute information of the combined pixel as none (S165).

オーバーレイ実行手段11dは、S159、S161、S163、S165の処理を終了すると、原稿の画像データおよびフォームの画像データの全画素の合成が終了したか否かを判断する(S166)。   When the overlay execution unit 11d completes the processes of S159, S161, S163, and S165, it determines whether or not the synthesis of all the pixels of the document image data and the form image data is completed (S166).

オーバーレイ実行手段11dは、原稿の画像データおよびフォームの画像データの全画素の合成が終了していないとS166において判断すると、残りの画素について再びS154の処理を実行する。一方、オーバーレイ実行手段11dは、原稿の画像データおよびフォームの画像データの全画素の合成が終了したとS166において判断すると、図5に示すオーバーレイ処理を終了する。   If the overlay execution unit 11d determines in S166 that the synthesis of all the pixels of the document image data and the form image data has not been completed, the overlay execution unit 11d executes the process of S154 again for the remaining pixels. On the other hand, if the overlay execution unit 11d determines in S166 that the synthesis of all the pixels of the document image data and the form image data has been completed, the overlay processing shown in FIG.

図3に示すように、制御部11は、S104のオーバーレイ処理が終了すると、S104のオーバーレイ処理における合成後の画像データと、その属性情報とに基づいて、色変換処理を行う(S105)。例えば、画像データは、この色変換処理において、RGBからトナーの色であるCMYKに色変換が行われ、その際、属性情報がグラフィックである黒色の画素がCMYの混合色に変換され、属性情報がテキストである黒色の画素がKのみに変換されるようになっていても良い。   As shown in FIG. 3, when the overlay process in S104 is completed, the control unit 11 performs a color conversion process based on the combined image data in the overlay process in S104 and its attribute information (S105). For example, in this color conversion process, image data is converted from RGB to CMYK, which is a toner color, and at that time, black pixels whose attribute information is graphic are converted into CMY mixed colors, and attribute information is displayed. It is also possible to convert black pixels whose text is text only to K.

次いで、制御部11は、S105において色変換処理が行われた画像データと、その属性情報とに基づいて、ハーフトーン処理を行う(S106)。例えば、画像データは、属性情報がテキストである画素において高解像度のハーフトーン処理が実行されるようになっていても良い。   Next, the control unit 11 performs halftone processing based on the image data subjected to the color conversion processing in S105 and the attribute information (S106). For example, the image data may be configured such that high-resolution halftone processing is performed on pixels whose attribute information is text.

最後に、制御部11は、S106においてハーフトーン処理が行われた画像データに基づいてプリンタ部15に印刷を実行させて(S107)、図3に示す処理を終了する。   Finally, the control unit 11 causes the printer unit 15 to execute printing based on the image data that has been subjected to the halftone process in S106 (S107), and ends the process illustrated in FIG.

以上に説明したように、複合機10は、オーバーレイの実行時にオーバーレイ実行手段11dによって透明として扱われる透過色の指定を、原稿の画像データおよびフォームの画像データに対して透過色受付手段11aによって受け付けることができるので、オーバーレイの実行前の画像における背景の部分の影響をオーバーレイの実行時に従来より抑えることができる。   As described above, the multifunction machine 10 receives the designation of the transparent color, which is handled as transparent by the overlay execution unit 11d when executing the overlay, by the transparent color reception unit 11a for the document image data and the form image data. Therefore, the influence of the background portion in the image before the overlay is performed can be suppressed more than before when the overlay is performed.

図6(a)は、制御部11による合成前のフォームの画像の例を示す図である。図6(b)は、制御部11による合成前の原稿の画像の例を示す図である。図6(c)は、図6(a)に示すフォームの画像と、図6(b)に示す原稿の画像とを制御部11によって合成した後の画像を示す図である。   FIG. 6A is a diagram illustrating an example of a form image before composition by the control unit 11. FIG. 6B is a diagram illustrating an example of an image of a document before being combined by the control unit 11. FIG. 6C is a diagram illustrating an image after the control unit 11 combines the form image illustrated in FIG. 6A and the original image illustrated in FIG.

図6(b)に示す原稿の画像は、背景の部分が灰色になっている。複合機10は、図6(b)に示す原稿の画像データにおける透過色が灰色に指定されることによって、図6(a)に示すフォームの画像と、図6(b)に示す原稿の画像とをオーバーレイ実行手段11dによって合成して、図6(c)に示す画像を生成することができる。図6(c)に示す画像においては、図6(b)に示す原稿の画像における灰色の背景の部分の影響が抑えられている。   The background image of the original image shown in FIG. 6B is gray. The multifunction machine 10 specifies the gray color of the transparent image in the image data of the document shown in FIG. 6B, so that the form image shown in FIG. 6A and the image of the document shown in FIG. Can be combined by the overlay execution means 11d to generate the image shown in FIG. In the image shown in FIG. 6C, the influence of the gray background portion in the original image shown in FIG. 6B is suppressed.

なお、複合機10は、利用者が透過色を指定することができるので、図7に示すようなオーバーレイも可能である。   Note that since the user can specify a transparent color, the multifunction machine 10 can be overlaid as shown in FIG.

図7(a)は、制御部11による合成前のフォームの画像の図6(a)に示す例とは異なる例を示す図である。図7(b)は、制御部11による合成前の原稿の画像の図6(b)に示す例とは異なる例を示す図である。図7(c)は、図7(a)に示すフォームの画像と、図7(b)に示す原稿の画像とを制御部11によって合成した後の画像を示す図である。   FIG. 7A is a diagram illustrating an example different from the example illustrated in FIG. 6A of the form image before being combined by the control unit 11. FIG. 7B is a diagram illustrating an example different from the example illustrated in FIG. 6B of the image of the document before being combined by the control unit 11. FIG. 7C is a diagram illustrating an image after the control unit 11 combines the form image illustrated in FIG. 7A and the original image illustrated in FIG.

図7(a)に示すフォームの画像は、図形の部分が白色になっており、背景の部分が灰色になっている。従来のオーバーレイにおいては、白色の部分は、背景の部分として扱われてしまう。しかしながら、複合機10は、利用者が透過色を指定することができるので、図7(a)に示すフォームの画像データにおける透過色が白色ではなく灰色に指定されることによって、図7(a)に示すフォームの画像と、図7(b)に示す原稿の画像とをオーバーレイ実行手段11dによって合成して、図7(c)に示す画像を生成することができる。図7(c)に示す画像においては、図7(a)に示すフォームの画像における白色の部分が背景の部分として扱われずに正しく図形の部分として表れている。   In the form image shown in FIG. 7A, the graphic portion is white and the background portion is gray. In the conventional overlay, the white portion is treated as the background portion. However, since the user can designate a transparent color in the multifunction machine 10, the transparent color in the image data of the form shown in FIG. 7A is designated as gray instead of white, so that FIG. The form image shown in FIG. 7B and the original image shown in FIG. 7B can be combined by the overlay execution unit 11d to generate the image shown in FIG. 7C. In the image shown in FIG. 7C, the white portion in the form image shown in FIG. 7A is not treated as the background portion but appears correctly as the graphic portion.

複合機10は、利用者に透過色を色値によって具体的に指定させることができる。しかしながら、一般的には、利用者が背景の部分の色値を正確に指定することは困難である。複合機10は、背景色抽出手段11cによって自動的に抽出される背景色を透過色受付手段11aによって透過色として指定可能である。したがって、複合機10は、自動的に抽出される背景色を透過色として指定可能でない構成と比較して、利便性を向上することができる。   The multi-function device 10 can allow the user to specifically specify the transmitted color by the color value. However, in general, it is difficult for the user to specify the color value of the background portion accurately. The multi-function device 10 can designate the background color automatically extracted by the background color extraction unit 11c as the transmission color by the transmission color receiving unit 11a. Therefore, the multifunction device 10 can improve convenience compared to a configuration in which the background color that is automatically extracted cannot be designated as a transparent color.

例えば、複数のページの原稿をスキャナ部16で読み取った場合、読み取られた画像における背景の部分の色は、ページによって差異が生じることがある。複合機10は、背景色抽出手段11cがページ毎に背景色を抽出するので、透過色受付手段11aによって背景色が透過色として指定された場合には、オーバーレイの実行時に各ページに適した透過色が自動的に適用される。したがって、複合機10は、背景色抽出手段11cがページ毎に背景色を抽出しない構成と比較して、合成後の画像の画質を向上することができるとともに、利便性を向上することもできる。   For example, when a document of a plurality of pages is read by the scanner unit 16, the color of the background portion in the read image may vary depending on the page. In the multifunction machine 10, since the background color extracting unit 11c extracts the background color for each page, when the background color is designated as the transparent color by the transparent color receiving unit 11a, the transparent color suitable for each page is executed when the overlay is executed. Color is applied automatically. Therefore, the multifunction machine 10 can improve the image quality of the combined image and the convenience as compared with the configuration in which the background color extraction unit 11c does not extract the background color for each page.

原稿をスキャナ部16で読み取った場合、読み取られた画像における背景の部分の色は、一色ではなく、ある程度の範囲に広がることがある。複合機10は、オーバーレイの実行時にオーバーレイ実行手段11dによって透明として扱われる色の範囲の指定を範囲受付手段11bによって受け付けることができるので、オーバーレイの実行前の画像における背景の部分の影響を更に抑えることができる。   When a document is read by the scanner unit 16, the color of the background portion in the read image may be spread over a certain range instead of a single color. The multifunction device 10 can accept the specification of the color range treated as transparent by the overlay execution unit 11d when the overlay is executed by the range reception unit 11b, and thus further suppress the influence of the background portion in the image before the execution of the overlay. be able to.

複合機10は、上述したように、原稿の画像データおよびフォームの画像データの何れを背面側の画像データにするかということや、原稿の画像データおよびフォームの画像データの合成方法や、合成の際の透過色など、オーバーレイに関する各種の設定を利用者に行わせることができるので、利用者の希望するオーバーレイを実行することができる。   As described above, the MFP 10 determines which of the image data of the document and the image data of the form is to be used as the image data on the back side, the method of combining the image data of the document and the image data of the form, Since the user can make various settings related to the overlay, such as the transparent color, the overlay desired by the user can be executed.

また、複合機10は、原稿の画像データにおける透過色の画素と、フォームの画像データにおける不透明な画素とを合成した画素や、フォームの画像データにおける透過色の画素と、原稿の画像データにおける不透明な画素とを合成した画素に色変換処理やハーフトーン処理を行う場合、元の画像データにおいて不透明であった画素の属性情報で色変換処理やハーフトーン処理を行うので、元の画像データの画質を維持することができる。   Also, the multifunction machine 10 combines the transparent color pixel in the document image data and the opaque pixel in the form image data, the transparent color pixel in the form image data, and the opaque image data in the document image data. When color conversion processing or halftone processing is performed on a pixel that is combined with a new pixel, color conversion processing or halftone processing is performed using pixel attribute information that was opaque in the original image data, so the image quality of the original image data Can be maintained.

なお、本発明の画像形成装置は、本実施の形態において複合機について説明しているが、コピー機、プリンタなど、複合機以外の画像形成装置であっても良い。   The image forming apparatus according to the present invention has been described with respect to a multifunction peripheral in the present embodiment, but may be an image forming apparatus other than the multifunction peripheral, such as a copier or a printer.

また、本発明の画像処理プログラムは、本実施の形態において画像形成装置である複合機によって実行されるようになっているが、PCなど、画像形成装置以外のコンピュータによって実行されるようになっていても良い。   In addition, the image processing program of the present invention is executed by a multi-function peripheral which is an image forming apparatus in the present embodiment, but is executed by a computer other than the image forming apparatus such as a PC. May be.

10 複合機(画像形成装置)
11a 透過色受付手段
11b 範囲受付手段
11c 背景色抽出手段
11d オーバーレイ実行手段
10 MFP (image forming device)
11a Transmission color reception means 11b Range reception means 11c Background color extraction means 11d Overlay execution means

Claims (4)

原稿の画像データおよびフォームの画像データを合成するオーバーレイを実行するオーバーレイ実行手段と、原稿の画像データおよびフォームの画像データの少なくとも一方に対して透過色の指定を受け付ける透過色受付手段とを備えており、
前記オーバーレイ実行手段は、前記透過色受付手段によって受け付けられた前記透過色を前記オーバーレイの実行時に透明として扱うことを特徴とする画像形成装置。
Overlay execution means for executing overlay for combining original image data and form image data; and transparent color acceptance means for accepting designation of a transparent color for at least one of original image data and form image data. And
The image forming apparatus according to claim 1, wherein the overlay execution unit treats the transparent color received by the transparent color reception unit as transparent when the overlay is executed.
背景の部分の色とみなす背景色を画像データにおける各色の存在数に基づいて抽出する背景色抽出手段を備えており、
前記透過色受付手段は、前記透過色として前記背景色を指定可能であることを特徴とする請求項1に記載の画像形成装置。
A background color extracting means for extracting a background color regarded as a color of a background portion based on the number of each color existing in the image data;
The image forming apparatus according to claim 1, wherein the transparent color accepting unit can designate the background color as the transparent color.
前記透過色受付手段によって受け付けられた前記透過色の周囲の色の範囲の指定を受け付ける範囲受付手段を備えており、
前記オーバーレイ実行手段は、前記範囲受付手段によって受け付けられた前記範囲内の色を前記オーバーレイの実行時に透明として扱うことを特徴とする請求項1に記載の画像形成装置。
A range receiving unit for receiving designation of a color range around the transparent color received by the transparent color receiving unit;
The image forming apparatus according to claim 1, wherein the overlay execution unit treats a color within the range received by the range reception unit as transparent when the overlay is executed.
原稿の画像データおよびフォームの画像データを合成するオーバーレイを実行するオーバーレイ実行手段と、原稿の画像データおよびフォームの画像データの少なくとも一方に対して透過色の指定を受け付ける透過色受付手段としてコンピュータを機能させ、
前記オーバーレイ実行手段は、前記透過色受付手段によって受け付けられた前記透過色を前記オーバーレイの実行時に透明として扱うことを特徴とする画像処理プログラム。
The computer functions as an overlay execution unit that executes overlay for combining the image data of the document and the image data of the form, and a transparent color reception unit that receives designation of a transparent color for at least one of the image data of the document and the image data of the form Let
The image processing program characterized in that the overlay execution means treats the transparent color received by the transparent color reception means as transparent when the overlay is executed.
JP2010051805A 2010-03-09 2010-03-09 Image forming apparatus and image processing program Expired - Fee Related JP5346848B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010051805A JP5346848B2 (en) 2010-03-09 2010-03-09 Image forming apparatus and image processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010051805A JP5346848B2 (en) 2010-03-09 2010-03-09 Image forming apparatus and image processing program

Publications (2)

Publication Number Publication Date
JP2011188267A true JP2011188267A (en) 2011-09-22
JP5346848B2 JP5346848B2 (en) 2013-11-20

Family

ID=44794009

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010051805A Expired - Fee Related JP5346848B2 (en) 2010-03-09 2010-03-09 Image forming apparatus and image processing program

Country Status (1)

Country Link
JP (1) JP5346848B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015023381A (en) * 2013-07-18 2015-02-02 セイコーエプソン株式会社 Transmissive display device and method of controlling transmissive display device
JP2015211395A (en) * 2014-04-28 2015-11-24 オリンパス株式会社 Information apparatus, image processing method, and program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108325A (en) * 2000-09-26 2002-04-10 Fuji Film Microdevices Co Ltd Apparatus and method for image processing
JP2007174459A (en) * 2005-12-26 2007-07-05 Matsushita Electric Ind Co Ltd Image processing program, image processing apparatus, image processing system, and image processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002108325A (en) * 2000-09-26 2002-04-10 Fuji Film Microdevices Co Ltd Apparatus and method for image processing
JP2007174459A (en) * 2005-12-26 2007-07-05 Matsushita Electric Ind Co Ltd Image processing program, image processing apparatus, image processing system, and image processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015023381A (en) * 2013-07-18 2015-02-02 セイコーエプソン株式会社 Transmissive display device and method of controlling transmissive display device
JP2015211395A (en) * 2014-04-28 2015-11-24 オリンパス株式会社 Information apparatus, image processing method, and program

Also Published As

Publication number Publication date
JP5346848B2 (en) 2013-11-20

Similar Documents

Publication Publication Date Title
JP4960900B2 (en) Information processing apparatus and image forming apparatus
JP2015171098A (en) Image processing apparatus, image processing method and program
US9715362B2 (en) Print controlling apparatus, image forming apparatus, method of controlling print, method of image forming and computer-readable recording medium
JP5732935B2 (en) Information processing apparatus, print control program, and computer-readable recording medium
US8977957B2 (en) Image processing apparatus for displaying a preview image including first and second objects analyzed with different degrees of analysis precision and method of controlling the apparatus
JP6238656B2 (en) Image processing apparatus and image processing method
JP5346848B2 (en) Image forming apparatus and image processing program
JP2011097538A (en) Image processing apparatus, program, recording medium
JP5739295B2 (en) Image forming apparatus and printer driver program
JP5171973B2 (en) Information processing apparatus and control method thereof
JP6794821B2 (en) Image processing equipment and computer programs
JP5772253B2 (en) Image processing apparatus and program
JP7331595B2 (en) Color conversion parameter generation device, color conversion parameter generation method and program
JP7442988B2 (en) Image forming apparatus, its control method and program
JP2008022048A (en) Image processing setter, image processor, image formation system, image processing setting method, image processing method and image forming method
JP6079157B2 (en) Drawing processing apparatus and image forming apparatus
JP5933486B2 (en) Image forming apparatus
JP2019194814A (en) Image processing apparatus, image processing method, and image processing program
JP2024034772A (en) Image processing device, image processing method, and program
JP2021093619A (en) Image processing device, image processing method, and program
JP2023018850A (en) program
JP6051526B2 (en) Image processing system, image forming apparatus, image processing program, and image processing method
JP2009075853A (en) Image processor and image processing program
JP4900527B1 (en) Image processing apparatus and program
JP2006279092A (en) Image processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130115

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130315

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R150 Certificate of patent or registration of utility model

Ref document number: 5346848

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees