JP2012183796A - Image processing apparatus, image forming apparatus, and program - Google Patents

Image processing apparatus, image forming apparatus, and program Download PDF

Info

Publication number
JP2012183796A
JP2012183796A JP2011050084A JP2011050084A JP2012183796A JP 2012183796 A JP2012183796 A JP 2012183796A JP 2011050084 A JP2011050084 A JP 2011050084A JP 2011050084 A JP2011050084 A JP 2011050084A JP 2012183796 A JP2012183796 A JP 2012183796A
Authority
JP
Japan
Prior art keywords
code image
output
image
print medium
code
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.)
Withdrawn
Application number
JP2011050084A
Other languages
Japanese (ja)
Inventor
Tsubasa Kitai
翼 北井
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2011050084A priority Critical patent/JP2012183796A/en
Publication of JP2012183796A publication Critical patent/JP2012183796A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To determine whether a coded image is readable when output on a printing medium without actually outputting the coded image on the printing medium.SOLUTION: A coded-image detection section 33 detects an image of a QR code (R) consisting of light and dark modules from among print data stored in a print data storage section 32 and instructed to be output. A readability determination section 35 acquires the color information of a print sheet, on which the print data including the QR code is to be output, from a sheet information storage section 34 on the basis of the information of a sheet tray predetermined by a print job, and then determines whether the QR code is readable when output on the print sheet on the basis of the color information of the light and dark modules constituting the detected QR code and the color information of the print sheet, on which the print data including the QR code is to be output.

Description

本発明は、画像処理装置、画像形成装置およびプログラムに関する。   The present invention relates to an image processing apparatus, an image forming apparatus, and a program.

特許文献1には、用紙上の可読情報に重なるようにコードイメージを設ける場合に、コードイメージと用紙の間に中間層を設けて光の透過の所定の割合に制限して、コードイメージの可読性を向上させるようにした方法が開示されている。   In Patent Document 1, when a code image is provided so as to overlap with readable information on a sheet, an intermediate layer is provided between the code image and the sheet so as to limit the light transmission rate to a predetermined ratio. A method for improving the above is disclosed.

特許文献2には、コード画像を用紙上に印刷し、印刷されたコード画像を読み取って照合することにより、印刷されたコード画像の可読性を判定するようにした画像処理装置が開示されている。   Patent Document 2 discloses an image processing apparatus that determines the readability of a printed code image by printing the code image on a sheet and reading and collating the printed code image.

特開2000−268120号公報JP 2000-268120 A 特開2008−204081号公報JP 2008-204081 A

本発明の目的は、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像処理装置、画像形成装置およびプログラムを提供することである。   An object of the present invention is to provide an image processing apparatus, an image forming apparatus, and a program capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. It is to be.

[画像処理装置]
請求項1に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段とを備えた画像処理装置である。
[Image processing device]
According to the first aspect of the present invention, there is provided detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output.
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. And an image processing apparatus including determination means for determining readability in the case.

請求項2に係る本発明は、前記判定手段が、印刷媒体の色情報に基づいて印刷後の明領域の輝度および暗領域の輝度を算出し、算出された印刷後の明領域の輝度と暗領域の輝度により明領域と暗領域とのコントラスト差を算出し、算出されたコントラスト差を予め設定されたしきい値と比較することによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置である。   According to a second aspect of the present invention, the determination means calculates the brightness of the bright area and the brightness of the dark area after printing based on the color information of the print medium, and calculates the brightness and darkness of the calculated bright area after printing. The contrast difference between the bright area and the dark area is calculated based on the luminance of the area, and the readability when the code image is output on the print medium is determined by comparing the calculated contrast difference with a preset threshold value. An image processing apparatus according to claim 1.

請求項3に係る本発明は、前記判定手段が、コード画像を構成する明領域と暗領域の色情報および印刷媒体の色情報に基づいて印刷後のコード画像を合成し、合成されたコード画像を復号して復号可能であるか否かによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置である。   According to a third aspect of the present invention, the determination means synthesizes the code image after printing based on the color information of the bright area and the dark area constituting the code image and the color information of the print medium, and the synthesized code image The image processing apparatus according to claim 1, wherein readability is determined when a code image is output on a print medium based on whether or not decoding is possible.

請求項4に係る本発明は、印刷媒体の収納容器と収納されている印刷媒体の色情報とを対応させて記憶する記憶手段をさらに備え、
前記判定手段は、指定された収納容器の情報に基づいて前記記憶手段からコード画像を含む印刷データを出力しようとする印刷媒体の色情報を取得する請求項1から3のいずれか1項記載の画像処理装置である。
The present invention according to claim 4 further comprises storage means for storing the print medium storage container and the color information of the stored print medium in correspondence with each other,
The said determination means acquires the color information of the printing medium which is going to output the printing data containing a code image from the said memory | storage means based on the information of the designated storage container. An image processing apparatus.

請求項5に係る本発明は、前記判定手段により指定された印刷媒体上にコード画像が出力されると読み取り不可能になると判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれかを変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   According to the fifth aspect of the present invention, when it is determined that the code image is not readable when the code image is output on the print medium designated by the determination unit, the color information of the bright area and the color of the dark area of the code image are determined. The image processing apparatus according to claim 1, further comprising a changing unit that changes at least one of the information.

請求項6に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれか、および画形材の出力濃度を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   According to the sixth aspect of the present invention, the color information of the bright area and the color of the dark area of the code image are determined when it is determined by the determining means that the code image is not readable when output on the designated print medium. 5. The image processing apparatus according to claim 1, further comprising changing means for changing at least one of the information and the output density of the image forming material.

請求項7に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像を含む印刷データを出力する印刷媒体を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   The present invention according to claim 7 changes the print medium that outputs the print data including the code image when it is determined by the determination means that the code image is output on the designated print medium and cannot be read. The image processing apparatus according to claim 1, further comprising a changing unit configured to perform the change.

請求項8に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像のみを指定された印刷媒体とは異なる色を有する印刷媒体に出力するように変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   In the present invention according to claim 8, when the code means outputs a code image on a designated print medium and the decision means determines that the code image cannot be read, only the code image has a color different from that of the designated print medium. 5. The image processing apparatus according to claim 1, further comprising a changing unit configured to change the output so as to output to a print medium including

請求項9に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指示された印刷データの出力を中止するよう制御する制御手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   The present invention according to claim 9 controls to stop outputting the instructed print data when it is determined by the determining means that the code image is output on the designated print medium and cannot be read. 5. The image processing apparatus according to claim 1, further comprising a control unit.

請求項10に係る本発明は、指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指定された印刷媒体上に印刷データを出力するとコード画像が読み取り不可能になる旨を通知する通知手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置である。   According to the tenth aspect of the present invention, in the case where the determination unit determines that a code image is output on a designated print medium, the code is output when the print data is output on the designated print medium. 5. The image processing apparatus according to claim 1, further comprising notification means for notifying that an image becomes unreadable.

[画像形成装置]
請求項11に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
前記判定手段により印刷媒体上に印刷されたコード画像の読み取りが可能であると判定された場合、コード画像を含む印刷データを指定された印刷媒体上に出力する画像出力手段とを備えた画像形成装置である。
[Image forming equipment]
According to the eleventh aspect of the present invention, there is provided detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output.
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image forming unit comprising: an image output unit configured to output print data including a code image onto a designated print medium when the determination unit determines that the code image printed on the print medium is readable. Device.

[プログラム]
請求項12に係る本発明は、出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出するステップと、
検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定するステップとをコンピュータに実行させるためのプログラムである。
[program]
The present invention according to claim 12 includes a step of detecting a code image composed of a bright region and a dark region from print data instructed to be output;
The readability when the code image is output on the print medium based on the color information of the light area and the dark area constituting the detected code image and the color information of the print medium to which the print data including the code image is to be output. A program for causing a computer to execute the determining step.

請求項1に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像処理装置を提供することができる。   According to the first aspect of the present invention, there is provided an image processing apparatus capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. be able to.

請求項2に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、暗領域と明領域のコントラスト差を算出だけで容易にコード画像の可読性を判定することができる画像処理装置を提供することができる。   According to the second aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, it is possible to easily determine the readability of the code image only by calculating the contrast difference between the dark region and the bright region. An image processing apparatus can be provided.

請求項3に係る本発明によれば、請求項1に係る本発明により得られる効果に加えて、実際にコード画像を読み取って復号した場合における可読性と近似する可読性の判定を行うことができる画像処理装置を提供することができる。   According to the third aspect of the present invention, in addition to the effect obtained by the first aspect of the present invention, an image capable of determining readability that approximates readability when a code image is actually read and decoded. A processing device can be provided.

請求項4に係る本発明によれば、請求項1から3のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体の色情報を読み取る処理を必要とすることなく、印刷媒体の色情報を取得することができる画像処理装置を提供することができる。   According to the fourth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to third aspects, the print medium can be printed without requiring processing for reading the color information of the print medium. It is possible to provide an image processing apparatus capable of acquiring the color information.

請求項5に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。   According to the fifth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, compared with a case where the code image is output as it is to the designated print medium. An image processing apparatus capable of improving the readability of the code image can be provided.

請求項6に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。   According to the sixth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, compared with a case where the code image is directly output to the designated print medium. An image processing apparatus capable of improving the readability of the code image can be provided.

請求項7に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、コード画像を指定された印刷媒体にそのまま出力した場合と比較して、コード画像の可読性を向上させることができる画像処理装置を提供することができる。   According to the seventh aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, as compared with the case where the code image is directly output to the designated printing medium. An image processing apparatus capable of improving the readability of the code image can be provided.

請求項8に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になる事態の発生を防いで、コード画像の読み取りを可能にすることができる画像処理装置を提供することができる。   According to the present invention of claim 8, in addition to the effect obtained by the present invention of any one of claims 1 to 4, there is a situation in which the code image output on the print medium becomes unreadable. It is possible to provide an image processing apparatus capable of preventing the occurrence and enabling reading of a code image.

請求項9に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になる事態の発生を防ぐことができる画像処理装置を提供することができる。   According to the present invention of claim 9, in addition to the effect obtained by the present invention of any one of claims 1 to 4, there is a situation in which the code image output on the print medium becomes unreadable. An image processing apparatus capable of preventing the occurrence can be provided.

請求項10に係る本発明によれば、請求項1から4のいずれか1項に係る本発明により得られる効果に加えて、印刷媒体上に出力されたコード画像が読み取り不可能になることを事前に使用者に通知することができる画像処理装置を提供することができる。   According to the tenth aspect of the present invention, in addition to the effect obtained by the present invention according to any one of the first to fourth aspects, the code image output on the print medium cannot be read. An image processing apparatus that can notify a user in advance can be provided.

請求項11に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能な画像形成装置を提供することができる。   According to the eleventh aspect of the present invention, there is provided an image forming apparatus capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. be able to.

請求項12に係る本発明によれば、コード画像を印刷媒体上に実際に出力することなく、コード画像を印刷媒体上に出力した場合の可読性を判定することが可能なプログラムを提供することができる。   According to the present invention of claim 12, it is possible to provide a program capable of determining readability when a code image is output on a print medium without actually outputting the code image on the print medium. it can.

本発明の一実施形態の画像形成システムのシステム構成を示す図である。1 is a diagram illustrating a system configuration of an image forming system according to an embodiment of the present invention. 本発明の一実施形態における画像形成装置10のハードウェア構成を示すブロック図である。1 is a block diagram illustrating a hardware configuration of an image forming apparatus 10 according to an embodiment of the present invention. 本発明の一実施形態における画像形成装置10の機能構成を示すブロック図である。1 is a block diagram illustrating a functional configuration of an image forming apparatus 10 according to an embodiment of the present invention. QRコードを含む印刷データの一例を示す図である。FIG. 6 is a diagram illustrating an example of print data including a QR code. QRコードの画像と印刷用紙の色情報に基づいて、印刷後のQRコードの画像を合成した場合の一例を示す図である。FIG. 6 is a diagram illustrating an example of a case where a QR code image after printing is combined based on a QR code image and color information of a printing paper. 本発明の一実施形態の画像形成装置10における用紙トレイの用紙色設定モードの動作を示すフローチャートである。6 is a flowchart illustrating an operation in a paper tray paper color setting mode in the image forming apparatus 10 according to the embodiment of the present invention. 本発明の一実施形態の画像形成装置10におけるQRコードのコントラストが不十分な場合の対処方法の設定モードの動作を示すフローチャートである。7 is a flowchart illustrating an operation in a setting mode of a coping method when the QR code contrast is insufficient in the image forming apparatus 10 according to the embodiment of the present invention. 本発明の一実施形態の画像形成装置10においてプリントジョブを実行する場合の動作を示すフローチャートである。6 is a flowchart illustrating an operation when a print job is executed in the image forming apparatus 10 according to the embodiment of the present disclosure. 図8に示したQRコードの可読性判定処理(ステップS307)の詳細な動作を説明するためのフローチャートである。10 is a flowchart for explaining detailed operations of the QR code readability determination processing (step S307) shown in FIG. 8; 図8に示した設定された対処方法を実行する処理(ステップS310)の詳細な動作を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining detailed operations of a process (step S310) for executing the set coping method shown in FIG.

次に、本発明の実施の形態について図面を参照して詳細に説明する。図1は本発明の一実施形態の画像形成システムの構成を示すブロック図である。   Next, 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 system according to an embodiment of the present invention.

本発明の一実施形態の画像形成システムは、図1に示されるように、ネットワーク30により相互に接続された画像形成装置10、および端末装置20により構成される。端末装置20は、プリントジョブ(印刷指示)を生成して、ネットワーク30経由にて生成したプリントジョブを画像形成装置10に対して送信する。画像形成装置10は、端末装置20から送信されたプリントジョブを受け付けて、プリントジョブに応じた画像を用紙上に出力する。なお、画像形成装置10は、印刷(プリント)機能、スキャン機能、複写(コピー)機能、ファクシミリ機能等の複数の機能を有するいわゆる複合機と呼ばれる装置である。   As shown in FIG. 1, the image forming system according to an embodiment of the present invention includes an image forming apparatus 10 and a terminal device 20 connected to each other via a network 30. The terminal device 20 generates a print job (print instruction) and transmits the print job generated via the network 30 to the image forming apparatus 10. The image forming apparatus 10 receives the print job transmitted from the terminal device 20 and outputs an image corresponding to the print job on a sheet. The image forming apparatus 10 is an apparatus called a so-called multi-function machine having a plurality of functions such as a print function, a scan function, a copy function, and a facsimile function.

次に、本実施形態の画像形成システムにおける画像形成装置10のハードウェア構成を図2に示す。   Next, FIG. 2 shows a hardware configuration of the image forming apparatus 10 in the image forming system of the present embodiment.

画像形成装置10は、図2に示されるように、CPU11、メモリ12、ハードディスクドライブ(HDD)等の記憶装置13、ネットワーク30を介して外部の装置等との間でデータの送信及び受信を行う通信インタフェース(IF)14、タッチパネル又は液晶ディスプレイ並びにキーボードを含むユーザインタフェース(UI)装置15、スキャナ16、プリントエンジン17を有する。これらの構成要素は、制御バス18を介して互いに接続されている。   As shown in FIG. 2, the image forming apparatus 10 transmits and receives data to and from an external device or the like via a CPU 11, a memory 12, a storage device 13 such as a hard disk drive (HDD), and a network 30. A communication interface (IF) 14, a touch panel or liquid crystal display, and a user interface (UI) device 15 including a keyboard, a scanner 16, and a print engine 17 are included. These components are connected to each other via a control bus 18.

CPU11は、メモリ12または記憶装置13に格納された制御プログラムに基づいて所定の処理を実行して、画像形成装置10の動作を制御する。   The CPU 11 executes predetermined processing based on a control program stored in the memory 12 or the storage device 13 and controls the operation of the image forming apparatus 10.

なお、本実施形態では、CPU11は、メモリ12または記憶装置13内に格納された制御プログラムを読み出して実行するものとして説明したが、当該プログラムをCD−ROM等の記憶媒体に格納してCPU11に提供することも可能である。   In the present embodiment, the CPU 11 has been described as reading and executing a control program stored in the memory 12 or the storage device 13, but the program is stored in a storage medium such as a CD-ROM and stored in the CPU 11. It is also possible to provide.

図3は、上記の制御プログラムが実行されることにより実現される画像形成装置10の機能構成を示すブロック図である。   FIG. 3 is a block diagram showing a functional configuration of the image forming apparatus 10 realized by executing the control program.

本実施形態の画像形成装置10は、図3に示されるように、画像処理装置40と、画像出力部50とを備えている。なお、本実施形態では、説明を簡単にするために、印刷処理の制御に関する構成についての説明については省略する。   As shown in FIG. 3, the image forming apparatus 10 of the present exemplary embodiment includes an image processing device 40 and an image output unit 50. In the present embodiment, in order to simplify the description, the description of the configuration related to the control of the printing process is omitted.

また、画像処理装置40は、図3に示されるように、展開処理部31と、印刷データ格納部32と、コード画像検出部33と、用紙情報格納部34と、可読性判定部35と、通知部36と、変更部37を備えている。   Further, as shown in FIG. 3, the image processing apparatus 40 includes a development processing unit 31, a print data storage unit 32, a code image detection unit 33, a paper information storage unit 34, a readability determination unit 35, and a notification. A unit 36 and a change unit 37 are provided.

展開処理部31は、端末装置20等からネットワーク30を介して受け付けた印刷指示(印刷ジョブ)に対して展開処理(デコンポーズ処理)を行うことにより印刷データを生成する。印刷データ格納部32は、展開処理部31により生成された印刷データを格納する。   The expansion processing unit 31 generates print data by performing expansion processing (decompose processing) on a print instruction (print job) received from the terminal device 20 or the like via the network 30. The print data storage unit 32 stores the print data generated by the expansion processing unit 31.

コード画像検出部33は、印刷データ格納部32に格納されている出力を指示された印刷データ中から、明モジュール(明領域)および暗モジュール(暗領域)により構成されたQR(Quick Response)コード(登録商標)のコード画像を検出する。   The code image detection unit 33 includes a QR (Quick Response) code composed of a light module (bright region) and a dark module (dark region) from the print data instructed to be output stored in the print data storage unit 32. A code image of (registered trademark) is detected.

例えば、コード画像検出部33は、図4に示すような印刷データがある場合、この印刷データの画像からQRコード60の画像を検出する。このQRコード60の画像は、明モジュール61と、暗モジュール62という2種類のモジュールにより構成され、この明モジュール61と暗モジュール62の配列に基づいて様々な情報を埋め込むことが可能なようになっている。   For example, if there is print data as shown in FIG. 4, the code image detection unit 33 detects an image of the QR code 60 from the image of the print data. The image of the QR code 60 is composed of two types of modules, a bright module 61 and a dark module 62, and various information can be embedded based on the arrangement of the bright module 61 and the dark module 62. ing.

用紙情報格納部34は、印刷用紙(印刷媒体)の用紙トレイ(収納容器)と収納されている印刷用紙の色情報とを対応させて記憶する。   The paper information storage unit 34 stores the paper tray (storage container) of the printing paper (printing medium) and the color information of the stored printing paper in association with each other.

可読性判定部35は、プリントジョブにより指定された用紙トレイの情報に基づいて用紙情報記憶部34から、QRコードが含まれた印刷データを出力しようとする印刷用紙の色情報を取得する。   The readability determination unit 35 acquires color information of a print paper on which print data including a QR code is to be output from the paper information storage unit 34 based on the information on the paper tray specified by the print job.

そして、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像を構成する明モジュールと暗モジュールの色情報およびQRコードを含む印刷データを出力しようとする印刷用紙の色情報に基づいて、QRコードを印刷用紙上に出力した場合の可読性を判定する。   Then, the readability determination unit 35 converts the color information of the light module and the dark module constituting the QR code image detected by the code image detection unit 33 and the color information of the printing paper on which print data including the QR code is to be output. Based on this, the readability when the QR code is output on the printing paper is determined.

例えば、図4に示したようなQRコードが白色以外の印刷用紙上に出力されるような場合、印刷用紙の色情報を考慮すると印刷後のQRコードの画像は図5に示すような画像となる。つまり、明モジュール61には色の指定がされていないため、印刷用紙の色がそのまま印刷後の明モジュール61の色となるが、暗モジュール62にはもともの黒色の指定がされているため、暗モジュール62に指定されていた色が印刷用紙の色の影響をほとんど受けずに印刷後の暗モジュール62の色となる。   For example, when the QR code as shown in FIG. 4 is output on printing paper other than white, the QR code image after printing is the image shown in FIG. 5 in consideration of the color information of the printing paper. Become. That is, since the color is not designated for the light module 61, the color of the printing paper is directly used as the color of the light module 61 after printing, but the original module is designated black for the dark module 62. The color specified for the dark module 62 becomes the color of the dark module 62 after printing with almost no influence of the color of the printing paper.

具体的には、可読性判定部35は、印刷用紙の色情報に基づいて印刷後の明モジュールの輝度および暗モジュールの輝度を算出し、算出された印刷後の明モジュールの輝度と暗モジュールの輝度により明モジュールと暗モジュールとのコントラスト差を算出し、算出されたコントラスト差を予め設定されたしきい値と比較することによりQRコードを印刷用紙上に出力した場合の可読性を判定する。   Specifically, the readability determination unit 35 calculates the brightness of the light module and the brightness of the dark module after printing based on the color information of the printing paper, and calculates the brightness of the light module and the brightness of the dark module after printing. The contrast difference between the light module and the dark module is calculated by the above, and the readability when the QR code is output on the printing paper is determined by comparing the calculated contrast difference with a preset threshold value.

例えば、明モジュールおよび暗モジュールの色情報がRGBの3色の色成分により表現されている場合、各モジュールの輝度は以下の式により算出される。
輝度=(R×299+G×587+B×144)/1000
For example, when the color information of the light module and the dark module is expressed by RGB color components, the luminance of each module is calculated by the following equation.
Luminance = (R × 299 + G × 587 + B × 144) / 1000

そして、明モジュールと暗モジュール間のコントラスト差は、下記の式により算出される。
コントラスト差=明モジュールの輝度−暗モジュールの輝度
The contrast difference between the light module and the dark module is calculated by the following equation.
Contrast difference = Bright module brightness-Dark module brightness

例えば、明モジュールのRGBの値が(125、200、100)で、暗モジュールのRGBの値が(20、15、10)の場合について説明する。   For example, the case where the RGB value of the light module is (125, 200, 100) and the RGB value of the dark module is (20, 15, 10) will be described.

この場合、明モジュールの輝度および暗モジュールの輝度は下記の式により算出される。
明モジュールの輝度=(125×299+200×587+100×144)1000≒169
暗モジュールの輝度=( 20×299+ 15×587+ 10×144)1000≒16
In this case, the brightness of the light module and the brightness of the dark module are calculated by the following equations.
Brightness of light module = (125 × 299 + 200 × 587 + 100 × 144) 1000≈169
Brightness of dark module = (20 × 299 + 15 × 587 + 10 × 144) 1000≈16

そのためこの場合の明モジュールと暗モジュール間のコントラスト差は、153(169−16)となるそして、このコントラスト差の値153を予め設定されたしきい値と比較して、このしきい値よりも大きい場合には、可読性判定部35は、印刷後のQRコードが読み取り可能であると判定する。   Therefore, the contrast difference between the light module and the dark module in this case is 153 (169-16). Then, the contrast difference value 153 is compared with a preset threshold value, and the contrast difference value is smaller than this threshold value. If it is larger, the readability determination unit 35 determines that the QR code after printing can be read.

または、可読性判定部35は、QRコードを構成する明モジュールと暗モジュールの色情報および印刷用紙の色情報に基づいて印刷後のQRコードの画像を合成し、合成されたQRコードの画像をシミュレーションにより模擬的に復号して復号可能であるか否かを判定することによって、QRコードを印刷用紙上に出力した場合の可読性を判定するようにしてもよい。   Alternatively, the readability determination unit 35 synthesizes the QR code image after printing based on the color information of the light module and the dark module that form the QR code and the color information of the printing paper, and simulates the synthesized QR code image. The readability when the QR code is output on the printing paper may be determined by simulating and determining whether or not decoding is possible.

通知部36は、指定された印刷用紙上にQRコードの画像が出力されると読み取り不可能になると可読性判定部35により判定された場合、指定された印刷用紙上に印刷データを出力するとQRコードが読み取り不可能になる旨をユーザに通知する。   When the readability determination unit 35 determines that the notification unit 36 cannot read the QR code image on the designated print paper and outputs the print data on the designated print paper, the QR code is output. Is notified to the user that it becomes unreadable.

変更部37は、可読性判定部35により指定された印刷用紙上にQRコードが出力されると読み取り不可能になると判定された場合、複数の対処方法の中から予め選択された1つの対処方法により印刷データ中のQRコードの画像に対して何等かの変更を行う。   When the change unit 37 determines that reading is impossible when the QR code is output on the printing paper designated by the readability determination unit 35, the change unit 37 uses one coping method selected in advance from a plurality of coping methods. Any change is made to the QR code image in the print data.

例えば、変更部37は、「QRコード画像の色を変更」という対処方法が選択されている場合、QRコードを構成する明モジュールの色情報および暗モジュールの色情報の少なくともいずれかを変更する。この場合、例えば、色の指定がCMYK4色においてそれぞれ256階調で指定されている場合、明モジュールの色の指定が全ての色成分が0ではなく、いくつかの色成分において0以外の値が設定されていると、変更部37は、明モジュールの色の指定をCMYK=(0、0、0、0)という指定に変更する。また、暗モジュールの色の指定がK=200という指定だった場合、変更部37は、暗モジュールの色の指定をK=255という最高値に変更する。   For example, when the coping method “change the color of the QR code image” is selected, the changing unit 37 changes at least one of the color information of the light module and the dark module constituting the QR code. In this case, for example, when the color designation is designated with 256 gradations for each of the CMYK4 colors, the color designation of the light module is not 0 for all color components, and a value other than 0 is set for some color components. If set, the changing unit 37 changes the designation of the bright module color to the designation CMYK = (0, 0, 0, 0). When the dark module color designation is K = 200, the changing unit 37 changes the dark module color designation to the highest value of K = 255.

また、例えば、変更部37は、「QRコード画像の色およびトナー濃度を変更」という対処方法が選択されている場合、QRコードの明モジュールの色情報および暗モジュールの色情報の少なくともいずれか、およびトナー(画形材)の出力濃度を変更する。例えば、印刷用紙の色が濃い灰色であるような場合、明モジュールの色もこの濃い灰色となってしまうので、変更部37は、明モジュールの色を黄色に変更し、印刷用紙の濃い灰色が隠れるようにトナー濃度を最高値に変更する。   Further, for example, when the coping method “change the color and toner density of the QR code image” is selected, the changing unit 37 selects at least one of the light module color information and the dark module color information of the QR code, And the output density of the toner (image forming material) is changed. For example, when the color of the printing paper is dark gray, the color of the light module is also dark gray. Therefore, the changing unit 37 changes the color of the light module to yellow and the dark gray color of the printing paper is changed. Change the toner density to the highest value so that it is hidden.

また、例えば、変更部37は、「出力用紙を変更」という対処方法が選択されている場合、QRコードを含む印刷データを出力する印刷用紙自体を変更する。例えば、プリントジョブにおいて灰色の印刷用紙が指定されていた場合において、可読性判定部35により指定された印刷用紙上にQRコードが出力されると読み取り不可能になると判定された場合、変更部37は、使用する用紙トレイを切り替えることにより、印刷データを出力する印刷用紙として白色の印刷用紙が使用されるようにする。   Further, for example, when the coping method “change output paper” is selected, the changing unit 37 changes the print paper itself that outputs the print data including the QR code. For example, when a gray print sheet is specified in the print job, if the QR code is output on the print sheet specified by the readability determination unit 35 and it is determined that reading is impossible, the changing unit 37 By switching the paper tray to be used, white print paper is used as print paper for outputting print data.

さらに、変更部37は、「QRコード画像を別用紙に出力」という対処方法が選択されている場合、QRコードの画像のみを指定された印刷用紙とは異なる色、例えば白色の印刷用紙に出力するように変更する   Furthermore, when the coping method “output QR code image to another sheet” is selected, the changing unit 37 outputs only the QR code image to a printing paper of a color different from the designated printing paper, for example, white printing paper. To change

なお、変更部37は、指定された印刷用紙上にQRコードが出力されると読み取り不可能になると可読性判定部35により判定された場合、指示された印刷データの出力を中止するよう画像出力部50を制御するようにしても良い。   The changing unit 37 is configured to stop the output of the instructed print data when the readability determining unit 35 determines that the QR code is output on the designated printing paper and cannot be read. 50 may be controlled.

なお、指定された印刷用紙上にQRコードが出力されると読み取り不可能になると可読性判定部35により判定された場合、変更部37により上記のような対処方法が自動的に実行されるようにしてもよいし、プリントジョブを一時的に停止してユーザに対処方法を選択させて選択された対処方法を実行するようにしてもよい。   If the readability determination unit 35 determines that the reading becomes impossible when the QR code is output on the designated printing paper, the changing unit 37 automatically executes the above-described countermeasure. Alternatively, the selected coping method may be executed by temporarily stopping the print job and causing the user to select the coping method.

画像出力部50は、可読性判定部35により印刷用紙上に印刷されたQRコードの読み取りが可能であると判定された場合、QRコードを含む印刷データを指定された印刷用紙上に出力する。   When the readability determination unit 35 determines that the QR code printed on the print paper can be read, the image output unit 50 outputs print data including the QR code on the designated print paper.

次に、本実施形態の画像形成装置10の動作を図面を参照して詳細に説明する。   Next, the operation of the image forming apparatus 10 of this embodiment will be described in detail with reference to the drawings.

先ず、用紙トレイの用紙色を設定する場合の動作を図6のフローチャートを参照して説明する。
この場合には、画像形成装置10では、ユーザに対して、印刷用紙をセットする用紙トレイを指定させる(ステップS101)。次に、画像形成装置10では、用紙トレイにセットする印刷用紙を1枚スキャンさせる指示をユーザに対して行う(ステップS102)。
First, the operation for setting the paper color of the paper tray will be described with reference to the flowchart of FIG.
In this case, the image forming apparatus 10 causes the user to specify a paper tray on which printing paper is set (step S101). Next, the image forming apparatus 10 instructs the user to scan one sheet of printing paper set on the paper tray (step S102).

すると、ユーザが用紙トレイにセットする印刷用紙を1枚スキャンさせることにより、画像形成装置10では、スキャンした印刷用紙の色情報が取得される(ステップS103)。   Then, when the user scans one sheet of printing paper set on the paper tray, the image forming apparatus 10 acquires color information of the scanned printing paper (step S103).

最後に、スキャンした印刷用紙の色情報は、ステップS101において指定された用紙トレイと対応付けられて、用紙情報格納部34に記憶される(ステップS104)。このようにして、各用紙トレイと対応付けられた色情報が用紙情報格納部34に格納されることとなる。   Finally, the color information of the scanned printing paper is stored in the paper information storage unit 34 in association with the paper tray designated in step S101 (step S104). In this way, the color information associated with each paper tray is stored in the paper information storage unit 34.

次に、QRコードのコントラストが不十分な場合の対処方法を設定する際の動作を図7のフローチャートを参照して説明する。   Next, the operation when setting a countermeasure when the QR code contrast is insufficient will be described with reference to the flowchart of FIG.

先ず最初に、ユーザに対して自動対処のオン/オフの選択を入力させる(ステップS201)。このステップS201において自動対処をオンにする設定が選択された場合(ステップS202においてYes)、ユーザに対して、予め用意されている複数の対処方法の中から1つの対処方法を選択させる(ステップS203)。   First, the user is prompted to input on / off selection for automatic handling (step S201). When the setting to turn on automatic handling is selected in step S201 (Yes in step S202), the user is allowed to select one handling method from a plurality of prepared handling methods (step S203). ).

具体的には、「QRコード画像の色を変更」、「QRコード画像の色およびトナー濃度を変更」、「出力用紙を変更」、「QRコード画像を別用紙に出力」、「印刷データの出力を中止」というような複数に対処方法の中からどの対処方法を行うのかをユーザに対して選択させる。   Specifically, “change the color of the QR code image”, “change the color and toner density of the QR code image”, “change the output paper”, “output the QR code image to another paper”, “print data The user is made to select which coping method is to be performed from a plurality of coping methods such as “cancel output”.

そして、ユーザにより実行すべき対処方法が選択されると、自動対処を行う設定および選択された対処方法は変更部37に記憶される(ステップS204)。   When the coping method to be executed by the user is selected, the setting for performing automatic coping and the selected coping method are stored in the changing unit 37 (step S204).

なお、ステップS201において自動対処をオフとする設定が選択された場合(ステップS202においてNo)、自動対処を行わない設定が変更部37に記憶される(ステップS205)。   If the setting for turning off automatic handling is selected in step S201 (No in step S202), the setting for not performing automatic handling is stored in the changing unit 37 (step S205).

次に、画像形成装置10において実際にプリントジョブが実行される場合の動作を図8のフローチャートを参照して説明する。   Next, the operation when a print job is actually executed in the image forming apparatus 10 will be described with reference to the flowchart of FIG.

先ず、端末装置20等により入力されたプリントジョブは、展開処理部31においてデコンポーズ処理が実行されラスタ形式の印刷データが生成される(ステップS301)。そして、この生成された印刷データは印刷データ格納部32に格納される。   First, a decompression processing unit 31 executes a decomposing process on a print job input by the terminal device 20 or the like to generate raster format print data (step S301). The generated print data is stored in the print data storage unit 32.

すると、コード画像検出部33により、生成された印刷データ中にQRコードの画像が含まれているか否か、また含まれている場合にはそのQRコード画像を検出する処理が実行される(ステップS302)。   Then, the code image detection unit 33 executes processing for detecting whether or not a QR code image is included in the generated print data, and if included, the QR code image (step S31). S302).

このステップS302において印刷データ中にQRコードが含まれていないと判定された場合、画像出力部50では生成された印刷データに基づく印刷処理が実行される(ステップS309)   If it is determined in step S302 that the QR code is not included in the print data, the image output unit 50 executes print processing based on the generated print data (step S309).

ステップS302において印刷データ中にQRコードが含まれていると判定された場合、コード画像検出部33により含まれているQRコードの画像が取得される(ステップS304)。   When it is determined in step S302 that the print data includes a QR code, the code image detection unit 33 acquires an image of the QR code included (step S304).

なお、実行しようとするプリントジョブには使用する用紙トレイが指定されているため、この指定に基づいて出力先の用紙トレイが決定される(ステップS305)。   Since the paper tray to be used is specified for the print job to be executed, the output destination paper tray is determined based on this specification (step S305).

すると、可読性判定部35は、決定された用紙トレイの情報に基づいて、用紙情報格納部34から出力先トレイの印刷用紙の色情報を取得する(ステップS306)。   Then, the readability determination unit 35 acquires the color information of the printing paper in the output destination tray from the paper information storage unit 34 based on the determined paper tray information (step S306).

そして、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像を構成する明モジュールと暗モジュールの色情報およびQRコードを含む印刷データを出力しようとする印刷用紙の色情報に基づいて、QRコードを印刷用紙上に出力した場合の可読性を判定する(ステップS307)。なお、この可読性判定処理の詳細については後述する。   Then, the readability determination unit 35 converts the color information of the light module and the dark module constituting the QR code image detected by the code image detection unit 33 and the color information of the printing paper on which print data including the QR code is to be output. Based on this, the readability when the QR code is output on the printing paper is determined (step S307). The details of the readability determination process will be described later.

このステップS307において可読性に問題がない、つまり指定されている印刷用紙上に印刷データを出力してもQRコードが読み取り可能であると判定されて場合(ステップS308においてYes)、画像出力部50では、印刷データが指定された印刷用紙上に出力される(ステップS309)。   If it is determined in step S307 that there is no problem in readability, that is, it is determined that the QR code can be read even if the print data is output on the designated printing paper (Yes in step S308), the image output unit 50 The print data is output on the designated print paper (step S309).

このステップS307において可読性に問題がある、つまり指定されている印刷用紙上に印刷データを出力するとQRコードが読み取れなくなる可能性が大きいと判定されて場合(ステップS308においてNo)、画像変更部37において、予め設定されている対処方法が実行されることとなる(ステップS310)。この対処方法の実行処理の詳細についても後述する。   If it is determined in step S307 that there is a problem in readability, that is, it is determined that there is a high possibility that the QR code cannot be read when print data is output on the designated printing paper (No in step S308), the image change unit 37 A pre-set handling method is executed (step S310). Details of the execution method of this coping method will also be described later.

次に、図8のステップS307において説明した、QRコードを印刷用紙上に出力した場合の可読性判定処理の詳細を図9のフローチャートを参照して説明する。   Next, details of the readability determination process when the QR code is output on the printing paper described in step S307 of FIG. 8 will be described with reference to the flowchart of FIG.

まず、可読性判定部35は、可読性の判定方法としてどの判定方法を使用するかの設定を取得する(ステップS401)。そして、可読性判定部35は、設定されている判定方法がコントラストによる判定方法であるのか、シミュレーションによる判定方法であるのかを判定する(ステップS402)。   First, the readability determination unit 35 acquires a setting as to which determination method is used as the readability determination method (step S401). Then, the readability determination unit 35 determines whether the set determination method is a determination method based on contrast or a determination method based on simulation (step S402).

ステップS402において、設定されている判定方法がコントラストによる判定方法の場合(ステップS402においてYes)、可読性判定部35は、コード画像検出部33により検出されたQRコードの画像から、明モジュールの色と暗モジュールの色を取得する(ステップS403)。   If the determination method set in step S402 is a determination method based on contrast (Yes in step S402), the readability determination unit 35 determines the color of the bright module from the QR code image detected by the code image detection unit 33. The color of the dark module is acquired (step S403).

そして、可読性判定部35は、用紙トレイ情報により出力先トレイを把握し、この出力先トレイに設定されている用紙の用紙情報を用紙情報記憶部34から取得する。そして、可読性判定部35は、取得した用紙情報に基づいて、プリント後の明モジュールの色と暗モジュールの色を算出する(ステップS404)。そして、可読性判定部35は、明モジュールと暗モジュールとの間のコントラスト差(コントラスト比)を算出する(ステップS405)。   Then, the readability determination unit 35 grasps the output destination tray from the paper tray information, and acquires the paper information of the paper set in the output destination tray from the paper information storage unit 34. Then, the readability determination unit 35 calculates the color of the bright module and the color of the dark module after printing based on the acquired paper information (step S404). Then, the readability determination unit 35 calculates a contrast difference (contrast ratio) between the bright module and the dark module (step S405).

最後に、可読性判定部35は、算出されたコントラスト差に基づいて、QRコードの可読性を判定する(ステップS406)。具体的には、例えば、可読性判定部35は、コントラスト差がある一定のしきい値以上の場合には、QRコードが読み取り可能であると判定し、コントラスト差がある一定のしきい値未満の場合には、QRコードは読み取り不可能であると判定する。   Finally, the readability determination unit 35 determines the readability of the QR code based on the calculated contrast difference (step S406). Specifically, for example, the readability determination unit 35 determines that the QR code is readable when the contrast difference is equal to or greater than a certain threshold value, and the contrast difference is less than the certain threshold value. In this case, it is determined that the QR code cannot be read.

なお、ステップS402において設定されている判定方法がシミュレーションによる判定方法の場合(ステップS402においてNo)、可読性判定部35は、出力先トレイの用紙情報に基づいて、印刷後のQRコード画像を合成する(ステップS407)。   If the determination method set in step S402 is a simulation determination method (No in step S402), the readability determination unit 35 synthesizes the printed QR code image based on the paper information of the output destination tray. (Step S407).

そして、可読性判定部35は、合成されたQRコード画像がデコード可能であるか否かをシミュレーションにより判定する(ステップS408)。具体的には、可読性判定部35は、合成されたQRコード画像が、実際に読み取られた画像から抽出されたQRコード画像であるものとしてデコード処理を行い、元の情報がデコードされればデコード可能である判定する。   Then, the readability determination unit 35 determines whether or not the synthesized QR code image can be decoded by simulation (step S408). Specifically, the readability determination unit 35 performs the decoding process on the assumption that the synthesized QR code image is a QR code image extracted from the actually read image, and decodes the original information if the original information is decoded. Judgment is possible.

そして、最後に可読性判定部35は、合成されたQRコード画像がデコード可能である場合には、印刷後のQRコードは読み取り可能であると判定し、合成されたQRコード画像がデコードできない場合には、印刷後のQRコードは読み取り不可能であると判定する(ステップS409)。   Finally, when the synthesized QR code image can be decoded, the readability determination unit 35 determines that the QR code after printing is readable, and when the synthesized QR code image cannot be decoded. Determines that the QR code after printing cannot be read (step S409).

次に、図8のステップS310において説明した、設定され対処方法の実行処理の詳細を図10のフローチャートを参照して説明する。   Next, details of the execution processing of the set countermeasure method described in step S310 of FIG. 8 will be described with reference to the flowchart of FIG.

この処理では、先ず設定されている対処方法が「QRコード画像の色を変更」、「QRコード画像を別用紙に出力」、「出力用紙を変更」、「QRコード画像の色およびトナー濃度を変更」のいずれかに該当するか否かが判定される(ステップS501、S504、S507、S510)。   In this process, first, the set countermeasures are “change QR code image color”, “output QR code image to another sheet”, “change output sheet”, “change QR code image color and toner density”. It is determined whether or not any of “change” is true (steps S501, S504, S507, and S510).

そして、設定されている対処方法が「QRコード画像の色を変更」の場合(ステップS501においてYes)、変更部37は、QRコード画像の明モジュールを白に、暗モジュールは黒に変更する(ステップS502)。   When the set countermeasure is “change the color of the QR code image” (Yes in step S501), the changing unit 37 changes the light module of the QR code image to white and the dark module to black ( Step S502).

そして、変更部37によりQRコード画像の色の変更が行われた後の印刷データに基づいて、画像出力部50において印刷処理が実行される(ステップS503)。   Then, based on the print data after the color code of the QR code image is changed by the changing unit 37, the image output unit 50 performs a printing process (step S503).

また、設定されている対処方法が「QRコード画像を別用紙に出力」の場合(ステップS504においてYes)、先ず、白色用紙が設定された用紙トレイがあるか否かが判定され(ステップS505)、白色用紙の用紙トレイがある場合には、実行中のジョブの後に白色用紙にQRコード画像のみを出力するプリントジョブが追加される(ステップS506)。   If the set coping method is “output QR code image to another sheet” (Yes in step S504), it is first determined whether or not there is a sheet tray set with white sheet (step S505). If there is a paper tray for white paper, a print job for outputting only a QR code image to white paper is added after the job being executed (step S506).

その結果、印刷処理では、元のプリントジョブの実行が終了した後に、白色用紙上にQRコード画像のみが出力されるような印刷処理が実行されることとなる(ステップS503)。なお、ステップS505において、白色用紙が設定された用紙トレイが無いと判定された場合、そのプリントジョブは中断される(ステップS513)。   As a result, in the printing process, after the execution of the original print job is completed, the printing process is executed so that only the QR code image is output on the white paper (step S503). If it is determined in step S505 that there is no paper tray set with white paper, the print job is interrupted (step S513).

また、設定されている対処方法が「出力用紙を変更」の場合(ステップS507においてYes)、先ず、白色用紙が設定された用紙トレイがあるか否かが判定され(ステップS508)、白色用紙の用紙トレイがある場合には、使用する用紙トレイを白色用紙が設定された用紙トレイに変更される(ステップS509)。   If the set coping method is “change output paper” (Yes in step S507), first, it is determined whether or not there is a paper tray set with white paper (step S508). If there is a paper tray, the paper tray to be used is changed to a paper tray set with white paper (step S509).

その結果、印刷処理では、プリントジョブにおいて指定された用紙とは異なる白色用紙上に印刷データに基づく画像が出力されることとなる(ステップS503)。なお、ステップS508において、白色用紙が設定された用紙トレイが無いと判定された場合、そのプリントジョブは中断される(ステップS513)。   As a result, in the printing process, an image based on the print data is output on a white paper different from the paper designated in the print job (step S503). If it is determined in step S508 that there is no paper tray set with white paper, the print job is interrupted (step S513).

また、設定されている対処方法が「QRコード画像の色およびトナー濃度を変更」の場合(ステップS510においてYes)、変更部37は、例えば、QRコード画像の明モジュールを黄色に、暗モジュールを黒色に変更する(ステップS511)。そして、変更部37は、QRコード画像の画像部分のトナー濃度を例えば最高値になるように設定する(ステップS512)。   When the set countermeasure is “change the color and toner density of the QR code image” (Yes in step S510), for example, the changing unit 37 changes the light module of the QR code image to yellow and the dark module. The color is changed to black (step S511). Then, the changing unit 37 sets the toner density of the image portion of the QR code image to be, for example, the highest value (step S512).

そして、変更部37によりQRコード画像の色の変更が行われた後の印刷データに基づいて、画像出力部50において印刷処理が実行される(ステップS503)。   Then, based on the print data after the color code of the QR code image is changed by the changing unit 37, the image output unit 50 performs a printing process (step S503).

なお、ステップS501、S504、S507、S510のいずれにおいても該当する対処方法が設定されていない場合、プリントジョブの処理全体が中断される(ステップS513)。   Note that if the corresponding coping method is not set in any of steps S501, S504, S507, and S510, the entire print job processing is interrupted (step S513).

[変形例]
上記実施形態では、2次元コードの1つのであるQRコードが印刷データ中に含まれ、このQRコードの可読性の判定を行う場合について説明したが、本発明はこれに限定されるものではない。本発明は、QRコード以外の2次元コード、例えば、MaxiCode、Data Matrix等のコード画像の可読性判定を行う場合でも同様に適用することができるものである。さらに、本発明は2次元コードの画像の可読性判定に限定されるものではなく、バーコードのような1次元コード等の他のコード画像の可読性判定にも同様に適用可能である。
[Modification]
In the above embodiment, a case has been described in which a QR code, which is one of two-dimensional codes, is included in print data and the readability of this QR code is determined. However, the present invention is not limited to this. The present invention can be similarly applied to the case of determining the readability of a two-dimensional code other than a QR code, for example, a code image such as MaxiCode or Data Matrix. Furthermore, the present invention is not limited to the determination of the readability of an image of a two-dimensional code, but can be similarly applied to the determination of the readability of another code image such as a one-dimensional code such as a barcode.

10 画像形成装置
11 CPU
12 メモリ
13 記憶装置
14 通信インタフェース(IF)
15 ユーザインタフェース(UI)装置
16 スキャナ
17 プリントエンジン
18 制御バス
20 端末装置
30 ネットワーク
31 展開処理部
32 印刷データ格納部
33 コード画像検出部
34 用紙情報格納部
35 可読性判定部
36 通知部
37 変更部
60 QRコード
61 明モジュール
62 暗モジュール
10 Image forming apparatus 11 CPU
12 Memory 13 Storage Device 14 Communication Interface (IF)
DESCRIPTION OF SYMBOLS 15 User interface (UI) apparatus 16 Scanner 17 Print engine 18 Control bus 20 Terminal apparatus 30 Network 31 Expansion | deployment process part 32 Print data storage part 33 Code image detection part 34 Paper information storage part 35 Readability determination part 36 Notification part 37 Change part 60 QR code 61 light module 62 dark module

Claims (12)

出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
を備えた画像処理装置。
Detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output;
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image processing apparatus.
前記判定手段は、印刷媒体の色情報に基づいて印刷後の明領域の輝度および暗領域の輝度を算出し、算出された印刷後の明領域の輝度と暗領域の輝度により明領域と暗領域とのコントラスト差を算出し、算出されたコントラスト差を予め設定されたしきい値と比較することによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置。   The determination means calculates the brightness of the bright area after printing and the brightness of the dark area based on the color information of the print medium, and determines the brightness of the bright area and the dark area based on the calculated brightness of the bright area and the brightness of the dark area. 2. The image processing apparatus according to claim 1, wherein a readability when a code image is output on a print medium is determined by calculating a contrast difference between the code image and comparing the calculated contrast difference with a preset threshold value. 前記判定手段は、コード画像を構成する明領域と暗領域の色情報および印刷媒体の色情報に基づいて印刷後のコード画像を合成し、合成されたコード画像を復号して復号可能であるか否かによりコード画像を印刷媒体上に出力した場合の可読性を判定する請求項1記載の画像処理装置。   Whether the determination means is capable of synthesizing the code image after printing based on the color information of the bright area and the dark area constituting the code image and the color information of the print medium, and decoding the synthesized code image to decode it. The image processing apparatus according to claim 1, wherein readability is determined when a code image is output on a print medium depending on whether or not the code image is output. 印刷媒体の収納容器と収納されている印刷媒体の色情報とを対応させて記憶する記憶手段をさらに備え、
前記判定手段は、指定された収納容器の情報に基づいて前記記憶手段からコード画像を含む印刷データを出力しようとする印刷媒体の色情報を取得する請求項1から3のいずれか1項記載の画像処理装置。
A storage means for storing the print medium storage container and the color information of the stored print medium in association with each other;
The said determination means acquires the color information of the printing medium which is going to output the printing data containing a code image from the said memory | storage means based on the information of the designated storage container. Image processing device.
前記判定手段により指定された印刷媒体上にコード画像が出力されると読み取り不可能になると判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれかを変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   A change that changes at least one of the color information of the bright area and the color information of the dark area of the code image when it is determined that the code image is output on the print medium designated by the determination unit. The image processing apparatus according to claim 1, further comprising means. 指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像の明領域の色情報および暗領域の色情報の少なくともいずれか、および画形材の出力濃度を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   When the determination unit determines that the code image is output on the designated print medium and cannot be read, at least one of the light area color information and the dark area color information of the code image, and the image shape The image processing apparatus according to claim 1, further comprising changing means for changing the output density of the material. 指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像を含む印刷データを出力する印刷媒体を変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   A change means for changing a print medium that outputs print data including a code image when the determination means determines that a code image is output on a designated print medium and cannot be read. The image processing apparatus according to any one of 1 to 4. 指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、コード画像のみを指定された印刷媒体とは異なる色を有する印刷媒体に出力するように変更する変更手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   If the determination means determines that the code image is output on the designated print medium and cannot be read, only the code image is output to a print medium having a color different from that of the designated print medium. The image processing apparatus according to claim 1, further comprising changing means for changing. 指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指示された印刷データの出力を中止するよう制御する制御手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   2. The control device according to claim 1, further comprising a control unit configured to control to stop outputting the designated print data when the determination unit determines that the code image is not readable when the code image is output on the designated print medium. 5. The image processing apparatus according to any one of items 1 to 4. 指定された印刷媒体上にコード画像が出力されると読み取り不可能になると前記判定手段により判定された場合、指定された印刷媒体上に印刷データを出力するとコード画像が読み取り不可能になる旨を通知する通知手段をさらに備えた請求項1から4のいずれか1項記載の画像処理装置。   If the determination means determines that the code image is output on the specified print medium and cannot be read, it indicates that the code image cannot be read when the print data is output on the specified print medium. The image processing apparatus according to claim 1, further comprising notification means for notifying. 出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出する検出手段と、
前記検出手段により検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定する判定手段と、
前記判定手段により印刷媒体上に印刷されたコード画像の読み取りが可能であると判定された場合、コード画像を含む印刷データを指定された印刷媒体上に出力する画像出力手段と、
を備えた画像形成装置。
Detection means for detecting a code image composed of a bright area and a dark area from print data instructed to be output;
Based on the color information of the light area and the dark area constituting the code image detected by the detecting means and the color information of the print medium to which the print data including the code image is to be output, the code image is output on the print medium. Determining means for determining readability of the case;
An image output means for outputting print data including the code image on the designated print medium when the determination means determines that the code image printed on the print medium can be read;
An image forming apparatus.
出力を指示された印刷データ中から、明領域および暗領域により構成されたコード画像を検出するステップと、
検出されたコード画像を構成する明領域と暗領域の色情報およびコード画像を含む印刷データを出力しようとする印刷媒体の色情報に基づいて、コード画像を印刷媒体上に出力した場合の可読性を判定するステップとをコンピュータに実行させるためのプログラム。
Detecting a code image composed of a bright area and a dark area from print data instructed to be output;
The readability when the code image is output on the print medium based on the color information of the light area and the dark area constituting the detected code image and the color information of the print medium to which the print data including the code image is to be output. A program for causing a computer to execute the determining step.
JP2011050084A 2011-03-08 2011-03-08 Image processing apparatus, image forming apparatus, and program Withdrawn JP2012183796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011050084A JP2012183796A (en) 2011-03-08 2011-03-08 Image processing apparatus, image forming apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011050084A JP2012183796A (en) 2011-03-08 2011-03-08 Image processing apparatus, image forming apparatus, and program

Publications (1)

Publication Number Publication Date
JP2012183796A true JP2012183796A (en) 2012-09-27

Family

ID=47014301

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011050084A Withdrawn JP2012183796A (en) 2011-03-08 2011-03-08 Image processing apparatus, image forming apparatus, and program

Country Status (1)

Country Link
JP (1) JP2012183796A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091258A (en) * 2014-11-04 2016-05-23 コニカミノルタ株式会社 Image reader and program
JP2016190469A (en) * 2015-03-31 2016-11-10 京セラドキュメントソリューションズ株式会社 Image processing device, image processing method and image processing program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016091258A (en) * 2014-11-04 2016-05-23 コニカミノルタ株式会社 Image reader and program
JP2016190469A (en) * 2015-03-31 2016-11-10 京セラドキュメントソリューションズ株式会社 Image processing device, image processing method and image processing program

Similar Documents

Publication Publication Date Title
CN101989348B (en) Image processing apparatus, image processing method
JP2007097171A (en) Image forming apparatus and subtractive color printing method
JP2010034683A (en) Image processing apparatus, and program
JP6299436B2 (en) Image processing apparatus, image processing method, program, and recorded member
JP2008067068A (en) Image processing apparatus
JP4858129B2 (en) Image processing apparatus, image forming system, and program
JP2012183796A (en) Image processing apparatus, image forming apparatus, and program
JP2011024116A (en) Image processing apparatus, image processing method, and program
US20150138570A1 (en) Display processing apparatus and display processing method
JP5346848B2 (en) Image forming apparatus and image processing program
JP2007082068A (en) Image forming apparatus and control program
JP2020187299A (en) Image forming method, program, and image forming apparatus
JP2012244206A (en) Image forming apparatus
JP5989065B2 (en) Image forming system, printer driver, image forming apparatus, and rendering program
JP6145877B2 (en) Color mode determination apparatus and program
JP5994471B2 (en) Image processing program and information processing apparatus
JP4784635B2 (en) Image processing apparatus, image forming apparatus, and program
JP4405453B2 (en) Image forming apparatus and control program
JP2016038655A (en) Image processor, image forming apparatus and program
JP2009253666A (en) Image processing method and image forming apparatus
JP2011022759A (en) Image forming system and printing control device
JP2011182049A (en) Image encoder, image forming apparatus and program
JP4905294B2 (en) Image processing circuit, printing apparatus, and image processing program
JP2007235360A (en) Image processing apparatus
JP2009075853A (en) Image processor and image processing program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513